/* ================= FONTS (self-hosted, zéro requête tierce) ================= */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/fonts/BricolageGrotesque-var-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-var-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* ================= BASE ================= */
:root {
  --sable: #FAF6ED;
  --encre: #1E4633;
  --vert: #2C5E42;
  --or: #E3B84A;
  --or-hover: #ECC55E;
  --or-texte: #8A6A15;
  --or-etoile: #C9992F;
  --creme-clair: #FFFDF7;
  --hairline: rgba(30, 70, 51, .18);
  --hairline-fort: rgba(30, 70, 51, .4);
  --sable-trans: rgba(250, 246, 237, .88);
  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --texte: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: var(--encre); }
a:hover { color: var(--vert); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); }
h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -.01em;
  line-height: 1.05;
  text-transform: uppercase;
}
.wrap { max-width: 1160px; margin: 0 auto; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--encre); color: var(--sable); padding: 12px 20px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; color: var(--sable); }

/* Titre de section + motif pins */
.titre-ligne { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.pins { flex: none; opacity: .75; }

/* Grain papier sur les bandes vertes */
.grain { position: relative; }
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: .13; mix-blend-mode: overlay;
}
.grain > * { position: relative; }

/* ================= BOUTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; text-decoration: none; border-radius: 999px;
  min-height: 52px; padding: 15px 28px; font-size: 17px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-or { background: var(--or); color: var(--encre); font-variant-numeric: tabular-nums; }
.btn-or:hover { background: var(--or-hover); color: var(--encre); transform: translateY(-1px); }
.btn-contour { border: 2px solid var(--encre); color: var(--encre); }
.btn-contour:hover { background: var(--encre); color: var(--sable); }
.btn-contour-clair { border: 2px solid var(--sable); color: var(--sable); }
.btn-contour-clair:hover { background: var(--sable); color: var(--encre); }

/* ================= NAV ================= */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 237, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 70, 51, .14);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.nav-marque { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.nav-marque img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.nav-marque span { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .02em; white-space: nowrap; }
.nav-liens { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.nav-liens a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.nav-liens a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--or); text-decoration-thickness: 2.5px; color: var(--encre); }
.nav .btn { min-height: 44px; padding: 11px 20px; font-size: 15.5px; }

/* ================= HERO ================= */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(56px, 9vh, 110px);
}
.surtitre {
  margin: 0 0 18px; color: var(--or-texte); font-weight: 700; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 20px; font-weight: 800;
  font-size: clamp(2.3rem, 7.5vw, 4.9rem);
  line-height: .98; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance;
}
.slogan {
  margin: 0 0 14px; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--vert); line-height: 1.3;
}
.hero-intro { margin: 0 0 28px; font-size: 17px; max-width: 54ch; text-wrap: pretty; }
.hero-cta-note {
  margin: 0 0 20px; font-weight: 600; font-size: 16.5px; line-height: 1.55;
  max-width: 52ch; border-left: 3px solid var(--or); padding-left: 14px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-tel { margin: 22px 0 0; font-size: 15.5px; }
.hero-tel a { font-weight: 700; font-variant-numeric: tabular-nums; text-underline-offset: 4px; text-decoration-color: var(--or); text-decoration-thickness: 2px; }
/* Zone tactile ≥40px des liens inline tél/SMS/mail, sans bouger la mise en page */
main p a[href^="tel:"], main p a[href^="sms:"], main p a[href^="mailto:"] {
  display: inline-block; padding: 10px 2px; margin: -10px -2px;
}
.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  width: clamp(190px, 24vw, 300px); height: auto; border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(255, 253, 247, .55),
    0 0 0 48px rgba(255, 253, 247, .28),
    0 18px 40px rgba(30, 70, 51, .18);
}
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 184, 74, .55); }
  100% { box-shadow: 0 0 0 22px rgba(227, 184, 74, 0); }
}
.pulse-1x { animation: ctaPulse 1.4s ease-out 1.2s 1; }

/* ================= RÉASSURANCE ================= */
.reassurance { background: var(--vert); color: var(--sable); }
.reassurance-grille {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(250, 246, 237, .22);
  padding-top: clamp(36px, 6vh, 64px); padding-bottom: clamp(36px, 6vh, 64px);
}
.reassurance-item { background: var(--vert); padding: 26px clamp(20px, 3vw, 36px); }
.reassurance-item h3 { margin: 10px 0 6px; font-weight: 700; font-size: 20px; }
.reassurance-item p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--sable-trans); }
@media (max-width: 860px) { .reassurance-grille { grid-template-columns: 1fr; } }

