/* ==========================================================================
   Dawson Meinder Paysagiste — Éditorial Luberon
   Palette : vert forêt #24402F · sauge #8FA98E · crème #FAF7F0 · terracotta #C4622D
   Typo : Archivo (titres) + Figtree (corps), auto-hébergées
   ========================================================================== */

:root {
  --foret: #24402F;
  --foret-fonce: #1A2F22;
  --sauge: #8FA98E;
  --sauge-clair: #E4EBE2;
  --creme: #FAF7F0;
  --creme-fonce: #F1EBDF;
  --terracotta: #C4622D;
  --terracotta-fonce: #A34E20;
  --encre: #1A231C;
  --encre-doux: #45514A;
  --blanc: #FFFFFF;
  --ft: 'Archivo', 'Arial Black', sans-serif;
  --fc: 'Figtree', 'Figtree-fallback', -apple-system, sans-serif;
  --radius: 1.25rem;
  --radius-sm: .75rem;
  --shadow-soft: 0 18px 45px rgba(26, 35, 28, .08);
  --shadow-hover: 0 24px 60px rgba(26, 35, 28, .13);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fc);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--creme);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--foret); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--terracotta); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--ft); font-weight: 700; line-height: 1.15; color: var(--foret); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .75em; }
h3 { font-size: 1.25rem; margin-bottom: .5em; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(196, 98, 45, .09);
  border: 1px solid rgba(196, 98, 45, .22);
  border-radius: 999px;
  padding: .35em 1em;
  margin-bottom: 1.1em;
}
.on-dark .eyebrow { color: var(--sauge-clair); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--fc);
  font-weight: 600;
  font-size: 1rem;
  padding: .85em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--terracotta); color: var(--blanc); box-shadow: 0 10px 26px rgba(196, 98, 45, .28); }
.btn-primary:hover { background: var(--terracotta-fonce); color: var(--blanc); transform: translateY(-2px); }

.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--blanc); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--blanc); }

.btn-ghost-dark { border-color: var(--foret); color: var(--foret); }
.btn-ghost-dark:hover { background: var(--foret); color: var(--creme); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 247, 240, .96);
  box-shadow: 0 1px 0 rgba(26,35,28,.07);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-logo { display: block; height: 50px; width: auto; }
.brand-logo-dark { display: none; }
.scrolled .brand-logo-light, .header-solid .brand-logo-light { display: none; }
.scrolled .brand-logo-dark, .header-solid .brand-logo-dark { display: block; }
.brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); transition: color .3s; margin-top: 2px; }
.scrolled .brand-sub, .header-solid .brand-sub { color: var(--encre-doux); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.92);
  padding: .55em 1em;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-links > li > a:hover { background: rgba(255,255,255,.12); color: var(--blanc); }
.scrolled .nav-links > li > a, .header-solid .nav-links > li > a { color: var(--encre); }
.scrolled .nav-links > li > a:hover, .header-solid .nav-links > li > a:hover { background: var(--sauge-clair); color: var(--foret); }
.nav-links .nav-cta { margin-left: 10px; }
.nav-links svg.chev { width: 14px; height: 14px; opacity: .7; }
.nav-home { padding-left: .85em; padding-right: .85em; }
.nav-home svg.nav-home-ico { width: 18px; height: 18px; }
.nav-home-txt { display: none; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  background: var(--blanc);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  list-style: none;
}
.nav-links li:hover > .dropdown,
.nav-links li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: .55em .9em;
  border-radius: .5rem;
  font-size: .93rem;
  color: var(--encre);
}
.dropdown a:hover { background: var(--sauge-clair); color: var(--foret); }
.dropdown .dd-sep {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--encre-doux);
  padding: .8em .9em .3em;
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 220;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanc);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.scrolled .burger span, .header-solid .burger span, .nav-open .burger span { background: var(--foret); }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero accueil
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--blanc);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 22s var(--ease) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,47,34,.88) 0%, rgba(26,47,34,.55) 45%, rgba(26,47,34,.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 140px 0 90px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 900;
  color: var(--blanc);
  margin-bottom: .4em;
}
.hero h1 em { font-style: normal; color: #D9E5D4; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.88); margin-bottom: 2em; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 3em; }
.hero-badges span { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero-badges svg { width: 17px; height: 17px; color: #B9CDB2; }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }

/* Hero pages internes */
.hero-inner {
  position: relative;
  min-height: clamp(380px, 52vh, 520px);
  display: flex;
  align-items: flex-end;
  color: var(--blanc);
  overflow: hidden;
}
.hero-inner .hero-bg { animation-duration: 26s; }
.hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(10deg, rgba(26,47,34,.9) 8%, rgba(26,47,34,.45) 55%, rgba(26,47,34,.3) 100%);
}
.hero-inner-content { position: relative; z-index: 2; width: 100%; padding: 150px 0 46px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: .9em; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--blanc); text-decoration: underline; }
.hero-inner h1 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--blanc); max-width: 820px; }
.hero-inner-sub { margin-top: .7em; max-width: 640px; color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-dark { background: var(--foret); color: var(--creme); }
.section-dark h2, .section-dark h3 { color: var(--creme); }
.section-dark p { color: rgba(250,247,240,.82); }
.section-tinted { background: var(--creme-fonce); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--encre-doux); }

/* Cards services */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.card {
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sauge-clair);
  color: var(--foret);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-body p { font-size: .95rem; color: var(--encre-doux); flex: 1; }
.card-link { font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .45em; }
.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Bandeau statement / photo + texte */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split .lead { font-size: 1.15rem; color: var(--encre-doux); margin-bottom: 1.2em; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 26px; }
.step-num { font-family: var(--ft); font-weight: 900; font-size: 2.4rem; color: var(--sauge); line-height: 1; margin-bottom: .4em; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .92rem; }

