:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.7);
  --text-primary: #0a0a0a;
  --text-secondary: #6e6e73;
  --line: rgba(10, 10, 10, 0.08);
  --accent: #0071e3;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-xl: 0 48px 90px rgba(15, 15, 15, 0.16);
  --shadow-lg: 0 32px 60px rgba(15, 15, 15, 0.14);
  --shadow-md: 0 24px 42px rgba(15, 15, 15, 0.08);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  width: 100%;
  backdrop-filter: blur(18px);
  background: rgba(245, 245, 247, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1.5rem;
}

.nav .branding img {
  height: 44px;
  animation: logoFloat 5.5s ease-in-out infinite;
  transform-origin: center;
}

footer .branding img {
  height: 44px;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav__links a {
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: width 0.25s ease;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--surface);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__cta svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nav__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.nav__cta:hover::after {
  transform: translateX(120%);
}

main {
  padding-top: 7rem;
}

.hero {
  padding: clamp(6rem, 8vw, 8rem) 0 5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.hero__lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 2.2rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  background: var(--text-primary);
  color: var(--surface);
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.3) 45%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: -1;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 40px rgba(15, 15, 15, 0.16);
  text-decoration: none;
}

.cta:hover::after {
  transform: translateX(130%);
}

.cta.ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

.cta.ghost::after {
  background: linear-gradient(120deg, transparent 10%, rgba(0, 0, 0, 0.08) 50%, transparent 90%);
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0;
}

.metrics div {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.45rem;
  min-width: 140px;
}

.metrics dt {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.metrics dd {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 600;
}

.hero__media {
  display: flex;
  justify-content: center;
}

.hero__panel {
  position: relative;
  width: min(850px, 95%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}

.hero__panel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem;
  display: grid;
  gap: 0.6rem;
  color: #f5f5f7;
}

.hero__panel-caption img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.hero__panel-caption p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.section {
  padding: 6rem 0;
}

.section--alternate {
  background: var(--surface);
}

.section__inner {
  display: grid;
  gap: 3.5rem;
}

.section--alternate .section__inner {
  gap: 3rem;
}

.section__header {
  max-width: 720px;
  display: grid;
  gap: 1.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.section__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.grid--three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--gallery {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid #000;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid #000;
  box-shadow: var(--shadow-md);
  display: grid;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.service-card__content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card__content ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.production-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
}

.production-carousel__track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  align-items: stretch;
}

.production-carousel__controls {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 0.5rem;
}

.production-carousel__control {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(10px);
}

.production-carousel__control:hover,
.production-carousel__control:focus-visible {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  outline: none;
}

.production-carousel__control:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.35);
}

.production-carousel__control span {
  display: inline-block;
  transform: translateY(-1px);
}

.production-carousel:focus-within .production-carousel__track,
.production-carousel:hover .production-carousel__track {
  will-change: transform;
}

.production-grid {
  display: grid;
  gap: 2rem;
}

.production-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid #000;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  gap: 0;
  padding: 0;
  width: clamp(240px, 60vw, 320px);
  flex: 0 0 auto;
}

.production-card img {
  width: 100%;
  height: 100%; max-height: calc(100vh - 3rem); overflow-y: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: blur(1px);
  transform: scale(1.01);
}

.production-card figcaption {
  padding: 1.8rem;
  display: grid;
  gap: 0.6rem;
}

.production-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.production-card p {
  margin: 0;
  color: var(--text-secondary);
}

.production-card__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}

.production-disclaimer {
  margin: 2rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}
.production-empty {
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
}


@media (min-width: 640px) {
  .production-card {
    width: clamp(240px, 40vw, 320px);
  }

  .production-carousel__control {
    width: 48px;
    height: 48px;
    font-size: 1.9rem;
  }
}

.section--gallery {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.92));
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
  border: 1px solid #000;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: end;
  color: #fff;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.65));
}

.gallery-card__content {
  position: relative;
  padding: 2.2rem;
  display: grid;
  gap: 0.6rem;
}

