/* ==========================================================
   Les Jardins de Léa : démo de site vitrine (paysagiste)
   Direction : organique, aérée, douce, formes arrondies.
   Contrastes vérifiés (WCAG AA, texte ≥ 4,5:1) :
   #1F2A22 sur #F6F4EE 13,5:1 · #4F5B52 sur #F6F4EE 6,5:1 · #2F5D3A sur #F6F4EE 7,0:1
   #8F5A1C sur #F6F4EE 5,2:1 · blanc sur #2F5D3A 7,6:1 · blanc sur #8F5A1C 5,8:1
   #E8C07A sur #1F3A26 7,2:1 · le vert sauge #7FA36B ne sert qu'aux décors
   Couples ajoutés avec la refonte :
   #1F2A22 sur #E3EBDD 12,2:1 · #1F3A26 sur #E3EBDD 10,2:1 · #2F5D3A sur #E3EBDD 6,3:1
   #4F5B52 sur #E3EBDD 5,8:1 · #8F5A1C sur #E3EBDD 4,7:1
   #4F5B52 sur #FFFFFF 7,1:1 · #8F5A1C sur #FFFFFF 5,8:1 · #1F3A26 sur #FFFFFF 12,4:1
   #1F3A26 sur #F6F4EE 11,3:1 · #4F5B52 / #1F3A26 sur #EDE9DF 5,9:1 / 10,2:1
   #F0D6A6 sur #2F5D3A 5,4:1 · #E1E8DC sur #2F5D3A 6,1:1
   Fonds des saisons : #4F5B52 sur #FAF0D7 6,3:1 · sur #F5E6D6 5,8:1 · sur #E5EDF1 6,0:1
   (#1F3A26 ≥ 10:1 sur ces trois fonds) · pied de page : #E1E8DC / #C9D8C0 sur #16281B 12,4:1 / 10,4:1
   Bordure des champs #8A9189 sur blanc 3,2:1 (élément d'interface ≥ 3:1)
   ========================================================== */
:root {
    --vert: #2F5D3A;
    --vert-fonce: #1F3A26;
    --vert-nuit: #16281B;
    --sauge: #7FA36B;
    --sauge-pale: #E3EBDD;
    --ocre: #8F5A1C;
    --ocre-fonce: #744814;
    --ocre-clair: #E8C07A;
    --ocre-lumiere: #F0D6A6;
    --creme: #F6F4EE;
    --creme-2: #EDE9DF;
    --blanc: #FFFFFF;
    --texte: #1F2A22;
    --texte-doux: #4F5B52;
    --bordure: #D6D1C4;
    --saison-ete: #FAF0D7;
    --saison-automne: #F5E6D6;
    --saison-hiver: #E5EDF1;

    --rayon: 32px;
    --rayon-grand: 40px;
    --galet: 60% 40% 55% 45% / 50% 60% 40% 50%;
    --galet-2: 45% 55% 40% 60% / 55% 45% 60% 40%;
    --ombre: 0 30px 60px -36px rgba(22, 40, 27, 0.28);
    --ombre-forte: 0 40px 80px -40px rgba(22, 40, 27, 0.38);
    --transition: 0.3s ease;
    --entete: 80px;
    --lecture: 62ch;
    --section-y: clamp(88px, 11vw, 150px);
    --vague-h: clamp(28px, 5vw, 76px);

    /* Vagues de transition entre sections (SVG en data: URI, autorisé par img-src data:) */
    --vague-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V38C180 8 360 0 560 18S940 72 1140 58 1380 20 1440 24V80Z'/%3E%3C/svg%3E");
    --vague-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V52C220 72 420 16 700 14S1180 58 1440 30V80Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.0625rem;
    background: var(--creme);
    color: var(--texte);
    line-height: 1.8;
    overflow-x: hidden;
}
main { overflow-x: clip; }
body.modal-ouverte { overflow: hidden; }

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: var(--vert); }

:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 16px; top: -80px; z-index: 30001;
    background: var(--vert-fonce); color: var(--blanc); padding: 12px 20px;
    border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.skip-link:focus-visible { outline-color: var(--ocre-clair); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ---------- Sections aérées et vagues de transition ---------- */
.section { position: relative; padding: var(--section-y) 0; }

@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
    .section::before, .cta-banner::before, .footer::before {
        content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
        height: var(--vague-h); pointer-events: none;
        background-color: inherit;
        -webkit-mask: var(--vague-a) center bottom / 100% 100% no-repeat;
        mask: var(--vague-a) center bottom / 100% 100% no-repeat;
    }
    .compare-section::before, .entretien-section::before, .cta-banner::before, .contact-section::before {
        -webkit-mask-image: var(--vague-b);
        mask-image: var(--vague-b);
    }
}

.section-header { text-align: center; max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); }
.section-subtitle {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400;
    font-size: 1.15rem; line-height: 1.4; color: var(--ocre); margin-bottom: 12px;
}
/* Petite feuille dessinée en CSS devant chaque sur-titre */
.section-subtitle::before {
    content: ""; width: 18px; height: 18px; flex-shrink: 0;
    border-radius: 0 100% 0 100%; background: var(--sauge); transform: rotate(-8deg);
}
.section-intro { color: var(--texte-doux); margin: 18px auto 0; max-width: var(--lecture); }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; }
h1, h2 { line-height: 1.15; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--vert); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--vert-fonce); }
h3 { font-size: 1.3rem; line-height: 1.35; color: var(--vert-fonce); }

