/* =========================================================
   Savitri Yoga · Saint-Malo — Feuille de styles
   Design zen, responsive, mode clair/sombre
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette orangé / beige (calée sur le doré du logo #bd8937).
     Les noms sont conservés : --sage = doré-ocre (couleur secondaire),
     --accent = orange (boutons / liens). */
  --cream: #f8f1e5;
  --cream-2: #f0e2c9;
  --sage: #b07a2f;        /* ocre doré (ex-vert) */
  --sage-dark: #8a5d20;
  --accent: #d1793a;      /* orange */
  --accent-dark: #b35f27;
  --gold: #c9962f;
  --ink: #33291d;
  --ink-soft: #6d5c47;
  --line: #e9dcc6;
  --card: #fffdf9;
  --bg: #faf3e8;
  --bg-alt: #f2e6d3;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px -12px rgba(60, 50, 40, 0.25);
  --shadow-soft: 0 6px 18px -10px rgba(60, 50, 40, 0.22);
  --maxw: 1160px;

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

  --t: 0.35s cubic-bezier(.2,.7,.2,1);

  /* Voile posé sur l'image de fond du hero (léger : l'image reste bien visible,
     dégradé plus soutenu à gauche pour garder le texte lisible) */
  --hero-overlay: linear-gradient(90deg,
      rgba(250,243,232,.86) 0%, rgba(250,243,232,.55) 45%, rgba(250,243,232,.12) 100%);
}

[data-theme="dark"] {
  --cream: #1c1712;
  --sage: #d7a860;        /* ocre doré clair */
  --sage-dark: #e3c084;
  --accent: #e79a5f;      /* orange clair */
  --accent-dark: #eeb388;
  --gold: #dcbb5c;
  --ink: #f3e9da;
  --ink-soft: #cabaa4;
  --line: #3b3025;
  --card: #251d14;
  --bg: #17110b;
  --bg-alt: #201810;
  --shadow: 0 12px 34px -14px rgba(0,0,0,.6);
  --shadow-soft: 0 8px 20px -12px rgba(0,0,0,.55);
  --hero-overlay: linear-gradient(90deg,
      rgba(23,17,11,.84) 0%, rgba(23,17,11,.58) 45%, rgba(23,17,11,.20) 100%);
}

/* ---------- Reset léger ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.container.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--sage); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: clamp(78px, 11vw, 96px); }

.brand { display: flex; align-items: center; }
.brand-logo { height: clamp(56px, 8.5vw, 72px); width: auto; display: block; }
/* Rappel : la marque du pied de page utilise encore .brand-text (voir footer) */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); letter-spacing: .3px; }
.brand-text em { font-style: normal; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--sage); }

.main-nav ul { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: var(--ink-soft); font-weight: 600; font-size: .93rem;
  padding: .55rem .8rem; border-radius: 10px; transition: color var(--t), background var(--t);
}
.main-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--sage) 14%, transparent); }
.main-nav a.nav-cta { background: var(--sage); color: #fff; }
.main-nav a.nav-cta:hover { background: var(--sage-dark); }

.header-actions { display: flex; align-items: center; gap: .4rem; }
.theme-toggle, .nav-toggle {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer; display: grid; place-items: center;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--sage); transform: translateY(-1px); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px var(--accent); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  /* Image de fond (méditation) reprise du site original, sous un voile léger.
     background-attachment: fixed → l'image reste STATIQUE, le texte défile dessus. */
  background-image: var(--hero-overlay), url("../assets/photos/fond-meditation.jpg");
  background-size: cover, cover;
  background-position: center right, center right;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; }
.hero-blob--1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--sage), transparent 70%); top: -120px; right: -80px; opacity: .22; }
.hero-blob--2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--accent), transparent 70%); bottom: -140px; left: -100px; opacity: .20; }
.hero-blob--3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--gold), transparent 70%); top: 40%; left: 45%; opacity: .12; }
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; font-weight: 700; color: var(--sage); margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; letter-spacing: -.5px; margin-bottom: 1.2rem; }
.hero-title span { color: var(--accent); font-style: italic; }
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-stats div dt { font-family: var(--font-head); font-size: 1.9rem; color: var(--accent); font-weight: 600; }
.hero-stats div dd { margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); }

