/* =========================================================
   AY-ES — Feuille de style
   Palette : vert foncé #1B3A2D · vert accent #4CAF50 · crème/blanc
   ========================================================= */

/* ---------- Police Inter (auto-hébergée) ----------
   Fichiers servis depuis notre propre domaine : aucune requête vers Google,
   donc aucune adresse IP de visiteur transmise à un tiers. Fonte variable :
   un seul fichier couvre toutes les graisses de 400 à 800.               */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green-900: #1B3A2D;   /* vert foncé principal */
  --green-800: #22482f;
  --green-700: #2c5a3c;
  --green-accent: #4CAF50; /* vert accent */
  --green-accent-dk: #3c9a45;
  --green-soft: #eaf1ea;  /* fond vert très clair */

  --cream: #f4f2ec;       /* fond sections claires */
  --cream-2: #efece4;
  --white: #ffffff;

  --ink: #16211b;         /* texte principal */
  --muted: #5c6b60;       /* texte secondaire */
  --line: #e2e0d7;        /* bordures discrètes */

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 40, 28, .06), 0 4px 16px rgba(20, 40, 28, .05);
  --shadow-md: 0 10px 30px rgba(20, 40, 28, .10);
  --shadow-lg: 0 24px 60px rgba(20, 40, 28, .16);

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 74px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 92px 0; }
.section--tint { background: var(--cream); }

/* ---------- Icônes (stroke) ---------- */
svg.icon, .feature__icon svg, .service__icon svg, .process__icon svg,
.check, .contact__email-icon svg, .sample svg {
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon { width: 18px; height: 18px; stroke-width: 2.2; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .98rem; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--green-900); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--green-accent); color: #fff; box-shadow: 0 8px 22px rgba(76,175,80,.32); }
.btn--accent:hover { background: var(--green-accent-dk); }