/* ---------- Boutons en pilule (hauteur minimale 44 px) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 12px 28px; border-radius: 999px;
    font: 600 0.98rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif;
    text-decoration: none; cursor: pointer; border: 2px solid transparent; text-align: center;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 58px; padding: 14px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--vert); color: var(--blanc); box-shadow: 0 16px 30px -18px rgba(47, 93, 58, 0.7); }
.btn-primary:hover { background: var(--vert-fonce); }
.btn-accent { background: var(--ocre); color: var(--blanc); box-shadow: 0 16px 30px -18px rgba(143, 90, 28, 0.75); }
.btn-accent:hover { background: var(--ocre-fonce); }
.btn-doux { background: var(--blanc); color: var(--vert-fonce); box-shadow: var(--ombre); }
.btn-doux:hover { background: var(--sauge-pale); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: var(--blanc); border-color: rgba(255, 255, 255, 0.85); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-ghost:focus-visible { outline-color: var(--ocre-clair); }
.btn-outline-vert { background: var(--blanc); color: var(--vert); border-color: var(--vert); min-height: 46px; padding: 10px 20px; font-size: 0.92rem; }
.btn-outline-vert:hover { background: var(--vert); color: var(--blanc); }

/* ---------- En-tête clair ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--entete); display: flex; align-items: center;
    background: rgba(246, 244, 238, 0.96);
    box-shadow: 0 10px 30px -24px rgba(22, 40, 27, 0.45);
}
@supports (backdrop-filter: blur(8px)) {
    .navbar { background: rgba(246, 244, 238, 0.88); backdrop-filter: blur(10px); }
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--vert-fonce); border-radius: 999px; }
.brand-logo {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: var(--galet);
    display: grid; place-items: center; font-size: 1.25rem;
    background: var(--vert); color: var(--ocre-clair);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 1.22rem; line-height: 1.2; }
.brand-tagline { font-size: 0.8rem; line-height: 1.4; color: var(--texte-doux); }

.nav-menu { display: flex; gap: 4px; }
.nav-link {
    color: var(--texte); text-decoration: none; font-size: 0.95rem; font-weight: 500;
    padding: 10px 16px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
    transition: color var(--transition), background-color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--vert-fonce); background: var(--sauge-pale); }
.nav-link.active { font-weight: 700; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav { min-height: 46px; padding: 10px 22px; font-size: 0.92rem; box-shadow: none; }
.hamburger {
    display: none; width: 48px; height: 48px; border-radius: 50%;
    background: var(--blanc); border: 2px solid var(--sauge-pale);
    color: var(--vert-fonce); font-size: 1.2rem; cursor: pointer;
    transition: background-color var(--transition);
}
.hamburger:hover { background: var(--sauge-pale); }

/* ---------- Hero crème, visuel en galet ---------- */
.hero {
    position: relative; overflow: hidden;
    margin-top: var(--entete);
    padding: clamp(48px, 8vw, 104px) 0 calc(var(--section-y) + 20px);
    background: var(--creme);
}
/* Décor végétal : grandes feuilles et galet pâle, dessinés en CSS */
.hero::before, .hero::after {
    content: ""; position: absolute; pointer-events: none;
    border-radius: 0 100% 0 100%;
}
.hero::before {
    width: clamp(160px, 22vw, 300px); aspect-ratio: 1;
    top: -40px; left: -70px; transform: rotate(18deg);
    background: var(--sauge-pale);
}
.hero::after {
    width: clamp(90px, 10vw, 140px); aspect-ratio: 1;
    bottom: 22%; left: 44%; transform: rotate(-24deg);
    background: var(--sauge); opacity: 0.18;
}
.hero-container {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero-content { max-width: 620px; }
.hero .sub-title {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 999px;
    background: var(--sauge-pale); color: var(--vert);
    font-size: 0.9rem; font-weight: 600; line-height: 1.4;
}
.hero .sub-title::before {
    content: ""; width: 12px; height: 12px; flex-shrink: 0;
    border-radius: 0 100% 0 100%; background: var(--vert);
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.08;
    color: var(--vert-fonce); margin: 26px 0 26px;
}
.hero h1 em { display: inline; color: var(--vert); }
.hero-texte { font-size: clamp(1.08rem, 1.4vw, 1.2rem); color: var(--texte-doux); max-width: 54ch; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
    background: var(--blanc); color: var(--vert-fonce);
    box-shadow: 0 12px 24px -18px rgba(22, 40, 27, 0.4);
}
.badge i { color: var(--ocre); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visuel {
    position: relative; width: 100%; max-width: 560px; margin-left: auto;
    aspect-ratio: 1 / 1.02;
}
/* Galet pâle derrière la photo principale */
.hero-visuel::before {
    content: ""; position: absolute; inset: 8% 0 4% 10%;
    border-radius: var(--galet-2); background: var(--sauge-pale);
    transform: rotate(-6deg);
}
.hero-galet {
    position: absolute; top: 2%; right: 3%; width: 84%; height: 84%;
    object-fit: cover; border-radius: var(--galet);
    box-shadow: var(--ombre-forte);
}
.hero-rond {
    position: absolute; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
    border: 8px solid var(--creme); box-shadow: var(--ombre);
}
.hero-rond-1 { width: 38%; left: 0; bottom: 0; }
.hero-rond-2 { width: 23%; left: 6%; top: 4%; object-position: 30% 50%; }

/* ---------- Cartes ---------- */
.prestations { background: var(--blanc); }
.card {
    background: var(--creme); border: 0;
    border-radius: var(--rayon); padding: 38px 30px 32px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.card-service { display: flex; flex-direction: column; }
.prestations .card-service:nth-child(odd) { background: var(--sauge-pale); }
.prestations .card-service:nth-child(2) { border-radius: 32px 72px 32px 32px; }
.prestations .card-service:nth-child(3) { border-radius: 32px 32px 72px 32px; }
.card-icon {
    width: 68px; height: 68px; border-radius: 50%; margin-bottom: 24px;
    display: grid; place-items: center; font-size: 1.45rem;
    background: var(--blanc); color: var(--vert);
    box-shadow: 0 14px 28px -20px rgba(22, 40, 27, 0.5);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--texte-doux); font-size: 0.98rem; }
.card-lien {
    margin-top: auto; padding-top: 22px; min-height: 44px;
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    color: var(--ocre); font-weight: 700; text-decoration: none; border-radius: 999px;
}
.prestations .card-service:nth-child(odd) .card-lien { color: var(--ocre-fonce); }
.card-lien i { transition: transform var(--transition); }
.card-lien:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-lien:hover i { transform: translateX(4px); }

/* ---------- Avant / après ---------- */
.compare-section { background: var(--sauge-pale); }
.compare-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.compare-slider {
    position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 540px;
    overflow: hidden; border-radius: 48px 140px 48px 140px / 48px 110px 48px 110px;
    box-shadow: var(--ombre-forte);
    user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--creme-2);
}
.compare-slider img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; pointer-events: none; -webkit-user-drag: none;
}
.img-before { clip-path: inset(0 50% 0 0); z-index: 1; }

