*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:#0b1b2b;
  background:#000;
}
a{color:inherit}
.container{width:min(1220px,calc(100% - 56px));margin-inline:auto}

/* Header */
.header{
  position:absolute;
  inset:0 0 auto 0;
  z-index:30;
  padding:18px 0 0;
}
.servicesPage .header,
.stdPage .header{ position:fixed; }

.header__row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand__icon{width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.18))}
.brand__text{display:grid}
.brand__title{font-weight:900;letter-spacing:.6px;font-size:28px;color:#0d3a68;line-height:1}
.brand__subtitle{margin-top:4px;font-size:11px;letter-spacing:.8px;color:#f3a43b;font-weight:800}

/* Nav pill */
.navpill{
  background:rgba(7,32,60,.92);
  border-radius:999px;
  padding:10px 12px;
  box-shadow:0 14px 36px rgba(0,0,0,.20);
  backdrop-filter:blur(6px);
  display:flex;
  gap:6px;
  align-items:center;
  margin-top:2px;
}
.navpill a{
  text-decoration:none;
  color:rgba(255,255,255,.88);
  font-weight:700;
  font-size:12px;
  padding:9px 16px;
  border-radius:999px;
  white-space:nowrap;
}
.navpill a.active{background:rgba(255,255,255,.14)}

/* CTA */
.cta{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#fff;
  color:#2a67a7;
  font-weight:800;
  font-size:12px;
  padding:12px 14px;
  border-radius:12px;
  box-shadow:0 14px 36px rgba(0,0,0,.20);
}
.cta__icon{
  width:28px;height:28px;border-radius:8px;
  display:grid;place-items:center;
  background:#f3a43b;color:#fff;
  font-size:15px;line-height:1;
}

/* Home hero */
.hero{
  min-height:100vh;
  position:relative;
  display:grid;
  align-items:center;
  background:var(--hero-bg) center 100%/cover no-repeat;
}
.hero__overlay{
  position:absolute;inset:0;
  background:linear-gradient(to bottom, rgba(255,255,255,.08), rgba(0,0,0,.06));
}
.hero__content{
  position:relative;z-index:2;
  padding-top:120px;
  display:grid;
  justify-items:center;
  gap:30px;
}
.hero__mark{
  width:130px;height:130px;
  opacity:.55;
  object-fit:contain;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.18));
  pointer-events:none;
  margin-bottom:100px;
}

/* bottom pills */
.servicesRow{
  width:min(980px,100%);
  display:flex;
  justify-content:center;
  gap:44px;
  margin-top:-40px;
}
.servicePill{
  min-width:180px;
  text-decoration:none;
  background:rgba(7,32,60,.95);
  color:#fff;
  border-radius:999px;
  padding:15px 15px;
  font-weight:900;
  letter-spacing:.9px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow:0 14px 36px rgba(0,0,0,.20);
}
.servicePill__check{
  width:26px;height:26px;border-radius:999px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  font-weight:900;
}

