/* ── Polices ── */
/* Google Fonts chargé en <link> dans le <head> HTML pour de meilleures performances */
@font-face { font-family:'Saira'; src:url('../fonts/saira-0.ttf') format('truetype'); font-weight:300; font-style:italic; font-display:swap; }
@font-face { font-family:'Saira'; src:url('../fonts/saira-1.ttf') format('truetype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Saira'; src:url('../fonts/saira-2.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Saira'; src:url('../fonts/saira-3.ttf') format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Saira'; src:url('../fonts/saira-4.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Saira'; src:url('../fonts/saira-5.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }

/* ── Variables ── */
:root {
  --bg:        #1E1E1E;
  --bg2:       #2E2E2E;
  --bg3:       #3a3a3a;
  --accent:    #861E9E;
  --accent2:   #a02cc0;
  --light:     #F0F0F0;
  --text:      #EEEEEE;
  --muted:     #B3B3B3;
  --white:     #ffffff;
  --max:       1340px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Saira', sans-serif;
  --radius:    0px;
  --trans:     0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  color: var(--light);
  letter-spacing: 0.02em;
}
h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--light);
  letter-spacing: 0.02em;
}
h3 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h4 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--light);
  letter-spacing: 0.03em;
}
p { color: var(--text); line-height: 1.6; }

/* ── Layout helpers ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section--dark { background: var(--bg2); }
.section--darker { background: var(--bg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--trans);
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: var(--light);
  border: 2px solid var(--accent);
}
.btn--primary:hover {
  background: var(--light);
  color: var(--accent);
}
.btn--outline {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--light);
}
.btn--outline:hover {
  background: var(--light);
  color: var(--bg);
}
.btn--small { padding: 10px 20px; font-size: 0.85rem; }
.btn svg, .btn .arrow { width: 1em; height: 1em; }

/* ── Divider ── */
.divider {
  width: 50px;
  height: 2px;
  background: var(--accent);
  margin: 0.8rem 0 1.2rem;
}

/* ── Scroll animations ── */
.anim { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
.anim--up    { transform: translateY(40px); }
.anim--left  { transform: translateX(-40px); }
.anim--right { transform: translateX(40px); }
.anim--in    { transform: scale(0.95); }
.anim.visible { opacity: 1; transform: none; }
.anim-delay-1 { transition-delay: 0.15s; }
.anim-delay-2 { transition-delay: 0.3s; }
.anim-delay-3 { transition-delay: 0.45s; }
.anim-delay-4 { transition-delay: 0.6s; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(134, 30, 158, 0.2);
  transition: var(--trans);
  overflow: visible; /* logo dépasse en bas */
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 90px;   /* = 3/4 du logo (120px) */
  padding: 0 2rem;
  max-width: var(--max);
  margin: 0 auto;
}
/* Logo : aligné en haut de la bande → 30px dépassent en bas */
.header__logo {
  align-self: flex-start;
  position: relative;
  z-index: 101;
  flex-shrink: 0;
}
.header__logo img {
  height: 120px;
  width: auto;
  display: block;
}
.nav__list { display: flex; align-items: center; gap: 2rem; }
.nav__list a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--trans);
}
.nav__list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--trans);
}
.nav__list a:hover { color: var(--light); }
.nav__list a:hover::after { width: 100%; }
.nav__list a.active { color: var(--light); }
.nav__list a.active::after { width: 100%; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.header__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--light);
  transition: var(--trans);
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav--mobile {
  display: none;
  position: fixed;
  top: 90px; left: 0; right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--accent);
  padding: 2rem;
  z-index: 99;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--trans);
}
.nav--mobile.open { display: block; transform: translateY(0); opacity: 1; }
.nav--mobile .nav__list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.nav--mobile .btn { margin-top: 1rem; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.45);
}
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10rem 4rem 4rem;
}
.hero__top {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}
.hero__cta {
  align-self: flex-end;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.125em;
  margin-bottom: 0;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 800px;
  margin-bottom: 2rem;
}

