/* =====================================================================
   Soins Énergétiques Animaux — feuille de style (identité propre)
   Palette : base beige clair #dcceb3 · sections #e7e0cb · titres brun chaud #4a4130
             · vert #6f9138 en ACCENT (liens, boutons, petits détails) · texte foncé #2c2a23
   Typo : Cormorant Garamond (titres, serif) · Nunito Sans (corps)
   Conçue mobile-first, entièrement responsive.
   ===================================================================== */

:root {
  /* Beige clair en base, vert utilisé avec parcimonie comme accent (pas sur les titres).
     Les variables gardent le nom historique « --sage » : --sage/--sage-deep portent le vert
     d'accent, --sage-ink porte le BRUN des titres, pour ne pas toucher tous les usages. */
  --sage:       #6f9138;   /* vert — ACCENT (liens, boutons, soulignés, focus) */
  --sage-2:     #5f7d30;   /* vert profond — survol */
  --sage-deep:  #6f9138;   /* vert (liens & boutons) */
  --sage-ink:   #4a4130;   /* brun chaud foncé — TITRES / marque / nav (calme) */
  --sage-soft:  #edf1e1;   /* beige vert très pâle — bandes douces */

  --sand:       #e7e0cb;   /* fond de section beige */
  --sand-deep:  #d3c4a4;
  --sand-soft:  #e7e0cb;   /* bande .section--sand */
  --cream:      #f4f1eb;   /* base claire — fond de page */

  --ink:        #494035;   /* écriture foncée */
  --muted:      #685f4e;   /* texte secondaire (plus foncé) */
  --white:      #ffffff;
  --line:       #cdc2a8;

  --font-head:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:  "Nunito Sans", -apple-system, "Segoe UI", system-ui, sans-serif;

  --maxw:       1160px;
  --radius:     20px;
  --radius-sm:  12px;
  --shadow:     0 24px 60px -28px rgba(80, 48, 24, .45);
  --shadow-sm:  0 10px 28px -18px rgba(80, 48, 24, .5);
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--sage-2); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  color: var(--sage-ink);
  font-weight: 500;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
p { margin: 0 0 1.15em; }
ul { margin: 0 0 1.15em; padding-left: 1.2em; }

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--sage-ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 4px; }

/* ---- Header / Nav ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 238, .9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--sage-deep); }
.brand:hover { color: var(--sage-deep); }
.brand__mark { flex: none; width: 40px; height: 40px; display: block; object-fit: contain; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--sage-ink); letter-spacing: .01em; }
.brand__role { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }

.site-nav__list { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--sage-ink); font-weight: 600; font-size: .96rem; position: relative; padding: .3rem 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background: var(--sage); transition: right .25s var(--ease);
}
.site-nav a:hover { color: var(--sage-2); }
.site-nav a:hover::after { right: 0; }
.site-nav__cta a { color: #fff; padding: .55rem 1.2rem; }
.site-nav__cta a::after { display: none; }
.site-nav__cta a:hover { color: #fff; }

.nav-burger { display: none; cursor: pointer; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; }
.nav-burger span { display: block; width: 25px; height: 2px; margin: 4px 0; background: var(--sage-ink); border-radius: 2px; transition: .25s var(--ease); }

/* ---- Boutons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, #83a94b, var(--sage-deep));
  color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.8rem; border: none; border-radius: 999px; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); box-shadow: var(--shadow); }
.btn--sm { padding: .55rem 1.2rem; font-size: .9rem; }
.btn--ghost { background: transparent; color: var(--sage-deep); box-shadow: inset 0 0 0 2px var(--sage-deep); }
.btn--ghost:hover { background: var(--sage-deep); color: #fff; box-shadow: inset 0 0 0 2px var(--sage-deep); }
.btn--light { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); backdrop-filter: blur(2px); }
.btn--light:hover { background: rgba(255,255,255,.28); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }

/* ---- Hero (accueil) -------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--sage-ink); text-align: center;
  display: grid; place-items: center;
  padding: clamp(4rem, 11vw, 8rem) 0;
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(138, 173, 87,.38), transparent 60%),
    radial-gradient(900px 600px at 85% 110%, rgba(228,210,173,.55), transparent 55%),
    linear-gradient(180deg, var(--sand-soft), var(--cream));
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.55), transparent 45%);
}
/* halo « aura » décoratif */
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 60vmin; height: 60vmin; top: 18%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(138, 173, 87,.22), transparent 68%);
  border-radius: 50%; filter: blur(8px);
}
.hero__inner { position: relative; width: min(100% - 2.4rem, 820px); }
.hero__eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .3em;
  font-size: .82rem; font-weight: 700; color: var(--sage-2); margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.2rem); margin-bottom: .15em; color: var(--sage-ink);
  font-weight: 500;
}
.hero__role { font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem, 3.4vw, 1.8rem); color: var(--sage-deep); margin-bottom: 1rem; }
.hero__lead { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 44ch; margin-inline: auto; }
.hero__actions { margin-top: 2.2rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll { margin-top: 2.6rem; display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { animation: bob 1.8s var(--ease) infinite; font-size: 1.1rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Hero interne (pages légales / 404) */
.hero--page {
  min-height: auto; padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.2rem, 5vw, 3rem);
  background: radial-gradient(1100px 520px at 50% -10%, rgba(138, 173, 87,.38), transparent 60%), radial-gradient(900px 600px at 85% 110%, rgba(228,210,173,.55), transparent 55%), linear-gradient(180deg, var(--sand-soft), var(--cream));
}
.hero--page::after { display: none; }
.hero--page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }

/* ---- Sections -------------------------------------------------------- */
.section { padding: clamp(3.2rem, 7vw, 5.8rem) 0; }
.section--sand { background: var(--sand-soft); }
.section--green {
  background: var(--sage-soft);
  color: var(--ink);
}
.section--green h2, .section--green h3 { color: var(--sage-ink); }
.section--green .section__eyebrow { color: var(--sage-deep); }
.section__head { text-align: center; max-width: 62ch; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.section__eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: .76rem; font-weight: 700; color: var(--sage-2); }
.section h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin-top: .3rem; font-weight: 500; }
.section__lead { color: inherit; opacity: .92; font-size: 1.1rem; }
.lead { font-size: 1.2rem; color: var(--sage-deep); }