.badge-tag {
    position: absolute; top: 22px; z-index: 3; padding: 6px 16px; border-radius: 999px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
    color: var(--blanc);
}
.badge-before { left: 26px; background: var(--vert-nuit); }
.badge-after { right: 40px; background: var(--ocre); }

.slider-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4;
    width: 48px; margin-left: -24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    cursor: ew-resize;
}
.slider-handle:focus-visible { outline: none; }
.slider-handle:focus-visible .handle-button { outline: 3px solid var(--ocre-clair); outline-offset: 3px; box-shadow: 0 0 0 6px var(--vert-nuit); }
.handle-line { width: 3px; flex: 1; background: var(--blanc); box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); }
.handle-button {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: var(--blanc); color: var(--vert-fonce);
    display: flex; align-items: center; justify-content: center; gap: 4px;
    font-size: 0.8rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.compare-info {
    background: var(--blanc); border-radius: var(--rayon-grand);
    padding: clamp(28px, 4vw, 44px); box-shadow: var(--ombre);
}
.compare-info h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.25; }
.compare-aide { color: var(--texte-doux); font-size: 0.93rem; margin-top: 12px; }
.check-list { margin-top: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; font-weight: 500; line-height: 1.6; }
.check-list i { color: var(--vert); margin-top: 5px; }
.compare-zoom { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Galerie en mosaïque ---------- */
.gallery-section { background: var(--creme); }
.gallery-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 36px); }
.gallery-mosaic > .gallery-card:nth-child(4n+1), .gallery-mosaic > .gallery-card:nth-child(4n+4) { grid-column: span 7; }
.gallery-mosaic > .gallery-card:nth-child(4n+2), .gallery-mosaic > .gallery-card:nth-child(4n+3) { grid-column: span 5; }
.gallery-mosaic > .gallery-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.gallery-card { background: transparent; }
button.gallery-img {
    position: relative; display: block; width: 100%; height: clamp(260px, 30vw, 400px); overflow: hidden;
    padding: 0; border: 0; background: var(--creme-2); cursor: zoom-in; font: inherit;
    border-radius: var(--rayon-grand); box-shadow: var(--ombre);
}
.gallery-card:nth-child(4n+1) button.gallery-img { border-radius: 40px 40px 40px 140px; }
.gallery-card:nth-child(4n+2) button.gallery-img { border-radius: 160px 160px 40px 40px; }
.gallery-card:nth-child(4n+3) button.gallery-img { border-radius: 40px 120px 40px 40px; }
.gallery-card:nth-child(4n+4) button.gallery-img { border-radius: 40px 40px 140px 40px; }
button.gallery-img:focus-visible { outline-offset: 4px; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-img:hover img, .gallery-img:focus-visible img { transform: scale(1.04); }
.gallery-zoom {
    position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; background: var(--blanc); color: var(--vert-fonce);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.45);
}
.gallery-card:nth-child(4n+4) .gallery-zoom { right: auto; left: 22px; }
.gallery-card figcaption { padding: 18px 12px 0; }
.gallery-card h3 { font-size: 1.25rem; }
.gallery-card p { color: var(--texte-doux); font-size: 0.95rem; margin-top: 2px; }
.gallery-card p i { color: var(--ocre); margin-right: 6px; }
.gallery-vide { text-align: center; grid-column: 1 / -1; color: var(--texte-doux); }

