/* ==========================================================================
   Menuiserie Lordon : doux et rassurant.
   Pastels sourds (sauge, brume bleutée, poudre), coins arrondis, typographie ronde
   (Comfortaa pour les titres, Nunito pour le texte), beaucoup d'air.
   ========================================================================== */
@import url('/fonts/fonts.css');

:root {
  --brume:   #F4F6F3;   /* fond de page */
  --blanc:   #FFFFFF;
  --sauge:   #DCE7DE;   /* pastel principal */
  --sauge-2: #C7D9CB;
  --sauge-0: #EAF1EB;
  --ciel:    #E0E8EF;   /* pastel bleuté */
  --poudre:  #F1E4DD;   /* pastel rosé */
  --encre:   #1F2D28;   /* texte */
  --encre-2: #4A5A53;   /* texte secondaire (7:1 sur brume) */
  --pin:     #2E5E4E;   /* action */
  --pin-f:   #234A3D;
  --pin-c:   #E2EDE6;
  --filet:   #D6DFD8;
  --alerte:  #9A3B2E;
  --ok:      #2E5E4E;

  --titre: 'Comfortaa', 'Nunito', ui-rounded, system-ui, sans-serif;
  --texte: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-s: 14px; --r: 22px; --r-l: 34px; --r-xl: 44px;
  --ombre: 0 18px 40px -22px rgba(31, 45, 40, .28), 0 2px 6px -2px rgba(31, 45, 40, .06);
  --ombre-l: 0 30px 60px -30px rgba(31, 45, 40, .35);
  --sec: clamp(72px, 9vw, 132px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--brume); color: var(--encre);
  font: 400 1.0625rem/1.7 var(--texte); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--pin); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--pin-f); text-decoration-thickness: 2px; }
::selection { background: var(--sauge-2); color: var(--encre); }
:focus-visible { outline: 3px solid var(--pin); outline-offset: 3px; border-radius: 8px; }
input, textarea, select { caret-color: var(--pin); }
html { scrollbar-color: var(--sauge-2) var(--brume); }

