/* =========================================================
   Émilie Fumet — Diététicienne · Nîmes
   Style "Diet'éthic" — blanc chaud + orange brûlé + pêche
   Convivialité, plaisir, sans régime. Zéro vert.
   Fonts: Cormorant Garamond (titres) / General Sans (texte)
   ========================================================= */

:root {
  --bg:        #faf7f4;
  --surface:   #ffffff;
  --surface-2: #fdeee2;
  --ink:       #301d10;
  --ink-2:     #4a382a;
  --muted:     #7d6a5c;
  --line:      rgba(48,29,16,.14);
  --line-2:    rgba(48,29,16,.06);

  --wine:      #d8570f;
  --wine-d:    #a34a21;
  --wine-tint: #fdeadd;
  --gold:      #e89a63;
  --gold-d:    #c26a35;
  --gold-tint: #fbe3d3;

  --r:   16px;
  --r-sm: 11px;
  --r-input: 10px;
  --shadow:    0 34px 60px -32px rgba(48,29,16,.40);
  --shadow-sm: 0 16px 34px -22px rgba(48,29,16,.38);

  --maxw: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.2rem);

  /* alias compat */
  --ink-soft: #4a382a; --ink-faint: #96826f;
  --green: #d8570f; --green-700: #a34a21; --green-tint: #fdeadd;
  --accent: #d8570f; --accent-600: #a34a21; --accent-tint: #fdeadd;
  --lime: #d8570f; --lime-d: #a34a21; --lime-tint: #fdeadd; --coral: #e89a63; --coral-d: #c26a35; --coral-tint: #fbe3d3;
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.62; font-size: clamp(1rem,.5vw + .9rem,1.06rem);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1,h2,h3,h4 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.06; letter-spacing: -.005em; color: var(--ink); }
.display { font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 600; line-height: 1; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.serif-em { font-style: italic; }
p { max-width: 65ch; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }

/* Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); position: relative; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.center { text-align: center; }
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; white-space: nowrap; transition: transform .16s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--wine); color: #fdf4f0; }
.btn--primary:hover { background: var(--wine-d); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--green { background: var(--wine); color: #fdf4f0; }
.btn--green:hover { background: var(--wine-d); transform: translateY(-2px); }
.btn--coral { background: var(--gold); color: #fff; }
.btn--coral:hover { background: var(--gold-d); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

.pill { display: inline-flex; align-items: center; gap: .5rem; background: var(--wine-tint); color: var(--wine); padding: .45rem 1rem; border-radius: 999px; font-size: .84rem; font-weight: 600; letter-spacing: .01em; }
.pill--coral { background: var(--gold-tint); color: var(--gold-d); }

/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,244,.88); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--line-2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; line-height: 1; }
.brand .mark { width: 40px; height: 40px; border-radius: 50%; background: var(--wine); color: #fdf4f0; display: grid; place-items: center; flex: none; font-family: "Cormorant Garamond", serif; font-size: 1.1rem; font-weight: 600; }
.brand b { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.brand span { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: .15rem; }
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav-links a { padding: .55rem .85rem; border-radius: 999px; font-size: .96rem; font-weight: 500; color: var(--ink-2); transition: background .16s ease, color .16s ease; }
.nav-links a:hover { background: var(--surface-2); }
.nav-links a.active { color: var(--wine); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: .7rem; }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; padding: .3rem; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #d8ccc0; margin-top: clamp(3rem,6vw,5rem); }
.site-footer a { color: #d8ccc0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem; padding-block: 3.4rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; font-family: "Cormorant Garamond",serif; }
.site-footer .brand b { color: #fff; }
.site-footer .brand span { color: #a9998a; }
.site-footer .brand .mark { background: var(--gold); }
.footer-list { list-style: none; display: grid; gap: .55rem; font-size: .96rem; }
.footer-list a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; font-size: .82rem; color: #a9998a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.09); color: #fff; transition: background .2s ease, transform .2s ease, color .2s ease; }
.footer-socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-socials svg { width: 20px; height: 20px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem,2.5vw,2rem); box-shadow: var(--shadow-sm); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Stagger enfants du héro */
.hero .reveal > * { opacity: 0; transform: translateY(20px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); }
.hero .reveal.in > * { opacity: 1; transform: none; }
.hero .reveal.in > *:nth-child(1) { transition-delay: .05s; }
.hero .reveal.in > *:nth-child(2) { transition-delay: .16s; }
.hero .reveal.in > *:nth-child(3) { transition-delay: .28s; }
.hero .reveal.in > *:nth-child(4) { transition-delay: .42s; }
.hero .reveal.in > *:nth-child(5) { transition-delay: .58s; }

/* Souligné animé du mot en italique du héro */
.hl { position: relative; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -.02em; right: -.02em; bottom: .06em; height: .1em; border-radius: 99px; background: var(--gold); opacity: .5; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.16,1,.3,1) .9s; }
.reveal.in .hl::after { transform: scaleX(1); }