/* ---------- Entretien : quatre saisons en pastilles arrondies ---------- */
.entretien-section { background: var(--blanc); }
.card-saison { text-align: center; padding: 44px 28px 36px; border-radius: 120px 120px var(--rayon) var(--rayon); }
.saison-printemps { background: var(--sauge-pale); }
.saison-ete { background: var(--saison-ete); }
.saison-automne { background: var(--saison-automne); }
.saison-hiver { background: var(--saison-hiver); }
.saison-tete { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 20px; }
.saison-tete h3 { margin: 0; font-size: 1.5rem; }
.saison-icone {
    width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
    background: var(--blanc); color: var(--vert); font-size: 1.6rem;
    box-shadow: 0 16px 30px -20px rgba(22, 40, 27, 0.5);
}
.saison-ete .saison-icone { color: #9A6B12; }
.saison-automne .saison-icone { color: var(--ocre); }
.saison-hiver .saison-icone { color: #3E6275; }
.card-saison ul { text-align: left; }
.card-saison li {
    position: relative; padding-left: 22px; margin-bottom: 10px;
    color: var(--texte-doux); font-size: 0.96rem; line-height: 1.65;
}
.card-saison li::before {
    content: ""; position: absolute; left: 0; top: 0.55em;
    width: 10px; height: 10px; border-radius: 0 100% 0 100%; background: var(--sauge);
}
.saison-ete li::before { background: #D9A441; }
.saison-automne li::before { background: var(--ocre); }
.saison-hiver li::before { background: #8FA9B8; }
.entretien-cta { text-align: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Pourquoi nous ---------- */
.features-section { background: var(--sauge-pale); }
.features-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.features-photo { position: relative; }
.features-photo::before {
    content: ""; position: absolute; width: 34%; aspect-ratio: 1;
    right: 2%; bottom: -3%; border-radius: 0 100% 0 100%;
    background: var(--sauge); opacity: 0.35; transform: rotate(12deg);
}
.features-photo img {
    position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: var(--galet-2); box-shadow: var(--ombre-forte);
}
.features-list { margin-top: 32px; display: grid; gap: 16px; }
.features-list li {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--blanc); border-radius: var(--rayon); padding: 22px 24px;
}
.feature-icon {
    width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; background: var(--sauge-pale); color: var(--vert); font-size: 1.15rem;
}
.features-list h3 { margin-bottom: 4px; font-size: 1.2rem; }
.features-list p { color: var(--texte-doux); font-size: 0.96rem; line-height: 1.7; }

/* ---------- Zone d'intervention : grand galet vert ---------- */
.cta-banner { position: relative; background: var(--creme); padding: var(--section-y) 0; }
.cta-banner .container.cta-container {
    width: calc(100% - 32px); padding: clamp(36px, 6vw, 72px);
    display: flex; justify-content: space-between; align-items: center; gap: clamp(28px, 5vw, 56px);
    background: var(--vert); color: var(--blanc);
    border-radius: 56px 160px 56px 160px / 56px 120px 56px 120px;
    box-shadow: var(--ombre-forte);
}
.cta-banner .section-subtitle { color: var(--ocre-lumiere); }
.cta-banner .section-subtitle::before { background: var(--ocre-lumiere); }
.cta-banner h2 { color: var(--blanc); }
.cta-text { max-width: 600px; }
.cta-text p:not(.section-subtitle) { margin: 16px 0 28px; color: #E1E8DC; }
.cta-box {
    flex-shrink: 0; min-width: 320px; text-align: center; padding: 36px 32px;
    border-radius: var(--rayon-grand); background: var(--creme); color: var(--texte);
}
.cta-box h3 { font-size: 1.4rem; }
.cta-box p { color: var(--texte-doux); margin: 6px 0 22px; }
.phone-link {
    display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px;
    color: var(--vert); font-weight: 700; text-decoration: none; border-radius: 999px;
}
.phone-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Contact ---------- */
.contact-section { background: var(--blanc); }
.contact-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.info-item { display: flex; gap: 18px; margin-bottom: 30px; }
.info-icon {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; background: var(--sauge-pale); color: var(--vert); font-size: 1.15rem;
}
.info-item h3 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--texte-doux); font-weight: 700;
}
.info-item .highlight { font-size: 1.12rem; font-weight: 700; color: var(--vert-fonce); overflow-wrap: anywhere; }
.info-item .sub-text { font-size: 0.9rem; color: var(--texte-doux); }
.lien-discret { color: inherit; text-decoration: none; display: inline-block; padding: 11px 0; margin: -11px 0; }
.lien-discret:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form-card {
    background: var(--creme); border: 0;
    border-radius: var(--rayon-grand); padding: clamp(26px, 4vw, 48px);
    box-shadow: var(--ombre);
}
.contact-form-card > h3 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); }
.form-sub { font-size: 0.9rem; color: var(--texte-doux); margin: 4px 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; min-width: 0; }
.form-group label { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 8px; color: var(--texte); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; min-height: 52px; padding: 12px 20px;
    border: 1px solid #8A9189; border-radius: 999px; background: var(--blanc);
    font: 0.98rem/1.4 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--texte);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group textarea { resize: vertical; border-radius: 24px; line-height: 1.6; }
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: var(--vert); }
.form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible {
    outline: 3px solid var(--ocre); outline-offset: 2px; border-color: var(--vert);
}
.aide { font-size: 0.87rem; color: var(--texte-doux); margin-top: 8px; padding-left: 8px; }
.form-demo { font-size: 0.87rem; color: var(--texte-doux); text-align: center; margin-top: 14px; }
.champ-piege { display: none !important; }

