/* Thomas Iles Espaces Verts — feuille de style unique
   Palette tirée du logo : anthracite #1d1d1b, vert #39b54a, blanc. */

@font-face { font-family: "Quicksand"; src: url("../fonts/Quicksand-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Amatic SC"; src: url("../fonts/AmaticSC-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Amatic SC"; src: url("../fonts/AmaticSC-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --char: #1d1d1b;
  --char-2: #2a2a27;
  --green: #39b54a;
  --green-ink: #22762f;   /* vert lisible sur fond clair */
  --paper: #f7f8f5;
  --mist: #eaeee6;
  --line: #d6dccf;
  --stone: #5b6157;
  --white: #fff;
  --danger: #b0321d;

  --head: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Amatic SC", "Comic Sans MS", cursive;

  --step--1: .9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.8rem, 1.35rem + 1.9vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.5rem + 3.3vw, 3.75rem);

  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--char); font-family: var(--body); font-size: var(--step-0); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--green-ink); text-underline-offset: .18em; }
a:hover { color: var(--char); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: var(--step-1); line-height: 1.55; max-width: 36em; }
.muted { color: var(--stone); }
.prose { max-width: 40em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose h2 { margin-top: 1.6em; font-size: var(--step-2); }
.prose h2:first-child { margin-top: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--mist { background: var(--mist); }
.section--char { background: var(--char); color: var(--white); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--stone); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.section--char .section-head p { color: rgba(255,255,255,.75); }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--char); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ---------- En-tête ---------- */
.site-header { background: var(--char); color: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; line-height: 1.15; }
.brand:hover { color: var(--white); }
.brand img { width: 52px; height: 52px; }
.brand strong { display: block; font: 700 1.05rem var(--head); white-space: nowrap; }
.brand small { display: block; font: 500 .78rem var(--head); color: var(--green); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .15rem; font: 500 .92rem var(--head); }
.nav a { color: var(--white); text-decoration: none; padding: .5rem .7rem; border-radius: 6px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav .btn { margin-left: .4rem; }
.header-tel { font: 700 1rem var(--head); color: var(--white); text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: .45rem; }
.header-tel svg { width: 1.1rem; height: 1.1rem; color: var(--green); }
.nav-toggle { display: none; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); border-radius: 6px; padding: .45rem .75rem; font: 500 .95rem var(--head); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--char-2); flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1.2rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav .btn { margin: 1rem 0 0; }
  .header-tel { display: none; }
}
@media (max-width: 420px) { .brand small { display: none; } .brand img { width: 44px; height: 44px; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1rem/1.2 var(--head); padding: .9rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 1.1rem; height: 1.1rem; }
.btn--green { background: var(--green); color: var(--char); }
.btn--green:hover { background: #2fa13f; color: var(--char); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: var(--white); color: var(--char); border-color: var(--white); }
.btn--char { background: var(--char); color: var(--white); }
.btn--char:hover { background: #000; color: var(--white); }
.btn--sm { padding: .6rem 1.05rem; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Héro photo ---------- */
.hero { position: relative; color: var(--white); background: var(--char); overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero img.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,18,.88) 0%, rgba(20,20,18,.68) 45%, rgba(20,20,18,.15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3.5rem, 9vw, 7rem); }
.hero h1 { max-width: 12em; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }
.hero-actions .btn--line { color: var(--white); }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font: 500 .95rem var(--head); }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust svg { width: 1.15rem; height: 1.15rem; color: var(--green); flex: none; }
.rating-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: var(--white); text-decoration: none; font: 500 .9rem var(--head); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.25rem; }
.rating-badge:hover { color: var(--white); background: rgba(255,255,255,.2); }
.stars { color: #f5c518; letter-spacing: .05em; }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(20,20,18,.55) 0%, rgba(20,20,18,.85) 100%); } }

.page-hero { position: relative; color: var(--white); background: var(--char); overflow: hidden; }
.page-hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,18,.9) 0%, rgba(20,20,18,.7) 55%, rgba(20,20,18,.35) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .lead { color: rgba(255,255,255,.9); }
.page-hero a:not(.btn) { color: var(--green); }
.page-hero .hero-actions { margin-bottom: 0; align-items: center; }
.breadcrumb { font: 500 var(--step--1) var(--head); margin-bottom: 1rem; color: rgba(255,255,255,.75); }

/* ---------- Prestations : cartes photo ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.card h3 a { color: var(--char); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--stone); margin-bottom: .75rem; font-size: 1rem; }
.card ul { list-style: none; padding: 0; margin: 0 0 1rem; font: 400 .93rem var(--ui); }
.card li { padding: .25rem 0 .25rem 1.4rem; position: relative; }
.card li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .55rem; height: .3rem; border-left: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: rotate(-45deg); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font: 500 .9rem var(--head); }
.card-foot span.more { color: var(--green-ink); }
.card:hover h3 a { color: var(--green-ink); }
.tag { display: inline-block; font: 500 .76rem var(--head); padding: .22rem .6rem; border-radius: 999px; background: #e1f3e3; color: #1c5f27; }
.tag--no { background: var(--mist); color: var(--stone); }

/* ---------- Crédit d'impôt ---------- */
.tax-figure { font: 700 clamp(3.4rem, 9vw, 5.5rem)/1 var(--head); color: var(--green); }
.tax h2 { font-size: var(--step-2); margin-bottom: .4rem; }
.tax p { margin: 0; color: rgba(255,255,255,.82); max-width: 40em; }
.tax a:not(.btn) { color: var(--green); }

/* ---------- Fondateur ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder figure { margin: 0; }
.founder img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder figcaption { font: 400 .85rem var(--ui); color: var(--stone); margin-top: .5rem; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder img { aspect-ratio: 4 / 3; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .85rem; height: .45rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* ---------- Réalisations ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15rem; gap: .75rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--char-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; color: var(--white); font: 500 .85rem var(--head); background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 12rem; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 10rem; gap: .5rem; } .gallery .wide { grid-column: span 2; } }

/* ---------- Avis ---------- */
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.reviews-score { display: flex; align-items: baseline; gap: .75rem; font-family: var(--head); }
.reviews-score strong { font-size: 3rem; line-height: 1; }
.reviews-score .stars { font-size: 1.4rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; }
.review p { font-size: 1rem; }
.review footer { margin-top: auto; font: 500 .88rem var(--head); color: var(--stone); }
.review footer strong { color: var(--char); display: block; }
.reviews-empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--r); padding: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.reviews-empty p { margin: 0; max-width: 36em; }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: .8fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }
.towns { columns: 2 10rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font: 400 1rem var(--ui); }
.towns li { padding: .3rem 0 .3rem 1.1rem; position: relative; break-inside: avoid; }
.towns li::before { content: ""; position: absolute; left: 0; top: .85em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); }
.towns strong { font-weight: 700; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--mist); }
.map-credit { font: 400 .78rem var(--ui); color: var(--stone); margin-top: .4rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 500 1.08rem/1.4 var(--head); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--ui); color: var(--green-ink); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.2rem; max-width: 42em; }
.faq h3 { font: inherit; margin: 0; }