/* Halos flottants du héro */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.hero::before { width: 380px; height: 380px; right: -100px; top: 6%; background: radial-gradient(circle at 35% 35%, var(--gold-tint), transparent 70%); animation: floaty 9s ease-in-out infinite alternate; }
.hero::after { width: 260px; height: 260px; left: -110px; bottom: 2%; background: radial-gradient(circle at 60% 40%, var(--wine-tint), transparent 72%); animation: floaty 12s ease-in-out infinite alternate-reverse; }
@keyframes floaty { from { transform: translateY(-14px); } to { transform: translateY(18px); } }

/* Shine boutons pleins */
.btn--primary, .btn--green, .btn--coral { position: relative; overflow: hidden; }
.btn--primary::after, .btn--green::after, .btn--coral::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%); transform: translateX(-130%); transition: transform .55s ease; pointer-events: none; }
.btn--primary:hover::after, .btn--green:hover::after, .btn--coral:hover::after { transform: translateX(130%); }

/* Zoom doux images éditoriales */
.media { overflow: hidden; }
.media img { transition: transform .9s cubic-bezier(.16,1,.3,1); }
.media:hover img { transform: scale(1.05); }
.hero-photo-frame img { transition: transform .9s cubic-bezier(.16,1,.3,1); }
.hero-visual:hover .hero-photo-frame img { transform: scale(1.04); }

/* Souligné nav */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--wine), var(--gold)); z-index: 99; transition: width .1s linear; }

/* Mot rotatif du héro */
.rot-word { display: inline-block; position: relative; white-space: nowrap; transition: width .45s cubic-bezier(.16,1,.3,1); vertical-align: bottom; }
.rot-word i { display: inline-block; font-style: italic; transition: opacity .38s ease, transform .38s cubic-bezier(.16,1,.3,1); }
.rot-word.out i { opacity: 0; transform: translateY(-.55em); }
.rot-word.pre i { transition: none; opacity: 0; transform: translateY(.55em); }

/* Spotlight + tilt 3D cartes services (style 21st.dev) */
.services { perspective: 1100px; }
.service { transform: translateY(var(--ty,0)) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); will-change: transform; }
.service:hover { --ty: -6px; }
.service::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(216,87,15,.09), transparent 65%); opacity: 0; transition: opacity .35s ease; pointer-events: none; border-radius: inherit; }
.service:hover::before { opacity: 1; }

/* Rideau de révélation des images */
.media, .hero-photo-frame { position: relative; }
.media.reveal::after, .hero-visual.reveal .hero-photo-frame::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(160deg, var(--gold-tint), var(--wine-tint)); transform: scaleY(1); transform-origin: top; transition: transform 1.1s cubic-bezier(.6,.05,.2,1) .15s; z-index: 2; border-radius: inherit; }
.media.reveal.in::after, .hero-visual.reveal.in .hero-photo-frame::after { transform: scaleY(0); }