/* ================= PRESTATIONS ================= */
.section { padding-top: clamp(56px, 9vh, 110px); padding-bottom: clamp(56px, 9vh, 110px); scroll-margin-top: 84px; }
.section-sans-haut { padding-top: 0; }
.presta-vedette {
  background: var(--encre); color: var(--sable); border-radius: 18px;
  padding: clamp(28px, 4.5vw, 48px); margin: clamp(28px, 4vh, 44px) 0 34px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; align-items: center;
}
.presta-vedette h3 { margin: 0 0 10px; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.presta-vedette p { margin: 0; font-size: 16.5px; color: rgba(250, 246, 237, .9); max-width: 52ch; text-wrap: pretty; }
.presta-vedette svg { justify-self: end; max-width: 100%; }
.presta-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); }
.presta-cell { background: var(--sable); padding: 26px 24px 28px; }
.presta-cell h3 { margin: 10px 0 6px; font-weight: 700; font-size: 19px; }
.presta-cell p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--vert); }
.presta-cell-deco { display: flex; align-items: center; justify-content: center; }
@media (max-width: 1020px) { .presta-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .presta-grille { grid-template-columns: 1fr; } .presta-cell-deco { display: none; } }

/* ================= COMMENT ÇA MARCHE ================= */
.etapes { background: var(--encre); color: var(--sable); }
.etapes h2 { margin-bottom: clamp(32px, 5vh, 52px); }
.etapes ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: clamp(28px, 4vw, 48px);
}
.etapes .num {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--or); font-variant-numeric: tabular-nums;
}
.etapes h3 { margin: 14px 0 8px; font-weight: 700; font-size: 21px; }
.etapes li p { margin: 0; font-size: 16px; color: var(--sable-trans); }

/* ================= TARIFS ================= */
.tarifs-intro { margin: 14px 0 clamp(28px, 4vh, 44px); font-size: 17px; max-width: 62ch; text-wrap: pretty; }
.tarifs-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.tarif-carte {
  border: 1.5px solid rgba(30, 70, 51, .25); border-radius: 8px; padding: 30px 28px 32px;
  background: var(--creme-clair); box-shadow: 0 2px 10px rgba(30, 70, 51, .07);
}
.tarif-badge {
  margin: 0 0 14px; display: inline-block; background: var(--or); color: var(--encre);
  font-weight: 700; font-size: 13.5px; letter-spacing: .1em; padding: 5px 14px; border-radius: 999px;
}
.tarif-prix { margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tarif-unite { margin: 0 0 16px; font-weight: 600; font-size: 15px; color: var(--vert); }
.tarif-carte > p:last-child { margin: 0; font-size: 15.5px; line-height: 1.55; }
.tarifs-km { margin: 26px 0 0; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }

/* ================= ZONE ================= */
.zone-intro { margin: 14px 0 24px; font-size: 17px; }
.zone-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.zone-sous { margin: 24px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); }
.zone-groupes .zone-sous:first-child { margin-top: 0; }
.zone-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.zone-chips li {
  border: 1.5px solid var(--hairline-fort); border-radius: 999px; padding: 10px 18px;
  font-size: 15px; font-weight: 500;
  transition: border-color .25s ease, transform .25s ease;
}
.zone-chips li:hover { border-color: var(--encre); transform: translateY(-2px); }
.zone-chips li.actif { background: var(--encre); color: var(--sable); border-color: var(--encre); }
.zone-chips li.actif span { color: var(--or); font-size: 13px; font-style: italic; }
.zone-note { margin: 26px 0 0; font-size: 16px; color: var(--vert); font-weight: 500; }
.zone-carte { display: block; width: 100%; height: auto; }
.zone-carte text {
  font-family: var(--texte); font-size: 14px; font-weight: 600; fill: var(--vert);
  paint-order: stroke; stroke: var(--sable); stroke-width: 4px; stroke-linejoin: round;
}
.zone-carte .eau-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; opacity: .5; }
.zone-carte .km-label { font-size: 13px; font-weight: 700; fill: var(--or-texte); }
.zone-carte .atelier-label { font-family: var(--display); font-weight: 800; font-size: 17px; fill: var(--encre); }
.zone-carte .atelier-sous { font-size: 11.5px; font-style: italic; font-weight: 500; fill: var(--or-texte); }
@media (max-width: 900px) {
  .zone-cols { grid-template-columns: 1fr; }
  .zone-carte { max-width: 420px; margin: 10px auto 0; }
}
@media (prefers-reduced-motion: reduce) { .zone-chips li { transition: none; } .zone-chips li:hover { transform: none; } }

/* ================= FAQ ================= */
.faq-liste { margin-top: clamp(24px, 4vh, 40px); max-width: 820px; border-top: 1.5px solid var(--hairline); }
.faq-liste details { border-bottom: 1.5px solid var(--hairline); }
.faq-liste summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; font-weight: 700; font-size: 17px;
}
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--or-texte); border: 1.5px solid var(--hairline-fort);
  font-size: 19px; font-weight: 600; line-height: 1;
  transition: transform .25s ease;
}
.faq-liste details[open] summary::after { transform: rotate(45deg); }
.faq-liste details > p { margin: 0; padding: 0 44px 20px 2px; font-size: 16px; line-height: 1.6; color: var(--vert); max-width: 66ch; }

