/* ============================================================
   Marianne Reynaert — Naturopathe
   Feuille de style principale
   ============================================================ */

:root {
  --cream: #FFFEF3;
  --butter: #FFF5C3;
  --sage: #768D75;
  --sage-light: #90B083;
  --sage-lighter: #9EB994;
  --sage-dark: #637A59;
  --brown: #4D4131;
  --gray: #545454;
  --serif: 'times new roman', Times, serif;
  --sans: 'futura-lt-w01-light', sans-serif;
  --caps: 'gilroy', sans-serif;
  --card: 'avenir-lt-w01_35-light1475496', sans-serif;
  --script: 'avigea', serif;
}

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

html { scroll-behavior: smooth; }

body {
  overflow-x: clip;
  background: var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  color: #000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

em.serif { font-style: italic; }


/* ============ BANDEAU DÉFILANT (appel découverte) ============ */
.promo-strip {
  display: block;
  overflow: hidden;
  background: var(--butter);
  color: var(--sage-dark);
  text-decoration: none;
  border-top: 1px solid rgba(118, 141, 117, 0.18);
  border-bottom: 1px solid rgba(118, 141, 117, 0.18);
}
.promo-strip .promo-track {
  display: flex;
  width: max-content;
  animation: promoScroll 32s linear infinite;
}
.promo-strip:hover .promo-track { animation-play-state: paused; }
.promo-strip .promo-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 22px 15px;
  font-family: var(--caps);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.promo-strip .promo-flower {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--sage);
  animation: flower-spin 8s linear infinite;
}
@keyframes promoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-strip .promo-track { animation: none; justify-content: center; width: 100%; }
  .promo-strip .promo-item:not(:first-child) { display: none; }
  .promo-strip .promo-flower { animation: none; }
}
@media (max-width: 760px) {
  .promo-strip .promo-item { font-size: 13px; letter-spacing: 0.18em; padding: 13px 16px 12px; gap: 16px; }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(118, 141, 117, 0.12);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { text-decoration: none; }
.logo .logo-name {
  font-family: var(--script);
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--sage-dark);
  line-height: 1.1;
}
.logo .logo-sub {
  font-family: var(--caps);
  font-size: 16px;
  letter-spacing: 0.25em;
  color: var(--sage-dark);
}

.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}
.main-nav a {
  font-family: var(--caps);
  font-size: 15px;
  color: var(--sage-dark);
  text-decoration: none;
}
.main-nav a:hover { color: var(--sage-light); }

/* Dropdown Prestations */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ""; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  display: none;
  list-style: none;
  min-width: 230px;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li {
  background: var(--cream);
  border: 1px solid rgba(118, 141, 117, 0.18);
  border-top: none;
}
.dropdown li:first-child { border-top: 1px solid rgba(118, 141, 117, 0.18); }
.dropdown a {
  display: block;
  padding: 12px 20px;
  white-space: nowrap;
}
.dropdown a:hover { background: rgba(118, 141, 117, 0.08); }

.btn-rdv {
  font-family: var(--sans);
  font-size: 17px;
  background: var(--sage);
  color: var(--butter) !important;
  padding: 10px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.4s ease;
  white-space: nowrap;
}
.btn-rdv:hover { background: var(--sage-dark); }

/* Burger (mobile) */
.nav-toggle { display: none; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--sage-dark);
}

