/* ==========================================================================
   Nath'ure & Sens — nathure-et-sens.be
   Palette issue de l'identité visuelle (logo & carte) :
   brun écorce #70594C · brun profond #463930 · sauge #86A77B · mousse #4E6845
   ========================================================================== */

:root {
  --paper: #FBFAF6;
  --paper-sage: #EFF2E8;
  --white: #FFFFFF;
  --cream: #F3F0E9;

  --ink: #3A342C;
  --ink-soft: #6E6558;

  --bark: #70594C;
  --bark-deep: #463930;
  --leaf: #A08774;

  --sage: #86A77B;
  --sage-pale: #D8E0CC;
  --moss: #4E6845;
  --moss-deep: #3B5234;

  --line: #E3DFD3;

  --ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-script: "Great Vibes", "Brush Script MT", cursive;

  --wrap: 71rem;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 1.0325rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--bark-deep);
  line-height: 1.12;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--moss-deep); }

::selection { background: var(--sage-pale); color: var(--bark-deep); }

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--bark-deep); color: var(--cream);
  padding: 0.6em 1.2em; border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--cream); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Typographie utilitaire ---------- */

.kicker {
  display: block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1.1rem;
}

.script {
  font-family: var(--ff-script);
  font-weight: 400;
  color: var(--moss);
  line-height: 1.2;
}

.lead {
  font-size: 1.13rem;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 62ch;
}

.note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

em { font-style: italic; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.78em 1.7em;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid { background: var(--moss); color: #fff; border: 1px solid var(--moss); }
.btn-solid:hover { background: var(--moss-deep); border-color: var(--moss-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--bark-deep); border: 1px solid var(--bark); }
.btn-ghost:hover { background: var(--white); color: var(--bark-deep); }

.btn-cream { background: var(--cream); color: var(--bark-deep); border: 1px solid var(--cream); }
.btn-cream:hover { background: #fff; border-color: #fff; color: var(--bark-deep); }

.btn-whatsapp { background: #128C7E; border: 1px solid #128C7E; color: #fff; }
.btn-whatsapp:hover { background: #0E6F63; border-color: #0E6F63; color: #fff; }
.btn-whatsapp svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* le menu se centre entre la marque et le bouton : l'espace libre se répartit des deux côtés */
.site-nav { margin-inline: auto; }

.brand img { width: auto; height: 52px; }

.header-cta { padding: 0.7em 1.35em; font-size: 0.88rem; }

.brand-name {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  color: var(--bark-deep);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-name em { font-style: italic; color: var(--bark); }

.brand-sub {
  display: block;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.7vw, 1.45rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.menu a:hover { color: var(--moss-deep); border-bottom-color: var(--sage); }
.menu a[aria-current="page"] { color: var(--moss-deep); border-bottom-color: var(--moss); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}
.nav-toggle-bars {
  display: block;
  width: 20px; height: 2px;
  background: var(--bark-deep);
  position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--bark-deep);
  transition: transform 0.2s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

body.nav-open .nav-toggle-bars { background: transparent; }
body.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Héros (accueil) ---------- */

.hero {
  background: var(--paper-sage);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero .script { font-size: clamp(2rem, 3.4vw, 2.75rem); margin: 0 0 0.4rem; }

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.7rem);
  font-weight: 600;
  margin-bottom: 0.5em;
}

.hero .lead { margin-bottom: 1.8rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-contact {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero-contact a { color: var(--bark); font-weight: 400; }
.hero-contact a:hover { color: var(--bark-deep); }

/* L'arche — clin d'œil à la porte du jardin */
.arch {
  justify-self: center;
  width: min(370px, 88%);
  aspect-ratio: 4 / 4.9;
  background: var(--white);
  border: 1px solid var(--sage-pale);
  outline: 1px solid var(--sage-pale);
  outline-offset: 7px;
  border-radius: 999px 999px 14px 14px;
  display: grid;
  place-items: center;
  padding: 12%;
}
.arch img { width: 100%; }

.arch--photo { padding: 0; overflow: hidden; }
.arch--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Photos ---------- */

.figure-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.figure-photo img { width: 100%; height: auto; display: block; }
.figure-photo.tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.figure-photo figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 0.8rem 1.2rem;
  border-top: 1px solid var(--line);
}

.animal-photo {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 999px 999px 12px 12px;
  border: 1px solid var(--line);
  margin-bottom: 1.2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.7rem;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-top: 1.1rem;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--sage { background: var(--paper-sage); border-block: 1px solid var(--line); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-head.centered { margin-inline: auto; text-align: center; }

/* Brin — la signature végétale */
.sprig { display: block; width: 44px; height: 40px; margin-bottom: 1rem; }
.centered .sprig, .sprig.centered { margin-inline: auto; }

/* ---------- Piliers (accueil) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
}

.pillar {
  border-top: 1px solid var(--bark);
  padding-top: 1.5rem;
}

.pillar h3 { font-size: 1.55rem; margin-bottom: 0.45em; }
.pillar p { font-size: 0.96rem; color: var(--ink-soft); }

.pillar .more {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}

/* ---------- Le fil d'un accompagnement ---------- */

.path-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.path {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  position: relative;
}
.path::before {
  content: "";
  position: absolute;
  left: calc(0.85rem - 0.5px);
  top: 0.9rem;
  bottom: 0.9rem;
  width: 1px;
  background: var(--sage-pale);
}

.path li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2rem 3.1rem;
}
.path li:last-child { padding-bottom: 0; }

.path li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 1.7rem;
  height: 1.7rem;
  display: block;
  text-align: center;
  line-height: calc(1.7rem - 2px);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  font-variant-numeric: lining-nums;
  color: var(--moss);
  background: var(--paper);
  border: 1px solid var(--sage);
  border-radius: 50%;
}
.section--sage .path li::before { background: var(--paper-sage); }
.section--white .path li::before { background: var(--white); }

.path h3 { font-size: 1.4rem; margin-bottom: 0.3em; }
.path p { font-size: 0.96rem; color: var(--ink-soft); }

/* ---------- Pour qui ---------- */

.audiences {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.5rem);
}

.audience h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35em;
}
.audience p { font-size: 0.92rem; color: var(--ink-soft); }

.audience .leaf-dot {
  width: 22px; height: 22px;
  margin-bottom: 0.8rem;
}

/* ---------- Les animaux ---------- */

.animals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
}

.animal {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.animal h3 {
  font-style: italic;
  font-size: 1.75rem;
  margin-bottom: 0.1em;
}

.animal .species {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 0.7rem;
}

.animal p { font-size: 0.95rem; color: var(--ink-soft); }

.pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 0.15em 0.9em;
  margin-left: 0.6em;
  vertical-align: middle;
}

/* ---------- Bandeau d'appel ---------- */

.cta-band {
  background: var(--moss-deep);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.cta-band .script { color: var(--sage-pale); font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 0.3rem; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 0.4em; }
.cta-band p { color: #D9E2CE; max-width: 52ch; margin-inline: auto; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.cta-tel {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}
.cta-tel:hover { color: #fff; }

/* ---------- Pages intérieures ---------- */

.page-hero {
  background: var(--paper-sage);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.3rem); margin-bottom: 0.35em; }
.page-hero .lead { margin-top: 0; }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split + .split { margin-top: clamp(2.8rem, 6vw, 4.5rem); padding-top: clamp(2.8rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }

.split-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.split-head .kicker { margin-bottom: 0.8rem; }

.split-body { max-width: 60ch; }
.split-body h3 { font-size: 1.35rem; margin-top: 1.6em; }
.split-body h3:first-child { margin-top: 0; }

/* Listes à feuille */
.leaf-list {
  list-style: none;
  margin: 0 0 1.1em;
  padding: 0;
}
.leaf-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.55em;
}
.leaf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.85rem;
  height: 0.85rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 14 C2 7 7 2 14 2 C14 9 9 14 2 14 Z" fill="%2386A77B"/></svg>') no-repeat center / contain;
}

/* Figure logo (à propos) */
.figure-logo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  place-items: center;
}
.figure-logo img { width: min(340px, 90%); }

/* Citation */
.quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--bark);
  border-left: 2px solid var(--sage);
  padding-left: 1.4rem;
  margin: 1.8em 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-card {
  border-top: 1px solid var(--bark);
  padding-top: 1.5rem;
  margin-bottom: 2.2rem;
}
.contact-card .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}
.contact-card a.big {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--bark-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
}
.contact-card a.big:hover { color: var(--moss-deep); }
.contact-card p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0.2rem;
  font-family: var(--ff-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--bark-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--moss);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0.2rem 1.3rem; font-size: 0.96rem; color: var(--ink-soft); max-width: 65ch; }

/* ---------- Prose (mentions légales, 404) ---------- */

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 0.97rem; color: var(--ink-soft); }

