/*FONTS https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Figtree:wght@400;500;600;700&display=swap */
/* GARRIGUE : jardin du sud, net et moderne (paysagiste, entretien de jardin, élagage, espaces verts, arrosage, piscine, clôture).
   Papier crème, vert sapin et olive, titres en grotesque ronde et grasse, photos et cartes en forme de feuille, trait de pinceau sous chaque titre, pied vert sapin. */

/* Pourquoi ce thème (15/11/2026, PUR PAYSAGE). Jardin, le seul thème végétal du catalogue, est un
   serif italique sur lin : doux, classique. Garrigue est son contre-pied pour les paysagistes dont
   le logo est une grotesque grasse : aucune italique, aucun serif, titres en Outfit 700, vert
   sapin presque noir pour l'encre, olive pour le trait. Deux idées graphiques seulement :
   1. la feuille : photos, cartes et plaques ont deux coins opposés très ronds et deux coins
      presque droits (--feuille), jamais un rectangle arrondi ordinaire ;
   2. le trait de pinceau : un arc épais et irrégulier sous chaque titre de section, repris du
      cercle peint qu'on trouve sur beaucoup de logos de paysagistes.
   Aucun fond blanc (règle tous sites n°16) : cartes et champs sont en crème. */

:root {
  --bg: #FAF5EA;
  /* Alternance des fonds : une section sur deux (base.css, classes bande-a / bande-b
     posées par build.js selon le RANG de la section, pas son nom). */
  --bande-a: #FAF5EA;
  --bande-b: #ECEBD7;
  --surface: #FFFBF1;
  --surface-2: #F3EFDF;
  --ink: #043603;
  --muted: #50604F;
  --line: #D9D6BF;
  --accent: #2A7A1E;
  --accent-fonce: #194912;
  --sur-accent: #FFFBF1;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --poids-titre: 700;
  --radius: 999px;
  --radius-img: 28px 6px 28px 6px;
  --radius-photo: 28px 6px 28px 6px;
  --header-bg: #FAF5EA;
  --footer-bg: #043603;
  --champ-bg: #FFFBF1;
  --marque-fond: #FCF5EA;
  --vitesse-reveal: 0.55s;
  --sobre-bg: #043603;
  --sobre-ink: #FAF5EA;
  --sobre-accent: #96d194;
  --hero-voile: linear-gradient(to top, rgba(8, 30, 20, 0.80) 0%, rgba(8, 30, 20, 0.34) 48%, rgba(8, 30, 20, 0.06) 100%);
  /* LA FORME : la feuille. Deux coins opposés ronds, deux presque droits. */
  --feuille: 28px 6px 28px 6px;
  --feuille-grande: 56px 10px 56px 10px;
  /* LE TRAIT : un coup de pinceau olive, épais au départ, qui s'affine. Image de fond seule. */
  --pinceau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C20 3.2 46 1.6 70 3.4c18 1.3 34 4 48 6.2-15-.6-30-1.6-48-2.2C48 6.7 24 8.4 4 12.6 1.6 13 .6 10.2 2 9.5z' fill='%238B7B3A'/%3E%3C/svg%3E");
  --pinceau-clair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C20 3.2 46 1.6 70 3.4c18 1.3 34 4 48 6.2-15-.6-30-1.6-48-2.2C48 6.7 24 8.4 4 12.6 1.6 13 .6 10.2 2 9.5z' fill='%23B9D48A'/%3E%3C/svg%3E");
  --ombre: 0 18px 40px rgba(4, 54, 3, 0.13);
}

