/* =========================================
   0) VARIABLES GLOBALES (faciles à ajuster)
   - Modifie seulement cette section pour changer
     les polices, tailles, espacements et largeur max.
========================================= */
:root {
  /* Polices */
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Sora", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Échelle typographique fluide (mobile → desktop)
     Ajuste les bornes min/max si tu veux +/− grand 
     --fs-base : font-size par défaut (corps du texte)
     --lh-base : line-height par défaut (corps du texte)
  */
  --fs-base: clamp(15px, 0.35vw + 14px, 17px);
  /* Corps du texte */
  --lh-base: 1.6;

  --fs-h1: clamp(2.0rem, 1.2rem + 3vw, 3.2rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2vw, 2.6rem);
  --fs-h3: clamp(1.5rem, 1.0rem + 1.5vw, 2.0rem);
  --fs-h4: clamp(1.25rem, 0.9rem + 1vw, 1.6rem);
  --fs-h5: clamp(1.1rem, 0.85rem + 0.6vw, 1.3rem);
  --fs-h6: clamp(1.0rem, 0.8rem + 0.3vw, 1.1rem);

  --nav-font: clamp(0.85rem, 0.4vw + 0.6rem, 1rem);
  --top-title-font: clamp(0.85rem, 0.5vw + 0.6rem, 1rem);
  --top-rbq-font: clamp(0.9rem, 0.6vw + 0.6rem, 1.2rem);

  /* Largeur & gouttières */
  --content-max: 1600px;
  /* largeur max du contenu centré */
  --gutter: clamp(16px, 2.5vw, 40px);

  /* padding horizontal clamp(min, préféré, max)*/
  --block-gap: 1rem;


  --blue-main: #1F4A78;
  --white: #ffffff;
  --text-dark: #1a1a1a;



}

.site-container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================================
   1) RESET LÉGER & BASE
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  /* coupe tout débordement horizontal global */
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: #222;
  background-color: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   2) TYPOGRAPHIE PAR DÉFAUT
========================================= */
p,
li,
span {}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  /* Oswald: 300–700 dispo, ajuste si besoin */
  line-height: 1.2;
  margin: 0 0 var(--block-gap) 0;
  text-wrap: balance;
  /* meilleure casse des titres si supporté */
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

h5 {
  font-size: var(--fs-h5);
}

h6 {
  font-size: var(--fs-h6);
}

/* Liens */
a {
  color: inherit;
  text-decoration: none;
}

/* =========================================
   3) LAYOUT GLOBAL
========================================= */
.container {
  inline-size: min(var(--content-max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Sections et wrappers : pas de dépassement, jamais */
main,
section,
header,
footer,
aside,
nav {
  max-width: 100vw;
  /* bloque les débordements, iPhone compris */

  /* sécurité anti-scroll horizontal */
}

/* Grilles & Flex : évite les débordements des enfants flex/grid */
:where(.flex, .grid, .row, .cols)>* {
  min-width: 0;
  /* corrige le texte qui force l’expansion des colonnes */
}

/* =========================================
   4) MÉDIAS & ÉLÉMENTS À LARGEUR VARIABLE
========================================= */
img,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Les tableaux passent en bloc scrollable si trop larges */
table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}


/* =========================================
   5) UTILITAIRES (optionnels, pratiques)
========================================= */
/* Accessibilité : éléments seulement pour lecteurs d’écran */
.visually-hidden {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 1) Voir toutes les boîtes (activer en ajoutant .debug-outline sur <html> ou <body>) */
.debug-outline * {
  outline: 1px dashed rgba(255, 0, 0, .35);
  outline-offset: -1px;
}

/* 2) Marquer UNIQUEMENT les éléments qui débordent (classe ajoutée via JS) */
.is-overflowing {
  outline: 2px dashed #ff0033 !important;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255, 0, 0, .08) 0 10px,
      transparent 10px 20px);
  position: relative;
}

.is-overflowing::after {
  content: "overflow";
  position: absolute;
  top: 0;
  right: 0;
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: #ff0033;
  color: #fff;
  padding: 2px 5px;
  border-bottom-left-radius: 4px;
}

/* Utilitaires utiles avec le debug */
.breakable {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nowrap {
  white-space: nowrap;
}


/* =========================================
   COULEURS
========================================= */
:root {
  --blue-main: #1F4A78;
  --white: #ffffff;
  --text-dark: #1a1a1a;
}

/* =========================================
   TOP HEADER
========================================= */

.t-bar {
  background: var(--blue-main);
  color: #fff;
  font-size: 0.85rem;
}

.t-inner {
  max-width: 1590px;
  margin: 0 auto;
  padding: 0.45rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.t-center {
  text-align: center;
  line-height: 1.2;
}

.t-title {
  display: block;
  font-weight: 700;
  font-size: var(--top-title-font);
}

.t-rbq {
  font-size: var(--top-rbq-font);
  opacity: 0.9;
  font-weight: bold;
}

/* Alignement à droite */
.t-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 934px) {
  .t-right {

    justify-content: center;
  }
}

/* Rangée d'icônes */
.top-social {
  display: flex;
  gap: 16px;
  align-items: anchor-center;
}


.top-social__link svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  display: block;
}

.top-social__link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* =========================================
   HEADER / NAV
========================================= */
.h-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  z-index: 2000;
}