/* FAQ accordéon */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Cormorant Garamond", serif; font-size: 1.6rem; line-height: 1; color: var(--wine); transition: transform .35s cubic-bezier(.16,1,.3,1); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.3rem; color: var(--muted); overflow: hidden; }
.faq .faq-body > * { padding-bottom: 1.2rem; }
.faq details[open] .faq-body { animation: faqIn .45s cubic-bezier(.16,1,.3,1); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* Ligne tarifs : survol */
.tarifs-table tr { transition: background .2s ease; }
.tarifs-table tbody tr:hover { background: var(--wine-tint); }
.tarifs-table tbody tr:hover td:first-child { padding-left: .6rem; }
.tarifs-table td { transition: padding-left .25s ease; }

/* Retour en haut avec anneau de progression */
.to-top { position: fixed; left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg circle { fill: none; stroke: var(--wine); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.to-top .arr { color: var(--wine); font-size: 1.15rem; line-height: 1; }

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

/* =========================================================
   HERO — photo éditoriale
   ========================================================= */
.hero { min-height: calc(100dvh - 90px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(1.5rem,4vw,2.5rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.hero h1 { margin: 1.3rem 0; }
.hero h1 .hl { font-style: italic; color: var(--wine); }
.hero .lead { max-width: 44ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-trust { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust b { font-family: "Cormorant Garamond",serif; font-size: 1.4rem; color: var(--wine); line-height: 1; }
.hero-trust span { font-size: .82rem; color: var(--muted); }
.hero-trust .div { width: 1px; height: 34px; background: var(--line); }

.hero-visual { position: relative; }
.hero-photo-frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 5/4.4; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface-2) center/cover; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; left: -1.2rem; bottom: -1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1.1rem; box-shadow: var(--shadow-sm); max-width: 15rem; }
.hero-note b { font-family: "Cormorant Garamond",serif; display: block; font-size: 1rem; }
.hero-note span { font-size: .82rem; color: var(--muted); }

/* thin elegant strip */
.strip { background: var(--wine); overflow: hidden; }
.strip-track { display: flex; width: max-content; gap: 0 2.4rem; padding-block: 1.05rem; animation: scroll 34s linear infinite; will-change: transform; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track span { font-size: .95rem; font-weight: 500; color: #fff3ea; display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.strip-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,243,234,.55); flex: none; }

/* Bande pêche pleine largeur (style Diet'éthic) */
.peach-band { background: linear-gradient(180deg, var(--surface-2) 0%, var(--gold-tint) 100%); }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; flex-wrap: wrap; justify-content: center; } }
/* compat ancien strip */
.strip-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; padding-block: 1.1rem; }
.strip-inner span { font-size: .95rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: .55rem; }
.strip-inner span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* legacy marquee (si utilisé) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-track { display: flex; gap: 3rem; padding-block: 1rem; white-space: nowrap; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { font-family: "Cormorant Garamond",serif; font-style: italic; font-size: 1.1rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "·"; color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =========================================================
   SERVICES
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.service { display: flex; flex-direction: column; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.9rem; overflow: hidden; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.service .simg { display: block; aspect-ratio: 16/8.5; overflow: hidden; border-radius: var(--r-sm); margin-bottom: 1.2rem; }
.service .simg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.service:hover .simg img { transform: scale(1.07); }
.service .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-tint); color: var(--wine); font-family: "Cormorant Garamond",serif; font-size: 1.15rem; font-weight: 600; }
.service .simg + .ic { margin-top: -46px; position: relative; z-index: 1; border: 3px solid var(--surface); margin-left: .2rem; background: var(--wine); color: #fff; }
.service:nth-child(2n) .ic { background: var(--gold-tint); color: var(--gold-d); }
.service:nth-child(2n) .simg + .ic { background: var(--gold); color: #fff; }
.service h3 { margin-top: .5rem; }
.service p { color: var(--muted); font-size: .98rem; margin-top: .55rem; }
.service .more { margin-top: auto; padding-top: 1rem; color: var(--wine); font-weight: 600; font-size: .95rem; display: inline-flex; gap: .4rem; transition: gap .25s ease, transform .25s ease; }
.service:hover .more { gap: .7rem; transform: translateX(3px); }
.service:nth-child(2n) .more { color: var(--gold-d); }

/* bandeau */
.band { background: var(--wine); border-radius: var(--r); padding: clamp(1.8rem,4vw,3rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; color: #fdf4f0; }
.band h2 { color: #fff; }
.band p { color: #ffe4d1; }
.band--ink { background: var(--ink); }
.band--ink h2 { color: #fff; } .band--ink p { color: #cbbfb2; }
.band--coral { background: var(--gold); } .band--coral h2, .band--coral p { color: #fff; }

/* =========================================================
   Pages intérieures
   ========================================================= */
.page-hero { padding-block: clamp(2.4rem,5vw,4rem) clamp(1.4rem,3vw,2.4rem); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.3rem,5.5vw,4rem); max-width: 17ch; }
.page-hero .lead { margin-top: 1.2rem; max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split--text-img { grid-template-columns: 1.05fr .95fr; }
.media { border-radius: var(--r); background: var(--surface-2) center/cover; aspect-ratio: 4/3.2; box-shadow: var(--shadow); position: relative; overflow: hidden; border: 1px solid var(--line); }
.media--tall { aspect-ratio: 3/4; }
.media .ph { position: absolute; inset: 0; display: grid; place-content: center; gap: .4rem; color: var(--muted); text-align: center; font-size: .85rem; }
.media .ph span { font-size: 2rem; }
.media[style*="background-image"] .ph { display: none; }
.media img { width: 100%; height: 100%; object-fit: cover; }

.prose > * + * { margin-top: 1.05rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 0; list-style: none; color: var(--muted); }
.prose li { margin-top: .55rem; padding-left: 1.6rem; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.callout { background: var(--ink); color: #efe7de; border-radius: var(--r); padding: clamp(1.6rem,3vw,2.4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
.callout h3 { color: #fff; } .callout p { color: #cbbfb2; }
.callout--lime, .callout--wine { background: var(--wine); } .callout--lime h3, .callout--wine h3 { color: #fff; } .callout--lime p, .callout--wine p { color: #ffe4d1; }
.callout--coral, .callout--accent { background: var(--gold); } .callout--coral h3, .callout--coral p, .callout--accent h3, .callout--accent p { color: #fff; }

.steps { display: grid; gap: 1.1rem; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.6rem; }
.step .n { counter-increment: s; font-family: "Cormorant Garamond",serif; font-weight: 600; font-size: 1.15rem; color: var(--wine); width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--wine-tint); display: grid; place-items: center; }
.step:nth-child(2n) .n { background: var(--gold-tint); color: var(--gold-d); }
.step .n::before { content: counter(s,decimal-leading-zero); }
.step h4 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* Tarifs / contact */
.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
.profile-photo { border-radius: var(--r); aspect-ratio: 3/3.6; background: var(--surface-2) center/cover; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.diploma { display: grid; gap: .6rem; margin-top: 1rem; list-style: none; }
.diploma li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--muted); font-size: .97rem; }
.diploma .mk { color: var(--wine); margin-top: .15rem; font-weight: 700; }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.social { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s ease, background .2s ease, color .2s ease; color: var(--ink); }
.social:hover { transform: translateY(-3px); background: var(--wine); color: #fff; border-color: var(--wine); }
.social svg { width: 22px; height: 22px; }

.tarifs-table { width: 100%; border-collapse: collapse; }
.tarifs-table tr { border-bottom: 1px solid var(--line); }
.tarifs-table tr:last-child { border-bottom: 0; }
.tarifs-table td { padding: 1rem .4rem; vertical-align: middle; }
.tarifs-table td:first-child { font-weight: 500; }
.tarifs-table td:last-child { text-align: right; white-space: nowrap; font-family: "Cormorant Garamond",serif; font-weight: 600; font-size: 1.3rem; color: var(--wine); }
.tarif-note { font-size: .82rem; color: var(--muted); display: block; font-weight: 400; font-family: "General Sans",sans-serif; }

.info-card { display: grid; gap: .9rem; }
.info-row { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; }
.info-row .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--wine-tint); color: var(--wine); display: grid; place-items: center; }
.info-row small { color: var(--muted); display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.info-row b { font-weight: 600; }

.map-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.hours-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(92px,1fr)); gap: .6rem; }
.day { text-align: center; padding: .9rem .4rem; border-radius: var(--r-sm); background: var(--surface-2); }
.day b { display: block; font-family: "Cormorant Garamond",serif; color: var(--wine); }
.day.closed { opacity: .45; }
.day small { font-size: .76rem; color: var(--muted); }

/* Contact form */
.contact-form { display: grid; gap: 1.1rem; align-content: start; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field textarea { font: inherit; width: 100%; padding: .85rem .95rem; border-radius: var(--r-input); border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px var(--wine-tint); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-msg { padding: .85rem 1rem; border-radius: var(--r-input); font-size: .92rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--wine-tint); color: var(--wine); }
.form-msg.err { background: var(--gold-tint); color: var(--gold-d); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Recipe manager + detail */
.admin-wrap { max-width: 780px; }
.login-card { max-width: 430px; margin: clamp(2rem,8vw,5rem) auto; }
.notice { background: var(--gold-tint); color: var(--gold-d); border-radius: var(--r); padding: 1.4rem 1.6rem; font-size: .95rem; }
.notice b { color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: .55rem; }
.check { position: relative; display: inline-flex; }
.check input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; font-weight: 500; color: var(--muted); transition: all .16s ease; }
.check input:checked + span { background: var(--wine); color: #fff; border-color: var(--wine); }
.check input:focus-visible + span { box-shadow: 0 0 0 3px var(--wine-tint); }
.filedrop { border: 1.5px dashed var(--line); border-radius: var(--r-input); padding: 1.5rem; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.filedrop:hover { border-color: var(--wine); background: var(--wine-tint); }
.filedrop b { color: var(--wine); }
.img-preview { margin-top: .9rem; border-radius: var(--r-input); max-height: 240px; width: 100%; object-fit: cover; display: none; }
.img-preview.show { display: block; }
.admin-list { margin-top: 1rem; }
.admin-recipe-row { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.admin-recipe-row img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex: none; }
.admin-recipe-row .meta b { display: block; }
.admin-recipe-row .meta small { color: var(--muted); }
.admin-recipe-row .del { margin-left: auto; color: var(--wine); font-weight: 600; font-size: .88rem; background: none; border: 0; cursor: pointer; flex: none; }
.admin-recipe-row .del:hover { text-decoration: underline; }

.recipe-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
.recipe-hero .photo { border-radius: var(--r); aspect-ratio: 4/3; max-height: 440px; background: var(--surface-2) center/cover; box-shadow: var(--shadow); border: 1px solid var(--line); }
.recipe-hero .photo--empty { display: grid; place-items: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--wine-tint), var(--gold-tint)); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.food-tag { background: var(--wine-tint); color: var(--wine); padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.recipe-body { display: grid; grid-template-columns: .9fr 1.5fr; gap: clamp(1.6rem,4vw,3rem); margin-top: clamp(2rem,5vw,3.5rem); align-items: start; }
.recipe-body--single { grid-template-columns: 1fr; max-width: 780px; }
.ingredients-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; }
.ingredients-box h3 { margin-bottom: .9rem; }
.ingredients-box ul { list-style: none; display: grid; gap: .55rem; }
.ingredients-box li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; color: var(--muted); }
.ingredients-box li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: .55rem; }

/* Recipe grid */
.recipes-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.6rem; }
.recipe-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.recipe-card .thumb { aspect-ratio: 4/3; background: var(--surface-2) center/cover; }
.recipe-card .thumb--empty { display: grid; place-items: center; font-size: 2.6rem; background: linear-gradient(135deg, var(--wine-tint), var(--gold-tint)); }
.recipe-card .body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.recipe-card .tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; }
.recipe-card h3 { font-size: 1.3rem; overflow-wrap: anywhere; }
.recipe-card p { font-size: .92rem; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty-state { text-align: center; padding: clamp(3rem,7vw,5rem) 1rem; border: 1.5px dashed var(--line); border-radius: var(--r); background: var(--surface); }
.empty-state .ic { font-size: 2.6rem; }
.empty-state h3 { margin-block: 1rem .6rem; }
.empty-state p { margin-inline: auto; color: var(--muted); }

/* Floating mobile CTA */
.fab-rdv { display: none; }
@media (max-width: 760px) {
  .fab-rdv { display: inline-flex; align-items: center; gap: .5rem; position: fixed; right: 14px; bottom: 14px; z-index: 60; background: var(--wine); color: #fff; font-weight: 600; font-size: .95rem; padding: .8rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow); }
  .fab-rdv svg { width: 19px; height: 19px; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(440px,100%); margin-inline: auto; }
  .split, .split--text-img, .profile, .band, .recipe-hero, .recipe-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 84px 1rem auto 1rem; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem; gap: .15rem; box-shadow: var(--shadow); z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: .85rem .8rem; font-size: 1.05rem; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 1rem; }
  .hero-note { position: static; margin-top: 1rem; max-width: none; }
}

/* Jours visio uniquement */
.day--visio { background: var(--wine-tint); outline: 1px dashed var(--gold-d); outline-offset: -1px; }
.day--visio em { display: block; font-style: normal; font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--wine); margin-top: .25rem; }

/* Avis Google */
.greviews { text-align: center; padding: 3.2rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.gstars { display: inline-flex; gap: .35rem; font-size: 1.7rem; color: var(--gold-d); }
.gstars span { display: inline-block; opacity: 0; transform: scale(.3); }
.reveal.in .gstars span { animation: starPop .45s cubic-bezier(.34,1.56,.64,1) forwards; }
.reveal.in .gstars span:nth-child(1) { animation-delay: .05s; }
.reveal.in .gstars span:nth-child(2) { animation-delay: .15s; }
.reveal.in .gstars span:nth-child(3) { animation-delay: .25s; }
.reveal.in .gstars span:nth-child(4) { animation-delay: .35s; }
.reveal.in .gstars span:nth-child(5) { animation-delay: .45s; }
@keyframes starPop { to { opacity: 1; transform: scale(1); } }

/* Livre 3D */
.book-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.book-visual { display: flex; justify-content: center; perspective: 1400px; padding: 1.5rem 0; filter: drop-shadow(26px 32px 28px rgba(48,29,16,.32)); }
.book3d { position: relative; width: min(300px,72%); transform-style: preserve-3d; transform: rotateY(-26deg) rotateX(3deg); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.book-visual:hover .book3d { transform: rotateY(-12deg) rotateX(1deg); }
.book3d img { display: block; width: 100%; height: auto; border-radius: 3px 8px 8px 3px; transform: translateZ(17px); }
/* tranche des pages (côté droit) */
.book3d::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: -17px; width: 34px; transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #fdfaf5 0 2px, #e9e2d6 2px 4px); border-radius: 0 3px 3px 0; }
/* quatrième de couverture */
.book3d::before { content: ""; position: absolute; inset: 0; transform: translateZ(-17px); background: #ecd6e0; border-radius: 8px 3px 3px 8px; }

/* Duo cards EMDR / ICV */
.duo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.duo-cards .card { transition: transform .35s ease, box-shadow .35s ease; }
.duo-cards .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

@media (max-width: 980px) {
  .book-grid, .duo-cards { grid-template-columns: 1fr; }
  .book-visual { order: -1; }
}