h1, h2, h3 { font-family: var(--titre); font-weight: 700; color: var(--encre); text-wrap: balance; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.05rem, 4.2vw, 3.45rem); line-height: 1.16; }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); line-height: 1.22; margin-top: 0; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.35; }
p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.27rem); line-height: 1.65; color: var(--encre-2); max-width: 60ch; }
.nw { white-space: nowrap; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.wrap--etroit { max-width: 820px; }
.section { padding: var(--sec) 0; }
.section:not(.section--sauge):not(.section--ciel):not(.section--poudre):not(.section--cta) + .section:not(.section--sauge):not(.section--ciel):not(.section--poudre) { padding-top: 0; }
.hero + .section:not(.section--sauge):not(.section--ciel):not(.section--poudre) { padding-top: 0; }
.section--sauge, .section--ciel, .section--poudre { padding: var(--sec) 0; }
.section--sauge + .section, .section--ciel + .section, .section--poudre + .section { padding-top: var(--sec); }
.section--sauge { background: var(--sauge-0); }
.section--ciel  { background: var(--ciel); }
.section--poudre{ background: var(--poudre); }
.section__tete { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__tete p { color: var(--encre-2); font-size: 1.1rem; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--pin); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--texte); text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.05rem; }
.btn--pin { background: var(--pin); color: #fff; box-shadow: 0 10px 24px -14px rgba(46, 94, 78, .9); }
.btn--pin:hover { background: var(--pin-f); color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -16px rgba(46, 94, 78, .9); }
.btn--doux { background: var(--blanc); color: var(--encre); border-color: var(--filet); }
.btn--doux:hover { background: var(--sauge-0); color: var(--encre); border-color: var(--sauge-2); }
.btn:active { transform: translateY(0) scale(.99); }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-star { color: #C99A3B; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 243, .97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.head.est-defile { border-color: var(--filet); box-shadow: 0 10px 30px -24px rgba(31, 45, 40, .4); }
.head__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); flex: none; }
.logo:hover { color: var(--encre); }
.logo__mark { width: 46px; height: 46px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo__nom { font: 700 1.5rem/1 var(--titre); letter-spacing: -.01em; }
.logo__sous { font-size: .78rem; font-weight: 600; color: var(--encre-2); letter-spacing: .02em; margin-top: 5px; }

.nav { margin-left: auto; }
.nav__liste { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { display: block; white-space: nowrap; padding: 10px 13px; border-radius: 999px; color: var(--encre); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav__item > a:hover, .nav__item > a[aria-current] { background: var(--sauge); color: var(--encre); }
.nav__ouvrir { display: none; }
.nav__item--sous > a { padding-right: 30px; }
.nav__item--sous::after { content: ''; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; border: solid var(--encre-2); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.nav__sous {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 10px;
  background: var(--blanc); border-radius: var(--r); box-shadow: var(--ombre-l); border: 1px solid var(--filet);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__sous::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item--sous:hover .nav__sous, .nav__item--sous:focus-within .nav__sous, .nav__sous.ouvert { opacity: 1; visibility: visible; transform: none; }
.nav__sous a { display: block; padding: 10px 14px; border-radius: var(--r-s); color: var(--encre); text-decoration: none; font-weight: 600; }
.nav__sous a:hover, .nav__sous a[aria-current] { background: var(--sauge-0); }
.nav__extra { display: none; }

.head__actions { display: flex; align-items: center; gap: 10px; }
.head__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.head__tel:hover { background: var(--sauge); color: var(--encre); }
.head__tel .ico { color: var(--pin); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--filet); background: var(--blanc); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) {
  .head__tel span { display: none; }
  .head__tel { width: 48px; height: 48px; padding: 0; justify-content: center; border: 1px solid var(--filet); background: var(--blanc); }
}
@media (max-width: 1020px) {
  .burger { display: block; }
  .head__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 84px 0 0 0; background: var(--brume); padding: 16px clamp(20px, 4vw, 40px) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.ouvert { opacity: 1; visibility: visible; transform: none; }
  .nav__liste { flex-direction: column; gap: 2px; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--filet); }
  .nav__item > a { flex: 1; padding: 16px 4px; font-size: 1.15rem; font-family: var(--titre); border-radius: 0; }
  .nav__item > a:hover, .nav__item > a[aria-current] { background: none; color: var(--pin); }
  .nav__item--sous::after { display: none; }
  .nav__item--sous > a { padding-right: 4px; }
  .nav__ouvrir { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--sauge-0); border-radius: 50%; cursor: pointer; color: var(--encre); }
  .nav__ouvrir[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .nav__ouvrir .ico { transition: transform .3s var(--ease); }
  .nav__sous { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; background: none; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__sous.ouvert { display: block; }
  .nav__item--sous:hover .nav__sous { display: none; }
  .nav__item--sous:hover .nav__sous.ouvert { display: block; }
  .nav__sous a { padding: 10px 12px; color: var(--encre-2); }
  .nav__extra { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .nav__extra .note { justify-content: center; }
}
@media (max-width: 560px) {
  .head__in { min-height: 72px; gap: 12px; }
  .nav { inset: 72px 0 0 0; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__nom { font-size: 1.3rem; }
  .logo__sous { font-size: .72rem; }
  .head__devis { display: none; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { padding-top: 20px; }
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--encre-2); }
.fil li + li::before { content: '›'; margin-right: 6px; color: var(--encre-2); }
.fil a { color: var(--encre-2); }

/* ---------- Note Google ---------- */
.note { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--encre-2); text-decoration: none; font-size: .92rem; }
.note strong { color: var(--encre); }
.note:hover { color: var(--encre); }
.note .ico { width: 1.05em; height: 1.05em; }

/* ---------- Héros ---------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 var(--sec); }
.hero__grille { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
.hero .lead { margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.hero__visuel { position: relative; }
.hero__visuel img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 22% center; border-radius: var(--r-xl); box-shadow: var(--ombre-l); }
.hero__badge {
  position: absolute; left: -28px; bottom: 34px; background: var(--blanc); border-radius: var(--r); padding: 16px 22px;
  box-shadow: var(--ombre); display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.hero__badge .logo__mark { width: 44px; height: 44px; }
.hero__badge strong { display: block; font: 700 1.05rem/1.25 var(--titre); }
.hero__badge span { font-size: .9rem; color: var(--encre-2); line-height: 1.35; display: block; }
.hero--page { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--page .hero__visuel img { aspect-ratio: 5 / 4; }
@media (max-width: 900px) {
  .hero__grille { grid-template-columns: 1fr; }
  .hero__visuel { order: -1; }
  .hero__visuel img, .hero--page .hero__visuel img { aspect-ratio: 16 / 11; border-radius: var(--r-l); }
  .hero__badge { position: relative; left: auto; bottom: auto; margin: -36px 16px 0; padding: 12px 16px; max-width: none; }
  .hero__txt { padding-top: 18px; }
}

/* Moment animé unique : le visuel du héros se dévoile doucement */
@media (prefers-reduced-motion: no-preference) {
  .hero__visuel img { animation: devoile 1.2s var(--ease) both; }
  .hero__badge { animation: monte .9s .45s var(--ease) both; }
  @keyframes devoile { from { clip-path: inset(8% 8% 8% 8% round 60px); transform: scale(1.03); } to { clip-path: inset(0 0 0 0 round var(--r-xl)); transform: none; } }
  @keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Réassurance ---------- */
.rassure { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.rassure li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--encre-2); line-height: 1.35; }
.rassure li strong { display: block; color: var(--encre); }
.rassure .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--sauge); color: var(--pin); }
.rassure--col { flex-direction: column; gap: 18px; }

/* ---------- Pôles (accueil) ---------- */
.poles { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(12, 1fr); }
.pole { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--blanc); display: flex; flex-direction: column; text-decoration: none; color: var(--encre); box-shadow: var(--ombre); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pole:hover { transform: translateY(-4px); box-shadow: var(--ombre-l); color: var(--encre); }
.pole img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.pole:hover img { transform: scale(1.03); }
.pole__txt { padding: 24px 26px 28px; }
.pole__txt h3 { margin-bottom: .35em; }
.pole__txt p { margin: 0; color: var(--encre-2); font-size: 1rem; }
.pole__lien { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--pin); }
.pole--large { grid-column: span 7; }
.pole--large img { aspect-ratio: 16 / 10; }
.pole--moyen { grid-column: span 5; }
.pole--tiers { grid-column: span 4; }
.pole--sauge { background: var(--sauge); } .pole--ciel { background: var(--ciel); } .pole--poudre { background: var(--poudre); }
@media (max-width: 900px) { .pole--large, .pole--moyen, .pole--tiers { grid-column: span 12; } }

/* ---------- Bloc texte + image ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.duo--inverse .duo__img { order: 2; }
.duo__img img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--ombre); }
.duo__txt p { color: var(--encre-2); }
.citation { font: 700 clamp(1.3rem, 2.2vw, 1.7rem)/1.4 var(--titre); color: var(--pin); margin: 1.2em 0 0; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--inverse .duo__img { order: 0; } }

/* ---------- Méthode ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.etapes li { padding-top: 22px; border-top: 2px solid var(--sauge-2); }
.etapes .ico { width: 30px; height: 30px; color: var(--pin); margin-bottom: 16px; }
.etapes h3 { margin-bottom: .4em; }
.etapes p { color: var(--encre-2); margin: 0; }
@media (max-width: 760px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- Références ---------- */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.refs h3 { font-size: 1.12rem; margin-bottom: 1em; }
.refs ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.refs li { background: var(--blanc); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: .95rem; border: 1px solid var(--filet); }
.section--ciel .refs li, .section--sauge .refs li { border-color: transparent; }
@media (max-width: 860px) { .refs { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
.galerie figure { margin: 0; }
.galerie__zoom { display: block; border-radius: var(--r); overflow: hidden; background: var(--sauge-0); cursor: zoom-in; }
.galerie img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .7s var(--ease); }
.galerie__zoom:hover img { transform: scale(1.035); }
.galerie figcaption { padding: 12px 4px 0; font-weight: 700; line-height: 1.35; }
.galerie figcaption span { display: block; font-weight: 500; font-size: .92rem; color: var(--encre-2); }
.galerie--dense { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .galerie, .galerie--dense { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .galerie figcaption { font-size: .95rem; } }
.galerie__autres { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--encre-2); }
.galerie__autres > span:first-child { margin-right: 6px; font-weight: 600; }
.pastille { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--sauge-0); color: var(--encre); font-size: .92rem; font-weight: 600; }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; list-style: none; padding: 0; }
.filtres a { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; font-weight: 600; }
.filtres a:hover { background: var(--sauge); border-color: var(--sauge); }
.real-groupe { scroll-margin-top: 110px; }
.real-groupe + .real-groupe { margin-top: clamp(64px, 8vw, 104px); }
.real-groupe__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 26px; }
.real-groupe__tete h2 { margin: 0; }