.h-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  /* ✅ même gutter */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.h-logo img {
  /* max-height: 60px; */
  max-height: 80px;
  width: auto;
}

.h-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1.8rem);
  align-items: baseline;
}

.h-nav a {
  font-family: var(--font-heading);
  font-size: var(--nav-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

.h-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: flex-end;
}

.h-lang {
  border: 1px solid #ccc;
  background: transparent;
  padding: 0.55rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 10px;
  font-weight: bold;
}

.h-btn {
  background: var(--blue-main);
  color: #fff;
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 10px;
}

/* =========================================
   RESPONSIVE
========================================= */


/* =========================================
   MOBILE NAV
========================================= */

@media (max-width: 1240px) {
  .h-nav {
    position: absolute;
    top: 110px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    display: none;
    height: 350px;
  }

  .h-burger {
    display: flex !important;
  }

  .h-nav.open {
    display: flex;
  }

  .h-dropdown {
    width: 100%;
  }

  .h-dropbtn {
    width: 100%;
    justify-content: space-between;
  }

  .h-submenu {
    position: static;
    border: none;
    display: none;
    padding-left: 1rem;
  }

  .h-submenu.open {
    display: flex;
  }
}

@media (max-width: 600px) {
  .t-inner {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    text-align: center;
  }

  .h-inner {
    gap: 0.8rem;
  }

  .h-btn {
    display: none;
  }

    .h-nav {
 
    height: 250px;
  }
}

/* =========================================
   HAMBURGER
========================================= */
.h-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.h-burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-dark);
  margin: 0 auto;
}

/* =========================================
   DROPDOWN DESKTOP
========================================= */
.h-dropdown {
  position: relative;
}

.h-dropbtn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: var(--nav-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Petite flèche */
.h-arrow {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s ease;
}

/* Sous-menu */
.h-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 260px;
  display: none;
  flex-direction: column;
  padding: 0.6rem 0;
  z-index: 1000;
}

/* Liens du sous-menu */
.h-submenu a {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dark);
}

.h-submenu a:hover {
  background: #f4f6f8;
}

/* Hover desktop */
@media (min-width: 935px) {
  .h-dropdown:hover .h-submenu {
    display: flex;
  }

  .h-dropdown:hover .h-arrow {
    transform: rotate(-135deg);
  }

  .h-dropdown:hover .h-submenu,
  .h-dropdown:focus-within .h-submenu {
    display: flex;
  }
}


/* =========================================
   HERO (vidéo background)
========================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;

  /* ✅ un peu moins haut que full screen */
  min-height: clamp(520px, 79vh, 800px);
  padding-inline: 0;
  /* ✅ enlève le 5% qui décale tout */
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  /* anti-ligne blanche */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .50);
}

/* Contenu */
.hero__wrap {
  max-width: var(--content-max);
  margin: 0 auto;

  padding-block: clamp(2.5rem, 4vw, 5rem);
  /* ✅ garde ta hauteur/rythme */
  padding-inline: var(--gutter);

  position: relative;
  z-index: 2;

  min-height: inherit;
  display: flex;
  align-items: center;
}


.hero__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.hero__left {
  max-width: 42rem;
}

/* Titre */
.hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(3rem, 4.8vw, 5.4rem);
}

.hero__line {
  display: block;
  /* ✅ force exactement les lignes */
}

/* CTA */
.hero__cta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem .85rem;
  border-radius: .6rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.8;
}

.hero__btn--primary {
  background: var(--blue-main);
  color: white;
}