.btn--ghost { background: transparent; color: var(--green-900); border-color: #cdd3cb; }
.btn--ghost:hover { border-color: var(--green-900); background: rgba(27,58,45,.04); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,242,236,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(20,40,28,.05);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: flex; align-items: center; margin-right: auto; }
.logo__img { height: 34px; width: auto; display: block; }
.logo__mark { font-weight: 800; font-size: 1.42rem; letter-spacing: .06em; color: var(--green-900); }
.logo__mark--light { color: #fff; }
.logo__sub { font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; gap: 6px; }
.nav__link {
  padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: .95rem;
  color: #33403a; position: relative; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--green-900); background: rgba(27,58,45,.05); }
.nav__link.is-active { color: var(--green-900); font-weight: 600; }

.header__cta { margin-left: 4px; }

/* Burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Eyebrow / titres de section ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .72rem;
  font-weight: 700; color: var(--green-accent-dk); margin-bottom: 14px;
}
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--ink); }
.section__intro { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section__head--row .section__intro { max-width: 360px; margin-top: 0; }

/* ---------- HERO ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); padding: 70px 0 84px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5vw, 3.7rem); color: var(--ink); }
.hero__title .accent { color: var(--green-accent); }
.hero__lead { margin-top: 22px; font-size: 1.12rem; color: #46534b; max-width: 30em; }
.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--green-soft); color: var(--green-900); display: grid; place-items: center; }
.feature__icon svg { width: 21px; height: 21px; }
.feature__text { font-size: .9rem; color: var(--muted); display: flex; flex-direction: column; }
.feature__text strong { color: var(--ink); font-weight: 700; font-size: .96rem; margin-bottom: 2px; }

/* ---------- HERO : maquette CSS ---------- */
.hero__mockup { position: relative; min-height: 400px; }
.device--laptop {
  width: 100%; max-width: 520px; margin-left: auto;
  border-radius: 16px 16px 6px 6px; background: #10241a;
  padding: 10px; box-shadow: var(--shadow-lg); animation: floaty 7s var(--ease) infinite;
}
.browser { border-radius: 8px; overflow: hidden; background: #fff; }
.browser__bar { display: flex; gap: 6px; padding: 9px 12px; background: #dfe3dd; }
.browser__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #b7bfb4; }
.browser__screen { aspect-ratio: 16/10; background: #f4f6f4; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.device--phone {
  position: absolute; right: -6px; bottom: -34px; width: 132px;
  background: #10241a; border-radius: 22px; padding: 7px;
  box-shadow: var(--shadow-lg); animation: floaty 7s var(--ease) infinite .8s;
}
.phone__notch { width: 42px; height: 5px; border-radius: 3px; background: #223; margin: 3px auto 6px; }
.phone__screen { border-radius: 15px; overflow: hidden; background: #fff; aspect-ratio: 9/17; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Mini-site dans la maquette */
.sample { background: #223a2c; color: #fff; height: 100%; display: flex; flex-direction: column; position: relative; }
.sample::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 75% 15%, rgba(76,175,80,.28), transparent 55%);
}
.sample__nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; position: relative; z-index: 1; }
.sample__brand { font-size: .62rem; font-weight: 800; letter-spacing: .08em; display: flex; flex-direction: column; line-height: 1.2; }
.sample__brand small { font-weight: 500; opacity: .7; font-size: .5rem; letter-spacing: .18em; }
.sample__brand.sm { font-size: .5rem; }
.sample__links { display: flex; gap: 7px; }
.sample__links i { width: 16px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.5); }
.burger { width: 13px; height: 9px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; position: relative; }
.burger::after { content: ""; position: absolute; top: 2.5px; left: 0; width: 100%; border-top: 2px solid #fff; }

.sample__hero { padding: 8px 16px 16px; position: relative; z-index: 1; margin-top: auto; }
.sample__kicker { font-size: .5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-accent); font-weight: 700; margin-bottom: 6px; }
.sample__hero h3 { font-size: 1.15rem; line-height: 1.1; letter-spacing: -.01em; }
.sample__hero h3 span { color: var(--green-accent); }
.sample__desc { font-size: .52rem; opacity: .8; margin-top: 7px; letter-spacing: .04em; }
.sample__btn { display: inline-block; margin-top: 12px; background: var(--green-accent); color: #fff; font-size: .5rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 5px; }
.sample__btn.sm { font-size: .42rem; padding: 5px 9px; }
.sample--phone .sample__hero h3 { font-size: .82rem; }

/* ---------- Cartes génériques ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- SERVICES ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d3d8cf; }
.service__icon { width: 50px; height: 50px; border-radius: 13px; background: var(--green-soft); color: var(--green-900); display: grid; place-items: center; margin-bottom: 20px; }
.service__icon svg { width: 25px; height: 25px; }
.service h3 { font-size: 1.14rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .95rem; }

/* ---------- RÉALISATIONS ---------- */
.realisations__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.realisation {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
  display: flex; flex-direction: column;
}
.realisation:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
/* Aperçus réels des sites clients : de vraies balises <img> dans le HTML, pour
   le texte alternatif, le chargement différé et l'indexation par Google Images. */
.realisation__thumb { aspect-ratio: 16/10; position: relative; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; background: #1b3a2d; }
.realisation__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Voile bas pour la lisibilité de l'étiquette */
.realisation__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15,30,22,.55) 100%);
}
.realisation__thumb .realisation__tag { transition: transform .32s var(--ease); }
.realisation:hover .realisation__thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(27,58,45,.10); transition: background .3s var(--ease);
}
.realisation__tag {
  position: relative; z-index: 1; font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; color: #fff; background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 100px;
  backdrop-filter: blur(4px);
}
.realisation__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.realisation__body h3 { font-size: 1.25rem; }
.realisation__body p { color: var(--muted); font-size: .93rem; flex: 1; }
.realisation__link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-accent-dk); font-weight: 600; font-size: .92rem; margin-top: 4px; }
.realisation:hover .realisation__link .icon { transform: translate(2px, -2px); }
.realisation__link .icon { transition: transform .25s var(--ease); }

/* ---------- TARIFS ---------- */
/* stretch (valeur par défaut) : les trois cartes adoptent la hauteur de la plus
   haute, quel que soit le nombre de lignes de leur liste. */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { padding: 32px 30px; display: flex; flex-direction: column; position: relative; }