/* ---------- Contact / devis court ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-links { list-style: none; padding: 0; margin: 1.5rem 0; font: 500 1rem var(--head); }
.contact-links li { margin-bottom: .7rem; }
.contact-links a { color: var(--white); display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; }
.contact-links a:hover { color: var(--green); }
.contact-links svg { width: 1.2rem; height: 1.2rem; color: var(--green); }
.quick-form { background: var(--white); color: var(--char); border-radius: var(--r); padding: clamp(1.3rem, 3vw, 2rem); }
.quick-form .reassure { font: 400 .88rem var(--ui); color: var(--stone); margin: .8rem 0 0; }
.section--char .muted { color: rgba(255,255,255,.7); }
.section--char a:not(.btn) { color: var(--green); }

/* ---------- Pages intérieures ---------- */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; position: sticky; top: 6rem; }
.aside-card h2, .aside-card h3 { font-size: 1.15rem; }
.aside-card > ul:not(.checklist) { padding-left: 1.1em; margin: 0; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; margin: 2rem 0; }
.photos img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.seasons { width: 100%; border-collapse: collapse; font: 400 .95rem var(--ui); margin: 1rem 0 1.5rem; }
.seasons th, .seasons td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.seasons th { font-weight: 650; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- Bandeau final ---------- */
.cta-band { background: var(--green); color: var(--char); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.cta-band h2 { margin: 0; font-size: var(--step-2); }
.cta-band p { margin: .3rem 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn--line:hover { background: var(--char); color: var(--white); border-color: var(--char); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--char); color: rgba(255,255,255,.8); font: 400 .95rem var(--ui); padding: 3.5rem 0 6rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { margin-bottom: 1.1rem; }
.footer-grid h2 { font: 700 1rem var(--head); color: var(--white); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .7; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
  .mobile-bar a { display: block; text-align: center; padding: 1rem .5rem; font: 700 1rem var(--head); text-decoration: none; }
  .mobile-bar a:first-child { background: var(--char); color: var(--white); }
  .mobile-bar a:last-child { background: var(--green); color: var(--char); }
  body.page-devis .mobile-bar { display: none; }
}

/* ---------- Formulaires ---------- */
.field { margin-bottom: 1.1rem; font-family: var(--ui); }
.field label, .field .label { display: block; font: 500 .95rem var(--head); margin-bottom: .35rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .78rem .9rem; border: 2px solid var(--line); border-radius: 8px; background: var(--white); color: var(--char);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(57,181,74,.25); }
.field .help { font-size: .88rem; color: var(--stone); margin-top: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .6rem; align-items: flex-start; font: 400 .9rem var(--ui); }
.consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--green-ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Simulateur de devis ---------- */
.devis-shell { max-width: 48rem; }
.progress { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 2rem; font: 500 .85rem var(--head); }
.progress li { flex: 1; color: var(--stone); }
.progress li::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: .4rem; }
.progress li.is-done::before, .progress li.is-current::before { background: var(--green); }
.progress li.is-current { color: var(--char); }
@media (max-width: 560px) { .progress li span { display: none; } }
.devis fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.devis legend { font: 700 var(--step-2)/1.2 var(--head); margin-bottom: .4rem; padding: 0; }
.devis .hint { color: var(--stone); margin-bottom: 1.25rem; }
.js .devis .step { display: none; }
.js .devis .step.is-active { display: block; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice label { display: flex; gap: .75rem; align-items: flex-start; height: 100%; padding: .9rem 1rem; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); font-family: var(--ui); line-height: 1.35; cursor: pointer; }
.choice label strong { display: block; font: 500 1rem var(--head); }
.choice label small { color: var(--stone); }
.choice svg { width: 1.8rem; height: 1.8rem; flex: none; color: var(--green-ink); }
.choice input:checked + label { border-color: var(--green); background: #edf8ee; box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.choices--compact { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.choices--compact label { padding: .7rem .9rem; }
.detail-block { border-left: 4px solid var(--green); padding: .25rem 0 .25rem 1.25rem; margin-bottom: 1.75rem; }
.detail-block h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.devis-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.devis-error { color: var(--danger); font: 600 1rem var(--ui); margin: 0 0 1rem; }
.devis-error:empty { display: none; }
.tax-hint { font: 400 .95rem var(--ui); background: #e1f3e3; border-radius: 8px; padding: .75rem 1rem; margin: 1rem 0 0; }
.tax-hint:empty { display: none; }
.recap { font: 400 .95rem var(--ui); background: var(--mist); border-radius: var(--r); padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.recap dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; }
.recap dt { font-weight: 650; }
.recap dd { margin: 0; }
.file-list { font-size: .88rem; color: var(--stone); margin-top: .4rem; }
.brand { flex: none; }
.site-header .wrap { gap: 1.5rem; }
@media (max-width: 1400px) and (min-width: 1181px) { .brand small { display: none; } .nav a { padding: .5rem .55rem; } }
@media (max-width: 700px) { .hero img.hero-bg { object-position: 62% 60%; } }

/* =========================================================
   Signature : le trait de coupe (passage du taille-haie)
   ========================================================= */
.section-head h2::after,
.cut-line {
  content: ""; display: block; height: 18px; margin-top: .85rem; width: min(17rem, 70%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339b54a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/svg%3E") left center / 18px 18px no-repeat,
    repeating-linear-gradient(90deg, var(--green) 0 9px, transparent 9px 16px) 28px center / calc(100% - 28px) 2px no-repeat;
}
.hero-cut {
  position: absolute; left: 0; right: 0; bottom: 1.4rem; z-index: 1; height: 18px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339b54a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/svg%3E") 6% center / 18px 18px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 9px, transparent 9px 16px) 0 center / 100% 2px no-repeat;
}
@media (max-width: 700px) { .hero-cut { bottom: .9rem; } }

/* Réalisations juste sous l'ouverture */
.section--real { padding-top: clamp(2.75rem, 6vw, 4.5rem); }

/* =========================================================
   Prestations : onglets illustrés
   ========================================================= */
.svc { display: grid; grid-template-columns: minmax(15rem, 22rem) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; gap: .85rem;
  padding: 1.05rem .5rem 1.05rem .25rem; font: 500 1.08rem/1.3 var(--head); color: var(--stone); position: relative;
}
.svc-list button svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--line); transition: color .15s; }
.svc-list button:hover { color: var(--char); }
.svc-list button:hover svg { color: var(--green); }
.svc-list button[aria-selected="true"] { color: var(--char); font-weight: 700; }
.svc-list button[aria-selected="true"] svg { color: var(--green); }
.svc-list button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 9px, transparent 9px 16px);
}
.svc-list button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.svc-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.75rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; }
.svc-text { padding: 1.75rem 1.75rem 1.75rem 0; }
.svc-text h3 { font: 700 var(--step-2)/1.2 var(--head); margin-bottom: .5rem; }
.svc-text h3 a { color: var(--char); text-decoration: none; }
.svc-text h3 a:hover { color: var(--green-ink); }
.svc-text > p { color: var(--stone); }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; font: 500 .95rem var(--head); }
/* Sans JavaScript : toutes les prestations les unes sous les autres */
.svc-panels { display: grid; gap: 1.25rem; }
html:not(.js) .svc { grid-template-columns: 1fr; }
html:not(.js) .svc-list { display: none; }
.js .svc-panel:not(.is-active) { display: none; }
@media (max-width: 1080px) { .svc-panel { grid-template-columns: 1fr; gap: 0; } .svc-photo img { min-height: 0; aspect-ratio: 16 / 9; } .svc-text { padding: 1.4rem 1.5rem 1.6rem; } }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .svc-list { display: flex; gap: .5rem; overflow-x: auto; border: 0; padding-bottom: .4rem; scrollbar-width: thin; }
  .svc-list li { border: 0; flex: none; }
  .svc-list button { padding: .6rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .95rem; gap: .5rem; background: var(--white); }
  .svc-list button svg { width: 1.2rem; height: 1.2rem; }
  .svc-list button[aria-selected="true"] { border-color: var(--char); background: var(--char); color: var(--white); }
  .svc-list button[aria-selected="true"]::after { display: none; }
}