/* Tags villes */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-link {
  display: inline-block;
  font-size: .9rem;
  font-weight: 500;
  padding: .5em 1.1em;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--creme);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.tag-link:hover { background: rgba(255,255,255,.18); color: var(--blanc); transform: translateY(-2px); }
.on-light .tag-link { background: var(--sauge-clair); border-color: transparent; color: var(--foret); }
.on-light .tag-link:hover { background: var(--foret); color: var(--creme); }

/* CTA final */
.cta-section { text-align: center; }
.cta-section .container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-section h2 { max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }

/* --------------------------------------------------------------------------
   Layout pages internes : contenu + aside
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(36px, 4.5vw, 64px);
  align-items: start;
}
.content h2 { margin-top: 1.6em; }
.content h2:first-child { margin-top: 0; }
.content p { margin-bottom: 1.1em; color: var(--encre-doux); }
.content ul { margin: 0 0 1.3em 1.2em; color: var(--encre-doux); }
.content li { margin-bottom: .45em; }
.content li::marker { color: var(--terracotta); }
.content-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); margin: 1.8em 0; }

.content-tip {
  background: var(--sauge-clair);
  border-left: 4px solid var(--foret);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 1.8em 0;
}
.content-tip strong { color: var(--foret); }
.content-tip p { margin: 0; font-size: .95rem; }

.content-zone {
  background: var(--blanc);
  border: 1px solid var(--creme-fonce);
  border-radius: var(--radius);
  padding: 28px;
  margin: 1.8em 0;
  box-shadow: var(--shadow-soft);
}
.content-zone h3 { display: flex; align-items: center; gap: .5em; }
.content-zone h3 svg { width: 20px; height: 20px; color: var(--terracotta); }

/* Aside */
.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.aside-card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.aside-card.dark { background: var(--foret); color: var(--creme); }
.aside-card.dark h3 { color: var(--creme); }
.aside-card.dark p { color: rgba(250,247,240,.8); font-size: .93rem; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 14px; }
.aside-services { list-style: none; }
.aside-services li { border-bottom: 1px solid var(--creme-fonce); }
.aside-services li:last-child { border-bottom: 0; }
.aside-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: .7em 2px;
  font-size: .93rem;
  font-weight: 500;
  transition: padding .3s var(--ease), color .3s;
}
.aside-services a:hover { padding-left: 8px; }
.aside-services a svg { width: 14px; height: 14px; opacity: .5; flex: none; }
.aside-services .current-page a { color: var(--terracotta); font-weight: 700; }
.aside-zone p { font-size: .9rem; color: var(--encre-doux); margin-top: 8px; }

/* Related */
.related { margin-top: clamp(50px, 7vw, 80px); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }

/* --------------------------------------------------------------------------
   Formulaire contact
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4em; color: var(--foret); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .8em 1em;
  border: 1.5px solid var(--creme-fonce);
  border-radius: var(--radius-sm);
  background: var(--blanc);
  color: var(--encre);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--foret);
  box-shadow: 0 0 0 3px rgba(36, 64, 47, .12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--encre-doux); }
.form-error { color: #B3261E; font-size: .9rem; font-weight: 600; display: none; }
.form-error.visible { display: block; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--encre-doux); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--foret-fonce); color: rgba(250,247,240,.78); font-size: .93rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: clamp(50px, 7vw, 80px) 0 40px;
}
.footer-logo { display: block; height: 52px; width: auto; }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.site-footer h4 { font-family: var(--fc); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sauge); margin-bottom: 1.1em; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: rgba(250,247,240,.78); }
.site-footer a:hover { color: var(--creme); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(250,247,240,.55);
}
.footer-bottom a { color: rgba(250,247,240,.7); }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 210;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    background: var(--creme);
    padding: 90px 30px 40px;
    overflow-y: auto;
    display: none;
  }
  .nav-open .nav-links { display: flex; animation: navSlideIn .45s var(--ease); }
  @keyframes navSlideIn { from { transform: translateX(8%); opacity: 0; } to { transform: none; opacity: 1; } }
  .nav-links > li > a { color: var(--foret); font-size: 1.25rem; font-family: var(--ft); font-weight: 600; padding: .5em 0; border-radius: 0; white-space: normal; }
  .nav-home svg.nav-home-ico { width: 22px; height: 22px; }
  .nav-home-txt { display: inline; }
  .nav-links .nav-cta { margin: 18px 0 0; }
  .nav-links .nav-cta > a.btn { color: var(--blanc); font-family: var(--fc); font-size: 1.05rem; padding: .85em 1.7em; border-radius: 999px; }
  .nav-open { overflow: hidden; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 10px 18px;
    min-width: 0;
    display: none;
  }
  .nav-links li.open .dropdown { display: block; }
  .dropdown a { font-size: 1rem; padding: .45em 0; }
  .split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Dropdown : icônes de services */
.dropdown a { display: flex; align-items: center; gap: .65em; }
.dropdown svg.dd-ico { width: 16px; height: 16px; color: var(--sauge); flex: none; }
.dropdown a:hover svg.dd-ico { color: var(--foret); }

/* FAQ, accordéons visibles + FAQPage */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 1.2em 0 1.8em; }
.faq-item {
  background: var(--blanc);
  border: 1px solid var(--creme-fonce);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--foret);
  padding: 16px 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item svg.faq-chev { width: 18px; height: 18px; flex: none; color: var(--sauge); transition: transform .3s var(--ease); }
.faq-item[open] svg.faq-chev { transform: rotate(180deg); }
.faq-item > p { padding: 0 20px 18px; color: var(--encre-doux); margin: 0; }