.error-page { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.error-page img {
  width: 190px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 16px 16px;
  border: 1px solid var(--line);
  margin: 0 auto 1.7rem;
}
.error-page h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--bark-deep);
  color: #CFC7BC;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.8rem;
}

.footer-brand img { width: 132px; height: auto; margin-bottom: 1.1rem; }
.footer-brand .script { color: var(--sage-pale); font-size: 1.7rem; }
.footer-brand p { font-size: 0.88rem; }

.site-footer h4 {
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.45rem; }
.site-footer a { color: #CFC7BC; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.footer-contact p { font-size: 0.92rem; margin-bottom: 0.45rem; }

.footer-legal {
  border-top: 1px solid rgba(243, 240, 233, 0.16);
  padding-block: 1.3rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  justify-content: space-between;
}
.footer-legal a { font-size: 0.8rem; }

@media (max-width: 1199px) {
  .header-cta { display: none; }
}

/* ---------- Apparition douce ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .menu a, .faq summary::after { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .site-nav { margin-inline: auto 0; }

  .hero-grid { grid-template-columns: 1fr; }
  .arch { width: min(300px, 70%); margin-top: 0.5rem; }
  .pillars, .animals { grid-template-columns: 1fr; gap: 1.8rem; }
  .audiences { grid-template-columns: 1fr 1fr; }
  .path-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split + .split { margin-top: 2.4rem; padding-top: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.2rem;
    display: none;
  }
  body.nav-open .menu { display: flex; }
  .menu a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .menu li:last-child a { border-bottom: none; }
}

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