/* ============ BOUTONS ============ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 18px;
  text-decoration: none;
  padding: 13px 42px;
  border-radius: 50px;
  transition: all 0.35s ease;
}
.btn-butter {
  background: var(--butter);
  color: #010101;
  font-family: var(--card);
}
.btn-butter:hover { background: #fff9d9; }
/* Bouton bande verte : fond crème + texte sage gras (mesuré sur le live) */
.btn-outline-cream {
  background: var(--cream);
  color: var(--sage);
  font-family: var(--sans);
  font-weight: bold;
  letter-spacing: 0.05em;
}
.btn-outline-cream:hover { background: #ffffff; }

/* ============ FLEUR (icône) ============ */
.flower { width: 56px; height: 62px; margin: 0 auto; }
.flower svg { width: 100%; height: 100%; }

/* Rotation continue des fleurs (effet Wix : spin 8s linéaire infini) */
@media (prefers-reduced-motion: no-preference) {
  .flower svg {
    animation: flower-spin 8s linear infinite;
    transform-origin: center;
  }
}
@keyframes flower-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============ ANIMATIONS D'ENTRÉE (scroll) — vocabulaire Wix ============
   Wix utilise des entrées DIRECTIONNELLES variées (~1,1-1,2s) :
   float-up, slide gauche/droite, fold-in 3D, fade. On réplique fidèlement. */
@media (prefers-reduced-motion: no-preference) {
  .reveal, .reveal-fade { opacity: 0; will-change: transform, opacity; }

  /* Direction de départ (défaut : float up, comme le FloatIn Wix) */
  .reveal            { transform: translateY(60px); }
  .reveal.left       { transform: translateX(-60px); }
  .reveal.right      { transform: translateX(60px); }
  .reveal.up-far     { transform: translateY(94px); }
  .reveal.fade       { transform: none; }
  .reveal.zoom       { transform: scale(0.92); }
  .reveal.fold       { transform: perspective(800px) rotateX(-90deg); transform-origin: top center; }

  /* État révélé — easing décéléré facon Wix (ease-out expo) */
  .reveal.in {
    opacity: 1;
    transform: none;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-fade.in {
    opacity: 1;
    transition: opacity 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Décalages (stagger) pour éléments d'un même groupe */
  .reveal.d1 { transition-delay: 0.09s; }
  .reveal.d2 { transition-delay: 0.18s; }
  .reveal.d3 { transition-delay: 0.27s; }
  .reveal.d4 { transition-delay: 0.36s; }
}
/* Sans JS / reduced-motion : tout reste visible */
.no-observer .reveal, .no-observer .reveal-fade { opacity: 1; transform: none; }

/* ============ FLEURS DÉCO SUR PHOTO (coins) ============ */
.photo { position: relative; }
.deco-flower {
  position: absolute;
  width: 69px;
  height: 66px;
  z-index: 3;
  pointer-events: none;
}
.deco-flower svg {
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: flower-spin 8s linear infinite;
}
.deco-flower.deco-tr { top: -24px; right: -22px; }   /* coin haut-droite */
.deco-flower.deco-br { bottom: -8px; right: -22px; }  /* coin bas-droite */
.deco-flower.deco-tl { top: -24px; left: -22px; }     /* coin haut-gauche */
.deco-flower.deco-bl { bottom: -8px; left: -22px; }   /* coin bas-gauche */
.deco-flower.deco-sm { width: 40px; height: 38px; }   /* petite fleur accent */

/* Petites fleurs accent à côté des titres (vertes, tournent) */
.title-flower {
  display: inline-block;
  width: 34px;
  height: 32px;
  color: var(--sage-lighter);
  vertical-align: -0.12em;
}
.title-flower svg { width: 100%; height: 100%; transform-origin: center; animation: flower-spin 8s linear infinite; }
.title-flower.tf-left { margin-right: 16px; }
.title-flower.tf-right { margin-left: 16px; }

/* ============ HERO ACCUEIL ============ */
.hero {
  background: var(--sage);
  text-align: center;
  padding: 44px 24px 48px;
}
.hero .flower { width: 48px; height: 53px; margin-bottom: 18px; }
.hero h1 {
  font-family: var(--script);
  font-size: 45px;
  font-weight: normal;
  letter-spacing: -0.05em;
  color: #ffffff;
  margin-bottom: 26px;
}
.hero p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45em;
  color: #FAFAFA;
}
.hero .btn { margin-top: 34px; font-size: 15px; padding: 10px 30px; }

/* ============ HERO GRADIENT (sous-pages) ============ */
.hero-soft {
  text-align: center;
  padding: 76px 24px 80px;
  background:
    radial-gradient(ellipse 55% 140% at 6% 45%, rgba(143, 160, 96, 0.75) 0%, rgba(143, 160, 96, 0) 65%),
    radial-gradient(ellipse 55% 140% at 94% 45%, rgba(160, 180, 120, 0.7) 0%, rgba(160, 180, 120, 0) 65%),
    linear-gradient(90deg, #9DAC6E 0%, #D9DFB3 48%, #BCCCA8 100%);
}
.hero-soft .flower { width: 44px; height: 49px; margin-bottom: 16px; }
.hero-soft .hero-soft-title {
  font-family: var(--script);
  font-size: 25px;
  color: var(--sage-dark);
  max-width: 700px;
  margin: 0 auto 14px;
  line-height: 1.4;
}
.hero-soft .hero-soft-sub {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--sage-dark);
  max-width: 640px;
  margin: 0 auto;
}

/* ============ SECTIONS GÉNÉRIQUES ============ */
.section { padding: 104px 0 80px; }

.split {
  display: grid;
  grid-template-columns: 1fr 379px;
  gap: 80px;
  align-items: start;
}
.split .photo img {
  width: 379px;
  height: auto;
  object-fit: cover;
  margin-left: auto;
}

/* Accueil : la photo s'étire jusqu'au bas de la colonne texte */
.split.split-stretch { align-items: stretch; }
.split.split-stretch .photo { height: 100%; }
.split.split-stretch .photo img { height: 100% !important; object-fit: cover; }

.title-serif {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: normal;
  line-height: 0.98em;
  letter-spacing: -0.02em;
  color: var(--sage-light);
  margin-bottom: 36px;
}
.title-serif.sage { color: var(--sage); }

.body-text p {
  font-family: var(--sans);
  font-size: 18px;
  margin-bottom: 14px;
}
.body-text p:last-child { margin-bottom: 0; }
.body-text .justify { text-align: justify; }

/* Tags / pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.tags span {
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--sage);
  border: 1px solid var(--sage);
  border-radius: 4px;
  padding: 7px 14px;
  white-space: nowrap;
}

/* ============ 3 COLONNES (accueil) ============ */
.trio {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 36px;
  align-items: start;
  text-align: center;
}
.trio .sep {
  width: 1px;
  height: 200px;
  background: rgba(118, 141, 117, 0.45);
  align-self: center;
}
.trio .flower { width: 44px; height: 49px; margin-bottom: 14px; }
.trio h3 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 24px;
  line-height: 0.95em;
  letter-spacing: -0.02em;
  color: var(--sage-light);
  margin-bottom: 16px;
}
.trio p {
  font-family: var(--sans);
  font-size: 17px;
  max-width: 300px;
  margin: 0 auto;
}

/* ============ CTA TITRE (accueil) ============ */
.cta-title {
  text-align: center;
  padding: 20px 24px 40px;
}
.cta-title h2 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 62px;
  line-height: 0.99em;
  letter-spacing: -0.05em;
  color: #4D4131;
}
.cta-title .hl {
  position: relative;
  z-index: 1;
  display: inline-block;
}
.cta-title .hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -6px;
  right: -6px;
  top: 40%;
  bottom: 12%;
  background: #E3EDDD;
}

