@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ══════════════════════════════════════════════════════
   PALETTE — Centre d'Acupuncture Sébastopol
   ══════════════════════════════════════════════════════ */
:root {
  --ink:         #1a1714;
  --ink-light:   #5a554f;
  --ink-faint:   #a09890;
  --paper:       #f7f4ef;
  --paper-warm:  #ede8e0;
  --paper-dark:  #d4ccc0;
  --green:       #1e3a2f;
  --green-mid:   #2d5040;
  --green-light: #e8f0eb;
  --green-faint: #c8dcd0;
  --terre:       #C8572A;
  --terre-light: #f5ebe4;
  --terre-mid:   #c9835e;
  --ambre:       #D4A96A;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", sans-serif;
  --border:      rgba(26,23,20,0.10);
  --border-light:rgba(247,244,239,0.15);
  --nav-h: 62px;
}

/* ══════════════════════════════════════════════════════
   BASE
   ══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════
   TYPOGRAPHIE
   ══════════════════════════════════════════════════════ */
h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.label {
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-mid);
}
.label-light { color: rgba(247,244,239,0.45); }
.label-terre  { color: var(--terre-mid); }
.body-text { font-size: 15px; line-height: 1.85; color: var(--ink-light); }

/* ══════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(247,244,239,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center;
  padding: 0 48px; gap: 32px;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 16px; font-weight: 400;
  color: var(--green); text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex; align-items: center;
  gap: 28px; flex: 1; justify-content: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  color: var(--ink-light); text-decoration: none;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 0.5px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--green); }

.nav-cta {
  background: var(--green); color: var(--paper);
  padding: 9px 20px; border-radius: 3px;
  font-family: var(--sans);
  font-size: 9px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.12em;
  text-transform: uppercase; white-space: nowrap;
  flex-shrink: 0; transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-mid); }


/* Groupe droite nav : hamburger + bouton RDV toujours visibles */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
/* Hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none; flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--paper); border-bottom: 0.5px solid var(--border);
  padding: 20px 32px 32px; z-index: 99;
  flex-direction: column; gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--sans); font-size: 14px;
  color: var(--ink); text-decoration: none;
  padding: 13px 0; border-bottom: 0.5px solid var(--border);
  letter-spacing: 0.06em; transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--green); }
.nav-mobile-cta {
  margin-top: 20px; background: var(--green); color: var(--paper);
  padding: 14px; border-radius: 3px; text-align: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; display: block;
}

/* ══════════════════════════════════════════════════════
   PAGE
   ══════════════════════════════════════════════════════ */
.page-wrap { padding-top: var(--nav-h); }

/* ══════════════════════════════════════════════════════
   HERO SPLIT PHOTO
   Structure :
   .hero-split
     .hero-photo   ← côté gauche : photo plein-fond + overlay + texte
       .hero-photo-bg      (remplacé par <img> ou background-image)
       .hero-photo-overlay (dégradé sombre)
       .hero-photo-content (label + h1)
     .hero-text    ← côté droit : fond papier + intro éditoriale
   ══════════════════════════════════════════════════════ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

/* — Côté photo (gauche) — */
.hero-photo {
  position: relative; overflow: hidden;
  background: var(--ink); /* fallback si pas de photo */
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 56px 48px;
}
/* Image de fond — à remplacer par une vraie photo plus tard */
.hero-photo-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
  /* Placeholder visuel en attendant la photo */
  background: linear-gradient(145deg, var(--green) 0%, #0d1f18 100%);
}
.hero-photo-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
/* Overlay pour lisibilité du texte */
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,12,10,0.85) 0%,
    rgba(10,12,10,0.35) 50%,
    rgba(10,12,10,0.15) 100%
  );
}
/* Contenu texte sur la photo */
.hero-photo-content {
  position: relative; z-index: 2;
}
.hero-photo-label {
  font-family: var(--sans);
  font-size: 8px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,244,239,0.45);
  margin-bottom: 20px; display: block;
}
.hero-photo h1 {
  color: var(--paper);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.0; letter-spacing: -0.025em;
  font-weight: 300;
}
.hero-photo h1 em {
  font-style: italic;
  color: rgba(247,244,239,0.55);
  display: block;
}
/* Placeholder visible quand pas de photo */
.hero-photo-placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  pointer-events: none;
}
.hero-photo-placeholder-text {
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(247,244,239,0.15);
}

/* — Côté texte (droite) — */
.hero-text {
  background: var(--paper);
  padding: 72px 56px 72px 64px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-left: 0.5px solid var(--border);
}
.hero-text-soie {
  background: #f5ece2;
  border-left-color: rgba(200,87,42,0.12);
}
.hero-text-label {
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 24px;
}
.hero-text-label-terre { color: rgba(200,87,42,0.55); }
.hero-text-intro {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400; font-style: italic;
  color: var(--ink); line-height: 1.45;
  margin-bottom: 28px; letter-spacing: -0.01em;
}
.hero-text-body {
  font-family: var(--sans);
  font-size: 15px; line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 40px; max-width: 420px;
}
.hero-text-meta {
  font-size: 12px; color: var(--ink-faint);
  margin-top: 28px; padding-top: 24px;
  border-top: 0.5px solid var(--border);
}
.hero-text-meta-terre {
  border-top-color: rgba(200,87,42,0.12);
  color: var(--terre-mid);
}