/* =========================================================
   Bande panoramique
   ========================================================= */
.panorama { position: relative; color: var(--white); background: var(--char); min-height: clamp(22rem, 55vw, 36rem); display: flex; align-items: flex-end; overflow: hidden; }
.panorama .panorama-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,18,.85) 0%, rgba(20,20,18,.25) 55%, rgba(20,20,18,0) 100%); }
.panorama .wrap { position: relative; z-index: 1; width: 100%; padding-top: 3rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.panorama-text { font: 700 var(--step-4)/1.05 var(--head); letter-spacing: -.02em; max-width: 12em; margin: 0 0 1rem; }
.panorama-text::after { content: ""; display: block; margin-top: 1rem; height: 2px; width: min(20rem, 70%); background: repeating-linear-gradient(90deg, var(--green) 0 9px, transparent 9px 16px); }
.panorama-sub { max-width: 34em; color: rgba(255,255,255,.88); margin: 0; }
.panorama-sub a { color: var(--green); }

/* Logo horizontal (badge + nom) */
.brand img { height: 60px; width: auto; }
.footer-brand img { width: 260px; height: auto; }
@media (max-width: 1280px) and (min-width: 1181px) { .brand img { height: 52px; } }
@media (max-width: 700px) { .brand img { height: 44px; } .footer-brand img { width: 220px; } }

/* =========================================================
   Typographies du logo : Amatic SC (menu), Quicksand (titres), Inter (texte)
   ========================================================= */
h1, h2, h3 { letter-spacing: -.005em; }
h1 { font-weight: 700; }
h3 { font-weight: 700; }
.nav a:not(.btn) { font: 700 1.55rem/1 var(--hand); letter-spacing: .02em; padding: .45rem .6rem; }
.nav .btn { font-family: var(--head); }
@media (max-width: 1180px) { .nav a:not(.btn) { font-size: 1.9rem; padding: .7rem .3rem; } }
.lead { font-weight: 400; }

/* Accents manuscrits (Amatic SC) */
.panorama-text { font: 700 clamp(3rem, 2rem + 5vw, 5.5rem)/.95 var(--hand); letter-spacing: .01em; }
.gallery figcaption { font: 700 1.45rem/1.05 var(--hand); letter-spacing: .02em; padding-bottom: .55rem; }
.founder figcaption { font: 700 1.35rem/1.2 var(--hand); color: var(--stone); }
.reviews-score .muted { font: 700 1.5rem var(--hand); }

/* =========================================================
   Calculateur de crédit d'impôt
   ========================================================= */
.tax { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .tax { grid-template-columns: 1fr; } }
.tax h2 { font-size: var(--step-3); margin-bottom: .8rem; }
.tax-intro > p:not(.tax-hand):not(.tax-links) { color: rgba(255,255,255,.8); max-width: 34em; }
.tax-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; font: 600 .95rem var(--ui); }

