/* James Landscaping — feuille de style principale */
:root {
  --spruce: #173A2B;      /* vert épinette, couleur de marque */
  --spruce-2: #21503C;
  --fern: #3F7D4E;        /* vert fougère */
  --stone: #DCE0DA;       /* pierre de pavé */
  --stone-2: #EEF1EC;
  --paper: #FAFBF9;
  --ink: #1B1F1D;
  --ink-soft: #4A524D;
  --sun: #E3B23C;         /* jaune soleil, appels à l'action */
  --sun-ink: #2A2206;
  --radius-s: 6px;
  --radius-l: 18px;
  --wrap: 1180px;
  --display: "Raleway", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--fern); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--sun-ink); padding: 8px 14px; z-index: 100; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.muted { color: var(--ink-soft); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: #F0C55A; }
.btn-ghost { border-color: rgba(250,251,249,.7); color: var(--paper); }
.btn-ghost:hover { background: rgba(250,251,249,.12); }
.btn-call { background: var(--spruce); color: var(--paper); padding: .6em 1.1em; }
.btn-call:hover { background: var(--spruce-2); }
.btn-block { width: 100%; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,251,249,.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--stone);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--spruce); }
.brand-mark { width: 34px; height: 34px; color: var(--fern); }
.brand-text { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text span { font-weight: 500; font-size: .8rem; letter-spacing: .02em; color: var(--ink-soft); margin-top: 3px; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: var(--radius-s); }
.nav-list a:hover { background: var(--stone-2); color: var(--spruce); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .btn-call { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 44px; border: 0; background: var(--stone-2); border-radius: var(--radius-s); cursor: pointer; padding: 0 11px;
  }
  .nav-toggle .bar { height: 2px; background: var(--spruce); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--stone); padding: 8px 16px 16px;
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 14px 8px; border-bottom: 1px solid var(--stone-2); }
}

/* Hero */
.hero {
  position: relative; isolation: isolate; color: var(--paper);
  background: var(--spruce);
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,58,43,.25) 0%, rgba(23,58,43,.55) 45%, rgba(16,40,30,.92) 100%);
}
.hero-content { padding-block: 120px 64px; }
.hero-place { font-weight: 700; color: #fff; margin-bottom: .6em; font-size: 1.05rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6.8vw, 5.4rem); font-weight: 900; max-width: 14ch;
  letter-spacing: -.025em; line-height: .98;
}
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 52ch; opacity: .95; margin-top: 1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts {
  list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
  border-top: 1px solid rgba(250,251,249,.25); padding-top: 20px; font-weight: 600;
}
.hero-facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 10px; vertical-align: middle; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.section-green { background: var(--spruce); color: var(--paper); }
.section-green .section-head p { color: rgba(250,251,249,.8); }
.section-stone { background: var(--stone-2); }

/* Services */
.feature-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { display: flex; flex-direction: column; }
.feature-img {
  aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(135deg, var(--fern), var(--spruce));
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 20px 4px 0; }
.feature-body p { color: var(--ink-soft); }

.more-services {
  margin-top: 56px; padding: 32px; border: 2px solid var(--stone); border-radius: var(--radius-l);
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start;
}
.more-services h3 { margin: 0; color: var(--spruce); }
.more-services ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.more-services li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.more-services li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--fern); transform: rotate(45deg); }
.more-services strong { color: var(--ink); }

@media (max-width: 900px) {
  .feature-services { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: 40% 1fr; gap: 18px; align-items: center; }
  .feature-body { padding: 0; }
  .more-services { grid-template-columns: 1fr; padding: 24px; }
  .more-services ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature { grid-template-columns: 1fr; }
}