/* ============ CARTES PRESTATIONS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  gap: 80px;
  justify-content: center;
  padding: 50px 0 56px;
}
.card {
  text-align: center;
  padding: 18px 16px 28px;
  border-radius: 8px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s ease, background-color 0.45s ease;
}
/* Survol : cadre blanc + carte qui monte + "Voir plus" apparaît */
.card:hover {
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(80, 100, 80, 0.16);
  transform: translateY(-12px);
}
.card .card-img { position: relative; margin-bottom: 44px; }
.card .card-frame {
  width: 208px;
  height: 288px;
  margin: 0 auto;
  overflow: hidden;
}
.card .card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Le live NE zoome PAS l'image au survol : seul "Voir plus" apparaît (voir plus bas) */
.card .card-label {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #4a4a4a;
  font-family: var(--card);
  font-size: 18px;
  white-space: nowrap;
  padding: 9px 22px;
}
.card h3 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 27px;
  line-height: 1.05em;
  color: var(--sage);
  margin-bottom: 12px;
  padding: 0 18px;
}
.card .duree {
  font-family: var(--card);
  font-size: 15px;
  font-weight: bold;
  color: var(--gray);
  margin-bottom: 8px;
}
.card p.desc {
  font-family: var(--card);
  font-size: 15px;
  line-height: 1.6em;
  color: var(--gray);
  padding: 0 24px;
  margin-bottom: 18px;
}
.card .voir-plus {
  font-family: var(--card);
  font-size: 15px;
  color: var(--sage);
  text-decoration: underline;
}
.card .voir-plus:hover { color: var(--sage-dark); }