/* ══════════════════════════════
   QUI SOMMES-NOUS
══════════════════════════════ */
.about { overflow: hidden; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about__subtitle { margin-bottom: 0.5rem; }
.about__title { margin-bottom: 1.5rem; }
.about__text { font-size: 1rem; color: var(--muted); margin-bottom: 2.5rem; }
.about__icons { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.icon-box { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 1.25rem; row-gap: 0.6rem; align-items: center; }
.icon-box__icon {
  grid-column: 1; grid-row: 1;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-size: 1.4rem;
}
.icon-box h4 { grid-column: 2; grid-row: 1; font-size: 1.1rem; }
.icon-box p { grid-column: 1 / -1; grid-row: 2; font-size: 0.9rem; color: var(--muted); }
.icon-box p { font-size: 0.9rem; color: var(--muted); }

.about__right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.about__img-wrap {
  position: relative;
  flex: 0 0 48%;
  padding: 20px;
  background-image: url('../images/cadre-violet.png');
  background-size: 100% 100%; /* cadre s'étire pour couvrir exactement le wrapper + padding */
  background-repeat: no-repeat;
}
.about__img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.about__plus {
  position: absolute;
  top: 30px; right: -20px;
  width: 44px; height: 44px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 300;
}
.about__stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 3rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
}
.stat__divider {
  width: 1px;
  height: 80px;
  background: rgba(134,30,158,0.4);
  flex-shrink: 0;
}
.stat__number {
  font-family: var(--font-head);
  font-size: 4.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}
.stat__number span.suffix { color: var(--accent); }
.stat__label {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.services__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.services__intro-right { color: var(--muted); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}
.service-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card__bg { transform: scale(1.05); }
.service-card__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.service-card__video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78%;
  min-width: 100%;
  height: 100%;
  min-height: 56.25%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,30,30,0.95) 0%, rgba(30,30,30,0.3) 60%, transparent 100%);
  transition: background var(--trans);
}
.service-card:hover .service-card__overlay {
  background: rgba(20,20,20,0.93);
}
.service-card__content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-card h4 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 0.5rem; }
.service-card .divider { margin: 0.5rem 0 0; width: 40px; height: 2px; background: var(--accent); }

/* Bouton play sur les cartes service */
.service-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 0 rgba(134,30,158,0.5);
}
.service-card__play:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: #a02cc0;
  box-shadow: 0 0 0 10px rgba(134,30,158,0.2);
}
.service-card__play--empty {
  opacity: 0.35;
  cursor: default;
}
.service-card__play svg { margin-left: 5px; }

/* Modal vidéo */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal__inner {
  position: relative;
  width: min(92vw, 960px);
  aspect-ratio: 16 / 9;
}
.video-modal__inner iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.video-modal__close {
  position: absolute;
  top: -44px; right: 0;
  background: none; border: none;
  color: #fff; font-size: 2rem;
  cursor: pointer; line-height: 1;
  opacity: 0.7; transition: opacity 0.2s;
}
.video-modal__close:hover { opacity: 1; }

/* ══════════════════════════════
   CTA BAND
══════════════════════════════ */
.cta-band {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-band__overlay {
  position: absolute;
  inset: 0;
  background: rgba(134, 30, 158, 0.8);
}
.cta-band__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-band h2 { color: var(--white); margin-bottom: 2rem; }
.cta-band .btn--outline { border-color: white; color: white; }
.cta-band .btn--outline:hover { background: white; color: var(--accent); }

/* ══════════════════════════════
   CLIENTS LOGOS
══════════════════════════════ */
.clients { padding: 4rem 0; }
.clients h3 { text-align: center; margin-bottom: 3rem; }
.clients__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.clients__logo {
  height: 60px; width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity var(--trans);
}
.clients__logo:hover { opacity: 1; }

/* ══════════════════════════════
   POURQUOI NOUS CHOISIR
══════════════════════════════ */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why__left .why__text { color: var(--muted); margin: 1.5rem 0 2rem; }
.why__right { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.why-item {
  padding: 2rem;
  background: var(--bg2);
  border-top: 2px solid var(--accent);
  transition: background var(--trans);
  text-align: center;
}
.why-item:hover { background: var(--bg3); }
.why-item__icon {
  width: 44px; height: 44px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
}
.why-item h4 { margin-bottom: 0.75rem; font-size: 1rem; }
.why-item p { font-size: 0.85rem; color: var(--muted); }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials__header { text-align: center; margin-bottom: 3rem; }
.testimonials__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.stars { display: inline-flex; align-items: center; gap: 3px; }
.rating-label { color: var(--muted); font-size: 0.9rem; }
.testimonials__track-wrap { overflow: hidden; position: relative; }
.testimonials__track { display: flex; gap: 2rem; transition: transform 0.5s ease; }
.testimonial-card {
  flex: 0 0 calc(33.333% - 1.5rem);
  background: var(--bg2);
  padding: 2rem;
  border-left: 3px solid var(--accent);
}
.testimonial-card__quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}
.testimonial-card p { font-size: 0.9rem; color: var(--muted); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-card__author { display: flex; align-items: center; gap: 1rem; }
.testimonial-card__logo-wrap {
  flex-shrink: 0;
  width: 52px; height: 52px;
}
.testimonial-card__logo {
  width: 52px; height: 52px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--bg3);
}
.testimonial-card__logo-placeholder {
  display: none;
  width: 52px; height: 52px;
  background: var(--bg3);
  border: 1px solid rgba(134,30,158,0.4);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.testimonial-card__name { font-weight: 600; color: var(--light); }
.testimonial-card__role { font-size: 0.85rem; color: var(--accent); }
.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.testimonials__dot {
  width: 10px; height: 10px;
  background: var(--bg3);
  border: 2px solid var(--muted);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--trans);
}
.testimonials__dot.active { background: var(--accent); border-color: var(--accent); }

/* ══════════════════════════════
   CTA 2
══════════════════════════════ */
.cta2 {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid rgba(134,30,158,0.3);
  border-bottom: 1px solid rgba(134,30,158,0.3);
  position: relative;
}
.cta2--has-img { background-color: transparent; border-color: transparent; }
.cta2--has-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}
.cta2--has-img .container { position: relative; z-index: 1; }
.cta2 h2 { margin-bottom: 1rem; }
.cta2 p { color: var(--muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta2--has-img p { color: rgba(255,255,255,0.8); }

/* ══════════════════════════════
   TEAM
══════════════════════════════ */
.team__header { text-align: center; margin-bottom: 3rem; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team__flex { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.team-card { text-align: center; overflow: hidden; flex-shrink: 0; min-width: 200px; }
.team-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg2);
  margin-bottom: 1.5rem;
}
.team-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card__img-wrap img { transform: scale(1.05); }
.team-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg2);
  color: var(--accent);
  font-size: 4rem;
}
.team-card h4 { margin-bottom: 0.3rem; }
.team-card__role { color: var(--accent); font-size: 0.9rem; }