/* ---------- Contenu de prestation ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--encre-2); }
.coches { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.coches li { display: flex; gap: 12px; align-items: flex-start; }
.coches .ico { color: var(--pin); margin-top: .22em; background: var(--sauge); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
.page-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.aparte { position: sticky; top: 112px; background: var(--blanc); border-radius: var(--r-l); padding: 30px; box-shadow: var(--ombre); }
.aparte h2 { font-size: 1.3rem; }
.aparte p { color: var(--encre-2); font-size: .98rem; }
.aparte .btn { width: 100%; margin-bottom: 12px; }
.aparte .rassure { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--filet); }
@media (max-width: 980px) { .page-grille { grid-template-columns: 1fr; } .aparte { position: static; } }

/* ---------- Liens de maillage ---------- */
.liens-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.liens-services a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); text-decoration: none; color: var(--encre); background: var(--blanc); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.liens-services a:hover { transform: translateX(4px); box-shadow: var(--ombre); color: var(--encre); }
.liens-services__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sauge); display: grid; place-items: center; color: var(--pin); }
.liens-services strong { display: block; font-family: var(--titre); font-size: 1.04rem; }
.liens-services small { display: block; color: var(--encre-2); font-size: .92rem; }
.liens-services__fleche { margin-left: auto; color: var(--pin); }
@media (max-width: 760px) { .liens-services { grid-template-columns: 1fr; } }
.liens-villes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.liens-villes a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); text-decoration: none; color: var(--encre); font-weight: 600; }
.liens-villes a:hover { background: var(--sauge); border-color: var(--sauge); }
.liens-villes .ico { color: var(--pin); width: 1.1em; height: 1.1em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--blanc); border-radius: var(--r); border: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.06rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--pin); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq__r { padding: 0 24px 20px; color: var(--encre-2); }
.faq__r p { margin: 0; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--sauge); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 68px); }
.cta h2 { margin-bottom: .45em; }
.cta p { color: #3B4B44; max-width: 52ch; }
.cta .note { color: #3B4B44; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta__tel { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; font-size: 1.05rem; }
.cta__tel .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--blanc); color: var(--pin); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact / formulaire ---------- */
.contact-grille { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .contact-grille { grid-template-columns: 1fr; } }
.form { background: var(--blanc); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); box-shadow: var(--ombre); }
.form__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__plein { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grille { grid-template-columns: 1fr; } }
.champ label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .97rem; }
.champ label small { font-weight: 500; color: var(--encre-2); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: var(--brume);
  border: 1.5px solid var(--filet); border-radius: var(--r-s); padding: 13px 16px; transition: border-color .2s, background .2s;
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--sauge-2); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--pin); background: var(--blanc); box-shadow: 0 0 0 4px var(--pin-c); }
.champ ::placeholder { color: #66756E; }
.champ [aria-invalid="true"] { border-color: var(--alerte); }
.rgpd { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--encre-2); }
.rgpd input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pin); flex: none; }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form__envoi .btn[disabled] { opacity: .65; cursor: progress; }
.form__msg { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--r-s); font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg--ok { background: var(--sauge); color: var(--pin-f); }
.form__msg--err { background: #F6E1DC; color: var(--alerte); }
.coord { display: grid; gap: 14px; }
.coord a, .coord div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--blanc); border-radius: var(--r); text-decoration: none; color: var(--encre); }
.coord a:hover { box-shadow: var(--ombre); color: var(--encre); }
.coord .ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--sauge); color: var(--pin); }
.coord strong { display: block; font-size: 1.08rem; }
.coord span span { color: var(--encre-2); font-size: .93rem; }
.carte { border-radius: var(--r-l); overflow: hidden; margin-top: 18px; border: 0; width: 100%; aspect-ratio: 4 / 3; background: var(--sauge-0); }