/* Saisons — l'élément signature */
.seasons { display: grid; grid-template-columns: 260px 1fr; gap: 0; background: var(--spruce-2); border-radius: var(--radius-l); overflow: hidden; }
.season-tabs { display: flex; flex-direction: column; background: rgba(0,0,0,.15); }
.season-tabs button {
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-align: left;
  color: rgba(250,251,249,.6); background: none; border: 0; border-left: 4px solid transparent;
  padding: 22px 28px; cursor: pointer;
}
.season-tabs button:hover { color: var(--paper); }
.season-tabs button[aria-selected="true"] { color: var(--paper); border-left-color: var(--sun); background: var(--spruce-2); }
.season-panel { padding: 36px 44px; }
.season-months { color: var(--sun); font-weight: 700; font-size: 1.1rem; }
.season-panel ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.season-panel li { padding-left: 28px; position: relative; font-size: 1.1rem; }
.season-panel li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--sun); }
.season-tip { background: rgba(227,178,60,.14); border-radius: var(--radius-s); padding: 14px 18px; margin: 0; color: #F6E6BC; }

@media (max-width: 760px) {
  .seasons { grid-template-columns: 1fr; }
  .season-tabs { flex-direction: row; overflow-x: auto; }
  .season-tabs button { font-size: 1.1rem; padding: 16px 18px; border-left: 0; border-bottom: 4px solid transparent; flex: 1; text-align: center; }
  .season-tabs button[aria-selected="true"] { border-bottom-color: var(--sun); }
  .season-panel { padding: 24px 20px; }
}

/* Processus — vraie séquence, donc numérotée */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 28px 0 0; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--stone-2); color: var(--spruce);
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px;
  position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 24px; left: 48px; right: 0; height: 2px; background: var(--stone); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--ink-soft); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 68px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { left: 23px; top: 48px; bottom: -28px; right: auto; width: 2px; height: auto; }
}

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-l); overflow: hidden; background: linear-gradient(135deg, var(--fern), var(--spruce)); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(23,58,43,.85); color: var(--paper); font-weight: 600; font-size: .95rem; padding: 6px 12px; border-radius: 999px; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-tall { grid-row: span 1; }
  .g-wide { grid-column: span 2; }
}

/* Secteur */
.secteur-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.cities { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { background: var(--stone-2); border: 1px solid var(--stone); padding: 6px 14px; border-radius: 999px; font-weight: 600; color: var(--spruce); }
.map { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .secteur-grid { grid-template-columns: 1fr; } }

/* Soumission */
.quote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.quote-intro p { color: rgba(250,251,249,.85); font-size: 1.15rem; }
.contact-list { margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list dt { font-weight: 700; color: var(--sun); }
.contact-list dd { margin: 2px 0 0; }
.contact-list a { color: var(--paper); font-size: 1.4rem; font-weight: 700; font-family: var(--display); }

.quote-form { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); padding: 32px; }
.field { margin: 0 0 18px; border: 0; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--stone); border-radius: var(--radius-s); padding: 11px 12px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fern); outline: none; box-shadow: 0 0 0 3px rgba(63,125,78,.2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border: 2px solid var(--stone); padding: 8px 14px; border-radius: 999px; cursor: pointer; margin: 0; }
.chips label:has(input:checked) { border-color: var(--fern); background: rgba(63,125,78,.1); color: var(--spruce); }
.chips input { accent-color: var(--fern); }
.form-note { font-size: .9rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote-form { padding: 22px; }
}
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Pied de page */
.site-footer { background: #10281E; color: rgba(250,251,249,.8); padding-top: 56px; }
.site-footer a { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--paper); }
.footer-title { font-weight: 700; color: var(--sun); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(250,251,249,.12); margin-top: 40px; padding-block: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-bottom .credit { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom .credit a { display: inline-flex; }
.footer-bottom .credit img { height: 28px; width: auto; display: block; border-radius: 3px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barre d'appel mobile */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.5fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .mobile-bar a { display: grid; place-items: center; height: 60px; font-weight: 700; text-decoration: none; }
  .mb-call { background: var(--spruce); color: var(--paper); }
  .mb-quote { background: var(--sun); color: var(--sun-ink); }
}

/* Page de remerciement / 404 */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.simple-page h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--spruce); }
.simple-page p { color: var(--ink-soft); font-size: 1.15rem; max-width: 48ch; margin-inline: auto; }
.simple-page .btn { margin-top: 16px; }