/* ---------- Pied de page ---------- */
.footer { position: relative; background: var(--vert-nuit); color: var(--blanc); padding-top: 64px; }
.footer .brand { color: var(--blanc); }
.footer .brand-tagline { color: #C9D8C0; }
.footer-container {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
    padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.footer-links a {
    color: #E1E8DC; text-decoration: none; font-size: 0.92rem;
    min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 999px;
    transition: background-color var(--transition), color var(--transition);
}
.footer-links a:hover { color: var(--ocre-clair); background: rgba(255, 255, 255, 0.06); text-decoration: underline; }
.footer a:focus-visible { outline-color: var(--ocre-clair); }
.footer-bottom { padding: 22px 0 92px; text-align: center; font-size: 0.87rem; color: #C9D8C0; }
.footer-bottom a { color: #E1E8DC; display: inline-block; padding: 12px 4px; }

/* ---------- Visionneuse ---------- */
.lightbox-modal {
    position: fixed; inset: 0; z-index: 20000; padding: 72px 20px 24px;
    background: rgba(10, 18, 12, 0.94);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lightbox-modal[hidden] { display: none; }
.lightbox-content { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 28px; object-fit: contain; }
.lightbox-caption { color: var(--blanc); margin-top: 16px; text-align: center; font-size: 1rem; }
.lightbox-close {
    position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08);
    color: var(--blanc); font-size: 1.4rem; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close:focus-visible { outline-color: var(--ocre-clair); }

/* ---------- Modales ---------- */
.site-modal {
    position: fixed; inset: 0; z-index: 10000; overflow: auto;
    background: rgba(10, 18, 12, 0.6); padding: 20px;
    display: flex; align-items: flex-start; justify-content: center;
}
.site-modal[hidden] { display: none; }
.modal-boite {
    position: relative; width: 100%; max-width: 680px; margin: 8vh auto 20px;
    background: var(--blanc); color: var(--texte); border-radius: var(--rayon-grand); padding: 40px 36px 34px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.modal-boite p { margin-bottom: 10px; }
.modal-close {
    position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: var(--sauge-pale); color: var(--vert-fonce); font-size: 1.2rem; cursor: pointer;
}
.modal-close:hover { background: var(--creme-2); }
.modal-titre { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0 52px 18px 0; }
.modal-titre i { color: var(--vert); font-size: 1.3rem; margin-right: 6px; }
.zone-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 18px 0; }
.zone-list li {
    display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
    background: var(--sauge-pale); font-weight: 600;
}
.zone-list i { color: var(--vert); }
.modal-note { color: var(--texte-doux); font-size: 0.95rem; }

/* ---------- Notification ---------- */
.toast-notification {
    position: fixed; top: calc(var(--entete) + 14px); right: 20px; left: auto; z-index: 30000;
    max-width: min(440px, calc(100vw - 40px));
    display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 28px;
    background: var(--vert-fonce); color: var(--blanc);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
    opacity: 0; transform: translateY(-16px); transition: opacity 0.4s ease, transform 0.4s ease;
}
.toast-notification.show { opacity: 1; transform: translateY(0); }
.toast-icone { font-size: 1.3rem; color: var(--ocre-clair); }

/* ---------- Haut de page ---------- */
.back-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 9999;
    width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--vert); color: var(--blanc); font-size: 1.1rem;
    box-shadow: 0 14px 28px -12px rgba(22, 40, 27, 0.6);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--vert-fonce); }

/* ---------- Badge démo ---------- */
.demo-badge {
    position: fixed; left: 16px; bottom: 16px; z-index: 10001;
    background: #0B1F33; color: #fff; font: 600 13px/1.3 system-ui, sans-serif;
    padding: 14px 16px; border-radius: 999px; text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
}
.demo-badge b { font-weight: 600; }
.demo-badge span { color: #FF8A1F; }
.demo-badge:focus-visible { outline: 3px solid #FF8A1F; outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-menu {
        position: absolute; top: calc(var(--entete) - 4px); left: 12px; right: 12px;
        flex-direction: column; gap: 4px; padding: 14px;
        background: var(--creme); border-radius: var(--rayon);
        box-shadow: var(--ombre-forte);
        display: none;
    }
    .nav-menu.active { display: flex; }
    .nav-link { padding: 12px 18px; }
    .hamburger { display: inline-grid; place-items: center; }
    .gallery-mosaic { grid-template-columns: 1fr 1fr; }
    .gallery-mosaic > .gallery-card:nth-child(n) { grid-column: auto; }
    .gallery-mosaic > .gallery-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { max-width: 680px; }
    .hero-visuel { max-width: 480px; margin: 0 auto; }
    .compare-grid, .contact-grid, .features-grid { grid-template-columns: 1fr; gap: 36px; }
    .features-photo { max-width: 520px; width: 100%; margin: 0 auto; }
    .features-photo img { aspect-ratio: 5 / 4; }
    .cta-banner .container.cta-container { flex-direction: column; align-items: stretch; }
    .cta-box { min-width: 0; }
}

@media (max-width: 640px) {
    :root { --entete: 70px; --section-y: 76px; --rayon: 28px; --rayon-grand: 32px; }
    body { font-size: 1rem; line-height: 1.75; }
    .btn-nav { display: none; }
    .brand-name { font-size: 1.08rem; }
    .brand-logo { width: 44px; height: 44px; }
    .hero { padding-top: 36px; }
    .hero h1 { margin: 20px 0; }
    .hero-cta .btn { width: 100%; }
    .hero-rond { border-width: 5px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .compare-slider { aspect-ratio: 1 / 1; border-radius: 32px 88px 32px 88px / 32px 64px 32px 64px; }
    .badge-before { left: 18px; }
    .badge-after { right: 26px; }
    .gallery-mosaic { grid-template-columns: 1fr; }
    .gallery-mosaic > .gallery-card:last-child:nth-child(odd) { grid-column: auto; }
    button.gallery-img { height: 260px; }
    .card-saison { border-radius: 96px 96px var(--rayon) var(--rayon); }
    .features-list li { padding: 18px; gap: 16px; }
    .cta-banner .container.cta-container {
        width: calc(100% - 24px); padding: 36px 22px;
        border-radius: 36px 88px 36px 88px / 36px 64px 36px 64px;
    }
    .cta-box { padding: 28px 20px; }
    .contact-form-card { padding: 26px 18px; }
    .footer-container { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .demo-badge { padding: 14px; font-size: 12px; }
    .demo-badge b { display: none; }
    .demo-badge span::before { content: "Démo · "; color: #fff; }
    .back-to-top { right: 16px; bottom: 16px; }
    .modal-boite { padding: 32px 20px 22px; margin-top: 4vh; }
}