/* Standard pages */
.stdPage{ background:#f6f8fb; }
.stdMain{ padding-top:130px; padding-bottom:70px; }
.card{
  background:#fff;
  border-radius:20px;
  box-shadow:0 16px 40px rgba(0,0,0,.08);
  padding:28px;
}
.h1{font-size:28px;margin:0 0 10px;font-weight:900;color:#0d3a68}
.p{margin:0;color:#2a3b4f;line-height:1.6}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.kv{display:grid;gap:10px;margin-top:16px}
.kv div{background:#f1f5fb;border-radius:14px;padding:12px 14px;font-weight:700;color:#163a63}
.form{display:grid;gap:12px;margin-top:14px}
input,textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid #d8e2f0;
  font:inherit;
  outline:none;
}
textarea{min-height:120px;resize:vertical}
button{
  border:none;
  border-radius:14px;
  padding:12px 14px;
  background:rgba(7,32,60,.95);
  color:#fff;
  font-weight:900;
  letter-spacing:.4px;
  cursor:pointer;
}

/* ===== Services page (background crossfade) ===== */
.servicesPage{ background:#000; }
.servicesPage main{ padding-top:0; }

.bgStage{ position:fixed; inset:0; z-index:0; overflow:hidden; }
.bgStage__layer{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity .85s ease;
  transform:scale(1.06);
  will-change:transform, opacity, background-image;
}
.bgStage__layer.is-active{ opacity:1; }
.bgStage__layer.is-moving{ animation:bgMove 14s ease-in-out infinite alternate; }
@keyframes bgMove{
  from{ transform:scale(1.06) translate3d(0,0,0); background-position:50% 48%; }
  to{ transform:scale(1.12) translate3d(0,-2%,0); background-position:54% 56%; }
}

/* sections */
.svcSection{ min-height:100vh; position:relative; z-index:1; color:#fff; }
.svcOverlay{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.svcInner{ position:relative; z-index:2; padding-top:140px; padding-bottom:70px; }

.svcTop{ display:flex; justify-content:space-between; align-items:center; opacity:.9; font-size:14px; letter-spacing:.6px; }
.svcRule{ width:520px; height:2px; background:rgba(255,255,255,.55); margin:60px 0 50px; }
.svcGrid{ display:grid; grid-template-columns: 1.2fr .9fr; gap:40px; align-items:end; }

.svcTitle{ font-size:104px; font-weight:900; letter-spacing:1px; color:#f0b34f; line-height:1; margin:0 0 16px; }
.svcTitle--small{ font-size:88px; }
.svcSubtitle{ font-size:40px; font-weight:300; margin:0; opacity:.95; }
.svcText{ font-size:14px; line-height:1.7; opacity:.95; max-width:520px; }

.svcListBlock{ margin-top:54px; max-width:980px; }
.svcListTitle{ font-size:44px; line-height:1.2; font-weight:300; margin:0 0 18px; }
.svcList{ margin:0; padding-left:22px; font-size:26px; line-height:1.55; font-weight:300; }
.svcList li{ margin:10px 0; }

.svcDots{ display:flex; gap:12px; margin-top:26px; }
.svcDots span{ width:8px;height:8px;border-radius:50%; background:rgba(255,255,255,.25); }
.svcDots span.active{ background:#f38a21; }
.svcDots--center{ position:absolute; left:50%; bottom:26px; transform:translateX(-50%); }

/* Hero services */
.svcHero{ display:grid; align-items:stretch; }
.svcHero__left{
  width:48%;
  min-width:520px;
  background:linear-gradient(to right, rgba(6,38,78,1), rgba(6,38,78,.78), rgba(6,38,78,0));
  padding:120px 0 0;
  position:relative;
}
.svcHero__left::before{
  content:"";
  position:absolute;
  left:36px;
  top:0;
  bottom:0;
  width:2px;
  background:rgba(255,255,255,.22);
}
.svcHero__inner{ padding-left:72px; padding-right:24px; }
.svcHero__title{ font-size:84px; line-height:1; margin:140px 0 22px; font-weight:900; }
.svcHero__lead{ max-width:360px; font-size:16px; line-height:1.5; opacity:.9; margin:0 0 26px; }

/* boxes (NOT buttons) */
.svcBoxes{ display:flex; gap:18px; margin-top:26px; }
.svcBox{
  border-radius:10px;
  padding:10px 22px;
  font-weight:800;
  font-size:13px;
  border:2px solid rgba(255,255,255,.75);
  color:#fff;
  background:rgba(255,255,255,.08);
  min-width:128px;
  text-align:center;
}

.reveal{ opacity:0; transform:translateY(30px); filter:blur(3px); transition:opacity .9s ease, transform .9s ease, filter .9s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); filter:blur(0); }
/* ================================
   SERVICES PAGE — HEADER BLANC
   ================================ */

.servicesPage .header{
  position:fixed;           /* header collé en haut */
  top:0; left:0; right:0;
  z-index:30;
  background:#fff;          /* ✅ BLANC */
  padding:14px 0;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* Optionnel: garde la nav pill comme sur ta capture */
.servicesPage .navpill{
  background:rgba(7,32,60,.92);
}

/* CTA propre sur fond blanc */
.servicesPage .cta{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
}

/* (important) le background stage reste derrière tout */
.servicesPage .bgStage{ z-index:0; }
.servicesPage main,
.servicesPage .svcSection{ position:relative; z-index:1; }

/* Evite que le contenu passe sous le header */
.servicesPage .svcInner{ padding-top:160px; }
.servicesPage .svcHero__title{ margin-top:160px; }

/* =========================
   BLOG — Diago (fermé) -> Vertical (ouvert) + synchro ouverture/fermeture
========================= */

.blogPage{ padding-top:140px; padding-bottom:70px; }
.blogList{ display:grid; gap:26px; }

.postCard{
  --radius: 22px;

  /* fermé */
  --imgCol: 42%;
  --cut: 78px;            /* profondeur de la diagonale */
  --stripeW: 14px;        /* bande orange */
  --barW: 74px;           /* largeur bande noire */

  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  background:#071f3a;
  box-shadow:0 18px 46px rgba(0,0,0,.20);
  min-height:360px;

  display:grid;
  grid-template-columns: 1fr var(--imgCol);
  align-items:stretch;

  /* ✅ synchro ouverture/fermeture */
  transition:
    grid-template-columns .55s cubic-bezier(.22,.61,.36,1),
    min-height .55s cubic-bezier(.22,.61,.36,1);
}

/* ===== TEXTE GAUCHE ===== */
.postOverlay{
  color:#fff;
  z-index:2;
  padding:46px 46px 36px 56px;

  /* empêche le texte de toucher le bandeau */
  padding-right: calc(46px + var(--barW) + 12px);

  transition: padding .55s cubic-bezier(.22,.61,.36,1);
}

.postMiniBrand{ font-weight:900; letter-spacing:.8px; font-size:12px; opacity:.95; margin-bottom:18px; }
.postTitle{ margin:0 0 18px; font-size:56px; line-height:1.02; font-weight:900; }
.postLead{ margin:0 0 22px; font-size:14px; line-height:1.7; opacity:.92; max-width:560px; }

.postBtn{
  border:none;
  background:#f38a21;
  color:#0b1b2b;
  font-weight:900;
  border-radius:16px;
  padding:12px 22px;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}
.postBtn:focus{ outline:2px solid rgba(255,255,255,.55); outline-offset:3px; }

/* ===== MEDIA (IMAGE) ===== */
.postMedia{
  position:relative;
  z-index:1;
  overflow:hidden;

  /* ✅ DIAGO AU DÉBUT */
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);

  /* ✅ synchro */
  transition: clip-path .55s cubic-bezier(.22,.61,.36,1);

  will-change: clip-path;
}

/* ✅ synchro + pas de retard fermeture */
.postImg{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;

  transform:scale(1.02);
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;

  /* GPU anti-lag */
  backface-visibility:hidden;
  transform: translateZ(0) scale(1.02);
}

/* ===== BANDEAU DIAGONAL (FERMÉ) ===== */
.postMedia::before{
  content:"";
  position:absolute;
  top:-20%;
  left:0;
  width: calc(var(--cut) + 26px);
  height:160%;
  transform:skewX(-18deg);
  background:rgba(0,0,0,.55);
  pointer-events:none;
  z-index:3;

  transition:
    top .55s cubic-bezier(.22,.61,.36,1),
    left .55s cubic-bezier(.22,.61,.36,1),
    width .55s cubic-bezier(.22,.61,.36,1),
    height .55s cubic-bezier(.22,.61,.36,1),
    transform .55s cubic-bezier(.22,.61,.36,1);

  will-change: top,left,width,height,transform;
  backface-visibility:hidden;
}

.postMedia::after{
  content:"";
  position:absolute;
  top:-20%;
  left: calc(var(--cut) - 2px);
  width: var(--stripeW);
  height:160%;
  transform:skewX(-18deg);
  background:#f38a21;
  pointer-events:none;
  z-index:4;

  transition:
    top .55s cubic-bezier(.22,.61,.36,1),
    left .55s cubic-bezier(.22,.61,.36,1),
    width .55s cubic-bezier(.22,.61,.36,1),
    height .55s cubic-bezier(.22,.61,.36,1),
    transform .55s cubic-bezier(.22,.61,.36,1);

  will-change: top,left,width,height,transform;
  backface-visibility:hidden;
}

/* ===== TEXTE LONG ===== */
.postDetails{
  margin-top:22px;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(10px);

  /* ✅ fermeture plus rapide, pas de "poids" */
  transition: max-height .55s ease, opacity .35s ease, transform .35s ease;
}

.postCols{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  border-top:1px solid rgba(255,255,255,.16);
  padding-top:20px;

  /* fermé : ne touche pas le bandeau */
  padding-right: calc(var(--barW) + 12px);

  transition: padding .55s cubic-bezier(.22,.61,.36,1);
}

.postCol{ font-size:14px; line-height:1.75; opacity:.95; }
.postCol p{ margin:0 0 12px; }
.postCol ul{ margin:10px 0 0; padding-left:18px; }
.postCol li{ margin:7px 0; }

/* ==========================================
   ✅ OUVERT : bandeau devient VERTICAL + image rectangle
========================================== */
.postCard.is-open{
  --imgCol: 36%;
  min-height:520px;
}

/* Image rectangle */
.postCard.is-open .postMedia{
  clip-path: inset(0);
}

/* Bandeau vertical */
.postCard.is-open .postMedia::before{
  top:0;
  left:0;
  height:100%;
  width: var(--barW);
  transform:none;
}
.postCard.is-open .postMedia::after{
  top:0;
  left: calc(var(--barW) - var(--stripeW));
  height:100%;
  width: var(--stripeW);
  transform:none;
}

/* Détails visibles */
.postCard.is-open .postDetails{
  max-height:9000px;
  opacity:1;
  transform:translateY(0);
}

/* zoom open (synchro) */
.postCard.is-open .postImg{
  transform: translateZ(0) scale(1.03);
}

/* ===== Responsive ===== */
@media (max-width:1100px){
  .postTitle{ font-size:44px; }
}

@media (max-width:980px){
  .postCard{
    grid-template-columns:1fr;
    transition:none;
  }
  .postMedia{ height:260px; clip-path:none; transition:none; }
  .postMedia::before, .postMedia::after{ display:none; }
  .postOverlay{ padding:32px 22px 24px; padding-right:22px; transition:none; }
  .postCols{ grid-template-columns:1fr; padding-right:0; transition:none; }
  .postTitle{ font-size:34px; }

  .postImg{
    transform:scale(1.02);
    transition: transform .35s ease;
  }
}
/* ================================
   BLOG — HEADER BLANC (comme Services)
================================ */

body[data-page="blog"] .header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:30;

  background:#fff;                 /* BLANC */
  padding:14px 0;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* Nav pill reste foncée */
body[data-page="blog"] .navpill{
  background:rgba(7,32,60,.92);
}

/* CTA propre sur fond blanc */
body[data-page="blog"] .cta{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
}

/* Evite que le contenu passe sous le header */
body[data-page="blog"] .blogPage{
  padding-top:160px;
}
/*=========================
   ABOUT — 2 COLONNES (photo gauche + cadre large)
   (À REMPLACER EN ENTIER)
========================= */

.aboutPage{
  background:#071f3a;
  color:#fff;
}

/* ===== HEADER BLANC ===== */
.aboutPage .header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:30;
  background:#fff;
  padding:14px 0;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* espace sous header */
.aboutMain{
  padding-top:100px;   /* ✅ laisse respirer sous le header */
  padding-bottom:90px;
  overflow-x:hidden;   /* ✅ jamais de scroll horizontal */
}

/* ===== GRILLE : 2 colonnes ===== */
.aboutGrid{
  display:grid;
  grid-template-columns: 520px minmax(0, 1fr);
  gap:48px;
  align-items:start;
  max-width:1220px;
  margin:0 auto;
}

/* ===== PHOTO (forme pro) ===== */
.aboutPhoto{
  border-radius:22px;
  overflow:hidden;
  background:transparent;
  box-shadow:0 18px 46px rgba(0,0,0,.22);
  position:relative;
}

.aboutPhoto--left{
  height:300px;
  margin-top:46px;

}

.aboutPhoto img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* ===== COLONNE GAUCHE ===== */
.aboutLeft{
  display:grid;
  gap:26px;
}

/* Gros titre orange sous la photo */
.aboutBigTitle{
  margin:0;
  font-size:50px;
  line-height:1.06;
  font-weight:900;
  letter-spacing:.2px;
  color:#f3a43b;
}

/* ===== COLONNE DROITE (CADRE LARGE) ===== */
.aboutMid{
  position:relative;
  min-width:0;
}

/* CADRE ORANGE — UN SEUL TRAIT, LARGE (milieu + droite) */
.aboutFrame{
  border:2px solid #f3a43b;
  padding:36px 44px 32px;
  background:transparent;
  color:#fff;

  /* ✅ petite superposition avec la photo gauche */
  margin-left:-22px;
  margin-top:43px;

  box-shadow:0 18px 46px rgba(0,0,0,.22);
  position:relative;
  z-index:3;
}

/* La photo passe devant le cadre, légèrement */
.aboutPhoto--left{
  z-index:5;
  margin-right:-18px;
}

/* Titre du cadre */
.aboutFrameTitle{
  margin:0 0 18px;
  font-size:26px;
  line-height:1.15;
  font-weight:900;
  color:#fff;

  hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
  text-wrap:balance;
}

/* Texte du cadre */
.aboutFrame p{
  margin:0 0 14px;
  font-size:14px;
  line-height:1.7;
  opacity:.95;

  hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px){
  .aboutGrid{
    grid-template-columns: 1fr;
    gap:28px;
  }

  .aboutFrame{
    margin-left:0;     /* plus d’overlap sur mobile/tablette */
    margin-top:18px;
    padding:28px 24px 24px;
  }

  .aboutPhoto--left{
    margin-right:0;
  }

  .aboutBigTitle{
    font-size:42px;
  }
}

@media (max-width: 900px){
  .aboutPhoto--left{
    height:260px;
  }

  .aboutBigTitle{
    font-size:38px;
  }

  .aboutFrameTitle{
    font-size:24px;
  }
}
/* =========================
   FOOTER — PRO CLASSIC
========================= */

.siteFooter{
  background:#071f3a;                 /* bleu marine */
  color:rgba(255,255,255,.88);
  padding:64px 0 26px;
  margin-top:0px;
}

.siteFooter__inner{
  position:relative;
}

.siteFooter__grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr .9fr .9fr;
  gap:34px;
  align-items:start;
}

/* Brand */
.siteFooter__brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.siteFooter__logo{
  width:56px;
  height:56px;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.25));
}
.siteFooter__title{
  font-weight:900;
  letter-spacing:.6px;
  font-size:18px;
  color:#fff;
  line-height:1;
}
.siteFooter__subtitle{
  margin-top:4px;
  font-size:10px;
  letter-spacing:.8px;
  color:#f3a43b;
  font-weight:800;
}

.siteFooter__text{
  margin:0;
  max-width:420px;
  line-height:1.7;
  font-size:13px;
  opacity:.92;
}

/* Headings */
.siteFooter__h{
  margin:0 0 14px;
  font-size:14px;
  font-weight:900;
  color:#fff;
  letter-spacing:.3px;
}

/* Links */
.siteFooter__links{
  display:grid;
  gap:10px;
}
.siteFooter__links a{
  color:rgba(255,255,255,.85);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  opacity:.92;
}
.siteFooter__links a:hover{
  color:#fff;
  text-decoration:underline;
}

/* Contact */
.siteFooter__contact p{
  margin:0 0 12px;
  font-size:13px;
  line-height:1.6;
}
.siteFooter__contact a{
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.siteFooter__contact a:hover{
  text-decoration:underline;
}

/* Social */
.siteFooter__social{
  display:flex;
  gap:10px;
  margin-top:16px;
}
.siteFooter__social .soc{
  width:40px;
  height:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 10px 20px rgba(0,0,0,.18);
}
.siteFooter__social .soc:hover{
  background:rgba(243,164,59,.22);
}

/* Bottom line */
.siteFooter__bottom{
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  font-size:12px;
  opacity:.9;
}
.siteFooter__sep{ opacity:.6; }

/* Responsive */
@media (max-width: 1100px){
  .siteFooter__grid{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px){
  .siteFooter__grid{
    grid-template-columns: 1fr;
  }
  .siteFooter__bottom{
    justify-content:flex-start;
  }
}
/* =========================
   SOCIAL BUTTONS — PRO COLORS
========================= */

/* Facebook */
.siteFooter__social .soc--fb{
  background:#1877f2;
}
.siteFooter__social .soc--fb:hover{
  background:#0f5fd1;
}

/* Instagram (dégradé OFFICIEL) */
.siteFooter__social .soc--ig{
  background:linear-gradient(
    135deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );
}
.siteFooter__social .soc--ig:hover{
  filter:brightness(1.1);
}

/* LinkedIn */
.siteFooter__social .soc--in{
  background:#0a66c2;
}
.siteFooter__social .soc--in:hover{
  background:#084c94;
}

/* Harmonisation typo icônes */
.siteFooter__social .soc{
  font-family:Arial, Helvetica, sans-serif;
  font-size:15px;
  text-transform:lowercase;
}
/* Pages légales : texte blanc */
body[data-page="confidentialite"],
body[data-page="mentions"]{
  color:#fff;
}
/* =============================
   MOBILE CLEAN – STABLE
============================= */
@media (max-width: 980px) {

  html, body {
    overflow-x: hidden;
  }

  /* HEADER */
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
  }

  .header__row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navpill {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .navpill.active {
    display: flex;
  }

  .cta {
    width: 100%;
    justify-content: center;
  }

  /* CONTENU SOUS HEADER */
  main,
  .stdMain,
  .aboutMain,
  .blogPage {
    padding-top: 190px;
  }

  /* SERVICES */
  .svcHero__left {
    width: 100%;
    min-width: 0;
    padding: 0 16px;
    background: none;
  }

  .svcTitle,
  .svcSubtitle {
    max-width: 100%;
    word-wrap: break-word;
  }

  /* GRILLES */
  .grid2,
  .svcGrid,
  .aboutGrid {
    grid-template-columns: 1fr;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 980px) {
  main,
  .stdMain,
  .aboutMain,
  .blogPage,
  .servicesPage main {
    padding-top: 200px !important;
  }
}
@media (max-width: 980px) {

  .svcHero__left {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 16px;
    background: none !important;
  }

  .svcTitle,
  .svcSubtitle {
    font-size: clamp(28px, 8vw, 56px);
    line-height: 1.1;
    word-break: break-word;
  }
}
/* =====================================================
   FIX DÉBORDEMENT MOBILE — HOME + SERVICES (DÉFINITIF)
===================================================== */
@media (max-width: 980px) {

  /* 1️⃣ Verrouille le viewport réel */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip; /* mieux que hidden */
  }

  /* 2️⃣ Neutralise TOUT scale / translate graphique */
  .hero,
  .hero *,
  .bgStage,
  .bgStage__layer {
    transform: none !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* 3️⃣ Backgrounds TOUJOURS centrés */
  .hero,
  .bgStage__layer {
    background-position: center center !important;
    background-size: cover !important;
  }

  /* 4️⃣ Sections pleine largeur réelle */
  .hero,
  .svcSection {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* 5️⃣ Contenu centré sans débordement */
  .hero__content,
  .svcInner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 6️⃣ Évite TOUT élément plus large que l’écran */
  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  /* 7️⃣ Sécurité ultime */
  * {
    box-sizing: border-box;
    max-width: 100%;
  }
}
/* =====================================================
   FIX GLOBAL VIEWPORT — AUCUN DÉBORDEMENT
===================================================== */

/* RÈGLE OR : JAMAIS 100vw */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Tous les wrappers full screen */
.hero,
.bgStage,
.servicesPage,
.servicesPage main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* NE JAMAIS forcer vw sur mobile */
@media (max-width: 980px) {
  * {
    max-width: 100%;
  }
}
/* =====================================================
   MENU HAMBURGER — VISIBILITÉ CORRECTE
===================================================== */

/* Desktop : PAS de hamburger */
.menu-toggle {
  display: none !important;
}

/* Mobile uniquement */
@media (max-width: 980px) {
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .navpill {
    display: none;
    width: 100%;
  }

  .navpill.active {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .brandtitle { font-size: 24px; }
  .postTitle { font-size: 28px; }
  button, .cta { min-height: 48px; padding: 12px; }
}
/* CONTACT + DEVIS : header blanc comme les pages standards */
body[data-page="contact"] .header,
body[data-page="devis"] .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Mentions légales + Confidentialité : header blanc aussi */
body[data-page="mentions"] .header,
body[data-page="confidentialite"] .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
@media (max-width: 980px) {
  .servicesRow {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .servicePill {
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }
}
@media (max-width: 980px) {
  /* PAGE SERVICES : colonne gauche hero = pleine largeur */
  .servicesPage .svcHeroleft {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    background: none !important;
  }

  .servicesPage .svcHeroinner {
    padding-left: 0 !important;
    padding-right: 16px !important;
  }

  /* Hero services = 1 colonne */
  .servicesPage .svcHero {
    display: block !important;
  }

  /* Grille services = 1 colonne complète */
  .servicesPage .svcGrid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: start !important;
  }

  /* Titres qui débordent = fluid */
  .servicesPage .svcTitle,
  .servicesPage .svcSubtitle {
    max-width: 100%;
    word-break: break-word;
    hyphens: auto;
  }

  /* Boutons services = pleine largeur */
  .servicesPage .svcBoxes {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .servicesPage .svcBox {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  /* Padding contenu sous header fixe */
  .servicesPage main,
  .servicesPage .svcInner {
    padding-top: 200px !important;
  }
}