.calc { border-radius: var(--r); padding: clamp(1.25rem, 3vw, 1.9rem); background: var(--white); color: var(--char); border: 1px solid var(--line); }
.calc--dark { background: var(--char-2); color: var(--white); border-color: rgba(255,255,255,.12); }
.calc-label { display: block; font: 700 1.05rem var(--head); margin-bottom: .6rem; }
.calc-amount { display: flex; align-items: baseline; gap: .35rem; border-bottom: 2px dashed var(--green); padding-bottom: .2rem; margin-bottom: 1rem; }
.calc-amount input { all: unset; width: 4.2ch; min-width: 1.5ch; max-width: 100%; font: 700 clamp(2.4rem, 6vw, 3.2rem)/1.1 var(--head); color: inherit; font-variant-numeric: tabular-nums; }
.calc-amount input::-webkit-inner-spin-button, .calc-amount input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-amount input:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.calc-amount span { font: 700 clamp(2rem, 5vw, 2.6rem) var(--head); opacity: .6; }
.calc-amount { cursor: text; }
.calc-range { width: 100%; accent-color: var(--green); height: 1.5rem; margin: 0; cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font: 400 .8rem var(--ui); opacity: .6; margin-top: .15rem; }
.calc-result { margin-top: 1.4rem; border-top: 1px solid currentColor; border-top-color: rgba(127,127,127,.3); padding-top: 1rem; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 .45rem; font: 400 1rem var(--ui); }
.calc-line strong { font: 700 1.3rem var(--head); color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc:not(.calc--dark) .calc-line strong { color: var(--green-ink); }
.calc-line--total { margin-top: .6rem; }
.calc-line--total span { font-weight: 600; }
.calc-line--total strong { font-size: clamp(2rem, 5vw, 2.6rem); color: inherit !important; }
.calc-per-month { text-align: right; margin: 0; font: 700 1.5rem/1 var(--hand); color: var(--green); }
.calc:not(.calc--dark) .calc-per-month { color: var(--green-ink); }
.calc-note { font: 400 .82rem/1.5 var(--ui); opacity: .7; margin: 1.1rem 0 0; }
.calc-capped .calc-credit::after { content: " (plafond)"; font: 400 .8rem var(--ui); opacity: .8; }
.aside-card--calc .calc { padding: 1rem 0 0; border: 0; }
.aside-card--calc .calc-amount input { font-size: 2.2rem; }

/* =========================================================
   Carte dessinée de la zone d'intervention
   ========================================================= */
.carte { width: 100%; height: auto; display: block; border-radius: var(--r); border: 1px solid var(--line); background: #f4f1e6; }
.carte .paper { fill: #f4f1e6; }
.carte .hill { fill: none; stroke: #b9b39c; stroke-width: 2; stroke-linecap: round; }
.carte .region { font: 700 44px var(--hand); fill: #a6a08a; letter-spacing: .04em; opacity: .75; }
.carte .zone-line { fill: none; stroke: var(--green-ink); stroke-width: 3; stroke-dasharray: 14 11; stroke-linecap: round; }
.carte .zone-label { font: 700 30px var(--hand); fill: var(--green-ink); }
.carte .river { fill: none; stroke: #7fb3c4; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.carte .river--main { stroke-width: 11; stroke: #6aa7bb; }
.carte .river-label { font: 700 34px var(--hand); fill: #3f7f94; letter-spacing: .05em; }
.carte .river-label--small { font-size: 26px; }
.carte .towns circle { fill: var(--white); stroke: var(--char); stroke-width: 2.5; }
.carte .towns text { font: 600 23px var(--head); fill: var(--char); paint-order: stroke; stroke: #f4f1e6; stroke-width: 6px; stroke-linejoin: round; }
.carte .t-more circle { stroke: var(--stone); stroke-width: 2; }
.carte .t-more text { font-weight: 500; font-size: 19px; fill: var(--stone); }
.carte .base circle { fill: var(--green); stroke: var(--char); stroke-width: 2.5; }
.carte .base text { font: 700 24px var(--hand); fill: var(--green-ink); }
.carte .hub circle { fill: var(--char); stroke: var(--green); stroke-width: 5; }
.carte .hub .hub-dot { fill: var(--green); stroke: none; }
.carte .hub text { font: 700 34px var(--head); fill: var(--char); paint-order: stroke; stroke: #f4f1e6; stroke-width: 8px; stroke-linejoin: round; }
.carte .compass path { fill: var(--char); }
.carte .compass text { font: 700 22px var(--head); fill: var(--char); }
.carte .away text { font: 700 26px var(--hand); fill: #8b8672; }
.carte-wrap { margin: 0; }
.carte-wrap figcaption { font: 700 1.35rem/1.2 var(--hand); color: var(--stone); margin-top: .5rem; }
.carte-wrap--page { max-width: 46rem; margin: 0 0 2.5rem; }
@media (max-width: 600px) {
  .carte .towns text, .carte .region, .carte .away { display: none; }
  .carte .t-key text { display: inline; font-size: 34px; stroke-width: 9px; }
  .carte .hub text { font-size: 44px; }
  .carte .zone-label, .carte .base text { font-size: 38px; }
  .carte .river-label { font-size: 44px; }
  .carte .towns circle { r: 7; }
}

/* =========================================================
   Ce mois-ci au jardin
   ========================================================= */
.saison { display: grid; grid-template-columns: 1.2fr minmax(16rem, 22rem); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .saison { grid-template-columns: 1fr; } }
.saison .section-head { margin-bottom: 1.25rem; }
.mois-panel .hand { font: 700 2.6rem/1 var(--hand); color: var(--green-ink); margin: 0 0 .5rem; transform: rotate(-2deg); transform-origin: left; }
.mois-panel .intro { color: var(--stone); font-size: 1.12rem; max-width: 36em; margin: 0 0 1.5rem; }
.js .mois-panel:not(.is-active) { display: none; }
html:not(.js) .mois-panel:not([data-default]) { display: none; }
html:not(.js) .carnet { display: none; }
.tasks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.task { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.task svg { width: 2.6rem; height: 2.6rem; color: var(--green-ink); background: #e1f3e3; border-radius: 50%; padding: .55rem; }
.task h4 { font: 700 1.08rem/1.3 var(--head); margin: 0 0 .2rem; }
.task p { margin: 0; color: var(--stone); font-size: .97rem; }
.task .tag { margin-top: .45rem; }
.dicton { margin: 0 0 1.5rem; font: 700 1.6rem/1.2 var(--hand); color: var(--stone); }
.mois-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; font: 600 .95rem var(--ui); }
.carnet { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; position: sticky; top: 6rem; }
.carnet-title { font: 700 1.9rem/1 var(--hand); margin: 0 0 1.1rem; }
.months { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
@media (max-width: 900px) { .carnet { position: static; } .months { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 440px) { .months { grid-template-columns: repeat(4, 1fr); } }
.months button { all: unset; box-sizing: border-box; width: 100%; text-align: center; cursor: pointer; padding: .55rem .2rem; border-radius: 8px; border: 1.5px solid var(--line); font: 600 .88rem var(--head); color: var(--stone); position: relative; }
.months button:hover { border-color: var(--green); color: var(--char); }
.months button[aria-selected="true"] { background: var(--char); color: var(--white); border-color: var(--char); }
.months button.is-now::after { content: "maintenant"; position: absolute; left: 50%; top: -.75rem; transform: translateX(-50%) rotate(-3deg); font: 700 .95rem var(--hand); color: var(--green-ink); background: var(--white); padding: 0 .2rem; white-space: nowrap; }
.months button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.carnet-foot { margin: 1.1rem 0 0; font: 400 .84rem var(--ui); color: var(--stone); }

/* =========================================================
   FINITIONS : profondeur, matière, mouvement
   ========================================================= */
:root {
  --shadow-1: 0 1px 2px rgba(29,29,27,.05), 0 6px 18px -6px rgba(29,29,27,.12);
  --shadow-2: 0 2px 4px rgba(29,29,27,.06), 0 18px 40px -12px rgba(29,29,27,.25);
  --ease: cubic-bezier(.2,.7,.2,1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--green); color: var(--char); }

/* Matière : grain léger sur les fonds unis */
.section--mist, .section--char, .site-footer, .cta-band { position: relative; isolation: isolate; }
.section--mist::before, .section--char::before, .site-footer::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); opacity: .22; mix-blend-mode: multiply;
}
.section--char::before, .site-footer::before { opacity: .35; mix-blend-mode: soft-light; }

/* Profondeur : ombres douces au lieu des bordures plates */
.svc-panel, .review, .task, .carnet, .calc, .aside-card, .quick-form, .reviews-empty, .card, .carte { border-color: transparent; box-shadow: var(--shadow-1); }
.calc--dark { box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); border-color: rgba(255,255,255,.08); }
.task, .review { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.task:hover, .review:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* Boutons : relief au survol, retour au clic */
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn--green, .btn--char { box-shadow: 0 6px 16px -8px rgba(29,29,27,.5); }
.btn:hover { transform: translateY(-2px); }
.btn--green:hover { box-shadow: 0 12px 24px -10px rgba(57,181,74,.75); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: rotate(-12deg); }

/* Liens du menu : soulignement en pointillés qui se trace */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .15rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 7px, transparent 7px 12px);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:not(.btn):hover { color: var(--white); }
@media (max-width: 1180px) { .nav a:not(.btn)::after { display: none; } }

/* En-tête qui se resserre au défilement */
.site-header { transition: box-shadow .3s, background-color .3s; }
.site-header .wrap { transition: min-height .3s var(--ease); }
.brand img { transition: height .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.55); background: rgba(29,29,27,.96); backdrop-filter: blur(6px); }
.site-header.is-scrolled .wrap { min-height: 3.9rem; }
@media (min-width: 701px) { .site-header.is-scrolled .brand img { height: 50px; } }

/* Le trait de coupe : les ciseaux tracent la ligne */
@property --cut { syntax: "<number>"; inherits: false; initial-value: 1; }
.section-head h2::after, .cut-line {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339b54a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/svg%3E") calc(var(--cut) * 100%) center / 18px 18px no-repeat,
    repeating-linear-gradient(90deg, var(--green) 0 9px, transparent 9px 16px) left center / calc((100% - 18px) * var(--cut)) 2px no-repeat;
  transition: --cut 1.3s var(--ease);
}
.section--char .section-head h2::after { filter: brightness(1.1); }
.js .section-head h2:not(.is-cut)::after { --cut: 0; }
.hero-cut {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339b54a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/svg%3E") calc(var(--cut) * 94%) center / 20px 20px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 9px, transparent 9px 16px) left center / calc(94% * var(--cut)) 2px no-repeat;
  animation: cut-hero 2.2s .7s var(--ease) both;
}
@keyframes cut-hero { from { --cut: 0; } to { --cut: 1; } }

/* Entrée de la page d'accueil : un seul mouvement orchestré */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero img.hero-bg { animation: settle 2.6s var(--ease) both; }
.hero .wrap > * { animation: rise .9s var(--ease) both; }
.hero .wrap > :nth-child(1) { animation-delay: .1s; }
.hero .wrap > :nth-child(2) { animation-delay: .2s; }
.hero .wrap > :nth-child(3) { animation-delay: .32s; }
.hero .wrap > :nth-child(4) { animation-delay: .44s; }
.hero .wrap > :nth-child(5) { animation-delay: .56s; }

/* Photos : apparition douce et survol */
.js img.fade { opacity: 0; transition: opacity .6s var(--ease); }
.js img.fade.is-loaded { opacity: 1; }
.gallery figure { cursor: zoom-in; }
.gallery img, .svc-photo img, .photos img { transition: transform 2.2s cubic-bezier(.22,.61,.36,1), opacity .6s var(--ease), filter 2.2s cubic-bezier(.22,.61,.36,1); backface-visibility: hidden; transform: translateZ(0); }
.gallery figure:hover img { transform: translateZ(0) scale(1.012); filter: brightness(1.03); }
.gallery figcaption { transition: padding-bottom .9s cubic-bezier(.22,.61,.36,1); }
.gallery figure:hover figcaption { padding-bottom: .75rem; }
.gallery figure:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.svc-panel:hover .svc-photo img { transform: translateZ(0) scale(1.008); }
.svc-photo { overflow: hidden; }

/* Changement d'onglet : fondu */
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.js .svc-panel.is-active, .js .mois-panel.is-active { animation: swap .45s var(--ease); }

/* Calculateur : le montant réagit */
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.calc-net { display: inline-block; transform-origin: right center; }
.calc-net.bump { animation: bump .35s var(--ease); }
.calc-range::-webkit-slider-thumb { transition: transform .15s; }
.calc-range:active::-webkit-slider-thumb { transform: scale(1.25); }

/* Avis : grand guillemet manuscrit */
.review { position: relative; padding-top: 2.4rem; }
.review::before { content: "“"; position: absolute; top: -.35rem; left: 1rem; font: 700 5rem/1 var(--hand); color: var(--green); opacity: .9; }
.review p { quotes: none; }

/* Panorama : léger décalage au défilement */
.panorama .panorama-bg { will-change: transform; transform: scale(1.12); }

/* Pied de page : la ligne de coupe en ouverture */
.site-footer > .wrap { position: relative; }
.site-footer { border-top: 0; }
.site-footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(57,181,74,.6) 0 9px, transparent 9px 16px); }

/* Visionneuse photo */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15,15,14,.92); }
.lightbox[open] { display: grid; place-items: center; animation: swap .3s var(--ease); }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; padding: 3.5rem 1rem 1.5rem; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 78vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lightbox figcaption { color: var(--white); font: 700 1.8rem/1.1 var(--hand); text-align: center; }
.lightbox button { all: unset; cursor: pointer; position: fixed; color: var(--white); width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background-color .2s; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox button:focus-visible { outline: 3px solid var(--green); }
.lightbox button svg { width: 1.5rem; height: 1.5rem; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: fixed; top: 1.6rem; left: 1.4rem; color: rgba(255,255,255,.7); font: 600 .9rem var(--ui); }
@media (max-width: 600px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* Mouvement réduit : tout reste en place */
@media (prefers-reduced-motion: reduce) {
  .hero .wrap > *, .hero img.hero-bg, .hero-cut, .js .svc-panel.is-active, .js .mois-panel.is-active, .lightbox[open] { animation: none !important; }
  .js .section-head h2:not(.is-cut)::after { --cut: 1; }
  .panorama .panorama-bg { transform: none !important; }
  .btn:hover, .task:hover, .review:hover { transform: none; }
}

/* =========================================================
   Devis : distinguer choix unique (rond) et choix multiples (case)
   ========================================================= */
.multi-hint { display: inline-flex; align-items: center; gap: .35rem; margin-left: .6rem; font: 600 .78rem var(--ui); color: var(--green-ink); background: #e1f3e3; padding: .12rem .55rem; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.multi-hint::before { content: ""; width: .7rem; height: .7rem; border: 2px solid currentColor; border-radius: 3px; box-sizing: border-box; }
.devis .hint .multi-hint { margin-left: 0; font-size: .85rem; padding: .2rem .7rem; }
@media (max-width: 480px) { .field .multi-hint { display: flex; width: fit-content; margin: .3rem 0 0; } }

.choices--single label, .choices--multi label { position: relative; padding-left: 2.6rem; }
.choices--single label::before, .choices--multi label::before {
  content: ""; position: absolute; left: .95rem; top: 50%; width: 1.15rem; height: 1.15rem; margin-top: -.575rem;
  border: 2px solid #b8c0b2; background: var(--white); box-sizing: border-box; transition: border-color .15s, background-color .15s;
}
.choices--single label::before { border-radius: 50%; }
.choices--multi label::before { border-radius: 4px; }
.choices--single input:checked + label::before { border-color: var(--green-ink); background: radial-gradient(circle, var(--green-ink) 0 40%, var(--white) 46%); }
.choices--multi input:checked + label::before {
  border-color: var(--green-ink); background: var(--green-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.choice:hover input:not(:checked) + label::before { border-color: var(--green); }
/* Grandes cartes de l'étape 1 : la case passe en haut à droite */
.choices--big label { padding-left: 1rem; padding-right: 2.6rem; }
.choices--big label::before { left: auto; right: .9rem; top: .95rem; margin-top: 0; }

/* Prestations : toutes les photos au même format (ordinateur comme mobile).
   Sur ordinateur, les fiches sont superposées dans la même case : elles prennent toutes
   la hauteur de la plus longue, et la photo remplit toujours le même cadre. */
@media (min-width: 1081px) {
  .js .svc-panels { display: grid; }
  .js .svc-panel { grid-area: 1 / 1; display: grid !important; align-items: stretch; }
  .js .svc-panel:not(.is-active) { visibility: hidden; opacity: 0; pointer-events: none; }
  .svc-photo { position: relative; min-height: 24rem; }
  .svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
}
@media (max-width: 1080px) { .svc-photo img { aspect-ratio: 16 / 9; height: auto; } }

/* =========================================================
   Ouverture « écran partagé » (proposition C)
   ========================================================= */
:root { --scissors: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339b54a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/svg%3E");
  --scissors-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339b54a' stroke-width='2' stroke-linecap='round'%3E%3Cg transform='rotate(90 12 12)'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--char); color: var(--white); min-height: min(calc(100svh - 4.5rem), 44rem); isolation: isolate; }
.hero-split::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .35; mix-blend-mode: soft-light; pointer-events: none; }
.hs-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem) max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--wrap)) / 2 + clamp(1rem, 4vw, 2rem))); }
.hero-split h1 { font: 700 clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem)/1.06 var(--head); letter-spacing: -.02em; margin: 0 0 1.1rem; max-width: 13em; }
.hs-hand { display: block; font: 700 clamp(1.8rem, 1.4rem + 1vw, 2.3rem)/1 var(--hand); color: var(--green); letter-spacing: .01em; margin-bottom: .7rem; }
.hs-lead { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 32em; margin: 0 0 1.5rem; }
.hs-svc { list-style: none; padding: 0; margin: 0 0 1.9rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; max-width: 34rem; }
.hs-svc a { display: flex; align-items: center; gap: .65rem; padding: .62rem 0; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); font: 600 1rem/1.25 var(--head); transition: color .2s, padding-left .35s var(--ease), border-color .2s; }
.hs-svc a:hover { color: var(--green); padding-left: .35rem; border-color: rgba(57,181,74,.5); }
.hs-svc svg { width: 1.3rem; height: 1.3rem; color: var(--green); flex: none; }
.hs-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hs-actions .btn--line { color: var(--white); }
.hs-pic { position: relative; overflow: hidden; }
.hs-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; animation: settle 2.6s var(--ease) both; }
.hs-float { position: absolute; z-index: 2; background: var(--white); color: var(--char); text-decoration: none; border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); animation: rise .9s var(--ease) both; }
.hs-float:hover { transform: translateY(-3px); color: var(--char); box-shadow: 0 26px 50px -20px rgba(0,0,0,.7); }
.hs-rating { top: 1.5rem; right: 1.5rem; display: flex; align-items: center; gap: .55rem; padding: .7rem 1rem; font: 600 .92rem var(--ui); animation-delay: .9s; }
.hs-tax { right: 1.5rem; bottom: 1.5rem; max-width: 17.5rem; padding: .95rem 1.15rem; animation-delay: 1.1s; }
.hs-tax b { display: block; font: 700 1.75rem/1 var(--hand); color: var(--green-ink); margin-bottom: .2rem; }
.hs-tax span { font: 400 .88rem/1.45 var(--ui); color: var(--stone); }
.hs-seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 22px; margin-left: -11px; z-index: 3; pointer-events: none;
  background:
    var(--scissors-v) center calc(var(--cut) * 80%) / 22px no-repeat,
    repeating-linear-gradient(180deg, var(--green) 0 10px, transparent 10px 18px) center top / 2px calc(80% * var(--cut)) no-repeat;
  animation: cut-hero 2s .6s var(--ease) both; }
