/* Polices hébergées localement (aucune requête vers Google) – licence SIL Open Font License */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/fraunces-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
}

:root {
  --green-900: #1f3a1d;
  --green-700: #2f5d2b;
  --green-500: #3f7d3a;
  --green-300: #8fbf6a;
  --sand-100: #f7f3ea;
  --sand-200: #efe6d3;
  --earth: #b8862f;
  --ink: #1d2219;
  --muted: #5d6656;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 58, 29, .12);
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }

h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--green-500); margin: 0 0 .6em; }
.eyebrow-light { color: var(--green-300); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--green-500); color: #fff; text-decoration: none; font-weight: 600; padding: .9em 1.5em; border-radius: 999px; border: 2px solid var(--green-500); cursor: pointer; font: 600 1rem var(--font-body); transition: background .2s, transform .2s; }
.btn:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.btn-full { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid #e8eee4; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-leaf { width: 34px; height: 34px; }
.brand-leaf path { fill: var(--green-500); }
.brand-leaf .vein { fill: none; stroke: #fff; stroke-width: 1.6; }
.brand-text { font-family: var(--font-title); font-weight: 700; color: var(--green-900); font-size: 1.15rem; line-height: 1.05; }
.brand-text small { display: block; font-size: .72rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--earth); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--green-500); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-900); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,38,18,.85) 0%, rgba(20,38,18,.55) 50%, rgba(20,38,18,.15) 100%); }
.hero-content { position: relative; padding-block: 80px; }
.hero .eyebrow { color: var(--green-300); }
.hero h1 { max-width: 14ch; }
.lead { font-size: 1.15rem; max-width: 46ch; color: #eef3ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.4rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; color: #dfe9d8; font-size: .95rem; }
.hero-facts strong { display: block; font-family: var(--font-title); font-size: 1.5rem; color: #fff; }

/* Sections */
.section { padding-block: clamp(60px, 9vw, 110px); }
.section-alt { background: var(--sand-100); }
.section-green { background: var(--green-900); color: #e6efe0; }
.section-green h2 { color: #fff; }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 2rem; }
.service { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.service:hover { transform: translateY(-4px); }
.service img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-body { padding: 18px 20px 22px; }
.service-body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Before / after */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 2rem; }
.before-after figure { margin: 0; }
.before-after img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.before-after figcaption { margin-top: .7rem; color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .25em .7em; border-radius: 999px; margin-right: .4em; }
.tag-before { background: #e9dcc4; color: #6b4e17; }
.tag-after { background: var(--green-500); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.g-item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--sand-200); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.06); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.checks li { padding-left: 1.9rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--green-500); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 700; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 2rem; }
.review { margin: 0; background: var(--sand-100); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--green-500); }
.review p { font-family: var(--font-title); font-size: 1.2rem; color: var(--green-900); margin: .5rem 0 1rem; }
.review cite { font-style: normal; font-weight: 600; color: var(--muted); }
.stars { color: var(--earth); letter-spacing: .15em; }

/* Zone */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.towns { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .35em .9em; font-size: .92rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-line { display: flex; align-items: center; gap: .8rem; font-size: 1.1rem; font-weight: 500; text-decoration: none; color: var(--ink); margin: .9rem 0; }
.contact-line span { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sand-100); display: grid; place-items: center; flex-shrink: 0; }
a.contact-line:hover { color: var(--green-500); }
.contact-form { background: var(--sand-100); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); display: grid; gap: 14px; }
.contact-form h3 { margin-bottom: .2rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: .75em .9em; border: 1px solid #d9d2c1; border-radius: 10px; background: #fff; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green-300); border-color: var(--green-500); }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }

/* Footer */
.site-footer { background: #142612; color: #b9c8b1; padding-block: 36px 90px; font-size: .92rem; text-align: center; }
.site-footer a { color: #dfeccf; }
.footer-inner p { margin: .35rem 0; }
.copy { opacity: .7; }

/* Floating call button (mobile) */
.call-fab { display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--green-500); color: #fff; padding: .85em 1.3em; border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,15,9,.94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 2.2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* Responsive */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .about, .zone, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid #e8eee4; box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #f0f0ec; }
  .nav .btn { margin-top: 14px; }
  .call-fab { display: inline-flex; }
  .before-after { gap: 12px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .g-wide { grid-column: span 2; }
}
@media (max-width: 420px) {
  .gallery { grid-auto-rows: 140px; }
  .hero-facts { gap: 1rem 1.6rem; }
}

/* Page mentions légales */
.legal { max-width: 760px; padding-block: 60px; }
.legal h1 { color: var(--green-900); }
.legal h1.legal-section { margin-top: 3.5rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
/* Informations à compléter avant la mise en ligne */
.legal .todo { background: #fff3cd; color: #7a4b00; padding: 0 .3em; border-radius: 3px; font-weight: 600; }
.legal .updated { color: var(--muted); font-size: .9rem; }
