/* ==========================================================================
   HOME PARE BRISE — Valence (26)
   Site realise par Simply On
   ========================================================================== */

:root{
  --navy:#1A4251;
  --navy-800:#143442;
  --navy-700:#235466;
  --turquoise:#9CCCC7;
  --turquoise-600:#6FB3AD;
  --turquoise-100:#EBF6F5;
  --turquoise-text:#2F6A64;   /* accent lisible sur fond clair : 6,2:1 */
  --muted:#59707A;            /* texte secondaire : 5,2:1 */
  --ink:#0F2630;
  --body:#3B525C;
  --line:#DCE6E8;
  --paper:#FFFFFF;
  --paper-2:#F6FAFA;
  --radius:18px;
  --radius-lg:28px;
  --gutter:clamp(1.25rem,5vw,4rem);
  --container:1180px;
  --section:clamp(4.5rem,9vw,8.5rem);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;
  font-family:'Urbanist',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  font-size:clamp(1.02rem,.42vw + .92rem,1.14rem);
  line-height:1.72;
  font-weight:400;
  color:var(--body);
  background:var(--paper);
  overflow-x:hidden;
}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit}
button{font:inherit}

h1,h2,h3,h4,h5{
  margin:0 0 .6em;
  color:var(--ink);
  font-weight:600;
  line-height:1.1;
  letter-spacing:-.02em;
  text-wrap:balance;
}
h1,.h1{font-size:clamp(2.2rem,4.6vw,3.7rem);font-weight:700;letter-spacing:-.034em}
h2,.h2{font-size:clamp(1.8rem,3.1vw,2.7rem);letter-spacing:-.026em}
h3,.h3{font-size:clamp(1.35rem,1.9vw,1.78rem)}
h4,.h4{font-size:clamp(1.18rem,1.4vw,1.42rem)}
/* text-wrap:pretty evite les lignes orphelines ; le collage des deux derniers
   mots est fait au build pour les navigateurs qui ne le gerent pas encore */
p,li,figcaption,blockquote,dd,summary{text-wrap:pretty}
p{margin:0 0 1.15em;max-width:72ch}
.split__body p,.prose p,.lede{max-width:66ch}
p:last-child{margin-bottom:0}
strong{font-weight:600;color:var(--ink)}

/* ---------- layout ---------- */
.container{width:100%;max-width:calc(var(--container) + var(--gutter)*2);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--section)}
.section--tight{padding-block:clamp(3rem,6vw,5rem)}
.section--navy{background:var(--navy);color:#CFE2E4}
.section--navy h1,.section--navy h2,.section--navy h3,.section--navy h4,.section--navy strong{color:#fff}
.section--soft{background:var(--paper-2)}
.section--mint{background:var(--turquoise-100)}

.lede{font-size:clamp(1.08rem,.45vw + 1rem,1.26rem);line-height:1.62;color:var(--body)}
.section--navy .lede{color:#CFE2E4}
.eyebrow{
  display:block;margin-bottom:1.1rem;
  font-size:.92rem;font-weight:600;letter-spacing:.04em;
  color:var(--turquoise-text);
}
.section--navy .eyebrow{color:var(--turquoise)}

.grid{display:grid;gap:clamp(1.5rem,3vw,2.75rem)}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1000px){.grid-3,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.grid-2,.grid-3,.grid-4{grid-template-columns:minmax(0,1fr)}}

.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2rem,5vw,4.5rem);align-items:stretch}
@media (max-width:900px){.split{grid-template-columns:minmax(0,1fr)}
  .split__media{min-height:0}
  .split__media img{aspect-ratio:4/3}}
.split__media{position:relative;border-radius:var(--radius-lg);overflow:hidden;background:var(--turquoise-100);display:flex;min-height:clamp(300px,34vw,440px)}
.split__media img{width:100%;height:100%;object-fit:cover}
.split__media--portrait img{object-position:center 30%}
.split--reverse .split__media{order:2}
@media (max-width:900px){.split--reverse .split__media{order:0}}

/* ---------- boutons ---------- */
.btn{
  position:relative;display:inline-flex;align-items:center;gap:.6rem;
  padding:1.05rem 1.9rem;border:0;border-radius:999px;
  font-size:1rem;font-weight:600;letter-spacing:-.01em;text-decoration:none;cursor:pointer;
  background:var(--navy);color:#fff;overflow:hidden;
  transition:transform .4s var(--ease),background .4s var(--ease),color .4s var(--ease);
}
.btn:hover{transform:translateY(-3px);background:var(--navy-700)}
.btn__roll{display:block;position:relative;overflow:hidden}
.btn__roll span{display:block;transition:transform .45s var(--ease)}
.btn__roll span::after{
  content:attr(data-txt);position:absolute;top:100%;left:0;width:100%;
}
.btn:hover .btn__roll span{transform:translateY(-100%)}
.btn--accent{background:var(--turquoise);color:var(--navy)}
.btn--accent:hover{background:var(--turquoise-600);color:#fff}
.btn--ghost{background:transparent;color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--navy)}
.btn--ghost:hover{background:var(--navy);color:#fff}
.section--navy .btn--ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.45)}
.section--navy .btn--ghost:hover{background:#fff;color:var(--navy)}
.btn--lg{padding:1.2rem 2.3rem;font-size:1.06rem}
.actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.2rem}