/* ================= GALERIE ================= */
.galerie-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 14px; margin-top: clamp(24px, 4vh, 40px); }
.galerie-grille figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; }

/* ================= AVIS ================= */
.avis-note { display: flex; align-items: center; gap: 12px; margin: 18px 0 26px; font-size: 16.5px; font-weight: 600; }
.avis-note .g {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1.5px solid var(--hairline-fort); border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 18px;
}
.avis-note .chiffre { color: var(--or-texte); font-variant-numeric: tabular-nums; }
.avis-defile { overflow-x: auto; cursor: grab; touch-action: pan-y; margin-bottom: 28px; scrollbar-width: none; }
.avis-defile::-webkit-scrollbar { display: none; }
.avis-piste { display: flex; gap: 16px; width: max-content; will-change: transform; }
.avis-carte {
  flex: none; width: 300px; border: 1px solid rgba(30, 70, 51, .25); border-radius: 12px;
  padding: 22px 22px 20px; background: var(--creme-clair); user-select: none;
}
.avis-carte .etoiles { margin: 0 0 10px; color: var(--or-etoile); font-size: 17px; letter-spacing: 2px; }
.avis-carte .texte { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--vert); font-style: italic; }
.avis-carte .auteur { margin: 0; font-size: 14.5px; font-weight: 700; }
.avis-carte .auteur span { font-weight: 400; color: var(--vert); }
.avis-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.avis-actions .btn { min-height: 48px; padding: 13px 26px; font-size: 16px; }
.avis-actions p { margin: 0; font-size: 15px; color: var(--vert); }

/* ================= CONTACT ================= */
.contact { background: var(--encre); color: var(--sable); }
.contact .interieur { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(64px, 10vh, 120px); }
.contact h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -.015em; line-height: 1.02; max-width: 20ch; text-wrap: balance; margin-bottom: 16px; }
.contact-texte { margin: 0 0 30px; font-size: 17.5px; max-width: 54ch; color: rgba(250, 246, 237, .9); text-wrap: pretty; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 30px; }
.contact-ligne { margin: 0 0 8px; font-size: 17px; }
.contact-ligne:last-of-type { margin-bottom: 40px; }
.contact-ligne a { color: var(--sable); font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--or); text-decoration-thickness: 2px; }
.contact-ligne a:hover { color: var(--or); }
.contact-infos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(250, 246, 237, .22);
  border-top: 1px solid rgba(250, 246, 237, .22); border-bottom: 1px solid rgba(250, 246, 237, .22);
}
.contact-infos p { margin: 0; background: var(--encre); padding: 16px 18px; font-size: 14.5px; color: rgba(250, 246, 237, .9); }
.contact-infos strong { display: block; color: var(--sable); margin-bottom: 2px; }
@media (max-width: 1020px) { .contact-infos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-infos { grid-template-columns: 1fr; } }

/* ================= FOOTER ================= */
footer { background: var(--vert); color: rgba(250, 246, 237, .85); }
.footer-int { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.footer-marque { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.footer-marque img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.footer-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 13.5px; }
.footer-liens a { color: rgba(250, 246, 237, .85); }
.footer-liens a:hover { color: var(--sable); }

/* ================= BARRE MOBILE ================= */
.barre-mobile-espace { display: none; height: 78px; }
.barre-mobile {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--encre); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(30, 70, 51, .25);
}
.barre-mobile > div { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.barre-mobile a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16.5px; text-decoration: none; min-height: 52px; border-radius: 999px;
}
.barre-mobile a:active { transform: scale(.98); }
.barre-mobile .sms { background: var(--or); color: var(--encre); }
.barre-mobile .wa { background: var(--vert); color: var(--sable); border: 1.5px solid rgba(250, 246, 237, .5); }
@media (max-width: 860px) {
  .d-only { display: none !important; }
  .barre-mobile, .barre-mobile-espace { display: block; }
  /* Le CTA header est redondant avec le héro puis la barre fixe : un seul « SMS » visible à la fois */
  .nav .btn { display: none; }
}
/* Barre fixe montrée seulement après le héro (classe posée par JS ; sans JS elle reste visible) */
.barre-mobile.prete { transform: translateY(110%); transition: transform .35s ease; }
.barre-mobile.montree { transform: translateY(0); }

/* ================= REVEALS (progressive enhancement : sans JS, tout est visible) ================= */
.rv-hide { opacity: 0; transform: translateY(16px); }
.rv-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv-hide { opacity: 1; transform: none; }
}
@media print { header, .barre-mobile, .barre-mobile-espace { display: none !important; } }