.hero__btn--ghost {
  background: rgba(0, 0, 0, .45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(4px);
}

/* Tagline en bas à droite (comme la maquette) */
.hero__tagline {
  position: absolute;
  bottom: calc(11% + clamp(1rem, 3vw, 2.25rem));

  /* ✅ s’aligne sur la colonne de droite */
  left: calc(54% + clamp(1rem, 2.5vw, 2.5rem));

  /* ✅ petit push vers la gauche (ajuste) */
  transform: translateX(-1.25rem);

  margin: 0;
  max-width: 38ch;
  text-align: right;

  font-family: var(--font-body);
  font-weight: 600;
  opacity: .95;
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
}


/* Mobile : on évite le texte collé en bas à droite si trop tight */
@media (max-width: 600px) {
  .hero__tagline {
    left: calc(5% + clamp(1rem, 2.5vw, 2.5rem));
    bottom: calc(24% + clamp(1rem, 3vw, 2.25rem))
  }

  .hero__left {
    transform: translateY(clamp(-75px, -9vw, -125px));
  }
}

/* Accessibilité: prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__media {
    background: #111;
  }
}


/* =========================================
   SERVICES (cards)
========================================= */
.svc {
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
}

.svc__wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.svc__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.svc__kicker {
  margin: 0 0 .5rem;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: none;
  /* sur ta maquette c'est pas full uppercase */
  opacity: .85;
}

.svc__title {
  margin: 0 0 .9rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 2.4vw + 1.2rem, 3.2rem);
}

.svc__sub {
  margin: 0;
  max-width: 52ch;
  margin-inline: auto;
  opacity: .95;
  font-size: 1rem;
}

/* grid */
.svc__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.6rem);
}

/* card */
.svc__card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
  transform: translateZ(0);
}

.svc__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.svc__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .62) 0%,
      rgba(0, 0, 0, .22) 55%,
      rgba(0, 0, 0, .10) 100%);
}

.svc__content {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.svc__p_exception {
  margin-top: 80px !important;
}

.svc__h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: 2.5rem;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.svc__p {
  margin: 0;
  font-weight: 500;
  opacity: .92;
  font-size: .95rem;
  line-height: 1.35;
  max-width: 34ch;
}

.svc__more {
  margin-top: .45rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .95rem;
  opacity: .95;
}

/* hover */
@media (hover:hover) {
  .svc__card:hover .svc__img {
    transform: scale(1.06);
    transition: transform .35s ease;
  }

  .svc__card:hover {
    box-shadow: 0 22px 44px rgba(0, 0, 0, .18);
    transition: box-shadow .35s ease;
  }

  .svc__card:hover .svc__more {
    transform: translateX(2px);
    transition: transform .25s ease;
  }
}

/* responsive */
@media (max-width: 1100px) {
  .svc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .svc__grid {
    grid-template-columns: 1fr;
  }

  .svc__card {
    min-height: 220px;
  }
}


/* =========================================
   WHY / TABS SECTION
========================================= */

.why {
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
  background: #f2f2f2;
}


/* .why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 6rem);

}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/equipe_asphalte_evolution.jpg") center/cover no-repeat;
  opacity: 1;
  filter: saturate(1) contrast(1);
  z-index: -2;
  background: #f2f2f2;

}

.why::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.30);
  z-index: -1;
} */

.why__photo {
  margin: 0;
}



.why__wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.why__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.why__kicker {
  margin: 0 0 .55rem;
  font-weight: 700;
  font-size: 1rem;
  opacity: .9;
}

.why__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2.1rem, 2.8vw + 1rem, 3.35rem);
}

.why__sub {
  margin: 0;
  opacity: .8;
  max-width: 70ch;
  margin-inline: auto;
  line-height: 1.55;
  font-weight: 600;
}

/* box */
.why__box {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: #fff;
}

/* left tabs */
.why__tabs {
  border-right: 1px solid #e6e6e6;
  display: grid;
  background: #f2f2f2;
}

.why__tab {
  appearance: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #ededed;
  text-align: left;
  padding: 1.4rem 1.6rem;
  cursor: pointer;

  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.05rem, .4vw + 1rem, 1.35rem);
  line-height: 1.15;
  color: #111;
  background: #f2f2f2;
}

.why__tab:last-child {
  border-bottom: 0;
}

.why__tab:hover {
  background: #ececec;
}

.why__tab.is-active {
  background: #ececec;
}

/* right panels */
.why__panels {
  display: block;
  background: #f2f2f2;
}

.why__panel {
  display: none;
  padding: clamp(1.8rem, 2.4vw, 3.1rem);
  min-height: 100%;
}

.why__panel.is-active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why__h3 {
  margin: 0 0 .9rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(1.65rem, 1.4vw + 1.25rem, 2.35rem);
}

.why__p {
  margin: 0;
  opacity: .78;
  max-width: 62ch;
  line-height: 1.6;
}

.why__cta {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.why__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .9rem;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  background: var(--blue-main);
  color: white;
}

