/* =====================================================================
   ESCALE AMANDINE · L'HEURE DORÉE
   Design system — site statique v1
   Mandelieu · 2026
   ---------------------------------------------------------------------
   DA distincte de Maison AV : chaleur méditerranéenne, arches douces,
   filets dorés, typographies Cormorant Garamond + Jost.
   ===================================================================== */

/* ------------------------------ TOKENS ------------------------------ */

:root {
  /* Palette — sable & lumière */
  --creme:        #FAF6EF;  /* fond principal */
  --creme-deep:   #F4EDE1;  /* variation */
  --sable:        #EDE3D2;  /* sections alternées */
  --voile:        #F6F0E6;  /* cartes, surfaces */
  --brun:         #453728;  /* texte principal */
  --brun-soft:    #71604D;  /* texte secondaire */
  --terracotta:   #BE7F5C;  /* accent chaud */
  --terracotta-d: #A46A48;
  --sauge:        #93A188;  /* accent végétal */
  --sauge-pale:   #DCE1D2;
  --or:           #A8874F;  /* filets, ornements, overlines */
  --or-pale:      #D6C49E;

  /* Typographie */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans:    "Jost", "Avenir Next", "Century Gothic", sans-serif;

  /* Échelle typo */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-md:   1.125rem;
  --t-lg:   1.5rem;
  --t-xl:   2rem;
  --t-2xl:  2.75rem;
  --t-3xl:  3.75rem;
  --t-4xl:  5rem;

  /* Espace */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* Grille */
  --max-w: 1240px;
  --max-content: 860px;
  --max-narrow: 620px;

  /* Formes — signature visuelle : l'arche */
  --arch: 999px 999px 0 0;
  --radius-soft: 18px;
  --radius-pill: 999px;

  /* Traits */
  --line-or: 1px solid var(--or-pale);
  --line-faint: 1px solid rgba(69, 55, 40, 0.10);

  /* Transitions */
  --ease: cubic-bezier(0.33, 0, 0.2, 1);
  --t-fast: 180ms;
  --t-med: 320ms;

  /* Ombres chaudes */
  --sh-1: 0 2px 8px rgba(120, 94, 60, 0.06);
  --sh-2: 0 10px 30px rgba(120, 94, 60, 0.10);
  --sh-3: 0 30px 70px rgba(120, 94, 60, 0.16);
}

/* ------------------------------ RESET ------------------------------- */

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

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

body {
  margin: 0;
  background: var(--creme);
  color: var(--brun);
  font-family: var(--f-sans);
  font-size: var(--t-base);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
a:hover { color: var(--terracotta); }

::selection { background: var(--or-pale); color: var(--brun); }

/* --------------------------- TYPOGRAPHIE ---------------------------- */

h1, h2, h3, h4 { margin: 0; font-weight: 500; }

.display, .hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0.005em;
}

.hero-title { font-size: clamp(var(--t-2xl), 7vw, var(--t-4xl)); }

/* Touches terracotta — légères, sur les mots en italique des grands titres */
.hero-title em, .h1 em, .h2 em { color: var(--terracotta); }
.h1 { font-family: var(--f-display); font-size: clamp(var(--t-xl), 5vw, var(--t-3xl)); line-height: 1.1; }
.h2 { font-family: var(--f-display); font-size: clamp(var(--t-lg), 3.6vw, var(--t-2xl)); line-height: 1.15; }
.h3 { font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.25; }

.italic { font-style: italic; }

/* Overline — signature : capitales Jost espacées, dorées */
.overline {
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--or);
}
.overline::before { content: "— "; color: var(--terracotta); letter-spacing: 0; }

.lead {
  font-size: var(--t-md);
  font-weight: 300;
  color: var(--brun-soft);
  line-height: 1.7;
}

.small { font-size: var(--t-sm); color: var(--brun-soft); }