/* Split média / texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: 0 18px 40px -12px rgba(80, 48, 24, .35), 0 6px 14px -6px rgba(80, 48, 24, .25); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .82rem; font-weight: 700; color: var(--sage-2); display: block; margin-bottom: .5rem; }
.split__body h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; }

/* ---- Univers (cartes réseau) ----------------------------------------- */
.universe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.universe-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.universe-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.universe-card__media { aspect-ratio: 3/2; overflow: hidden; }
.universe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.universe-card:hover .universe-card__media img { transform: scale(1.05); }
.universe-card__body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.universe-card__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--sage-2); }
.universe-card__body h3 { font-size: 1.7rem; margin: 0; font-weight: 600; }
.universe-card__body p { color: var(--muted); font-size: .96rem; margin: 0; }
.universe-card__link { margin-top: auto; padding-top: .6rem; font-weight: 700; color: var(--sage-deep); font-size: .92rem; }
.universe-card__link::after { content: " →"; transition: margin .2s var(--ease); }
.universe-card:hover .universe-card__link::after { margin-left: .25rem; }
.universe-card a.stretched { position: absolute; inset: 0; z-index: 1; }
.universe-card a.stretched span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Bienfaits ------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.benefits li {
  background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 1.3rem 1.4rem;
  border-left: 3px solid var(--sand-deep); backdrop-filter: blur(2px);
}
.benefits li strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: #fff; margin-bottom: .15rem; }
.benefits li span { font-size: .95rem; opacity: .9; }
.benefits--light li { background: var(--white); border-left-color: var(--sage); box-shadow: var(--shadow-sm); }
.benefits--light li strong { color: var(--sage-ink); }
.benefits--light li span { color: var(--muted); }

