/* Aintzina, Espelette : feuille de style unique.
   Parti pris : aplats de couleur vive (piment, vert basque, soleil) sur fond blanc, titrage Bagel Fat One,
   texte Host Grotesk, compositions asymétriques. Polices auto-hébergées. */

@font-face { font-family: 'Bagel Fat One'; src: url(/fonts/bagel-fat-one.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url(/fonts/host-grotesk-vf.woff2) format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url(/fonts/host-grotesk-italic-vf.woff2) format('woff2'); font-weight: 300 800; font-style: italic; font-display: swap; }
/* Repli métrique pour limiter le saut de mise en page au chargement */
@font-face { font-family: 'Bagel repli'; src: local('Arial Black'), local('Arial Bold'), local('Arial'); size-adjust: 98%; ascent-override: 92%; }

:root {
  --blanc: #FFFFFF;
  --rose: #FFE6DC;
  --rose-2: #FFD3C3;
  --piment: #D63418;
  --piment-fonce: #B02810;
  --vert: #00704A;
  --vert-fonce: #00553A;
  --vert-clair: #D3EEDF;
  --soleil: #FFC629;
  --encre: #14261D;
  --encre-2: #3B4A42;
  --filet: rgba(20, 38, 29, .16);

  --f-titre: 'Bagel Fat One', 'Bagel repli', 'Arial Black', sans-serif;
  --f-texte: 'Host Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t-h1: clamp(2.6rem, 6.4vw, 5.6rem);
  --t-h2: clamp(2rem, 4.2vw, 3.5rem);
  --t-h3: 1.3rem;
  --t-lead: clamp(1.12rem, 1.6vw, 1.32rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;
  --rayon: 18px;
  --ombre: 0 18px 40px -18px rgba(20, 38, 29, .35);
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); scrollbar-color: var(--piment) var(--rose); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.62; color: var(--encre); background: var(--blanc);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; caret-color: var(--piment); }
::selection { background: var(--piment); color: #fff; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--piment); }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; box-shadow: 0 0 0 6px var(--encre); border-radius: 6px; }
h1, h2, .display { font-family: var(--f-titre); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 0 0 var(--s-5); text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; margin: 0 0 var(--s-3); font-weight: 750; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 var(--s-4); }
ul { padding-left: 1.2em; }
strong, b { font-weight: 700; }
small { font-size: .86em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.texte { max-width: 66ch; }
.texte > * + h2 { margin-top: var(--s-7); }
.texte h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 52ch; }
.source { font-size: .85rem; color: var(--encre-2); margin-top: var(--s-3); max-width: 70ch; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 700 1rem/1.1 var(--f-texte); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .25s var(--sortie), color .25s var(--sortie), transform .25s var(--sortie), box-shadow .25s var(--sortie); }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 1.06rem; }
.btn--piment { background: var(--piment); color: #fff; box-shadow: 0 10px 22px -12px rgba(176, 40, 16, .8); }
.btn--piment:hover { background: var(--piment-fonce); color: #fff; transform: translateY(-2px); }
.btn--vert { background: var(--vert); color: #fff; }
.btn--vert:hover { background: var(--vert-fonce); color: #fff; transform: translateY(-2px); }
.btn--ligne { border-color: currentColor; color: var(--encre); background: transparent; }
.btn--ligne:hover { background: var(--encre); color: #fff; border-color: var(--encre); }
.btn--blanc { background: #fff; color: var(--piment-fonce); }
.btn--blanc:hover { background: var(--soleil); color: var(--encre); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--vert); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.lien-fleche .ico { width: 18px; height: 18px; transition: transform .3s var(--sortie); }
.lien-fleche:hover .ico { transform: translateX(4px); }
.lien-fleche--clair { color: #fff; }
.lien-fleche--clair:hover { color: var(--soleil); }
.ico { width: 22px; height: 22px; }

/* ---------- À compléter ---------- */
.a-completer { border: 2px dashed var(--piment); background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #FFF1EC 10px, #FFF1EC 20px);
  color: var(--encre); padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.a-completer strong { display: inline-block; background: var(--piment); color: #fff; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.a-completer--inline { display: inline-block; padding: 4px 10px; font-size: .9rem; }
.photo-vide { margin: 0; display: grid; place-content: center; justify-items: center; gap: 10px; aspect-ratio: 4 / 3; text-align: center; padding: 20px; }
.photo-vide__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-2); color: var(--piment-fonce); }
.photo-vide figcaption { max-width: 30ch; }
@media (max-width: 700px) { .photo-vide { aspect-ratio: 16 / 7; padding: 14px; } .photo-vide__ico { width: 44px; height: 44px; } }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .3s var(--sortie), transform .35s var(--sortie); }
.head.is-scrolled { box-shadow: 0 1px 0 var(--filet), 0 12px 24px -20px rgba(20, 38, 29, .5); }
.head.is-cache { transform: translateY(-100%); }
.head__in { display: flex; align-items: center; gap: var(--s-5); min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--piment); margin-right: auto; line-height: 1; }
.logo__piment { width: 16px; height: 46px; transform: rotate(14deg); }
.logo__nom { font-family: var(--f-titre); font-size: 1.85rem; letter-spacing: -.01em; }
.logo__lieu { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vert); align-self: flex-end; margin: 0 0 5px 2px; }
.logo:hover { color: var(--piment-fonce); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: var(--encre); font-weight: 650; text-decoration: none; border-radius: 10px; position: relative; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--piment);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--sortie); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: var(--encre); }
.nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: var(--s-3); }
.head__langs { display: flex; gap: 2px; font-size: .8rem; font-weight: 700; }
.head__langs a { padding: 6px 6px; color: var(--encre-2); text-decoration: none; border-radius: 6px; }
.head__langs a[aria-current] { color: var(--piment); }
.head__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--vert); text-decoration: none; padding: 8px 4px; white-space: nowrap; }
.head__tel .ico { width: 20px; height: 20px; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--rose); cursor: pointer; padding: 14px 12px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; border-radius: 3px; background: var(--encre); transition: transform .3s var(--sortie), opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .head__tel span { display: none; }
  .head__tel { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--vert-clair); }
}
@media (max-width: 940px) {
  .burger { display: flex; }
  .head__langs { display: none; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--vert); padding: var(--s-6) clamp(18px, 5vw, 40px) var(--s-7); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s var(--sortie), transform .4s var(--sortie), visibility 0s .4s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-family: var(--f-titre); font-size: clamp(2rem, 9vw, 2.8rem); color: #fff; padding: 10px 0; border-radius: 0; }
  .nav a::after { left: 0; right: auto; width: 60px; bottom: 6px; background: var(--soleil); }
  .nav a:hover { color: var(--soleil); }
  .nav__extra { display: grid; gap: var(--s-3); margin-top: var(--s-6); max-width: 420px; }
  .nav__extra .btn--ligne { color: #fff; }
  .nav__extra .btn--ligne:hover { background: #fff; color: var(--vert); border-color: #fff; }
  .nav__langs { display: flex; gap: var(--s-5); margin: var(--s-3) 0 0; }
  .nav__langs a { color: #fff; font-weight: 700; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  :root { --head-h: 66px; }
  .logo__lieu { display: none; }
  .logo__nom { font-size: 1.6rem; }
  .head__resa { display: none; }
}

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

/* ---------- Note Google ---------- */
.note { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); }
.note__chiffre { font-family: var(--f-titre); font-size: 2.4rem; line-height: 1; color: var(--vert); }
.note__chiffre small { font-size: .5em; color: var(--encre-2); }
.note__txt { font-size: .92rem; line-height: 1.3; font-weight: 650; }
.note__txt small { font-weight: 400; color: var(--encre-2); }
.note:hover .note__txt { text-decoration: underline; }
.note--pied { color: #fff; margin-top: var(--s-4); }
.note--pied .note__chiffre { color: var(--soleil); }
.note--pied .note__chiffre small, .note--pied .note__txt small { color: #CFE3D8; }

/* ---------- Ristra (guirlande de piments) ---------- */
.ristra { position: relative; display: flex; flex-direction: column; align-items: center; width: 64px; }
.ristra__fil { position: absolute; top: -40px; bottom: 30px; left: 50%; width: 3px; margin-left: -1.5px; background: var(--encre); border-radius: 2px; }
.ristra .piment { position: relative; width: 34px; height: 100px; margin-top: -46px; transform-origin: 50% 8%; transform: rotate(var(--r, 0deg)); }
.ristra .piment:first-of-type { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ristra .piment { animation: balance 2.4s var(--sortie) both; }
  .ristra .piment:nth-of-type(2n) { animation-delay: .08s; }
  .ristra .piment:nth-of-type(3n) { animation-delay: .16s; }
  @keyframes balance { 0% { transform: rotate(calc(var(--r, 0deg) * -2.4)); } 100% { transform: rotate(var(--r, 0deg)); } }
}

/* ---------- Accueil : ouverture ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s-6) 0 0; }
.hero__mot { position: relative; z-index: 2; font-family: var(--f-titre); color: var(--piment); font-size: clamp(5rem, 25.5vw, 20rem); line-height: .8; letter-spacing: -.035em;
  margin: 0 0 0 -.04em; white-space: nowrap; user-select: none; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; margin-top: var(--s-6); }
.hero__texte { padding-bottom: var(--s-8); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 16ch; }
.hero__lead { font-size: var(--t-lead); line-height: 1.5; max-width: 46ch; margin-bottom: var(--s-6); }
.hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); margin-bottom: var(--s-6); }
.hero__rass { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.hero__rass .horaire { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.hero__rass .horaire .ico { color: var(--piment); }
.hero__visuel { position: relative; background: var(--soleil); border-radius: var(--rayon) var(--rayon) 0 0; margin-top: calc(-1 * clamp(2rem, 7vw, 6.5rem));
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) 0; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__visuel .facade { width: calc(100% - 70px); max-width: 420px; margin: 0 auto 0 0; }
.hero__visuel .ristra { position: absolute; top: 34px; right: clamp(14px, 3vw, 34px); }
.hero__pastille { position: absolute; left: clamp(-26px, -2vw, -12px); top: clamp(24px, 4vw, 44px); width: 132px; height: 132px; border-radius: 50%; background: var(--vert);
  color: #fff; display: grid; place-items: center; text-align: center; font-weight: 750; font-size: .92rem; line-height: 1.2; padding: 16px; transform: rotate(-9deg);
  box-shadow: var(--ombre); }
.hero__pastille b { display: block; font-family: var(--f-titre); font-weight: 400; font-size: 1.5rem; color: var(--soleil); }
.bande-linge { height: 22px; background: linear-gradient(var(--piment) 0 0) 0 3px / 100% 4px no-repeat, linear-gradient(var(--vert) 0 0) 0 9px / 100% 4px no-repeat,
  linear-gradient(var(--piment) 0 0) 0 15px / 100% 4px no-repeat, #fff; }

@media (max-width: 900px) {
  .hero__grille { grid-template-columns: 1fr; gap: 0; }
  .hero__texte { padding-bottom: var(--s-7); }
  .hero__visuel { margin-top: 0; min-height: 0; }
  .hero__visuel .facade { max-width: 330px; margin: 0 0 0 auto; }
  .hero__pastille { left: auto; right: 16px; top: auto; bottom: 30px; width: 112px; height: 112px; font-size: .82rem; }
  .hero__visuel .ristra { display: none; }
}

/* ---------- Bande de faits ---------- */
.defile { background: var(--vert); color: #fff; padding: var(--s-6) 0; }
.defile ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); align-items: center; gap: var(--s-4) var(--s-6); justify-content: space-between; }
@media (max-width: 1000px) { .defile ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .defile ul { grid-template-columns: 1fr; gap: var(--s-3); } }
.defile li { display: flex; align-items: center; gap: var(--s-4); font-family: var(--f-titre); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.1; }
.defile li .piment { width: 14px; height: 40px; transform: rotate(18deg); flex: none; }
.defile li:nth-child(2n) .piment { transform: rotate(-16deg); }

/* ---------- Sections ---------- */
.bloc { padding: clamp(64px, 9vw, var(--s-9)) 0; position: relative; }
.bloc--rose { background: var(--rose); }
.bloc--vert { background: var(--vert); color: #fff; }
.bloc--vert a:not(.btn) { color: #fff; }
.bloc--soleil { background: var(--soleil); }
.bloc--piment { background: var(--piment); color: #fff; }
.bloc--serre { padding: clamp(48px, 6vw, 72px) 0; }
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.duo--inv { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.duo--centre { align-items: center; }
@media (max-width: 900px) { .duo, .duo--inv { grid-template-columns: 1fr; } }
.decale { margin-top: clamp(0px, 8vw, 120px); }
@media (max-width: 900px) { .decale { margin-top: 0; } }
.coches { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: 10px; }
.coches li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.coches .ico { color: var(--piment); width: 22px; height: 22px; margin-top: 3px; }
.bloc--vert .coches .ico, .bloc--piment .coches .ico { color: var(--soleil); }

/* Cuisine : bloc axoa */
.axoa { position: relative; background: var(--piment); color: #fff; border-radius: var(--rayon); padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) 104px; overflow: hidden; }
.axoa > :not(.piment) { position: relative; z-index: 1; }
.axoa h3 { font-family: var(--f-titre); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .95; margin: 0 0 var(--s-4); letter-spacing: -.015em; }
.axoa p { max-width: 34ch; font-size: 1.08rem; }
.axoa .piment { position: absolute; right: 26px; bottom: -64px; width: 64px; height: 192px; transform: rotate(48deg); transform-origin: 50% 50%; }
.axoa .piment path:nth-child(2) { fill: var(--soleil); }
.axoa__lien { color: #fff; }
.boissons { list-style: none; margin: var(--s-6) 0 0; padding: 0; border-top: 3px solid var(--encre); }
.boissons li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: var(--s-4) 0; border-bottom: 1px solid var(--filet); }
.boissons b { font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.05; color: var(--vert); }
.boissons span { font-weight: 650; text-align: right; }
.boissons small { grid-column: 1 / -1; color: var(--encre-2); font-size: .92rem; }

/* Groupes */
.groupes__phrase { font-family: var(--f-titre); font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: .96; letter-spacing: -.015em; margin: 0 0 var(--s-6); text-wrap: balance; }
.groupes__phrase em { font-style: normal; color: var(--soleil); }
.liste-tags { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: flex; flex-wrap: wrap; gap: 10px; }
.liste-tags li { border: 2px solid currentColor; border-radius: 999px; padding: 6px 14px; font-weight: 650; font-size: .96rem; }

/* Terrasses : mosaïque asymétrique */
.mosaique { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.mosaique > :nth-child(1) { grid-column: 1 / 8; }
.mosaique > :nth-child(2) { grid-column: 8 / 13; margin-top: var(--s-8); }
.mosaique > :nth-child(3) { grid-column: 3 / 10; }
@media (max-width: 700px) { .mosaique > * { grid-column: 1 / -1 !important; margin-top: 0 !important; } }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.infos__a { grid-column: 1 / 6; }
.infos__b { grid-column: 7 / 13; }
@media (max-width: 900px) { .infos__a, .infos__b { grid-column: 1 / -1; } }
.horaires { margin: 0 0 var(--s-4); border-top: 3px solid var(--encre); }
.horaires div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.horaires dt { font-weight: 750; }
.horaires dd { margin: 0; }
.trajets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 3px; }
.trajets li { background: #fff; padding: 14px 16px; display: grid; gap: 2px; }
.trajets span { font-weight: 650; font-size: .94rem; line-height: 1.25; }
.trajets b { font-family: var(--f-titre); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--piment); }
.trajets small { color: var(--encre-2); }
.bloc--rose .trajets { background: var(--rose); }
.pratique { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s-5) var(--s-6); }
.pratique li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.pratique .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--vert-clair); color: var(--vert); }
.pratique b { display: block; }

/* Pages locales */
.villes { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 3px solid currentColor; }
.villes a { display: grid; grid-template-columns: 1fr auto 28px; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--filet); color: inherit; text-decoration: none; }
.villes span { font-family: var(--f-titre); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; }
.villes b { font-weight: 700; }
.villes .ico { transition: transform .3s var(--sortie); color: var(--piment); }
.villes a:hover span { color: var(--piment); }
.villes a:hover .ico { transform: translateX(6px); }

/* En-tête des pages internes : aplat de couleur, composition décalée */
.tete { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.tete--piment { background: var(--piment); color: #fff; }
.tete--vert { background: var(--vert); color: #fff; }
.tete--soleil { background: var(--soleil); }
.tete--rose { background: var(--rose); }
.tete__grille { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s-7); align-items: end; }
.tete h1 { margin-bottom: var(--s-5); max-width: 17ch; font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.tete .lead { margin: 0; }
.tete__cote { font-size: 1rem; }
.tete__cote .btn { margin-top: var(--s-4); }
.tete--piment .btn--piment, .tete--vert .btn--piment { background: #fff; color: var(--piment-fonce); box-shadow: none; }
.tete--piment .btn--piment:hover, .tete--vert .btn--piment:hover { background: var(--soleil); color: var(--encre); }
.tete--piment a:not(.btn), .tete--vert a:not(.btn) { color: #fff; }
.tete .ristra { position: absolute; top: 20px; right: 4%; opacity: .9; }
.tete--piment .ristra .piment path:nth-child(2) { fill: var(--soleil); }
.tete--piment .ristra__fil, .tete--vert .ristra__fil { background: #fff; }
.tete + .fil { display: none; }
@media (max-width: 900px) { .tete__grille { grid-template-columns: 1fr; gap: var(--s-5); } .tete .ristra { display: none; } }
.page-fil { padding-top: 0; }
.tete .fil ol { padding: 0 0 var(--s-5); }
.tete .fil a, .tete .fil li + li::before { color: inherit; opacity: .85; }
.tete .fil span { color: inherit; }

/* Étapes du guide */
.etapes { list-style: none; counter-reset: e; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.etapes > li { counter-increment: e; display: grid; grid-template-columns: 64px 1fr; gap: var(--s-4); }
.etapes > li::before { content: counter(e); font-family: var(--f-titre); font-size: 2.2rem; line-height: 1; color: var(--piment); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }
.faq__titre { font-size: clamp(2rem, 4vw, 3.2rem); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq details:first-child { border-top: 3px solid var(--encre); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--piment) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--sortie); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--piment); }
.faq__rep { padding: 0 0 22px; max-width: 66ch; }
.faq__rep p:last-child { margin-bottom: 0; }

/* ---------- Appel à l'action ---------- */
.cta { background: var(--piment); color: #fff; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.cta__titre { font-size: clamp(2.4rem, 6vw, 5rem); margin: 0; }
.cta__corps p { font-size: 1.1rem; max-width: 44ch; }
.cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin: var(--s-5) 0; }
.cta__rass { display: flex; align-items: center; gap: 8px; font-size: .95rem !important; color: #FFE1D7; margin: 0; }
.cta__rass .ico { width: 18px; height: 18px; color: var(--soleil); fill: var(--soleil); }
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- Formulaire ---------- */
.form { background: #fff; border-radius: var(--rayon); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--ombre); color: var(--encre); }
.form fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); }
.form legend { font-weight: 750; margin-bottom: var(--s-3); }
.form__types { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; }
.pastille input { position: absolute; opacity: 0; inset: 0; }
.pastille span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--filet); font-weight: 650; cursor: pointer; transition: all .2s var(--sortie); }
.pastille input:checked + span { background: var(--vert); border-color: var(--vert); color: #fff; }
.pastille input:focus-visible + span { outline: 3px solid var(--soleil); outline-offset: 2px; }
.pastille span:hover { border-color: var(--vert); }
.form__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); }
.form__grille p { margin: 0; }
.form__large { grid-column: 1 / -1; }
@media (max-width: 600px) { .form__grille { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; }
.form label small { font-weight: 400; color: var(--encre-2); }
.form input[type=text], .form input[type=tel], .form input[type=email], .form input[type=date], .form input[type=number], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--encre); background: #fff; border: 2px solid #C9D2CC; border-radius: 12px;
  transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--encre-2); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 4px var(--vert-clair); }
.form ::placeholder { color: #66746C; }
.form [aria-invalid="true"] { border-color: var(--piment); }
.form__rgpd { margin: var(--s-5) 0; }
.form__rgpd label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.form__rgpd input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--vert); flex: none; }
.form__bas { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-5); align-items: center; }
.form__note { font-size: .9rem; color: var(--encre-2); margin: 0; flex: 1 1 260px; }
.form__msg { margin: var(--s-4) 0 0; font-weight: 650; }
.form__msg:empty { display: none; }
.form__msg.ok { background: var(--vert-clair); color: var(--vert-fonce); padding: 14px 16px; border-radius: 12px; }
.form__msg.err { background: #FFE1D8; color: var(--piment-fonce); padding: 14px 16px; border-radius: 12px; }
[data-pour][hidden] { display: none; }

/* ---------- Pied de page ---------- */
.foot { background: var(--vert-fonce); color: #E7F3EC; font-size: .98rem; }
.foot__bande { height: 26px; background:
  linear-gradient(var(--piment) 0 0) 0 4px / 100% 5px no-repeat, linear-gradient(var(--soleil) 0 0) 0 11px / 100% 3px no-repeat,
  linear-gradient(var(--piment) 0 0) 0 17px / 100% 5px no-repeat, #fff; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s-6); padding-top: var(--s-8); padding-bottom: var(--s-7); }
@media (max-width: 1000px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__nom { font-family: var(--f-titre); font-size: 3rem; line-height: 1; color: var(--soleil); margin-bottom: var(--s-3); }
.foot__h { font-family: var(--f-texte); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; color: var(--soleil); margin: 0 0 var(--s-4); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.foot a:hover { color: var(--soleil); }
.foot address { font-style: normal; line-height: 1.7; margin-bottom: var(--s-4); }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); padding-bottom: var(--s-6); border-top: 1px solid rgba(255, 255, 255, .18); font-size: .9rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.foot__liens .ico { width: 22px; height: 22px; }

/* ---------- Barre mobile ---------- */
.mbar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom); background: var(--vert-fonce); box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .5);
    transition: transform .3s var(--sortie); }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; font-weight: 750; font-size: 1.05rem; text-decoration: none; color: #fff; }
  .mbar__tel { background: var(--vert); }
  .mbar__resa { background: var(--piment); }
  .mbar .ico { width: 22px; height: 22px; }
}

/* ---------- Pages simples ---------- */
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: var(--s-7); }
.plan { columns: 2 260px; column-gap: var(--s-7); }
.plan li { break-inside: avoid; margin-bottom: 6px; }
.e404 .display { font-size: clamp(6rem, 22vw, 15rem); color: var(--piment); line-height: .8; margin-bottom: var(--s-5); }

/* ---------- Carte / plan d'accès ---------- */
.plan-acces { position: relative; border-radius: var(--rayon); overflow: hidden; background: var(--vert-clair); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 24px; }
.plan-acces iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.plan-acces p { max-width: 32ch; }

/* ---------- Apparition au défilement (blocs sous la ligne de flottaison uniquement) ---------- */
.js .a-reveler { opacity: 0; transform: translateY(26px); }
.revele { transition: opacity .9s var(--sortie), transform .9s var(--sortie); }
.bloc--vert .form a:not(.btn), .tete .form a:not(.btn) { color: var(--vert); }