.gallery-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.2rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline li:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.timeline__index {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.timeline__content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.timeline__content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section--highlight {
  background: var(--surface);
}

.contact {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.contact__intro {
  display: grid;
  gap: 1.5rem;
}

.contact__details {
  display: grid;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact__details strong {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.form:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.form__inner {
  display: grid;
  gap: 1.5rem;
}

.form__submit-wrapper {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.form__inner button[type="submit"] {
  justify-self: start;
  position: relative;
  z-index: 1;
}

.form__row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

label {
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

input,
textarea,
select {
  font: inherit;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--surface);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

textarea {
  resize: vertical;
}

.form__feedback {
  margin: 0;
  min-height: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form__feedback[data-state='success'] {
  color: #0a7d2a;
}

.form__feedback[data-state='error'] {
  color: #b00020;
}

.form__notice {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form__notice a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #f0f0f1;
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
}

.footer__inner p {
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

/* Animations dynamiques */

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }
  50% {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.15));
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate].is-visible {
  animation: fadeIn 0.9s ease forwards;
}

[data-animate='tilt'] {
  transform: translateY(30px) scale(0.98);
}

[data-animate='tilt'].is-visible {
  animation: fadeInUp 0.9s ease forwards;
}

[data-animate='float'] {
  transform: translateY(20px) rotate(-3deg);
}

[data-animate='float'].is-visible {
  animation: fadeInUp 0.85s ease forwards, floatCard 6s ease-in-out 0.85s infinite;
}

[data-animate='rise'] {
  transform: translateY(40px) scale(0.96);
}

[data-animate='rise'].is-visible {
  animation: riseUp 1.1s ease forwards;
}

[data-animate='slide-in'] {
  transform: translateX(-40px);
}

[data-animate='slide-in'].is-visible {
  animation: slideIn 0.9s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes riseUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .nav__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand cta";
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem clamp(1rem, 5vw, 2rem);
  }

  .nav__links {
    display: none;
  }

  .nav .branding {
    grid-area: brand;
  }

  .nav__cta {
    grid-area: cta;
    width: auto;
    justify-self: end;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .hero__buttons {
    justify-content: center;
  }

  .metrics {
    justify-content: center;
  }

  .section__header {
    text-align: center;
  }

  .grid--three,
  .grid--two,
  .grid--gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .timeline li {
    grid-template-columns: 1fr;
    text-align: left;
  }

}

@media (max-width: 600px) {
  .form {
    padding: 2rem 1.5rem;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .form__submit-wrapper {
    padding-top: 1.25rem;
    margin-top: 1rem;
  }

  .form button[type="submit"] {
    width: 100%;
  }

  main {
    padding-top: 3.2rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta {
    width: 100%;
  }
  
  .nav__cta {
    width: 44px;
    height: 44px;
  }

  .metrics {
    gap: 1.5rem;
  }

  .metrics div {
    min-width: 120px;
  }

  .section__header h2 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }

  .section__lead {
    font-size: 0.96rem;
  }

  .service-card {
    padding: 1.8rem;
    gap: 0.8rem;
  }

  .service-card h3 {
    font-size: 1.15rem;
  }

  .service-card ul {
    font-size: 0.92rem;
  }

  .timeline {
    gap: 1.5rem;
  }

  .production-carousel {
    margin-top: 1.6rem;
  }

  .production-carousel__track {
    gap: 1rem;
  }

  .production-carousel__control {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .production-card {
    width: clamp(220px, 80vw, 280px);
  }

  .production-card__label {
    font-size: 0.7rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}



.services {
  display: grid;
  gap: 2rem;
}

.service-card {
  padding: 0;
  overflow: hidden;
}

.service-card__summary {
  width: 100%;
  padding: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  color: inherit;
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.service-card__summary:hover,
.service-card__summary:focus-visible {
  background: var(--surface-soft);
}

.service-card__summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.service-card__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card__icon {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.service-card__content {
  display: grid;
  gap: 1rem;
  padding: 0 2.2rem 2.4rem;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.service-card.is-open .service-card__content {
  height: auto;
  padding-top: 0;
  opacity: 1;
  transform: translateY(0);
}

.service-card.is-open .service-card__icon {
  transform: rotate(45deg);
}

@media (max-width: 600px) {
  .service-card__summary {
    padding: 1.6rem;
  }

  .service-card__content {
    padding: 0 1.6rem 1.8rem;
  }
}



@media (min-width: 900px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    gap: 1.5rem;
    padding: 2.2rem;
  }

  .service-card__summary {
    padding: 0;
    cursor: default;
    pointer-events: none;
    align-items: flex-start;
  }

  .service-card__icon {
    display: none;
  }

  .service-card__title {
    font-size: 1.35rem;
  }

  .service-card__content {
    height: auto;
    padding: 0;
    opacity: 1;
    transform: none;
  }
}