.why__btn:hover {
  filter: brightness(0.95);
}

.why__link {
  font-weight: 700;
  color: #111;
  opacity: .85;
  text-decoration: none;
}

.why__link:hover {
  opacity: 1;
}

/* responsive */
@media (max-width: 900px) {
  .why__box {
    grid-template-columns: 1fr;
  }

  .why__tabs {
    border-right: 0;
    border-bottom: 1px solid #e6e6e6;
  }

  .why__tab {
    padding: 1.1rem 1.2rem;
  }
}


/* =========================================
   ABOUT / 2 COL (image + texte)
========================================= */
.about {
  padding-block: clamp(3rem, 6vw, 6rem);
  background: #f2f2f2;
}

.about__wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* Desktop */
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2.5rem, 5vw, 5rem);
  }
}

/* Image */
.about__media {
  order: 2;
  /* mobile = image en bas */
}

.about__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  /* look propre, stable */
  box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}

/* Desktop: image à gauche */
@media (min-width: 900px) {
  .about__media {
    order: 1;
  }

  .about__content {
    order: 2;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  

}

/* Contenu */
.about__kicker {
  margin: 0 0 .6rem;
  font-weight: 700;
  font-size: 1rem;
  opacity: .9;
}

.about__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2rem, 2.7vw + 1rem, 3.35rem);
  margin: 0px;
}

.about__text {
  margin: 0 0 1.25rem;
  opacity: .85;
  line-height: 1.65;
  font-weight: 600;
  max-width: 69ch;
  margin: 0px;
}

/* Logos row */
.about__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  align-items: center;
  padding-block: .5rem;
  margin-top: .25rem;
}

.about__logos img {
  max-height: 44px;
  width: auto;
  opacity: .9;
  filter: grayscale(0.1);
}

/* CTA */
.about__cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1rem;
  align-items: center;
}

.about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

.about__btn--primary {
  background: var(--blue-main);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
}

.about__btn--primary:hover {
  filter: brightness(0.95);
}

.about__btn--link {
  padding: 0;
  background: transparent;
  color: #111;
  opacity: .85;
}

.about__btn--link:hover {
  opacity: 1;
}





/* =========================================
   BANNER (texte centré sur image)
========================================= */
.banner {
  position: relative;
  overflow: hidden;
  padding-inline: 5%;
  padding-block: clamp(3rem, 6vw, 6rem);
  color: #fff;
  isolation: isolate;
}

.banner__wrap {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  /* ressemble au max-w-lg */
  margin: 0 auto;
  text-align: center;
}

.banner__title {
  margin: 0 0 .9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-size: clamp(2.2rem, 6.2vw, 7.6rem);
  margin-top: 153px;
  /* proche du 6xl -> 10xl */
}

.banner__text {
  margin: 0;
  opacity: .92;
  line-height: 1.6;
  font-weight: 600;
  font-size: clamp(1rem, 1vw + .85rem, 1.15rem);
  max-width: 60ch;
  margin-inline: auto;
}

/* Background */
.banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  /* anti-ligne blanche */
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .50);
  /* équivalent bg-black/50 */
  z-index: 1;
}




/* =========================================
   PARTENAIRES
========================================= */
.partners {
  padding-inline: 5%;
  padding-block: clamp(2.5rem, 4vw, 4.25rem);
  background: #fff;
}

.partners__wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.partners__title {
  max-width: 42rem;
  margin: 0 auto clamp(1.5rem, 2.6vw, 2.4rem);
  text-align: center;

  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.05rem, .55vw + 2rem, 3rem)
}

.partners__grid {
  display: grid;
  gap: .75rem;
}

/* ✅ Mobile/tablette: 2 colonnes */
.partners__grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partners__item {
  display: flex;
  align-items: center;
  justify-content: center;

  background: #f5f6f7;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px;

  padding: .9rem 1rem;
  min-height: 84px;
}

.partners__item img {
  max-height: 3rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: .95;
}