.link-arrow{
  display:inline-flex;align-items:center;gap:.5rem;
  font-weight:600;color:var(--navy);text-decoration:none;
  border-bottom:1.5px solid var(--turquoise);padding-bottom:.18rem;
  transition:gap .3s var(--ease),border-color .3s var(--ease)
}
.link-arrow:hover{gap:.85rem;border-color:var(--navy)}
.section--navy .link-arrow{color:#fff}

/* ---------- preloader ---------- */
.preloader{
  position:fixed;inset:0;z-index:999;background:var(--navy);
  display:flex;align-items:center;justify-content:center;
}
.preloader__marks{display:flex;align-items:center;gap:clamp(.5rem,2vw,1.4rem)}
.preloader__mark{
  width:clamp(40px,7vw,78px);height:auto;
  opacity:0;
}
.preloader__mark path{fill:var(--turquoise)}
.preloader__mark:nth-child(2) path{fill:#fff}
body.is-loading{overflow:hidden}

/* ---------- header ---------- */
.header{
  position:fixed;inset:0 0 auto;z-index:120;
  padding-block:.9rem;
  background:transparent;
  transition:background .45s var(--ease),box-shadow .45s var(--ease),padding .45s var(--ease);
}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.header__logo{display:flex;align-items:center;flex:0 0 auto}
.header__logo img{
  height:clamp(46px,4.4vw,62px);width:auto;
  background:#fff;border-radius:12px;padding:.4rem .62rem;
  box-shadow:0 10px 28px rgba(15,38,48,.14);
}
.header.is-stuck{background:rgba(255,255,255,.96);box-shadow:0 10px 34px rgba(15,38,48,.09);backdrop-filter:blur(10px)}
.header.is-stuck .header__logo img{box-shadow:none;padding:0}

.nav{display:flex;align-items:center;gap:.2rem;flex:1 1 auto;justify-content:center;min-width:0}
.nav a{
  position:relative;padding:.7rem .8rem;white-space:nowrap;border-radius:999px;
  font-size:.98rem;font-weight:500;color:#fff;text-decoration:none;
  transition:background .3s var(--ease),color .3s var(--ease)
}
.header.is-stuck .nav a,.header--solid .nav a{color:var(--ink)}
.nav a:hover,.nav a[aria-current="page"]{background:rgba(255,255,255,.16)}
.header.is-stuck .nav a:hover,.header.is-stuck .nav a[aria-current="page"],
.header--solid .nav a:hover{background:var(--turquoise-100);color:var(--navy)}
.nav__item{position:relative}
.nav__panel{
  position:absolute;top:calc(100% + .45rem);left:0;min-width:286px;
  background:#fff;border-radius:var(--radius);padding:.6rem;
  box-shadow:0 24px 60px rgba(15,38,48,.16);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
}
.nav__item:hover .nav__panel,.nav__item:focus-within .nav__panel{opacity:1;visibility:visible;transform:translateY(0)}
.nav__panel a{display:block;color:var(--ink);border-radius:12px;font-size:.96rem}
.nav__panel a:hover{background:var(--turquoise-100);color:var(--navy)}

.header__cta{display:flex;align-items:center;gap:.7rem;flex:0 0 auto}
.header__tel{
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.85rem 1.4rem;border-radius:999px;
  background:var(--turquoise);color:var(--navy);
  font-weight:700;text-decoration:none;white-space:nowrap;
  transition:transform .35s var(--ease),background .35s var(--ease)
}
.header__tel:hover{transform:translateY(-2px);background:#fff}
.burger{display:none;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.18);cursor:pointer;position:relative}
.header.is-stuck .burger{background:var(--turquoise-100)}
.burger span{position:absolute;left:13px;width:20px;height:2px;background:#fff;border-radius:2px;transition:transform .35s var(--ease),opacity .25s}
.header.is-stuck .burger span{background:var(--navy)}
.burger span:nth-child(1){top:18px}
.burger span:nth-child(2){top:24px}
.burger span:nth-child(3){top:30px}
body.nav-open .burger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
body.nav-open .burger span:nth-child(2){opacity:0}
body.nav-open .burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media (max-width:1200px){
  .nav{
    /* le panneau commence sous l'en-tete, exactement a sa hauteur : les entrees
       ne passent jamais derriere la pastille du logo quand on fait defiler */
    position:fixed;top:calc(1.8rem + clamp(46px,4.4vw,62px));left:0;right:0;bottom:0;z-index:-1;
    /* surtout pas justify-content:center : avec 19 entrees le menu depasse
       l'ecran et la partie haute devient inaccessible au defilement */
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.2rem;
    padding:1.6rem var(--gutter) 3.5rem;
    background:var(--navy);
    overflow-y:auto;overscroll-behavior:contain;
    opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility .4s;
  }
  body.nav-open .nav{opacity:1;visibility:visible}
  .nav a{color:#fff;font-size:1.22rem;padding:.75rem 0;border-radius:0}
  .nav__panel{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:transparent;padding:0 0 .6rem .9rem;min-width:0}
  .nav__panel a{color:var(--turquoise);font-size:1.02rem;padding:.4rem 0}
  .nav__panel a:hover{background:transparent}
  .burger{display:block;z-index:2}
  /* les entrees passaient derriere la pastille blanche du logo en defilant */
  body.nav-open .header{background:var(--navy);box-shadow:none}
  .header__tel span{display:none}
  .header__tel{padding:.85rem 1rem}
}

/* ---------- hero ---------- */
.hero{position:relative;min-height:clamp(540px,78vh,780px);display:flex;align-items:flex-end;overflow:hidden;background:var(--navy)}
.hero__bg{position:absolute;inset:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;transform:scale(1.08)}
.hero__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(15,38,48,.78) 0%,rgba(15,38,48,.46) 34%,rgba(15,38,48,.5) 55%,rgba(15,38,48,.9) 100%);
}
.hero__inner{position:relative;z-index:2;width:100%;padding-top:clamp(7rem,13vh,9.5rem);padding-bottom:clamp(3.5rem,8vh,6rem)}
.hero__content{max-width:46rem}
.hero h1{color:#fff;margin-bottom:.45em;text-shadow:0 2px 24px rgba(10,26,33,.35)}
.hero__lede{color:#DCEAEC;font-size:clamp(1.1rem,.55vw + 1rem,1.3rem);max-width:38rem}
.hero__tag{
  display:inline-flex;align-items:center;gap:.55rem;margin-bottom:1.5rem;
  color:#fff;font-size:.93rem;font-weight:500;letter-spacing:.02em
}
.hero__tag::before{content:"";width:34px;height:1.5px;background:var(--turquoise)}
.hero--page{min-height:clamp(420px,56vh,560px)}
.hero--page h1{font-size:clamp(2.1rem,4.6vw,3.7rem)}

.hero__strip{
  position:relative;z-index:2;background:var(--turquoise);color:var(--navy);
}
.hero__strip ul{
  display:flex;flex-wrap:wrap;gap:clamp(1rem,4vw,3.4rem);
  list-style:none;margin:0;padding:1.15rem 0;
  font-weight:600;font-size:.98rem
}
.hero__strip li{display:flex;align-items:center;gap:.6rem}
.hero__strip svg{width:19px;height:19px;flex:0 0 auto}

/* badges fournis par le commercial, poses en bas a droite de la photo pleine page */
/* demande de J. Gobert le 22/10 : les deux badges l'un sous l'autre sur ordinateur,
   pour qu'ils ne viennent pas se poser au-dessus du mot « Valence » du titre */
.hero__badges{
  position:absolute;right:clamp(1rem,3vw,2.6rem);bottom:clamp(5.2rem,9vw,7rem);
  z-index:3;display:flex;flex-direction:column;gap:clamp(.5rem,1.1vw,.9rem);
  align-items:center;pointer-events:none
}
.hero__badges img{
  width:clamp(84px,9vw,132px);height:auto;display:block;
  filter:drop-shadow(0 10px 26px rgba(10,26,33,.45))
}
@media (max-width:900px){
  .hero__badges{right:1rem;bottom:auto;top:calc(1.8rem + clamp(46px,4.4vw,62px) + .8rem);
    flex-direction:row;gap:.5rem}
  .hero__badges img{width:clamp(62px,15vw,86px)}
}

/* ---------- fil d'ariane ---------- */
.crumbs{font-size:.88rem;color:var(--muted);padding-block:1.1rem}
.crumbs ol{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;margin:0;padding:0}
.crumbs a{color:var(--navy-700);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs li+li::before{content:"/";margin-right:.45rem;color:var(--line)}

/* ---------- marquee ---------- */
.marquee{overflow:hidden;background:var(--navy);padding-block:1.35rem}
.marquee__track{display:flex;width:max-content;will-change:transform}
.marquee__group{display:flex;align-items:center;gap:2.6rem;padding-right:2.6rem}
.marquee span{
  font-size:clamp(1.3rem,2.6vw,2.1rem);font-weight:600;letter-spacing:-.02em;
  color:#fff;white-space:nowrap
}
.marquee svg{width:clamp(22px,2.6vw,34px);flex:0 0 auto}
.marquee svg path{fill:var(--turquoise)}

/* ---------- cartes ---------- */
.card{display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:transform .45s var(--ease)}
.card:hover{transform:translateY(-4px)}
.card__media{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--turquoise-100);margin-bottom:1.35rem}
.card__media img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .8s var(--ease)}
.card:hover .card__media img{transform:scale(1.045)}
.card h3{margin-bottom:.45rem;font-size:clamp(1.25rem,1.5vw,1.5rem)}
.card p{color:var(--body);margin-bottom:1rem}
.card .link-arrow{margin-top:auto;align-self:flex-start}

.feature{padding:2rem 0 0;border-top:1.5px solid var(--line)}
.feature h3{font-size:1.22rem;margin-bottom:.5rem}
.feature p{font-size:1rem;margin:0}
.section--navy .feature{border-color:rgba(255,255,255,.18)}

/* ---------- etapes (sans numeros) ---------- */
.steps{display:grid;gap:clamp(1.5rem,3vw,2.5rem)}
.step{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center;
  padding:clamp(1.6rem,3vw,2.4rem);background:#fff;border-radius:var(--radius-lg);box-shadow:0 18px 50px rgba(15,38,48,.07)}
.step:nth-child(even){direction:rtl}
.step:nth-child(even) > *{direction:ltr}
.step__media{border-radius:var(--radius);overflow:hidden}
.step__media img{width:100%;aspect-ratio:4/3;object-fit:cover}
.step h3{margin-bottom:.5rem}
.step p{margin:0}
@media (max-width:820px){.step{grid-template-columns:minmax(0,1fr);direction:ltr!important}}

/* ---------- cartes empilees ---------- */
.stack{display:grid;gap:1.25rem}
.stack__card{
  position:sticky;top:calc(96px + var(--i)*18px);
  padding:clamp(1.8rem,3.4vw,2.9rem);border-radius:var(--radius-lg);
  background:#fff;box-shadow:0 20px 60px rgba(15,38,48,.1)
}
.stack__card:nth-child(even){background:var(--turquoise-100)}
.stack__card h3{margin-bottom:.6rem}
.stack__card p:last-child{margin-bottom:0}

/* ---------- galerie ---------- */
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2vw,1.6rem)}
@media (max-width:900px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.gallery{grid-template-columns:minmax(0,1fr)}}
.gallery button{
  padding:0;border:0;cursor:zoom-in;background:var(--turquoise-100);
  border-radius:var(--radius);overflow:hidden;display:block;
  transition:transform .45s var(--ease)
}
.gallery button:hover{transform:translateY(-4px)}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .8s var(--ease)}
.gallery button:hover img{transform:scale(1.05)}
.zoom{
  position:fixed;inset:0;z-index:200;display:grid;place-items:center;
  padding:clamp(1rem,4vw,3rem);background:rgba(10,26,33,.9);
  opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility .4s
}
.zoom.is-open{opacity:1;visibility:visible}
.zoom img{max-width:min(1100px,92vw);max-height:86vh;width:auto;border-radius:var(--radius);
  transform:scale(.94);transition:transform .5s var(--ease)}
.zoom.is-open img{transform:scale(1)}
.zoom__close{position:absolute;top:1.4rem;right:1.4rem;width:48px;height:48px;border:0;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;font-size:1.5rem;cursor:pointer}

/* ---------- avis ---------- */
.quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.2rem,2.4vw,2rem)}
@media (max-width:820px){.quotes{grid-template-columns:minmax(0,1fr)}}
.quote{padding:clamp(1.6rem,3vw,2.3rem);background:#fff;border-radius:var(--radius-lg);box-shadow:0 16px 46px rgba(15,38,48,.07)}
.quote__stars{display:flex;gap:.2rem;margin-bottom:1rem}
.quote__stars svg{width:18px;height:18px}
.quote__stars path{fill:#F4B740}
.quote p{font-size:1.06rem;color:var(--ink)}
.quote cite{display:block;margin-top:1rem;font-style:normal;font-weight:600;color:var(--navy)}

/* ---------- avis qui defilent ---------- */
/* les cartes sont cote a cote et la bande glisse en continu, sans a-coup.
   la piste s'arrete au survol et au clavier pour qu'on puisse lire. */
.avis-defile{
  --avis-gap:clamp(1.1rem,2.2vw,1.8rem);
  position:relative;overflow:hidden;
  margin-inline:calc(var(--gutter) * -1);
  padding:.5rem 0 2.2rem;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)
}
.avis-defile__piste{display:flex;align-items:stretch;width:max-content;padding-left:var(--gutter);will-change:transform}
.avis-defile__groupe{display:flex;align-items:stretch}
/* cartes plus larges et plus compactes : le texte tient sur moins de lignes,
   la bande reste basse sans rien couper */
.avis-defile .quote{
  flex:0 0 clamp(282px,32vw,470px);
  margin-right:var(--avis-gap);
  padding:clamp(1.2rem,2vw,1.55rem) clamp(1.35rem,2.3vw,1.85rem);
  display:flex;flex-direction:column
}
.avis-defile .quote__stars{margin-bottom:.6rem}
.avis-defile .quote__stars svg{width:16px;height:16px}
/* etoiles en haut, signature en bas, texte centre entre les deux :
   les trois reperes restent alignes d'une carte a l'autre et les avis
   courts ne laissent pas un trou sous le texte */
.avis-defile .quote p{flex:1 1 auto;display:flex;align-items:center;font-size:1rem;line-height:1.52}
.avis-defile .quote cite{margin-top:.9rem}
/* sans animation : la bande redevient un simple defilement a la main */
.avis-defile.is-statique{overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.avis-defile.is-statique .quote{scroll-snap-align:start}
@media (max-width:640px){.avis-defile .quote{flex-basis:min(84vw,330px)}}

/* ---------- faq ---------- */
.faq{display:grid;gap:.75rem}
.faq details{background:#fff;border-radius:var(--radius);box-shadow:0 10px 32px rgba(15,38,48,.06);overflow:hidden}
.faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:1.3rem clamp(1.2rem,2.4vw,1.8rem);cursor:pointer;list-style:none;
  font-size:clamp(1.05rem,1.1vw,1.18rem);font-weight:600;color:var(--ink)
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";flex:0 0 auto;width:13px;height:13px;
  border-right:2px solid var(--turquoise-600);border-bottom:2px solid var(--turquoise-600);
  transform:rotate(45deg) translateY(-3px);transition:transform .35s var(--ease)
}
.faq details[open] summary::after{transform:rotate(225deg) translateY(-3px)}
.faq__body{padding:0 clamp(1.2rem,2.4vw,1.8rem) 1.5rem}
.faq__body p:last-child{margin-bottom:0}

/* ---------- tableau tarifs ---------- */
.table-wrap{overflow-x:auto;border-radius:var(--radius);box-shadow:0 14px 42px rgba(15,38,48,.07);background:#fff}
table{width:100%;border-collapse:collapse;min-width:540px}
th,td{padding:1.05rem 1.3rem;text-align:left;border-bottom:1px solid var(--line);font-size:1rem}
th{background:var(--navy);color:#fff;font-weight:600;letter-spacing:-.01em}
tr:last-child td{border-bottom:0}
td strong{color:var(--navy)}
/* sur mobile, un tableau de 540 px obligeait a le faire defiler lateralement
   et la deuxieme colonne restait invisible : on empile libelle puis explication */
@media (max-width:700px){
  .table-wrap{overflow-x:visible;padding:.4rem 1.15rem}
  table{min-width:0;display:block}
  thead{display:none}
  tbody,tr,td{display:block;width:auto}
  tr{padding-block:1.05rem;border-bottom:1px solid var(--line)}
  tr:last-child{border-bottom:0}
  td{border:0;padding:0}
  td:first-child{margin-bottom:.4rem}
  td:first-child strong{font-size:1.02rem}
}

/* ---------- bloc contact / formulaire ---------- */
.form{display:grid;gap:1.1rem}
.form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
@media (max-width:640px){.form__row{grid-template-columns:minmax(0,1fr)}}
.field{display:flex;flex-direction:column;gap:.45rem}
.field label{font-size:.92rem;font-weight:600;color:var(--ink)}
.field input,.field select,.field textarea{
  width:100%;padding:.95rem 1.1rem;border:1.5px solid var(--line);border-radius:14px;
  font:inherit;font-size:1rem;line-height:1.65;color:var(--ink);background:#fff;
  transition:border-color .3s var(--ease),box-shadow .3s var(--ease)
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:0;border-color:var(--turquoise-600);box-shadow:0 0 0 4px rgba(156,204,199,.26)
}
.field textarea{min-height:140px;resize:vertical}
.field__aide{font-size:.85rem;color:var(--muted);line-height:1.45}
/* le selecteur reprend exactement l'habillage des autres champs :
   on retire le rendu natif du navigateur et on dessine le chevron maison */
.field select{
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
  padding-right:2.5rem;cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231A4251' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1.15rem center;background-size:14px 9px
}
.field select::-ms-expand{display:none}
.field select:hover{border-color:var(--turquoise-600)}
.field select:focus{
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%232F6A64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}
.field select option{color:var(--ink);background:#fff}
.consent{display:flex;gap:.7rem;align-items:flex-start;font-size:.9rem;line-height:1.55}
.consent input{margin-top:.25rem;width:18px;height:18px;flex:0 0 auto;accent-color:var(--navy)}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}

/* ---------- confort tactile ---------- */
/* au doigt, un lien de 17 px de haut se rate une fois sur deux */
@media (max-width:900px){
  .footer ul{gap:.1rem}
  .footer ul a{display:inline-block;padding-block:.45rem}
  .footer a:has(svg){display:inline-flex;padding-block:.45rem}
  .crumbs a{display:inline-block;padding-block:.42rem}
  .crumbs ol{row-gap:0}
}

.info-list{list-style:none;margin:0;padding:0;display:grid;gap:1.3rem}
.info-list li{display:flex;gap:1rem;align-items:flex-start}
.info-list svg{width:22px;height:22px;flex:0 0 auto;margin-top:.25rem}
.info-list svg path{fill:var(--turquoise)}
.info-list a{color:#fff;text-decoration:none;font-weight:600}
.info-list a:hover{text-decoration:underline}

/* ---------- rappels du logo sur les cotes ---------- */
/* demande par le commercial : plusieurs rappels graphiques du logo le long du site.
   Purement decoratif, donc masque sous 1000 px ou il n'y a plus de marge laterale. */
/* surtout pas overflow:hidden ici : ca casserait les cartes en position collante
   de la section « Comment se passe une intervention ». Le filigrane reste donc
   entierement dans la boite de la section. */
/* overflow-x:clip et surtout pas hidden : clip ne casse pas position:sticky.
   Sans lui, le filigrane de droite depasse et cree une barre de defilement. */
.section{position:relative;overflow-x:clip}
.section > .container{position:relative;z-index:1}
.deco-logo{
  position:absolute;z-index:0;pointer-events:none;user-select:none;
  width:clamp(170px,19vw,300px);opacity:.07;line-height:0
}
.deco-logo img{width:100%;height:auto;display:block}
.deco-logo--gauche{left:0}
.deco-logo--droite{right:0}
.deco-logo--haut{top:6%}
.deco-logo--milieu{top:50%;transform:translateY(-50%)}
.deco-logo--bas{bottom:7%}
.deco-logo--droite.deco-logo--haut{transform:rotate(8deg)}
.deco-logo--gauche.deco-logo--bas{transform:rotate(-7deg)}
.section--navy .deco-logo,.cta-band .deco-logo{opacity:.1;filter:brightness(2.4)}
@media (max-width:1000px){.deco-logo{display:none}}

/* ---------- lettre d'information ---------- */
.newsletter{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:clamp(1.6rem,3vw,3rem);align-items:center;
  background:var(--navy);color:#CFE2E4;border-radius:var(--radius-lg);
  padding:clamp(1.8rem,3.4vw,2.8rem)
}
.newsletter h3{color:#fff;margin-bottom:.5rem}
.newsletter p{margin:0;font-size:.98rem}
.newsletter__form{display:grid;gap:.7rem}
.newsletter__form input[type=email]{
  width:100%;padding:.95rem 1.1rem;border:1.5px solid rgba(255,255,255,.22);border-radius:14px;
  font:inherit;font-size:1rem;line-height:1.65;color:#fff;background:rgba(255,255,255,.08)
}
.newsletter__form input[type=email]::placeholder{color:rgba(255,255,255,.55)}
.newsletter__form input[type=email]:focus{
  outline:0;border-color:var(--turquoise);box-shadow:0 0 0 4px rgba(156,204,199,.22)
}
.newsletter__form .btn{width:100%;justify-content:center;
  background:var(--turquoise);color:var(--navy)}
.newsletter__form .btn:hover{background:#fff;color:var(--navy)}
.newsletter__rgpd{display:flex;gap:.6rem;align-items:flex-start;font-size:.84rem;line-height:1.5}
.newsletter__rgpd input{margin-top:.2rem;width:17px;height:17px;flex:0 0 auto;accent-color:var(--turquoise)}
@media (max-width:860px){.newsletter{grid-template-columns:minmax(0,1fr)}}

/* ---------- minimap de la zone d'intervention ---------- */
/* encart de devis, juste au-dessus de la FAQ sur les pages de prestation */
.encart-devis{
  background:#fff;border-radius:var(--radius-lg);
  padding:clamp(1.7rem,3vw,2.6rem);max-width:760px;margin-inline:auto;
  box-shadow:0 18px 50px rgba(15,38,48,.09);text-align:center
}
.encart-devis h3{font-size:clamp(1.25rem,1.8vw,1.55rem)}
.encart-devis p{max-width:58ch;margin-inline:auto}
.encart-devis .actions{justify-content:center;margin-top:1.4rem}
.encart-devis__note{margin-top:1.2rem;font-size:.94rem;color:var(--muted)}
.encart-devis__note a{color:var(--turquoise-text);font-weight:600}

.minimap{margin-top:clamp(2rem,4vw,3rem)}
.minimap .map{border-radius:var(--radius-lg)}
.minimap .map iframe{height:clamp(260px,34vh,380px)}
.minimap__legende{margin:.95rem 0 0;font-size:.97rem;color:var(--muted);max-width:62ch}

/* ---------- liste des cadeaux ---------- */
.liste-cadeaux{list-style:none;margin:0 0 1.15em;padding:0;display:grid;gap:.5rem}
.liste-cadeaux li{position:relative;padding-left:1.6rem;color:var(--body)}
.liste-cadeaux li::before{
  content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;
  background:var(--turquoise-600)
}

.map{border-radius:var(--radius-lg);overflow:hidden;box-shadow:0 18px 50px rgba(15,38,48,.1);line-height:0}
.map iframe{width:100%;height:clamp(300px,42vh,440px);border:0}

/* ---------- bandeau CTA ---------- */
.cta-band{position:relative;overflow:hidden;background:var(--navy);color:#fff}
.cta-band h1,.cta-band h2,.cta-band h3,.cta-band h4,.cta-band strong{color:#fff}
/* le bouton secondaire heritait du bleu nuit sur fond bleu nuit : invisible */
.cta-band .btn--ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}
.cta-band .btn--ghost:hover{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1.5px #fff}
.cta-band .link-arrow{color:#fff}
.cta-band__inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(1.8rem,4vw,3.5rem);align-items:center}
@media (max-width:860px){.cta-band__inner{grid-template-columns:minmax(0,1fr)}}
.cta-band h2{margin-bottom:.4em}
.cta-band p{color:#CFE2E4;margin-bottom:0}
.cta-band__deco{position:absolute;inset:auto -4% -40% auto;width:min(520px,56vw);opacity:.12;pointer-events:none}
.cta-band__deco path{fill:var(--turquoise)}

/* ---------- footer ---------- */
.footer{background:var(--navy-800);color:#A9C4CB;padding-block:clamp(3.5rem,6vw,5.5rem) 0}
.footer h4{color:#fff;font-size:1.02rem;letter-spacing:.02em;margin-bottom:1.1rem}
.footer a{color:#A9C4CB;text-decoration:none}
.footer a:has(svg){display:inline-flex;align-items:center;gap:.55rem}
.footer svg{width:17px;height:17px;flex:0 0 auto;fill:currentColor}
.footer a:hover{color:#fff}
.footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:clamp(1.8rem,4vw,3rem)}
@media (max-width:980px){.footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.footer__grid{grid-template-columns:minmax(0,1fr)}}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;font-size:.98rem}
.footer__logo{display:inline-block;background:#fff;border-radius:16px;padding:.6rem .85rem;margin-bottom:1.4rem}
.footer__logo img{height:56px;width:auto}
.footer__reseau{
  display:inline-flex;align-items:center;gap:.6rem;margin-top:.9rem;
  max-width:100%;box-sizing:border-box;flex-wrap:wrap;
  padding:.6rem .95rem;border-radius:999px;background:rgba(255,255,255,.08);
  color:#fff;font-weight:600;font-size:.95rem;
  transition:background .3s var(--ease),transform .3s var(--ease)
}
.footer__reseau:hover{background:#1877F2;color:#fff;transform:translateY(-2px)}
.footer__reseau svg{width:17px;height:17px;flex:0 0 auto;fill:currentColor}
.footer__bottom{
  margin-top:clamp(2.5rem,5vw,4rem);padding-block:1.6rem;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;
  font-size:.88rem
}
.footer__bottom a{text-decoration:underline;text-underline-offset:3px}

/* ---------- boutons flottants ---------- */
.floating{position:fixed;right:clamp(1rem,2.5vw,1.8rem);bottom:clamp(1rem,2.5vw,1.8rem);z-index:110;display:grid;gap:.7rem}
.floating a{
  width:56px;height:56px;border-radius:50%;display:grid;place-items:center;
  box-shadow:0 14px 34px rgba(15,38,48,.24);transition:transform .35s var(--ease)
}
.floating a:hover{transform:translateY(-3px) scale(1.04)}
/* sur mobile les pastilles tombaient pile sur le bouton « Demander un devis » :
   on les efface tant que le hero est a l'ecran, il a deja ses propres boutons */
@media (max-width:1200px){
  .floating{transition:opacity .35s var(--ease),transform .35s var(--ease)}
  .floating.is-cache{opacity:0;visibility:hidden;transform:translateY(14px);pointer-events:none}
}
@media (max-width:760px){
  /* cote a cote plutot qu'empilees : elles masquaient trois lignes de texte
     au lieu d'une seule au bord droit de l'ecran */
  .floating{grid-auto-flow:column;gap:.6rem;bottom:.85rem;right:.85rem}
  .floating a{width:52px;height:52px}
  .floating svg{width:25px;height:25px}
}
.floating svg{width:27px;height:27px}
.floating .is-whatsapp{background:#25D366}
.floating .is-phone{background:var(--navy)}
.floating .is-phone svg path{fill:#fff}
@media (min-width:1201px){.floating .is-phone{display:none}}

/* ---------- bandeau cookies ---------- */
.cookies{
  position:fixed;left:50%;bottom:1.2rem;transform:translateX(-50%) translateY(140%);
  z-index:150;width:min(640px,calc(100vw - 2rem));
  background:#fff;border-radius:var(--radius-lg);padding:1.5rem;
  box-shadow:0 26px 70px rgba(15,38,48,.22);
  display:grid;gap:1rem;transition:transform .55s var(--ease)
}
.cookies.is-visible{transform:translateX(-50%) translateY(0)}
.cookies p{font-size:.95rem;margin:0}
.cookies__actions{display:flex;flex-wrap:wrap;gap:.6rem}
.cookies .btn{padding:.78rem 1.4rem;font-size:.94rem}

/* ---------- animations ---------- */
/* JAMAIS d'overflow:hidden ici : la boite d'un mot fait la hauteur de la ligne,
   et avec une interligne serree les hampes et les jambages sont rognes.
   L'apparition se fait au deplacement + flou + opacite, sans masque. */
.reveal-word{display:inline-block}
.reveal-word > span{display:inline-block;will-change:transform,filter,opacity}
.js [data-anim]{opacity:0}
.parallax{will-change:transform}
@media (prefers-reduced-motion:reduce){
  .js [data-anim]{opacity:1!important;transform:none!important;filter:none!important}
  .marquee__track{transform:none!important}
}

.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:0;z-index:300;background:#fff;color:var(--navy);padding:1rem 1.4rem;border-radius:0 0 14px 0;font-weight:600}
.skip-link:focus{left:0}
:focus-visible{outline:3px solid var(--turquoise-600);outline-offset:3px;border-radius:6px}

.rich h2{margin-top:2.4em}
.rich h2:first-child{margin-top:0}
.rich h3{margin-top:1.8em}
.rich ul{margin:0 0 1.4em;padding-left:1.2rem;display:grid;gap:.5rem}
.rich li::marker{color:var(--turquoise-600)}
.measure{max-width:46rem}
.center{text-align:center;margin-inline:auto}
.mt-cta{margin-top:clamp(2rem,4vw,3rem)}

/* boutons secondaires posés sur une photo */
.hero .btn--ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)}
.hero .btn--ghost:hover{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1.5px #fff}

/* mobile : le voile du hero doit laisser respirer la photo */
@media (max-width:760px){
  .hero__bg::after{
    background:linear-gradient(180deg,rgba(15,38,48,.58) 0%,rgba(15,38,48,.3) 30%,rgba(15,38,48,.62) 70%,rgba(15,38,48,.9) 100%);
  }
  .hero{min-height:clamp(560px,86vh,820px)}
  .hero__inner{padding-top:clamp(6rem,16vh,8rem)}
  .actions .btn{width:100%;justify-content:center}
  /* demande du commercial : les quatre points forts en 2 x 2 sur mobile,
     plutot que trois sur une ligne et le quatrieme tout seul dessous */
  .hero__strip ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.75rem 1.2rem;font-size:.92rem}
  .hero__strip li{align-items:flex-start}
  .hero__strip svg{margin-top:.15em}
}

/* ---------- pop-up offre ---------- */
.promo{
  position:fixed;inset:0;z-index:170;display:grid;place-items:center;
  padding:clamp(1rem,4vw,2rem);background:rgba(10,26,33,.72);
  opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility .45s
}
.promo.is-open{opacity:1;visibility:visible}
.promo__box{
  position:relative;width:min(760px,100%);background:#fff;border-radius:var(--radius-lg);
  overflow:hidden;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  box-shadow:0 40px 90px rgba(10,26,33,.4);
  transform:translateY(18px) scale(.985);transition:transform .5s var(--ease)
}
.promo.is-open .promo__box{transform:none}
}
.promo__media{position:relative;background:var(--turquoise-100)}
.promo__media img{width:100%;height:100%;min-height:200px;object-fit:cover}
.promo__content{padding:clamp(1.6rem,3vw,2.5rem)}
.promo__content h3{font-size:clamp(1.3rem,2vw,1.7rem);margin-bottom:.6rem}
.promo__content p{font-size:1rem;margin-bottom:1rem}
.promo__legal{font-size:.82rem;color:var(--muted);margin-bottom:0}
.promo__close{
  position:absolute;top:.8rem;right:.8rem;width:40px;height:40px;border:0;border-radius:50%;
  background:rgba(15,38,48,.08);color:var(--navy);font-size:1.4rem;line-height:1;cursor:pointer;z-index:2
}
.promo__close:hover{background:rgba(15,38,48,.16)}
@media (max-width:680px){
  /* la boite depassait l'ecran en hauteur : le bouton de fermeture sortait
     par le haut et le visiteur se retrouvait enferme dans la pop-up */
  .promo{align-items:start;overflow-y:auto;padding-block:1rem}
  .promo__box{grid-template-columns:minmax(0,1fr);margin-block:auto}
  .promo__media img{min-height:0;height:160px}
  .promo__content{padding:1.35rem 1.25rem 1.5rem}
  .promo__content p{font-size:.97rem;margin-bottom:.85rem}
  .promo__close{background:rgba(255,255,255,.9);box-shadow:0 4px 14px rgba(10,26,33,.22)}

/* le texte d'un bloc image+texte se cale sur la hauteur de l'image */
.split__body{display:flex;flex-direction:column;justify-content:center}
.split__body > :first-child{margin-top:0}

/* ---------- accessibilite ---------- */
/* toute icone inline reste a la taille du texte, jamais en pleine largeur */
a > svg, li > svg, p > svg{width:1.05em;height:1.05em;flex:0 0 auto}
.info-list svg{width:22px;height:22px}

/* contraste renforce pour les reglages systeme "contraste eleve" */
@media (prefers-contrast:more){
  :root{--body:#243640;--muted:#3E535C;--turquoise-text:#20564F;--line:#9FB4BA}
  .hero__bg::after{background:linear-gradient(180deg,rgba(10,26,33,.86) 0%,rgba(10,26,33,.62) 40%,rgba(10,26,33,.92) 100%)}
  .btn--ghost{box-shadow:inset 0 0 0 2px currentColor}
  .faq details,.card,.quote{outline:1px solid var(--line)}
  a{text-decoration-thickness:.08em}
}
/* le texte doit rester redimensionnable sans casser la mise en page */
.hero__lede,.lede,p,li{overflow-wrap:break-word}