.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; z-index: 1; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--sage); border-radius: 2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0; transform: translateY(0);} 40%{opacity:1;} 100%{opacity:0; transform: translateY(14px);} }

/* ---------- Bandeau rentrée ---------- */
.notice-bar { background: var(--sage); color: #fff; font-size: .95rem; }
.notice-bar .container { padding-top: .9rem; padding-bottom: .9rem; }
.notice-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notice-bar a:hover { color: var(--cream); }
.notice-tag { display: inline-block; background: rgba(255,255,255,.22); padding: .1rem .6rem; border-radius: 999px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; margin-right: .6rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .76rem; font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.section-title { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 500; margin-bottom: .6rem; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; }
.minor-title { font-size: 1.5rem; margin: 2.4rem 0 1.2rem; }

.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.feature-list li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; color: var(--ink-soft); }
.feature-list li::before { content: "❧"; position: absolute; left: 0; color: var(--accent); }

.about-figure { margin: 0; }
.about-illus { background: linear-gradient(160deg, var(--card), var(--bg-alt)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.about-photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 3/2; }
.about-figure figcaption { margin-top: 1rem; text-align: center; font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Planning ---------- */
.schedule-filters, .breathe-modes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: var(--t);
}
.chip:hover { border-color: var(--sage); color: var(--ink); }
.chip.is-active { background: var(--sage); color: #fff; border-color: var(--sage); }

.schedule-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.schedule { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.schedule thead th { background: color-mix(in srgb, var(--sage) 12%, transparent); font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--sage-dark); }
.schedule tbody tr { transition: background var(--t); }
.schedule tbody tr:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.schedule tbody tr:last-child td { border-bottom: none; }
.schedule td:nth-child(3) { font-weight: 700; color: var(--ink); }
.schedule-note { margin: .9rem 0 0; font-size: .85rem; color: var(--ink-soft); }

.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.loc-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-soft); color: inherit; text-decoration: none; cursor: pointer; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.loc-card:hover, .loc-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.loc-card h4 { color: var(--accent); font-size: 1.2rem; margin-bottom: .3rem; }
.loc-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.loc-maps { display: inline-block; margin-top: .7rem; font-size: .82rem; font-weight: 700; color: var(--sage-dark); }
.bring-note { margin-top: 1.6rem; padding: 1.1rem 1.3rem; background: color-mix(in srgb, var(--gold) 14%, transparent); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; align-items: start; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.7rem; box-shadow: var(--shadow-soft); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--sage) 45%, var(--line)); }
.service-icon { font-size: 2.2rem; display: block; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.5rem; }
.service-card p { color: var(--ink-soft); font-size: .97rem; }
.service-meta { font-size: .82rem; color: var(--sage-dark); font-weight: 700; margin-top: 1rem; margin-bottom: 0; }
.service-sub { display: block; font-size: .95rem; font-style: italic; color: var(--ink-soft); font-family: var(--font-body); font-weight: 400; }
.service-quote { font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--sage-dark); }

/* ---------- Massages ---------- */
.massage-list { display: flex; flex-direction: column; gap: 1rem; }
.massage-item { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.7rem; box-shadow: var(--shadow-soft); transition: transform var(--t); }
.massage-item:hover { transform: translateX(6px); }
.massage-info h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.massage-info p { margin: 0; color: var(--ink-soft); font-size: .95rem; max-width: 62ch; }
.massage-price { text-align: right; flex-shrink: 0; }
.massage-price .dur { display: block; font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; }
.massage-price .price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--accent); }

/* ---------- Respiration ---------- */
.breathe-section { background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.breathe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.breathe-visual { display: grid; place-items: center; min-height: 340px; }
.breathe-circle {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--sage) 70%, #fff), var(--sage));
  display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 1.5rem;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--sage) 40%, transparent);
  transition: transform 4s ease-in-out, background 1s, box-shadow 4s ease-in-out;
}
.breathe-circle.grow { transform: scale(1.5); box-shadow: 0 0 60px 20px color-mix(in srgb, var(--sage) 30%, transparent); }
.breathe-circle.shrink { transform: scale(0.9); }
.breathe-circle.hold { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent)); }
.breathe-word { pointer-events: none; }
.breathe-count { color: var(--ink-soft); font-size: .9rem; margin-top: 1rem; margin-bottom: 0; }
.breathe-controls .btn { margin-top: .5rem; }