/* Ornement floral — sépare les sections (héritage du logo) */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: var(--terracotta);
  margin: 0 auto;
}
.ornament::before, .ornament::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or-pale));
}
.ornament::after { background: linear-gradient(90deg, var(--or-pale), transparent); }

/* ------------------------------ LAYOUT ------------------------------ */

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-5); }
.wrap--content { max-width: var(--max-content); }
.wrap--narrow { max-width: var(--max-narrow); }

.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--sable { background: var(--sable); }
.section--voile { background: var(--creme-deep); }

.center { text-align: center; }

.stack > * + * { margin-top: var(--sp-5); }

.section-head { max-width: var(--max-narrow); margin: 0 auto var(--sp-8); text-align: center; }
.section-head .overline { display: block; margin-bottom: var(--sp-4); }

/* ------------------------------ BOUTONS ----------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--t-med) var(--ease);
}

.btn--primary {
  background: var(--brun);
  color: var(--creme);
  border: 1px solid var(--brun);
}
.btn--primary:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--creme); box-shadow: var(--sh-2); }

.btn--ghost {
  border: 1px solid var(--or-pale);
  color: var(--brun);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--terracotta); color: var(--terracotta-d); background: rgba(190, 127, 92, 0.07); }

.btn--light {
  background: var(--creme);
  color: var(--brun);
  border: 1px solid var(--creme);
}
.btn--light:hover { background: var(--or-pale); border-color: var(--or-pale); color: var(--brun); }

.link-more {
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--terracotta);
  border-bottom: 1px solid var(--or-pale);
  padding-bottom: 3px;
}
.link-more:hover { border-color: var(--terracotta); }

/* ------------------------------ HEADER ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--line-or);
}

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  text-decoration: none;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand__mark { width: 44px; height: auto; flex-shrink: 0; }
.brand__txt { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brun);
}
.brand__sub {
  font-family: var(--f-sans);
  font-size: 0.62rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--or);
}
.brand:hover .brand__name { color: var(--terracotta); }

.site-nav { display: flex; align-items: center; gap: var(--sp-6); }
.site-nav__link {
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brun-soft);
}
.site-nav__link:hover { color: var(--terracotta); }
.site-nav__link.is-active { color: var(--brun); border-bottom: 1px solid var(--or); padding-bottom: 2px; }

.header-cta { display: flex; align-items: center; gap: var(--sp-4); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brun-soft);
}
.lang-switch img { width: 16px; height: 12px; border-radius: 2px; }

.menu-toggle {
  display: none;
  font-family: var(--f-sans);
  font-size: var(--t-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--sable);
  display: none;
  flex-direction: column;
  padding: var(--sp-5);
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-5);
  text-align: center;
}
.mobile-menu__links a {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  text-decoration: none;
}
.mobile-menu__foot { text-align: center; padding-bottom: var(--sp-5); }
.mobile-menu__foot a { display: block; margin-top: var(--sp-2); font-size: var(--t-sm); color: var(--brun-soft); text-decoration: none; }

/* ------------------------------ HERO -------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--sable);
}
.hero__in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-9) var(--sp-5);
}
.hero__txt .overline { display: block; margin-bottom: var(--sp-5); }
.hero__txt .lead { max-width: 44ch; margin-top: var(--sp-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-7); }

/* L'arche — image cintrée signature */
.arch-frame {
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 6px solid var(--creme);
  position: relative;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch-frame { aspect-ratio: 3 / 4; max-height: 640px; }

.hero__note {
  margin-top: var(--sp-4);
  text-align: center;
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brun-soft);
}

/* ------------------------- CARTES PRESTATIONS ------------------------ */

.soins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.soin-card {
  background: var(--voile);
  border: var(--line-or);
  border-radius: var(--radius-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.soin-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); color: inherit; }

.soin-card__img {
  margin: var(--sp-5) var(--sp-5) 0;
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.soin-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med) var(--ease); }
.soin-card:hover .soin-card__img img { transform: scale(1.04); }