/* ---------- titres : grotesque ronde, grasse, serrée ---------- */
h1, h2, h3 { letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.04; font-weight: 800; }
.hero-scinde h1 { font-size: clamp(2rem, 3.5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
h3 { font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }

/* LA SIGNATURE : le trait de pinceau sous chaque titre de section. */
h2::after {
  content: ""; display: block; width: 96px; height: 11px; margin-top: 12px;
  background: var(--pinceau) center / 100% 100% no-repeat;
}

/* ---------- bandeau du haut ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .brand-name { font-weight: 800; font-size: 1.22rem; letter-spacing: 0.01em; }
.site-header .header-tel { font-weight: 700; }
.site-header.scrolle { box-shadow: 0 2px 18px rgba(4, 54, 3, 0.12); }

/* ---------- héro ---------- */
.hero-metier { color: var(--accent-fonce); font-weight: 700; letter-spacing: 0.1em; font-size: 0.82rem; }
.hero-plein .hero-metier { color: #D3E4B4; }
.hero-plein .hero-metier, .hero-plein h1, .hero-plein .hero-sous { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.hero-sous { font-size: 1.1rem; }
/* la photo du héro en grande feuille, posée sur une ombre verte */
.hero-bandeau .hero-photo, .hero-scinde .hero-photo, .hero-photo-entiere .hero-photo {
  border-radius: var(--feuille-grande); box-shadow: var(--ombre);
}
.hero-bandeau .hero-photo img, .hero-scinde .hero-photo img, .hero-photo-entiere .hero-photo img { border-radius: var(--feuille-grande); }
.hero-zone span { border-radius: 999px; }

/* ---------- boutons : pilules pleines, dans la police des titres ---------- */
.btn { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; padding: 15px 30px; letter-spacing: 0.005em; }
.btn-plein { box-shadow: 0 10px 22px rgba(4, 54, 3, 0.18); }
.btn-contour { border-width: 2px; }
.btn-contour:hover { border-color: var(--accent); }

/* ---------- services ---------- */
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-photo img { border-radius: var(--feuille); box-shadow: var(--ombre); }
/* Variante « cartes » : la carte entière prend la forme de feuille, la photo suit en tête. */
.services-cartes .service {
  border: 1px solid var(--line); border-radius: var(--feuille); background: var(--surface);
  overflow: hidden; box-shadow: 0 10px 26px rgba(4, 54, 3, 0.07);
}
.services-cartes .service-photo img { border-radius: 0; box-shadow: none; }

/* ---------- engagements : plaques crème en feuille, filet olive en tête ---------- */
.engagement {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid #8B7B3A;
  border-radius: var(--feuille); padding: 24px 24px 26px;
}

/* ---------- galerie, avant / après, à propos, zone ---------- */
.mosaique img, .rangees img, .bandeau img, .duo-vue img, .apropos-photo img, .zone-photo img { border-radius: var(--feuille); }
.apropos-photo img, .zone-photo img { box-shadow: var(--ombre); }
.duo-etiquette { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; }

/* ---------- zone : les villes en pastilles ---------- */
.zone-villes li { font-weight: 600; }

/* ---------- avis ---------- */
.avis-item { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px 28px 6px 6px; padding: 22px 24px; }
.avis-item cite { font-family: var(--font-display); font-weight: 600; }

/* ---------- contact ---------- */
.contact-tel { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.contact-form label { font-weight: 600; }
.contact-form input, .contact-form textarea { border-radius: 14px; border-color: #C9C6AC; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }

/* ---------- pied vert sapin ---------- */
.site-footer {
  border-top: 0; color: #B8C4B2;
  --muted: #B8C4B2; --ink: #FAF5EA; --accent-fonce: #96d194;
}
.site-footer .footer-nap strong { color: #FAF5EA; font-family: var(--font-display); font-size: 1.08rem; }

::selection { background: var(--accent); color: var(--sur-accent); }

@media (max-width: 960px) {
  /* Héro mobile, règle tous sites n°1 : titre, photo, boutons, PUIS le texte de présentation
     (le gabarit le place avant la photo ; ici il passe après les boutons). */
  .hero-scinde .hero-actions { padding-bottom: 0; }
  .hero-scinde .hero-sous { order: 6; margin-top: 18px; padding: 0 24px clamp(24px, 5vw, 36px); }
  /* la photo en bandeau file bord à bord sur téléphone : pas de feuille ni d'ombre qui dépasse */
  .hero-bandeau .hero-photo, .hero-bandeau .hero-photo img { border-radius: 0; box-shadow: none; }
}
@media (max-width: 520px) {
  :root { --feuille-grande: 34px 8px 34px 8px; }
  .hero h1 { font-size: clamp(1.85rem, 8.6vw, 2.25rem); line-height: 1.08; }
  h2 { font-size: 1.6rem; }
  h2::after { width: 78px; height: 9px; }
}

/* réglages de style de la fiche */
:root { --radius-img: 8px; --radius-photo: 12px; --radius: 8px; }

/* accent client */
:root { --accent: #2A7A1E; --accent-fonce: #194912; --accent-vif: #38a328; --sur-accent: #FFFFFF; --sobre-bg: #043603; --sobre-accent: #96d194; }
:root { --marque-fond: #ffffff; }
:root { --logo-ratio: 1; }

/* polices réellement chargées (content.json → style.polices) */
:root { --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif; --font-body: "Figtree", "Segoe UI", sans-serif; }

/* DA libre du client (content.json → style.css) */
:root { --bg: #F6F3E8; --bande-a: #F6F3E8; --bande-b: #E6EFE0; --surface: #FCFAF2; --surface-2: #EFEEDF; --champ-bg: #FCFAF2; --ink: #12284C; --muted: #465468; --line: #CFD8CB; --accent-fonce: #1F5F17; --header-bg: #F6F3E8; --footer-bg: #12284C; --marque-fond: transparent; --font-display: 'Figtree', system-ui, sans-serif; --font-body: 'Figtree', system-ui, sans-serif; --ombre: 0 16px 36px rgba(18, 40, 76, 0.12); --pinceau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C20 3.2 46 1.6 70 3.4c18 1.3 34 4 48 6.2-15-.6-30-1.6-48-2.2C48 6.7 24 8.4 4 12.6 1.6 13 .6 10.2 2 9.5z' fill='%2358A63A'/%3E%3C/svg%3E"); }
body { font-family: 'Figtree', system-ui, sans-serif; }
h1, h2, .site-header .brand-name { font-family: 'Bricolage Grotesque', 'Figtree', sans-serif; font-weight: 800; }
h3 { font-family: 'Figtree', sans-serif; font-weight: 700; }
.site-header .brand-logo { background: transparent; padding: 0; border-radius: 50%; }
.site-footer { background: #12284C; --accent-fonce: #B9E39B; --muted: #C3CDDC; --ink: #F6F3E8; color: #C3CDDC; }
.hero.hero-sobre.hero-marque { --sobre-bg: #E9F1F4; --sobre-ink: #12284C; --sobre-accent: #1F5F17; background-color: #E9F1F4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cpath d='M0 190L150 110L240 150L420 40L520 110L610 80L760 170L900 70L1010 130L1150 50L1290 140L1440 90V260H0Z' fill='%23CFE0EA'/%3E%3Cpath d='M0 230L180 170L330 210L520 140L720 215L940 150L1130 210L1300 165L1440 205V260H0Z' fill='%23E6EFE0'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: bottom center; background-size: 100% 42%; color: #12284C; }
.hero.hero-sobre.hero-marque::before, .hero.hero-sobre.hero-marque::after { display: none; }
.hero.hero-sobre.hero-marque h1 { color: #12284C; }
.hero.hero-sobre.hero-marque .hero-sous { color: #12284C; font-weight: 600; }
.hero.hero-sobre.hero-marque .btn-contour { color: #12284C; border-color: #12284C; background: #F6F3E8; }
.hero .hero-metier, .hero .hero-zone, .zone-villes { display: none; }
.hero-sobre.hero-marque h1 { max-width: 21ch; }
@media (min-width: 961px) { .hero.hero-sobre.hero-marque h1 { font-size: clamp(2.6rem, 4.1vw, 3.5rem); } .hero-marque .hero-contenu { padding-top: 64px; padding-bottom: 96px; } .apropos, .zone { text-align: center; padding-top: 0; padding-bottom: 0; } .apropos h2::after, .zone h2::after { margin-left: auto; margin-right: auto; } .apropos p, .zone p { margin-left: auto; margin-right: auto; } }
.hero-marque .hero-logo img, .hero-marque .hero-logo.hero-logo-carte img { width: min(100%, 430px); max-height: 430px; background: transparent; padding: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 16px 26px rgba(18, 40, 76, 0.28)); }
@media (min-width: 760px) { .services .services-liste { grid-template-columns: 1fr 1fr; gap: 22px; } }
.services .services-liste { gap: 16px; }
.services .service, .services .service:last-child { display: block; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid #58A63A; border-radius: var(--feuille); padding: 24px 26px 26px; }
.engagement { border-top-color: #58A63A; }
@media (max-width: 960px) { .hero.hero-marque .hero-sous { order: 6; margin-top: 18px; } .hero.hero-marque h1 { padding-top: 8px; } .hero.hero-marque .hero-logo { justify-content: center; } .hero.hero-marque .hero-logo img, .hero.hero-marque .hero-logo.hero-logo-carte img { max-width: 250px; max-height: 250px; width: 250px; padding: 0; } .hero.hero-sobre.hero-marque { background-size: 190% 20%; } }
.hero.hero-sobre.hero-marque h1 { text-wrap: wrap; }
@media (max-width: 520px) { .hero.hero-sobre.hero-marque h1 { font-size: clamp(1.6rem, 7.6vw, 1.95rem); } }