.price-card__name { font-size: 1.2rem; }
.price-card__from { color: var(--muted); font-size: .88rem; margin-top: 14px; }
.price-card__amount { font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 2px 0 20px; }
.price-card__amount .cur { font-size: 1.05rem; font-weight: 700; color: var(--green-accent-dk); }
.price-card__amount .tax { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.price-card__amount--text { font-size: 1.7rem; }
.price-card__note { margin: -16px 0 18px; font-size: .8rem; color: var(--muted); }
.price-card--featured .price-card__note { color: #a9c6b3; }
.price-card__list { display: grid; gap: 11px; margin-bottom: 26px; }
.price-card__list li { position: relative; padding-left: 27px; color: #3d4a42; font-size: .95rem; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c9a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.price-card .btn { margin-top: auto; }

/* La carte mise en avant se distingue par sa couleur, son ombre et son badge.
   Pas de décalage vertical : les trois cartes restent parfaitement alignées. */
.price-card--featured {
  background: var(--green-900); border-color: var(--green-900); color: #eaf3ec;
  box-shadow: var(--shadow-lg);
}
.price-card--featured .price-card__name,
.price-card--featured .price-card__amount { color: #fff; }
.price-card--featured .price-card__from { color: #a9c6b3; }
.price-card--featured .price-card__amount .cur { color: var(--green-accent); }
.price-card--featured .price-card__amount .tax { color: rgba(255, 255, 255, .72); }
.price-card--featured .price-card__list li { color: #d3e5d8; }
.price-card--featured .price-card__list li::before { background-color: rgba(76,175,80,.2); }
.price-card__badge {
  position: absolute; top: -12px; left: 30px; background: var(--green-accent); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: 5px 13px; border-radius: 100px;
  box-shadow: 0 6px 16px rgba(76,175,80,.34);
}

/* ---------- À PROPOS + PROCESSUS ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.about__intro p { color: var(--muted); margin-top: 16px; }
.about__values { display: grid; gap: 13px; margin-top: 26px; }
.about__values li, .contact__points li { display: flex; align-items: center; gap: 11px; font-weight: 500; color: #2f3c34; }
.check { width: 22px; height: 22px; color: var(--green-accent-dk); flex-shrink: 0; }

.process__title { font-size: 1.5rem; margin-top: 6px; margin-bottom: 30px; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.process__steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.process__step { position: relative; text-align: left; }
.process__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  color: var(--green-900); display: grid; place-items: center; box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.process__icon svg { width: 25px; height: 25px; }
.process__num { display: inline-block; margin: 16px 0 6px; font-weight: 800; color: var(--green-accent-dk); font-size: .95rem; }
.process__step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.process__step p { color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.04rem;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2px solid var(--green-accent-dk); border-bottom: 2px solid var(--green-accent-dk);
  transform: rotate(45deg); transition: transform .25s var(--ease); margin-top: -4px;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq__item summary:hover { color: var(--green-900); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer p { font-size: .98rem; }

/* ---------- CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__intro p { color: var(--muted); margin-top: 16px; }
.contact__email {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-weight: 700;
  font-size: 1.08rem; color: var(--green-900);
}
.contact__email-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--green-soft); display: grid; place-items: center; }
.contact__email-icon svg { width: 21px; height: 21px; }
.contact__points { display: grid; gap: 12px; margin-top: 26px; }
.contact__address {
  display: flex; align-items: flex-start; gap: 11px; margin-top: 22px;
  font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.5;
}
.contact__address svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--green-accent-dk); }

.contact__form { padding: 30px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: #34413a; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fcfcfa; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-accent); box-shadow: 0 0 0 4px rgba(76,175,80,.14);
}
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: .93rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: var(--green-accent-dk); }
.form-status.is-error { color: #c0392b; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--green-900); color: #c7d8cc; padding: 56px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand p { margin-top: 12px; font-size: .92rem; max-width: 34ch; color: #a9c6b3; }
.footer__brand .logo__mark { font-size: 1.5rem; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a, .footer__contact a { color: #c7d8cc; transition: color .2s var(--ease); font-size: .95rem; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact a { font-weight: 600; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; color: #94b39e; }
.footer__address { margin-top: 10px; font-style: normal; font-size: .88rem; line-height: 1.6; color: #94b39e; }
.footer__privacy { display: inline-flex; align-items: center; gap: 7px; }
.footer__privacy svg { width: 15px; height: 15px; flex: none; color: var(--green-accent); }

/* ---------- Pages locales (villes) ---------- */
.local-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 76px 0 84px;
}
.local-hero__inner { max-width: 790px; }
.local-hero__title { font-size: clamp(2rem, 4.6vw, 3.1rem); color: var(--ink); margin-top: 14px; }
.local-hero__lead { margin-top: 22px; font-size: 1.1rem; color: #46534b; max-width: 62ch; }
.local-hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.local-hero__meta {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 34px; font-size: .88rem; color: var(--muted);
}
.local-hero__meta svg { width: 18px; height: 18px; flex: none; color: var(--green-accent-dk); }

/* Rappel des tarifs */
.pricebar {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 26px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px 30px;
}
.pricebar__label { font-size: .92rem; color: var(--muted); }
.pricebar__amount { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; color: var(--green-900); line-height: 1.15; }
.pricebar__amount span { font-size: 1rem; font-weight: 700; color: var(--green-accent-dk); }
.pricebar__amount .tax { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.pricebar__note { font-size: .8rem; color: var(--muted); margin-top: 2px; }


/* Appel à l'action de bas de page */
.local-cta { text-align: center; max-width: 620px; margin-inline: auto; }
.local-cta p { margin: 14px 0 28px; color: var(--muted); }

@media (max-width: 760px) {
  .pricebar { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .pricebar__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Page Mentions légales ---------- */
.legal { background: var(--white); }
.legal__inner { max-width: 760px; }
.legal h1 { margin-bottom: 6px; }
.legal__lead { color: var(--muted); font-size: .92rem; margin-bottom: 40px; }
.legal h2 {
  font-size: 1.18rem; margin: 40px 0 14px; padding-top: 22px;
  border-top: 1px solid var(--line); color: var(--green-900);
}
.legal h2:first-of-type { margin-top: 30px; }
.legal p { margin-bottom: 14px; color: #3d4a42; }
.legal a { color: var(--green-accent-dk); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--green-900); }
.legal__list { display: grid; gap: 12px; margin: 0 0 16px; }
.legal__list li { position: relative; padding-left: 20px; color: #3d4a42; }
.legal__list li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-accent);
}
.legal__address {
  font-style: normal; line-height: 1.7; margin: 0 0 18px;
  padding: 16px 18px; background: var(--green-soft);
  border-radius: var(--radius-sm); border-left: 3px solid var(--green-accent);
}
.legal__highlight {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; margin-bottom: 18px;
  background: var(--green-soft); border-radius: var(--radius-sm);
}
.legal__highlight svg { flex: none; width: 22px; height: 22px; color: var(--green-accent-dk); margin-top: 1px; }
.legal__todo {
  display: inline-block; padding: 1px 9px; border-radius: 999px;
  background: #fdf3d8; border: 1px solid #e9d296; color: #7a5b12;
  font-size: .82rem; font-weight: 600;
}
.legal__back { margin-top: 44px; }

/* ---------- Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__mockup { max-width: 520px; margin-inline: auto; order: 2; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px; box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__link { padding: 12px 10px; font-size: 1rem; border-radius: 8px; }

  .section { padding: 68px 0; }
  .hero { padding: 48px 0 64px; }
  .realisations__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .price-card--featured { order: -1; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
  .process__steps::before { display: none; }
  .section__head--row { align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .services__grid { grid-template-columns: 1fr; }
  .hero__features { grid-template-columns: 1fr; gap: 18px; }
  .hero__actions .btn { width: 100%; }
  .process__steps { grid-template-columns: 1fr; }
  .device--phone { right: 0; width: 112px; }
}

/* ============ IMPRESSION / EXPORT PDF ============
   Sans ces regles, la page sort presque blanche : les sections animees restent
   a opacity 0 tant que le JavaScript ne les a pas revelees au defilement. */
@media print {
  /* Tout le contenu anime doit etre visible. */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }

  /* Elements d'interface sans objet sur papier. */
  .nav-toggle,
  .header__cta,
  .hero__mockup { display: none !important; }

  .site-header { position: static; background: #fff; box-shadow: none; border-bottom: 1px solid #ddd; }
  .nav { gap: 12px; }

  /* Les reponses de la FAQ sont repliees a l'ecran : on les ouvre. */
  .faq__item .faq__answer { display: block !important; }
  .faq__item summary::after { display: none; }

  body { background: #fff; }
  .hero, .section--tint, .legal__highlight, .legal__address { background: #fff !important; }
  .site-footer { background: #fff; color: #333; border-top: 1px solid #ddd; }
  .site-footer a, .footer__nav a, .footer__contact a, .footer__bottom, .footer__address,
  .footer__brand p { color: #333 !important; }
  .logo__mark--light { color: #1B3A2D !important; }

  /* Eviter les coupures disgracieuses au milieu d'un bloc. */
  .card, .realisation, .price-card, .faq__item, .offer__item, .process__step {
    break-inside: avoid; page-break-inside: avoid;
  }
  .section { padding: 26px 0; break-inside: auto; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }

  /* Les ombres portees s'impriment mal. */
  .card, .realisation, .price-card, .faq__item, .contact__form, .site-header {
    box-shadow: none !important;
  }

  /* Faire apparaitre la destination des liens du contenu. */
  .legal a[href^="http"]::after,
  .realisation__link::after { content: ""; }

  @page { margin: 14mm 12mm; }
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