.soin-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.soin-card__kicker { font-size: var(--t-xs); letter-spacing: 0.26em; text-transform: uppercase; color: var(--terracotta); }
.soin-card__title { font-family: var(--f-display); font-size: var(--t-lg); font-weight: 500; }
.soin-card__desc { font-size: var(--t-sm); color: var(--brun-soft); flex: 1; }
.soin-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: var(--line-faint);
  padding-top: var(--sp-3);
  font-size: var(--t-sm);
}
.soin-card__price { font-family: var(--f-display); font-size: var(--t-md); font-style: italic; color: var(--terracotta); }

/* -------------------------- DUO DOMICILE/STUDIO ---------------------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.duo-card {
  background: var(--creme);
  border: var(--line-or);
  border-radius: var(--radius-soft);
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
}
.duo-card--accent { background: var(--brun); color: var(--creme); border-color: var(--brun); }
.duo-card--accent .overline { color: var(--or-pale); }
.duo-card--accent .overline::before { color: var(--terracotta); }
.duo-card:not(.duo-card--accent) { border-top: 3px solid var(--terracotta); }
.duo-card--accent { border-top: 3px solid var(--terracotta); }
.duo-card--accent .small { color: rgba(250, 246, 239, 0.72); }
.duo-card .h3 { margin: var(--sp-3) 0 var(--sp-4); }
.duo-card p { margin: 0 0 var(--sp-4); }

/* ------------------------------ ZONE -------------------------------- */

.zone-band { position: relative; }
.zone-band__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-8);
  align-items: center;
}
.zone-map-placeholder {
  border-radius: var(--radius-soft);
  border: 1px dashed var(--or);
  background: var(--voile);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6);
  color: var(--brun-soft);
  font-size: var(--t-sm);
}
.zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.zone-cities li {
  font-size: var(--t-sm);
  padding: 0.35rem 1rem;
  border: var(--line-or);
  border-radius: var(--radius-pill);
  background: var(--creme);
}

/* Carte : fond OSM réchauffé pour coller à la palette */
#zone-map .leaflet-tile-pane { filter: sepia(0.28) saturate(0.75) brightness(1.04); }
#zone-map .leaflet-tooltip { font-family: inherit; font-size: 0.8rem; border: 0; border-radius: 999px; padding: 0.2rem 0.7rem; }

/* --------------------------- PRATICIENNE ----------------------------- */

.praticienne {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-8);
  align-items: center;
}
.praticienne .arch-frame { aspect-ratio: 3 / 4; }
.praticienne__txt .overline { display: block; margin-bottom: var(--sp-4); }
.praticienne__txt .h2 { margin-bottom: var(--sp-5); }
.praticienne__txt p { color: var(--brun-soft); }

/* Mots-clés d'approche */
.values {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}
.values li {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-md);
  color: var(--terracotta);
}
.values li::before { content: "✦"; font-style: normal; font-size: 0.7em; color: var(--or); margin-right: 0.5em; }

/* --------------------------- ENGAGEMENTS ----------------------------- */

.points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.point { text-align: center; padding: 0 var(--sp-3); }
.point__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-4);
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  font-size: var(--t-md);
  background: rgba(190, 127, 92, 0.06);
}
.point .h3 { font-size: var(--t-md); margin-bottom: var(--sp-2); }
.point p { font-size: var(--t-sm); color: var(--brun-soft); margin: 0; }

/* ------------------------------ BANDEAU CTA -------------------------- */

.cta-band {
  background: var(--brun);
  color: var(--creme);
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
}
.cta-band .overline { color: var(--or-pale); display: block; margin-bottom: var(--sp-4); }
.cta-band .h2 { color: var(--creme); margin-bottom: var(--sp-5); }
.cta-band .lead { color: rgba(250, 246, 239, 0.75); max-width: 46ch; margin: 0 auto var(--sp-6); }

/* ------------------------------ FAQ --------------------------------- */