.hs-text > * { animation: rise .9s var(--ease) both; }
.hs-text > :nth-child(1) { animation-delay: .1s; }
.hs-text > :nth-child(2) { animation-delay: .22s; }
.hs-text > :nth-child(3) { animation-delay: .34s; }
.hs-text > :nth-child(4) { animation-delay: .46s; }
@media (max-width: 1100px) and (min-width: 901px) { .hs-svc { grid-template-columns: 1fr; } .hs-svc a { padding: .5rem 0; } }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hs-pic { order: -1; height: clamp(15rem, 55vw, 22rem); }
  .hs-text { padding: 2rem clamp(1rem, 4vw, 2rem) 2.5rem; }
  .hs-seam { left: 0; right: 0; bottom: auto; width: auto; margin: 0; height: 22px; top: calc(clamp(15rem, 55vw, 22rem) - 11px);
    background: var(--scissors) calc(var(--cut) * 92%) center / 22px no-repeat, repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 18px) left center / calc(92% * var(--cut)) 2px no-repeat; }
  .hs-tax { display: none; }
  .hs-rating { top: auto; bottom: 1.4rem; right: 1rem; font-size: .85rem; padding: .55rem .8rem; }
}
@media (max-width: 480px) { .hs-svc { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hs-text > *, .hs-pic > img, .hs-float, .hs-seam { animation: none !important; } .hs-seam { --cut: 1; } }

/* Parallaxe douce sur la photo d'ouverture (déplacement géré par site.js via la propriété translate) */
.hs-pic > img { top: -9%; height: 118%; will-change: translate; }
@media (prefers-reduced-motion: reduce) { .hs-pic > img { top: 0; height: 100%; translate: none !important; } }

/* Devis : suggestions de communes (remplace la liste du navigateur) */
.suggest { position: relative; }
.suggest-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: .35rem; list-style: none; background: var(--white); border-radius: 10px; box-shadow: 0 18px 40px -14px rgba(29,29,27,.35), 0 0 0 1px var(--line); max-height: 15.5rem; overflow-y: auto; animation: swap .2s var(--ease); }
.suggest-list li { padding: .55rem .75rem; border-radius: 7px; font: 400 .97rem var(--ui); color: var(--char); cursor: pointer; display: flex; align-items: center; gap: .55rem; }
.suggest-list li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--line); flex: none; }
.suggest-list li[aria-selected="true"], .suggest-list li:hover { background: #edf8ee; }
.suggest-list li[aria-selected="true"]::before, .suggest-list li:hover::before { background: var(--green); }
.suggest-list mark { background: none; color: inherit; font-weight: 600; }
.suggest-list .suggest-note { cursor: default; color: var(--stone); font-size: .85rem; }
.suggest-list .suggest-note::before { display: none; }
.suggest-list .suggest-note:hover { background: none; }

/* Devis : boutons d'ajout de photo */
.photo-input { display: block; width: 100%; font: 400 .92rem var(--ui); color: var(--stone); }
.photo-input::file-selector-button { font: 600 .9rem var(--head); color: var(--char); background: var(--white); border: 1.5px dashed var(--green-ink); border-radius: 999px; padding: .55rem 1rem; margin-right: .8rem; cursor: pointer; transition: background-color .2s; }
.photo-input::file-selector-button:hover { background: #edf8ee; }

/* Numéro de téléphone (menu) : reste lisible au survol, le combiné « sonne » et un trait se trace */
.header-tel { position: relative; padding: .35rem 0; }
.header-tel:hover, .header-tel:focus-visible { color: var(--white); }
.header-tel::after {
  content: ""; position: absolute; left: 1.55rem; right: 0; bottom: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 7px, transparent 7px 12px);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.header-tel:hover::after, .header-tel:focus-visible::after { transform: scaleX(1); }
.header-tel svg { transform-origin: 50% 60%; }
.header-tel:hover svg { animation: ring .7s var(--ease); }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }

/* Boutons à contour sur fond sombre : le texte reste blanc, le contour passe au vert */
.hs-actions .btn--line:hover, .section--char .btn--line:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: var(--green); }
.hs-actions .btn--line:hover svg { animation: ring .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .header-tel:hover svg, .hs-actions .btn--line:hover svg { animation: none; } }