.partners__item {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.partners__item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

/* ✅ Desktop: 4 sur une ligne */
@media (min-width: 900px) {
  .partners__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .partners__item {
    min-height: 160px;
  }

  .partners__item img {
    max-height: 100%;
  }
}


/* ===== Video Section ===== */
.vidsec{
  padding: 4rem 5%;
}

.vidsec__wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.vidsec__head{
  text-align: center;
  margin-bottom: 2.5rem;
}

.vidsec__title{
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.vidsec__sub{
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.8;
}

/* Grid 2 colonnes desktop, 1 colonne mobile */
.vidsec__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px){
  .vidsec__grid{
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

/* Card style */
.vidsec__card{
  border-radius: 14px;
  overflow: hidden;
  background: #000; /* évite le flash blanc pendant le load */
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* Ratio responsive 16:9 */
.vidsec__ratio{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.vidsec__ratio iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Video Section ===== */
.vidsec{
  padding: 4rem 5% 4rem;  /* desktop */
}

@media (max-width: 767px){
  .vidsec{
    padding: 3rem 5% 3.5rem; /* ✅ + padding bottom en mobile */
  }
  .about__title {
    margin-bottom: 20px!important;
  }
}

.vidsec__wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.vidsec__head{
  text-align: center;
  margin-bottom: 2.2rem;
}

/* Grid */
.vidsec__grid{
  display: grid;
  grid-template-columns: 1fr; /* ✅ 1 colonne mobile */
  gap: 1.25rem;               /* ✅ marge entre les vidéos */
  justify-items: center;      /* ✅ centre les cards */
}

/* Desktop 2 colonnes */
@media (min-width: 768px){
  .vidsec__grid{
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    justify-items: stretch;
  }
}

/* Card */
.vidsec__card{
  width: 100%;
  max-width: 560px;           /* ✅ centre + limite la largeur sur mobile */
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* En desktop on veut qu'elles prennent toute la colonne */
@media (min-width: 768px){
  .vidsec__card{
    max-width: none;
  }
}

/* Ratio responsive 16:9 */
.vidsec__ratio{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.vidsec__ratio iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}




/* CTA avec image background */
.cta-bg {
  position: relative;
  overflow: hidden;
  padding-inline: 5%;
  padding-block: clamp(3rem, 10vw, 12rem);
  color: #fff;
}

.cta-bg__wrap {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  /* un peu plus large que max-w-lg */
  margin: 0 auto;
  text-align: center;
}

.cta-bg__title {
  margin: 0 0 .9rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.2vw + 1rem, 3.2rem);
}

.cta-bg__text {
  margin: 0;
  opacity: .95;
  font-weight: 600;
  line-height: 1.6;
  font-size: clamp(1rem, .5vw + .95rem, 1.15rem);
}

.cta-bg__actions {
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  display: flex;
  justify-content: space-between;
  ;
}

/* ✅ bouton plus large */
.cta-bg__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(160px, 100%);
  /* large, mais pas plus que 460px */
  padding: .95rem 1.25rem;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--blue-main);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}

/* hover */
.cta-bg__btn:hover {
  filter: brightness(1.05);
}

/* media */
.cta-bg__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

/* mobile: full width */
@media (max-width: 600px) {
  .cta-bg__btn {}

  .cta-bg__actions {
    display: block;

  }
}


/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: var(--blue-main);
  /* ✅ fond bleu */
  color: #fff;
}

.site-footer__top {
  background: #e9e9e9;
  /* ✅ bloc gris clair */
  color: #14335a;
  /* texte bleu foncé */
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

.site-footer__wrap {
  max-width: var(--content-max, 1300px);
  margin: 0 auto;
  padding-inline: var(--gutter, 1rem);
}

/* 3 colonnes */
.site-footer__top .site-footer__wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

/* Logo */
.site-footer__logo img {
  max-height: 70px;
  width: auto;
  display: block;
}

.site-footer__desc {
  margin: 1rem 0 1.2rem;
  line-height: 1.65;
  opacity: .95;
  max-width: 58ch;
  font-weight: 500;
  font-size: .98rem;
}

/* Titres colonnes */
.site-footer__h3 {
  margin: .35rem 0 1rem;
  font-family: var(--font-heading, inherit);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

/* Liens rapides */
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.site-footer__list a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  opacity: .95;
}

.site-footer__list a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Contact */
.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.site-footer__contact-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.site-footer__contact-list a:hover {
  text-decoration: underline;
}

.site-footer__ico {
  display: inline-flex;
  width: 1.25rem;
  justify-content: center;
  margin-right: .6rem;
}

.site-footer__contact-spacer {
  height: .25rem;
}

/* Social icons */
.site-footer__social {
  display: flex;
  gap: .85rem;
  align-items: center;
}

.site-footer__social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(20, 51, 90, .08);
}

.site-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__social-link:hover {
  background: rgba(20, 51, 90, .14);
}

/* Barre du bas */
.site-footer__bottom {
  background: var(--blue-main);
  padding-block: 1.1rem;
}

.site-footer__bottom p {
  margin: 0;
  opacity: .95;
  font-weight: 700;
  font-size: .95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .site-footer__top .site-footer__wrap {
    grid-template-columns: 1fr;
  }

  .site-footer__desc {
    max-width: none;
  }
}