/* Auto-hide placeholder when real photo img is present */
.hero-photo-bg:has(img) + .hero-photo-placeholder,
.photo-slot:has(img) > svg,
.photo-slot:has(img) > .photo-slot-label { display: none; }

/* ══════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════ */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 3px;
  font-family: var(--sans);
  font-size: 10px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary        { background: var(--green); color: var(--paper); }
.btn-primary:hover  { background: var(--green-mid); }
.btn-outline        { border: 0.5px solid var(--green); color: var(--green); background: transparent; }
.btn-outline:hover  { background: var(--green-light); }
.btn-terre          { background: var(--terre); color: #fff; }
.btn-terre:hover    { background: #a8461f; }
.btn-outline-terre  { border: 0.5px solid var(--terre); color: var(--terre); background: transparent; }
.btn-outline-terre:hover { background: var(--terre-light); }
.btn-dark           { background: var(--ink); color: var(--paper); }
.btn-dark:hover     { opacity: 0.88; }
.btn-ghost          { border: 0.5px solid rgba(247,244,239,0.3); color: var(--paper); background: transparent; }
.btn-ghost:hover    { background: rgba(247,244,239,0.1); }
.btn-paper          { background: var(--paper); color: var(--green); }
.btn-paper:hover    { background: var(--paper-warm); }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ══════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════ */
section { padding: 80px 48px; }
.container        { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════
   COMPOSANTS
   ══════════════════════════════════════════════════════ */
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 2px;
  font-family: var(--sans);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.tag-green   { background: var(--green-light); color: var(--green); }
.tag-terre   { background: var(--terre-light); color: var(--terre); }
.tag-neutral { border: 0.5px solid var(--border); color: var(--ink-light); background: transparent; }

/* Review cards */
.review-card {
  background: #fff;
  border-left: 2px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 22px 26px;
}
.review-card-terre { border-left-color: var(--terre); }
.review-text {
  font-family: var(--serif);
  font-size: 18px; font-style: italic;
  line-height: 1.65; color: var(--ink);
  opacity: 0.75; margin-bottom: 10px;
}
.review-author {
  font-family: var(--sans);
  font-size: 9px; font-weight: 600;
  color: var(--green-mid); letter-spacing: 0.1em; text-transform: uppercase;
}

/* Warning / info box */
.info-box {
  background: rgba(212,169,106,0.1);
  border-left: 2px solid var(--ambre);
  border-radius: 0 7px 7px 0; padding: 16px 20px;
}
.info-box p { font-size: 13px; color: var(--ink-light); line-height: 1.65; }

/* ══════════════════════════════════════════════════════
   SECTIONS VERTES — texte clair obligatoire
   ══════════════════════════════════════════════════════ */
.section-green { background: var(--green); }
.section-green .label   { color: rgba(247,244,239,0.45); }
.section-green h2       { color: var(--paper); }
.section-green h3       { color: var(--paper); }
.section-green p        { color: rgba(247,244,239,0.65); }
.section-green .label-visible { color: var(--green-faint); }

/* ══════════════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════════════ */
.cta-band { background: var(--green); padding: 72px 48px; text-align: center; }
.cta-band h2 { color: var(--paper); margin-bottom: 16px; }
.cta-band p  { color: rgba(247,244,239,0.6); font-size: 15px; margin-bottom: 32px; }
.cta-band .btn-group { justify-content: center; }
.cta-band-terre { background: var(--terre); }
.cta-band-dark  { background: var(--ink); }

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
footer {
  background: var(--ink); color: var(--paper);
  padding: 56px 48px 40px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 20px; color: var(--paper); margin-bottom: 12px;
}
.footer-tagline { font-size: 12px; color: var(--ink-faint); line-height: 1.65; }
.footer-col h4 {
  font-size: 9px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-faint); margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 13px;
  color: rgba(247,244,239,0.42);
  text-decoration: none; margin-bottom: 9px;
  line-height: 1.5; transition: color 0.2s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  padding-top: 28px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 11px; color: rgba(247,244,239,0.18); }

/* ══════════════════════════════════════════════════════
   FADE IN
   ══════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { min-height: 60vw; max-height: 70vh; }
  .hero-text  { padding: 48px 24px 64px; border-left: none; border-top: 0.5px solid var(--border); }
  section { padding: 60px 24px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .hero-photo { min-height: 50vh; }
  .footer-grid { grid-template-columns: 1fr; }
}