/* ══════════════════════════════
   CLIENTS CAROUSEL
══════════════════════════════ */
.clients { overflow: hidden; }
.clients__header { text-align: center; margin-bottom: 3rem; }
.clients__viewport { overflow: hidden; position: relative; }
.clients__viewport::before,
.clients__viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients__viewport::before { left: 0;  background: linear-gradient(to right, var(--bg2), transparent); }
.clients__viewport::after  { right: 0; background: linear-gradient(to left,  var(--bg2), transparent); }
.clients__track {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  width: max-content;
}
.clients__track:hover { animation-play-state: paused; }
.client-logo {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 3rem;
  min-width: 180px;
}
.client-logo img {
  height: 70px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter 0.3s, opacity 0.3s;
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-logo__name {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ══════════════════════════════
   ACTUALITÉS
══════════════════════════════ */
.actus__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.actus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.actu-card__img {
  aspect-ratio: 16/9;
  background: var(--bg2);
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg3);
  font-size: 3rem;
}
.actu-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.actu-card:hover .actu-card__img img { transform: scale(1.05); }
.actu-card__tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.actu-card h4 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.actu-card p { font-size: 0.85rem; color: var(--muted); }
.actu-card__date { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: #111;
  padding: 5rem 0 2rem;
  border-top: 2px solid var(--accent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand img { height: 56px; margin-bottom: 1.5rem; }
.footer__brand p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.footer__socials { display: flex; gap: 1rem; }
.footer__social {
  width: 36px; height: 36px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: var(--trans);
  font-size: 1rem;
}
.footer__social:hover { background: var(--accent); color: white; }
.footer__col h4 {
  font-size: 1rem;
  color: var(--light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.9rem; color: var(--muted); transition: color var(--trans); }
.footer__col a:hover { color: var(--accent); }
.footer__col li { display: flex; align-items: center; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 0.85rem; color: var(--muted); }

/* ── Scroll to top ── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--trans);
  z-index: 50;
  font-size: 1.2rem;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent2); }

/* ── Misc ── */
.icon { display: inline-flex; align-items: center; justify-content: center; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__right { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__right { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { grid-template-columns: 1fr; gap: 2rem; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .realisations__grid { grid-template-columns: 1fr 1fr; }
  .actus__grid { grid-template-columns: 1fr; }
  .actus__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .about__right { grid-template-columns: 1fr; }
  .about__stats { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .why__right { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 calc(100% - 1rem); }
  .section { padding: 4rem 0; }

  /* Hero mobile — vidéo 16:9 en haut, contenu en dessous */
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero__video-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
  }
  .hero__video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: none;
    min-width: unset; min-height: unset;
  }
  .hero__bg {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
  }
  .hero__overlay { display: none; }
  .hero__content {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem 2.5rem;
    background: var(--bg2);
  }
  .hero h1 { font-size: clamp(1.4rem, 5.5vw, 2rem); margin-bottom: 0; }
  .hero__top { max-width: 100%; }
  .hero__top p { font-size: 0.95rem; margin-bottom: 0; }
  .hero__cta { align-self: stretch; flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
}

@media (max-width: 480px) {
  .team__grid { grid-template-columns: 1fr; }
  .realisations__grid { grid-template-columns: 1fr; }
  .about__icons { grid-template-columns: 1fr; }
}