/* ---------- Tarifs ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-soft); transition: transform var(--t), box-shadow var(--t); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 16px 40px -18px var(--accent); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.5rem; }
.price-big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--accent); margin: .2rem 0 1rem; }
.price-big span { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex-grow: 1; }
.price-card ul li { padding: .5rem 0 .5rem 1.6rem; position: relative; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: .95rem; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.pricing-fineprint { text-align: center; margin-top: 1.6rem; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-item { border: 0; padding: 0; cursor: pointer; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3; position: relative; background: var(--bg-alt); transition: transform var(--t), box-shadow var(--t); }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-item svg { width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .cap { position: absolute; left: 0; bottom: 0; right: 0; padding: .8rem 1rem; background: linear-gradient(0deg, rgba(20,15,10,.6), transparent); color: #fff; font-family: var(--font-head); font-size: 1.1rem; text-align: left; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,15,10,.85); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox-content { max-width: min(880px, 92vw); width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.lightbox-content svg { width: 100%; height: auto; }
.lightbox-content img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; display: block; }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.5rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; cursor: pointer; transition: background var(--t); }
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.testimonials blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-soft); position: relative; }
.testimonials blockquote::before { content: "\201C"; font-family: var(--font-head); font-size: 4rem; color: var(--accent); opacity: .3; position: absolute; top: .2rem; left: 1rem; line-height: 1; }
.testimonials blockquote p { font-family: var(--font-head); font-size: 1.25rem; font-style: italic; color: var(--ink); position: relative; }
.testimonials blockquote footer { color: var(--sage-dark); font-weight: 700; font-size: .9rem; }
.rating-stars { color: var(--gold); letter-spacing: 1px; margin-right: .4rem; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1.2rem 1.5rem; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); transition: transform var(--t); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); }
.faq-body p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.contact-info li { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; font-size: 1.05rem; }
.ci-ic { font-size: 1.2rem; }
.download-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding: 1.2rem 1.4rem; background: color-mix(in srgb, var(--gold) 14%, var(--card)); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; }
.download-card strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.download-card p { margin: .2rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.download-card .btn { flex-shrink: 0; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1rem; transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 22%, transparent); }
.field textarea { resize: vertical; }
.field .error { display: block; color: #c0392b; font-size: .82rem; margin-top: .3rem; min-height: 1em; }
[data-theme="dark"] .field .error { color: #ef8a7c; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.form-success { text-align: center; font-weight: 700; color: var(--sage-dark); margin-top: 1rem; }
.form-error { text-align: center; font-weight: 600; color: #c0392b; margin-top: 1rem; }
[data-theme="dark"] .form-error { color: #ef8a7c; }
.form-hint { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: .8rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 3rem 0 2rem; }
[data-theme="dark"] .site-footer { background: #0f0d0a; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.footer-brand .brand-text strong { color: #fff; font-size: 1.5rem; }
.footer-brand .brand-text em { color: var(--gold); font-style: normal; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; }
.footer-brand p { color: rgba(255,255,255,.7); margin-top: .6rem; font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: flex-end; }
.footer-nav a { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.5rem; padding-top: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- Retour en haut ---------- */
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sage); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--t); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--sage-dark); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .breathe { grid-template-columns: 1fr; }
  .about-figure { order: -1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform var(--t); z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 1rem; gap: .2rem; }
  .main-nav a { padding: .9rem 1rem; font-size: 1.05rem; }
  .main-nav a.nav-cta { text-align: center; margin-top: .4rem; }

  /* Tableau planning en cartes */
  .schedule thead { display: none; }
  .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
  .schedule tr { border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .schedule td { border: none; padding: .35rem 1.2rem; }
  .schedule td::before { content: attr(data-th) " · "; font-weight: 700; color: var(--sage-dark); }
  .schedule td:nth-child(3) { font-size: 1.1rem; }

  .massage-item { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .massage-price { text-align: left; }
}

@media (max-width: 420px) {
  .hero-stats { gap: 1.5rem; }
}