/* Bouton de langue FR/EN */
.lang-switch {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--spruce);
  border: 2px solid var(--stone); border-radius: 999px;
}
.lang-switch:hover { border-color: var(--fern); background: var(--stone-2); }
@media (max-width: 900px) { .header-inner { gap: 12px; } }

/* Photo de saison */
.season-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 12px; margin-bottom: 24px; background: var(--spruce); }

/* Raleway : titres très gras ; chiffres alignés là où ils doivent être lisibles */
h2 { font-weight: 900; letter-spacing: -.02em; }
h3 { font-weight: 800; }
.btn, .contact-list a, .steps li::before, .footer-brand, .season-tabs button { font-variant-numeric: lining-nums; }
body { font-size: 1rem; }
.form-status { margin: 12px 0 0; text-align: center; font-weight: 600; min-height: 1.4em; }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: #1b6b3a; }
.quote-form button[disabled] { opacity: .65; cursor: wait; }

/* ===== Pages internes (services, secteurs, contact) ===== */
.footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; }
.site-footer .footer-title a { color: var(--sun); text-decoration: none; }
.site-footer .footer-title a:hover { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.feature-body h3 a { color: inherit; text-decoration: none; }
.feature-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.cities a { color: inherit; text-decoration: none; }
.cities li:has(a):hover { border-color: var(--fern); background: #fff; }

.page-hero { background: var(--spruce); color: var(--paper); padding: 56px 0 56px; }
.page-hero h1 { font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 22ch; margin-bottom: .4em; }
.page-lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 60ch; opacity: .95; margin: 0; }
.page-hero .hero-actions { margin-top: 26px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .92rem; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { color: var(--sun); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li[aria-current] { opacity: .85; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; max-width: 68ch; }
.prose h2 { margin-top: 1.6em; color: var(--spruce); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose > h2:first-child, .prose > p:first-child { margin-top: 0; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.check-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--fern); transform: rotate(45deg); }

.faq { display: grid; gap: 10px; margin-top: 12px; }
.faq details { border: 2px solid var(--stone); border-radius: var(--radius-s); background: #fff; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--spruce); }
.faq details[open] { border-color: var(--fern); }
.faq details p { margin: 0 0 16px; }

.side { display: grid; gap: 20px; position: sticky; top: 96px; }
.side-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); background: linear-gradient(135deg, var(--fern), var(--spruce)); }
.side-card { background: var(--stone-2); border: 1px solid var(--stone); border-radius: var(--radius-l); padding: 24px; }
.side-card h3 { color: var(--spruce); margin-bottom: .4em; }
.side-card p { color: var(--ink-soft); margin-top: 0; }
.side-tel { text-align: center; margin: 14px 0 0; }
.side-tel a { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--spruce); text-decoration: none; }
.side-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-links a { font-weight: 600; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; gap: 32px; } .side { position: static; } }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden; background: linear-gradient(135deg, var(--fern), var(--spruce)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 4px 0; }
.card-body h2 { font-size: 1.5rem; margin-bottom: .3em; }
.card-body h2 a { color: var(--spruce); text-decoration: none; }
.card-body h2 a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.card-body p { color: var(--ink-soft); }
.card-more { font-weight: 700; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0; }
.mini-card { border: 2px solid var(--stone); border-radius: var(--radius-l); padding: 24px; background: #fff; }
.mini-card h2, .mini-card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.mini-card a { color: var(--spruce); text-decoration: none; }
.mini-card a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.mini-card p { color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) { .mini-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--spruce-2); color: var(--paper); padding: 48px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { margin: 0 0 .2em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-inner p { margin: 0; opacity: .9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