/* Pastille « Services à la personne » (générique, remplaçable par le logo officiel NOVA) */
.sap-badge { display: inline-flex; align-items: center; gap: .7rem; padding: .45rem 1rem .45rem .45rem; border: 1.5px solid var(--green); border-radius: 999px; background: #fff; color: var(--char); text-decoration: none; margin: 0 0 1rem; max-width: 100%; }
.sap-badge:hover { border-color: var(--green-ink); color: var(--char); }
.sap-badge-ico { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--green); color: #fff; }
.sap-badge-ico svg { width: 1.6rem; height: 1.6rem; }
.sap-badge-txt { display: flex; flex-direction: column; line-height: 1.2; }
.sap-badge-txt b { font: 700 1rem/1.15 var(--ui); letter-spacing: .01em; }
.sap-badge-txt small { font: 400 .78rem/1.3 var(--ui); color: var(--stone); }
.sap-badge--dark { background: transparent; border-color: rgba(57,181,74,.7); color: #fff; }
.sap-badge--dark:hover { color: #fff; border-color: var(--green); }
.sap-badge--dark small { color: rgba(255,255,255,.7); }
.sap-badge--footer { margin-top: 1rem; }
.hs-tax { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.hs-tax-ico { grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--green); color: #fff; }
.hs-tax-ico svg { width: 1.55rem; height: 1.55rem; }
.site-footer .sap-badge { margin-top: 1rem; text-decoration: none; }
.site-footer .sap-badge b { color: #fff; }

/* Galerie alimentée depuis /admin : remplissage automatique des trous */
.gallery { grid-auto-flow: dense; }
.gallery figcaption small { display: block; font: 500 .8rem/1.2 var(--ui); letter-spacing: .02em; opacity: .85; margin-top: .15rem; }