/* Liste à puces stylée */
.checklist { list-style: none; padding: 0; margin: 1.5rem auto 0; max-width: 60ch; display: grid; gap: .7rem; }
.checklist--two { max-width: 70rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 2.2rem; }
@media (max-width: 700px) { .checklist--two { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .85rem; height: .85rem;
  background: var(--sage); border-radius: 50%; box-shadow: 0 0 0 4px rgba(138, 173, 87,.2);
}

/* ---- Citation -------------------------------------------------------- */
.quote { text-align: center; max-width: 58ch; margin-inline: auto; }
.quote blockquote { font-family: var(--font-head); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #494035; line-height: 1.4; margin: 0; }
.quote cite { display: block; margin-top: 1.1rem; font-style: normal; color: var(--sage-2); font-weight: 700; letter-spacing: .04em; font-size: .95rem; }

/* ---- Contact --------------------------------------------------------- */
.contact { text-align: center; }
.contact__lines { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; justify-content: center; margin: 1.6rem 0 2rem; font-size: 1.1rem; }
.contact__lines a, .contact__lines span { color: var(--sage-ink); font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; }
.contact__lines a:hover { color: var(--sage-2); }

/* ---- Formulaire de contact (contactme) ------------------------------- */
.contact-form { max-width: 672px; margin: 2.8rem auto 0; }
.contact-form__title { text-align: center; font-size: 1.9rem; margin-bottom: .4rem; }
.contact-form__intro { text-align: center; color: var(--muted); max-width: 52ch; margin: 0 auto 1.8rem; }
.contact-form .contactMe { box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); }
.contact-form .contactMe > section { border-color: var(--line); border-radius: var(--radius-sm); background: var(--white); }
.contact-form .contactMe .field { font-family: var(--font-body); }
.contact-form .contactMe textarea { min-height: 130px; }
.contact-form .contactMe .btn { width: 100%; margin-top: 1.2rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; }
/* La case RGPD s'adapte à la hauteur de son texte (pas de hauteur figée qui déborde) */
.contact-form .contactMe .checkbox-radio { height: auto; min-height: 42px; align-items: flex-start; }
.contact-form .contactMe .space-rgpd { height: .4rem; }
.contact-form .txt-rgpd { font-size: .82rem; line-height: 1.45; }
.contact-form .txt-rgpd a { color: var(--sage-deep); text-decoration: underline; }
/* Honeypot anti-bot : invisible aux humains, présent pour les robots */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Fil d'Ariane / prose / disclaimer ------------------------------- */
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--sage-2); }
.prose { max-width: 90ch; margin-inline: auto; }
.prose h2 { margin-top: 1.8em; font-size: 1.7rem; }
.prose p { color: var(--ink); }
.prose .sign { font-family: var(--font-head); font-size: 1.5rem; color: var(--sage-deep); margin-top: 1.5rem; }
.disclaimer { background: var(--sand-soft); border: 1px dashed var(--sand-deep); border-radius: var(--radius-sm); padding: 1.4rem 1.6rem; color: var(--muted); font-size: .95rem; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: radial-gradient(1100px 520px at 50% 110%, rgba(138, 173, 87, .38), transparent 60%), radial-gradient(900px 600px at 85% -10%, rgba(228, 210, 173, .55), transparent 55%), linear-gradient(0deg, var(--sand-soft), var(--cream)); color: var(--ink); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer-h { color: var(--ink); font-size: 1.8rem; margin-bottom: .4rem; }
.footer-quote { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--sage-2); line-height: 1.4; }
.footer-sign { font-size: .9rem; color: rgba(73, 64, 53, 0.72); }
.footer-h3 { color: var(--ink); font-size: 1.55rem; margin: 1.2rem 0 .6rem; letter-spacing: .02em; }
.footer-list { list-style: none; padding: 0; margin: 0 0 .5rem; }
.footer-list li { margin-bottom: .15rem; }
.footer-list a { color: rgba(73, 64, 53, 0.72); font-weight: 400; font-size: 1rem; }
.footer-list a:hover { color: var(--sage-2); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.2rem 0; font-size: .84rem; color: rgba(73, 64, 53, 0.55); text-align: center; }

/* ---- Back to top ----------------------------------------------------- */
.back-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 48px; height: 48px; border: none; border-radius: 50%; cursor: pointer;
  background: var(--sage); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--sage-2); }

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

/* ---- Bandeau cookies -------------------------------------------------- */
.privacy-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(80, 48, 24,.5); max-width: 760px; margin-inline: auto;
  animation: banner-in .45s var(--ease) both;
}
@keyframes banner-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.privacy-banner__inner { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; }
.privacy-banner__text strong { font-family: var(--font-head); color: var(--sage-ink); font-size: 1.25rem; }
.privacy-banner__text p { margin: .25rem 0 0; font-size: .9rem; color: var(--muted); }
.privacy-banner__actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.privacy-banner__actions form { margin: 0; }
.privacy-banner__close {
  background: none; border: none; cursor: pointer; font-size: 1.5rem; line-height: 1;
  color: var(--muted); width: 2rem; height: 2rem; border-radius: 50%; transition: .2s var(--ease);
}
.privacy-banner__close:hover { background: var(--sand-soft); color: var(--sage-ink); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__grid .site-footer__col:first-child { grid-column: 1 / -1; }

  .nav-burger { display: flex; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0; background: var(--cream);
    border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease); box-shadow: var(--shadow-sm);
  }
  .nav-toggle:checked ~ .site-nav { max-height: 80vh; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list li:last-child { border: none; }
  .site-nav a { display: block; padding: .95rem 0; }
  .site-nav a::after { display: none; }
  .site-nav__cta { margin-top: .7rem; }
  .site-nav__cta a { display: inline-flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .brand__name { font-size: 1.4rem; }
  .brand__role { font-size: .62rem; letter-spacing: .14em; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .contact__lines { flex-direction: column; gap: .7rem; }
  .privacy-banner__inner { flex-direction: column; align-items: stretch; text-align: left; }
  .privacy-banner__actions { justify-content: space-between; }
}

/* ---- Préférences de mouvement / tactile ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}
@media (hover: none) {
  .site-nav a:hover::after { right: 100%; }
  .btn:hover { transform: none; box-shadow: var(--shadow-sm); filter: none; }
  .universe-card:hover { transform: none; }
  .universe-card:hover .universe-card__media img { transform: none; }
}