/* ---------- À compléter ---------- */
.a-completer { display: inline-block; background: #FFF3C7; color: #6B5300; border: 1px dashed #C9A23A; border-radius: 8px; padding: 1px 8px; font-size: .9em; font-weight: 600; }

/* ---------- Pages légales / plan ---------- */
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--encre-2); }
.plan { columns: 2 280px; column-gap: 48px; }
.plan section { break-inside: avoid; margin-bottom: 32px; }
.plan h2 { font-size: 1.2rem; }
.plan ul { padding-left: 1.1em; margin: 0; }
.plan li { margin-bottom: 6px; }

/* ---------- Conseils ---------- */
.guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.guides a { display: block; padding: 28px 30px; background: var(--blanc); border-radius: var(--r-l); text-decoration: none; color: var(--encre); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.guides a:hover { box-shadow: var(--ombre); transform: translateY(-2px); color: var(--encre); }
.guides h2 { font-size: 1.3rem; margin-bottom: .35em; }
.guides p { margin: 0; color: var(--encre-2); }

/* ---------- Pied de page ---------- */
.foot { background: var(--sauge-0); padding: clamp(64px, 8vw, 104px) 0 0; margin-top: var(--sec); }
.section--cta + .foot, .section--sauge + .foot, .section--ciel + .foot { margin-top: 0; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.foot__brand p { color: var(--encre-2); max-width: 36ch; margin-top: 18px; }
.foot__slogan { font: 700 1.1rem/1.4 var(--titre); color: var(--pin) !important; }
.foot__h { font-size: 1rem; margin: 0 0 14px; font-family: var(--titre); }
.foot__h ~ .foot__h { margin-top: 24px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--encre); text-decoration: none; }
.foot a:hover { color: var(--pin); text-decoration: underline; }
.foot address { font-style: normal; color: var(--encre-2); line-height: 1.8; }
.foot__lien-ico { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.foot__lien-ico .ico { color: var(--pin); }
.foot__horaires { margin: 12px 0; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--sauge-2); font-size: .9rem; color: var(--encre-2); }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot__liens .ico { width: 22px; height: 22px; }
@media (max-width: 980px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 246, 243, .98); border-top: 1px solid var(--filet);
    box-shadow: 0 -12px 30px -20px rgba(31, 45, 40, .35);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mbar__tel { background: var(--blanc); color: var(--encre); border: 1.5px solid var(--sauge-2); }
  .mbar__devis { background: var(--pin); color: #fff; }
  .mbar__tel .ico { color: var(--pin); }
  body { padding-bottom: 76px; }
}

/* ---------- Visionneuse ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(31, 45, 40, .88); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: var(--r); object-fit: contain; }
.lb__leg { color: #fff; margin: 14px 0 0; font-weight: 600; text-align: center; }
.lb__close { position: absolute; top: 16px; right: 16px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--blanc); cursor: pointer; display: grid; place-items: center; color: var(--encre); }

/* ---------- 404 ---------- */
.introuvable { text-align: left; }
.pole--plein { grid-column: span 12; flex-direction: row; align-items: stretch; }
.pole--plein img { width: 55%; aspect-ratio: auto; min-height: 320px; }
.pole--plein .pole__txt { align-self: center; padding: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .pole--plein { flex-direction: column; } .pole--plein img { width: 100%; min-height: 0; aspect-ratio: 4 / 3; } }
.h3, h2.h3 { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.35; margin-bottom: .35em; }
.aparte__note { margin: 16px 0 0; }
.refs--seul { display: block; }
.refs--seul li { font-size: 1.05rem; padding: 10px 20px; }
.galerie__note { margin-top: 48px; font-size: .9rem; color: var(--encre-2); }
.real-groupe__tete a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.valeurs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.valeurs li { display: inline-flex; align-items: center; gap: 12px; background: var(--blanc); border-radius: 999px; padding: 10px 22px 10px 10px; font: 700 1.05rem/1.3 var(--titre); }
.valeurs .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--sauge); color: var(--pin); }
.fiches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.galerie + .fiches__titre { margin-top: 36px; }
.fiches__titre { font-weight: 700; color: var(--encre-2); margin-bottom: 14px; }
.fiches li { display: flex; gap: 14px; align-items: flex-start; background: var(--blanc); border-radius: var(--r); padding: 18px 20px; scroll-margin-top: 110px; }
.fiches li:target { box-shadow: 0 0 0 3px var(--pin); }
.fiches .ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--sauge); color: var(--pin); }
.fiches strong { display: block; line-height: 1.35; }
.fiches small { display: block; color: var(--encre-2); font-size: .9rem; margin-top: 2px; }
.section--sauge .fiches li, .section--poudre .fiches li { background: var(--blanc); }
.section:not(.section--sauge):not(.section--poudre):not(.section--ciel) .fiches li { background: var(--sauge-0); }
.faq { max-width: 860px; }
.guide-lien { display: flex; gap: 12px; align-items: flex-start; margin-top: 2em; padding: 18px 22px; background: var(--poudre); border-radius: var(--r); color: var(--encre) !important; }
.guide-lien .ico { color: var(--pin); margin-top: .2em; }

@media (max-width: 520px) { .galerie { grid-template-columns: 1fr; } .galerie img { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .fiches { gap: 8px; } .fiches li { padding: 14px 16px; } }