/* "Voir plus" n'apparaît qu'au survol — UNIQUEMENT sur souris (pointeur fin).
   Sur tactile (téléphone/tablette), il reste toujours visible. */
@media (hover: hover) and (pointer: fine) {
  .card .voir-plus {
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .card:hover .voir-plus { opacity: 1; }
}

/* ============ BANDE VERTE ============ */
.band {
  background: var(--sage);
  padding: 54px 24px;
  text-align: center;
}
.band .band-title {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 54px;
  line-height: 1em;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 36px;
}
.band .band-text {
  max-width: 880px;
  margin: 0 auto 40px;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--cream);
  text-align: justify;
}
.band .band-text strong { color: var(--butter); font-weight: bold; }

/* Carte blanche arrondie dans la bande */
.band .white-card {
  background: var(--cream);
  border-radius: 24px;
  max-width: 1080px;
  margin: 0 auto 42px;
  padding: 38px 64px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}
.band .white-card h4 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 26px;
  color: var(--sage-lighter);
  margin-bottom: 20px;
}
.band .white-card p {
  font-family: var(--sans);
  font-size: 18px;
  margin-bottom: 10px;
}
.band .white-card .intro {
  margin-bottom: 26px;
}

/* ============ PAGE PRESTATION (détail) ============ */
.presta-top { padding: 32px 0 72px; }
.presta-top .tarif { font-weight: bold; margin-top: 26px; }
.presta-top ul {
  list-style: none;
  margin: 6px 0 6px 8px;
}
.presta-top ul li {
  font-family: var(--sans);
  font-size: 18px;
  margin-bottom: 4px;
}

/* ============ INFOS IMPORTANTES ============ */
.infos {
  text-align: center;
  padding: 48px 0 84px;
}
.infos h2 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 54px;
  letter-spacing: -0.02em;
  line-height: 1em;
  color: var(--sage-light);
  margin-bottom: 40px;
}
.infos p {
  font-family: var(--sans);
  font-size: 18px;
  max-width: 920px;
  margin: 0 auto 14px;
}

/* ============ PAGES LÉGALES ============ */
.legal { padding: 70px 0 90px; max-width: 1230px; }
.legal h1, .legal h2 {
  font-family: var(--serif);
  font-weight: normal;
  font-size: 40px;
  line-height: 1.1em;
  color: var(--sage-lighter);
  margin: 44px 0 22px;
}
.legal h1:first-child, .legal h2:first-child { margin-top: 0; }
.legal p {
  font-family: var(--sans);
  font-size: 18px;
  margin-bottom: 13px;
}
.legal ul { margin: 0 0 13px 26px; }
.legal ul li {
  font-family: var(--sans);
  font-size: 18px;
  margin-bottom: 6px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--cream);
  border-top: 1px solid rgba(118, 141, 117, 0.1);
  padding: 36px 24px 44px;
  text-align: center;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-row img { width: 39px; height: 39px; }
.footer-row a.mail {
  font-family: var(--sans);
  font-size: 18px;
  color: #000;
  text-decoration: none;
}
.footer-row a.mail:hover { text-decoration: underline; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 15px;
  color: #000;
  text-decoration: underline;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .photo img { margin: 0 auto; max-width: 100% !important; height: auto !important; }
  .trio { grid-template-columns: 1fr; gap: 44px; }
  .trio .sep { display: none; }
  .cards { grid-template-columns: repeat(auto-fit, 300px); gap: 36px; }
  .title-serif { font-size: 42px; }
  .cta-title h2 { font-size: 44px; }
  .band .band-title { font-size: 42px; }
  .infos h2 { font-size: 42px; }
  .band .white-card { padding: 34px 28px; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(118, 141, 117, 0.18);
    padding: 18px 28px 26px;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
  }
  .dropdown {
    display: block;
    position: static;
    transform: none;
    padding: 8px 0 0 16px;
    min-width: 0;
  }
  .dropdown li, .dropdown li:first-child { border: none; }
  .dropdown a { padding: 6px 0; }
  .hero h1 { font-size: 32px; }
  .title-serif { font-size: 36px; }
  .cta-title h2 { font-size: 34px; }
  .container { padding: 0 24px; }
  .section { padding: 56px 0; }
}