.faq-section { max-width: var(--max-content); margin: 0 auto; }
.faq-item { border-bottom: var(--line-or); }
.faq-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 500;
}
.faq-item__btn::after { content: "+"; color: var(--terracotta); font-size: var(--t-lg); transition: transform var(--t-fast) var(--ease); }
.faq-item[aria-expanded="true"] .faq-item__btn::after { transform: rotate(45deg); }
.faq-item__panel { display: none; padding: 0 0 var(--sp-5); color: var(--brun-soft); }
.faq-item[aria-expanded="true"] .faq-item__panel { display: block; }

/* ------------------------- PAGES ÉDITORIALES ------------------------- */

.page-head {
  background: var(--sable);
  text-align: center;
  padding: var(--sp-9) var(--sp-5) var(--sp-8);
}
.page-head .overline { display: block; margin-bottom: var(--sp-4); }
.page-head .lead { max-width: var(--max-narrow); margin: var(--sp-5) auto 0; }

.prose { max-width: var(--max-content); margin: 0 auto; }
.prose h2 { font-family: var(--f-display); font-size: var(--t-lg); margin: var(--sp-7) 0 var(--sp-3); }
.prose p, .prose li { color: var(--brun-soft); }
.prose ul { list-style: none; padding-left: var(--sp-5); }
.prose ul li { position: relative; margin-bottom: var(--sp-2); }
.prose ul li::before { content: "✦"; position: absolute; left: calc(-1 * var(--sp-5)); color: var(--or); font-size: 0.7em; top: 0.45em; }

/* --------------------------- RÉSERVATION ----------------------------- */

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  max-width: var(--max-content);
  margin: 0 auto;
}
.booking-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  background: var(--voile);
  border: var(--line-or);
  border-radius: var(--radius-soft);
  padding: var(--sp-5) var(--sp-6);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.booking-card:hover { border-color: var(--or); box-shadow: var(--sh-1); color: inherit; }
.booking-card__title { font-family: var(--f-display); font-size: var(--t-md); font-weight: 500; }
.booking-card__meta { font-size: var(--t-sm); color: var(--brun-soft); }
.booking-card__arrow { color: var(--terracotta); font-size: var(--t-lg); }
.booking-card:hover .booking-card__arrow { transform: translateX(4px); transition: transform var(--t-fast) var(--ease); }

/* ------------------------------ FOOTER ------------------------------- */

.site-footer {
  background: var(--creme-deep);
  border-top: var(--line-or);
  padding: var(--sp-8) 0 var(--sp-6);
  font-size: var(--t-sm);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
}
.site-footer h4 {
  font-family: var(--f-sans);
  font-size: var(--t-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--or);
  margin-bottom: var(--sp-4);
}
.site-footer li { margin-bottom: var(--sp-2); }
.site-footer a { text-decoration: none; color: var(--brun-soft); }
.site-footer a:hover { color: var(--terracotta); }

.footer-note {
  border-top: var(--line-faint);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
  color: var(--brun-soft);
  font-size: var(--t-xs);
}
.footer-deonto {
  font-size: var(--t-xs);
  color: var(--brun-soft);
  border: var(--line-or);
  border-radius: var(--radius-soft);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-5);
  text-align: center;
}

/* ---------------------------- RESPONSIVE ----------------------------- */

@media (max-width: 980px) {
  .soins-grid { grid-template-columns: 1fr 1fr; }
  .points-grid { grid-template-columns: 1fr 1fr; row-gap: var(--sp-7); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }

  .hero__in { grid-template-columns: 1fr; padding: var(--sp-7) var(--sp-5); gap: var(--sp-6); }
  .hero .arch-frame { max-width: 420px; margin: 0 auto; }

  .zone-band__grid, .praticienne, .duo { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .section { padding: var(--sp-8) 0; }
}

@media (max-width: 560px) {
  .soins-grid { grid-template-columns: 1fr; }
  .points-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* Accessibilité : focus visible */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
