/* ============================================
   Catherine Fonteneau · Médecine chinoise
   Style inspiré de yoannguez.com/therapie-du-lien
   Palette : Catherine (tons chauds)
   ============================================ */

/* --- Poppins auto-hébergée (zéro requête tierce, RGPD clean) --- */
/* Poids 300/400/500/600/700, subsets latin + latin-ext. Fichiers : assets/fonts/ */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* --- Variables --- */
:root {
  --bg: #F5EFE3;          /* beige soie (équivalent #E9E7E2 chez Yoann) */
  --bg-alt: #EFE6D3;
  --bg-deep: #E8DCC2;
  --bg-white: #FFFFFF;

  --ink: #3D2817;         /* brun profond Catherine (équivalent #282D4D chez Yoann) */
  --ink-soft: #5C4329;
  --ink-muted: #8B7355;
  --eyebrow: #AE7E32;     /* ocre doré parchemin, légèrement assombri */

  --sceau: #A6342B;       /* rouge sceau (accent CTA, équivalent #F2996A chez Yoann) */
  --sceau-dark: #862619;
  --accent-alt: #C46B7A;  /* rose pivoine (accent secondaire) */
  --vert: #7A8F6A;
  --or: #C9A86B;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;

  --max-w: 1200px;
  --max-w-narrow: 800px;

  --grain: repeating-linear-gradient(0deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px), repeating-linear-gradient(90deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #fff; }
/* Calque foncé derrière le fond du body : révélé uniquement à l'overscroll vers le bas,
   pour que le bas de page reste foncé comme le footer (le haut reste blanc via le fond html). */
html::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50vh;
  background: #5A1810;
  z-index: -1;
  pointer-events: none;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  font-weight: 400;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sceau); }
strong, b { font-weight: 600; }
em, i { font-style: italic; }
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }   /* ~60px desktop */
h2 { font-size: clamp(1.9rem, 3.8vw, 2.625rem); }  /* ~42px desktop */
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }   /* ~28px desktop */
h4 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); }   /* ~21px desktop */

p { margin: 0 0 1.2em; font-size: clamp(1rem, 1.2vw, 1.18rem); }   /* ~19px desktop */
p.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }                 /* ~21px lead */

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 80px 0; position: relative; }
section.alt {
  background:
    repeating-linear-gradient(0deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #F5EFE3 0%, #ECD8A8 100%);
}
section.alt.nogrid {
  background: linear-gradient(135deg, #F5EFE3 0%, #ECD8A8 100%);
}

/* Note sous les tags problématiques : duo de cartes (sombre + blanche, style seance-grid) */
.tags-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 44px auto 0;
  align-items: stretch;
}
.tags-note-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 18px 45px -22px rgba(61, 40, 23, 0.18);
  min-width: 0; /* autorise la carte à rétrécir dans la grille (anti-débordement) */
}
.tags-note-item .section-icon { text-align: left; margin-bottom: 22px; }
.tags-note-item h2 {
  text-align: left;
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 5.5vw, 2.1rem); /* "L'accompagnement" doit tenir à 360px */
  overflow-wrap: break-word;
}
.tags-note-item p { text-align: left; color: var(--ink-soft); margin: 0; }
.tags-note-item.dark {
  background: linear-gradient(135deg, #2A1B0F 0%, #5A1810 100%);
  color: #fff;
}
.tags-note-item.dark h2 { color: #fff; }
.tags-note-item.dark h2 strong { color: #F5C794; font-weight: 600; }
.tags-note-item.dark p { color: rgba(245, 239, 227, 0.85); }
.tags-note-item.dark p strong { color: #fff; }
@media (max-width: 1024px) {
  .tags-note { grid-template-columns: 1fr; max-width: 620px; }
  .tags-note-item { padding: 36px 28px; }
}

/* Sauts de ligne responsives (éditeur visuel : <span class="br-mobile|br-tablet|br-desktop"><br></span>).
   3 tranches : mobile ≤640 · tablette 641-1024 · ordi ≥1025.
   Quand un saut est masqué, le ::after insère l'espace qui évite de souder les mots. */
.br-desktop, .br-tablet, .br-mobile { display: inline; }
@media (min-width: 641px) and (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .br-desktop br, br.br-desktop, .br-tablet br { display: none; }
  .br-desktop::after, .br-tablet::after { content: " "; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .br-desktop br, br.br-desktop, .br-mobile br, br.br-mobile { display: none; }
  .br-desktop::after, .br-mobile::after { content: " "; }
}
@media (min-width: 1025px) {
  .br-mobile br, br.br-mobile, .br-tablet br { display: none; }
  .br-mobile::after, .br-tablet::after { content: " "; }
}
section#histoire {
  background: var(--bg);
}
section#avis {
  background: var(--bg);
}
section.deep { background: var(--bg-deep); }
section.dark {
  background:
    repeating-linear-gradient(0deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #F5EFE3 0%, #ECD8A8 100%);
  color: var(--ink);
}
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: var(--ink); }
section.dark h2 strong { color: var(--sceau); }
section.dark .section-head p { color: var(--ink-soft); }

.section-head { text-align: center; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); }
.section-icon {
  display: block;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1;
  margin-bottom: 18px;
}

/* --- Boutons (style Yoann : pill rounded) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 22px;
  background: var(--sceau);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1;
}
.btn:hover {
  transform: translateY(-2px);
  color: #fff;
}
.btn.outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn.outline:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--sceau);
  border-color: var(--sceau);
}
.btn.alt {
  background: var(--accent-alt);
  color: #fff;
}
.btn.alt:hover {
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 40, 23, 0.06);
  box-shadow: 0 20px 50px -20px rgba(61, 40, 23, 0.10);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.nav-logo .seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--sceau);
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 500;
}
.nav-logo small {
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-top: 4px;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  font-family: var(--font);
}
.nav-links a:hover { color: var(--sceau); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }
.nav-links a.active {
  color: var(--sceau);
  text-decoration: underline;
  text-decoration-color: var(--sceau);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-mobile-only { display: none; }
.nav-desktop-only { display: inline-flex; align-items: center; }

.hamburger { display: none; cursor: pointer; width: 26px; height: 20px; position: relative; }
.hamburger span {
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--ink);
  left: 0;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* --- Hero --- */
.hero {
  padding: 70px 0 60px;
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 90px -30px rgba(61, 40, 23, 0.12);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.hero-content .eyebrow {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 strong { color: var(--sceau); font-weight: 600; }
.hero-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(61, 40, 23, 0.12);
}
.stat-num {
  font-family: var(--font);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--sceau);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.3px;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center bottom;
}

/* --- Section narrative (image + texte, style Yoann) --- */
.narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.narrative.reverse > div:first-child { order: 2; }
.narrative h2 { margin-bottom: 22px; }
.narrative h2 strong { color: var(--sceau); font-weight: 600; }
.narrative .eyebrow {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 14px;
  font-weight: 500;
}
.narrative-text p {
  color: var(--ink-soft);
  line-height: 1.75;
}
.narrative-text blockquote {
  margin: 26px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--sceau);
  background: rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.narrative img {
  width: 100%;
  border-radius: var(--radius);
}

/* --- Vignettes (cartes) --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cards-grid.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .cards-grid.cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-grid.cards-grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 0 0 32px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media {
  overflow: hidden;
  margin: 0 0 24px;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.card-media img {
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover .card-media img { transform: scale(1.07); }
.card h4 { margin: 0 28px 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: auto 28px; }

/* --- Seance grid (2 cadres : intro / steps) --- */
.seance-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: center;
}
.seance-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 48px 44px;
}
.seance-intro {
  background: linear-gradient(135deg, #2A1B0F 0%, #5A1810 100%);
  color: #fff;
}
.seance-intro .section-icon {
  text-align: left;
  margin-bottom: 22px;
}
.seance-intro h2 {
  text-align: left;
  margin-bottom: 20px;
  color: #fff;
}
.seance-intro h2 strong { color: #F5C794; font-weight: 600; }
.seance-intro p {
  text-align: left;
  color: rgba(245, 239, 227, 0.85);
  margin: 0;
}
.seance-intro p strong { color: #fff; }
.seance-steps .steps { max-width: none; }
.seance-steps .step:first-child { padding-top: 0; }
.seance-steps .step:last-child { padding-bottom: 0; }
@media (max-width: 1024px) {
  .seance-grid { grid-template-columns: 1fr; }
  .seance-card { padding: 36px 28px; }
}

/* --- Steps (1-2-3-4) --- */
.steps {
  max-width: 720px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 2px solid rgba(61, 40, 23, 0.18);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 64px;
  font-family: var(--font);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--sceau);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { color: var(--ink-soft); margin: 0; }

/* --- Problems tags --- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.tag {
  padding: 12px 20px;
  background: var(--bg-white);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  border: 1px solid rgba(61, 40, 23, 0.08);
}

/* --- Offres --- */
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 950px;
  margin: 0 auto;
}
.offer {
  background: var(--bg-white);
  padding: 44px 38px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.offer .icon { font-size: 2rem; margin-bottom: 16px; }
.offer h3 { margin-bottom: 8px; }
.offer .sub { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 22px; }
.offer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.offer li {
  padding: 9px 0 9px 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.offer li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--sceau);
  font-weight: 600;
}
.offer .btn { width: 100%; justify-content: center; }

/* --- Reviews --- */
.reviews-head {
  text-align: center;
  margin-bottom: 40px;
}
.stars {
  color: var(--or);
  letter-spacing: 4px;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.reviews-head .big {
  font-size: 3rem;
  font-weight: 600;
  color: var(--sceau);
  line-height: 1;
  margin: 8px 0 6px;
}
.reviews-head p { color: var(--ink-soft); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.review {
  background: var(--bg-white);
  padding: 26px 28px;
  border-radius: var(--radius);
}
.review .stars { font-size: 0.95rem; margin-bottom: 12px; }
.review p { font-style: italic; color: var(--ink); margin-bottom: 12px; font-size: 0.98rem; line-height: 1.6; }
.review .author { font-size: 0.92rem; color: var(--ink-soft); font-style: normal; margin: 0; }

/* --- Galerie --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* --- RDV / Contact --- */
.rdv-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); /* contact étroit / réservation large */
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start; /* la carte contact garde sa hauteur, seule la carte réservation grandit */
}
.rdv-card {
  background: var(--bg-white);
  padding: 42px 38px;
  border-radius: var(--radius);
  min-width: 0; /* le picker défile DANS la carte au lieu d'écraser sa voisine */
}
.rdv-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(61, 40, 23, 0.08);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.rdv-info:first-of-type { border-top: none; }
.rdv-info > div { min-width: 0; overflow-wrap: anywhere; }
.rdv-info strong { color: var(--ink); font-weight: 600; }
.rdv-info .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--sceau);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  font-size: 0.9rem;
}
.zcal-wrap {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
}
.zcal-placeholder {
  padding: 50px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px dashed rgba(61, 40, 23, 0.15);
  color: var(--ink-muted);
  font-style: italic;
}

/* --- Stickers (mots clés image dans titres) --- */
.sticker {
  display: inline-block;
  vertical-align: middle;
  width: clamp(60px, 9vw, 130px);
  height: auto;
  margin: 0 6px;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* --- Page hero (mon-histoire, medecine-chinoise) --- */
.page-hero {
  padding: 60px 0;
  position: relative;
  z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(61, 40, 23, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #F5EFE3 0%, #ECD8A8 100%);
  border-bottom: 1px solid rgba(61, 40, 23, 0.06);
  box-shadow: 0 40px 90px -30px rgba(61, 40, 23, 0.12);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.8vw, 2.625rem);
}
.page-hero h1 strong { color: var(--sceau); font-weight: 600; }
.page-hero .breadcrumb {
  font-size: 1.05rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.page-hero .breadcrumb a { color: var(--ink-muted); }
.page-hero .breadcrumb a:hover { color: var(--sceau); }
.page-hero .lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.page-hero img {
  width: 100%;
  border-radius: var(--radius);
}

/* --- Rich content (textes longs simples) --- */
.rich {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}
.rich h2, .rich h3 { margin-top: 40px; margin-bottom: 16px; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich h2 strong, .rich h3 strong { color: var(--sceau); font-weight: 600; }
.rich p { color: var(--ink-soft); line-height: 1.8; }
.rich blockquote {
  margin: 30px 0;
  padding: 24px 32px;
  border-left: 3px solid var(--sceau);
  background: rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.rich ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.rich ul li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.65;
}
.rich ul li::before {
  content: '·';
  position: absolute;
  left: 6px;
  top: 6px;
  color: var(--sceau);
  font-size: 1.4rem;
  font-weight: 600;
}

/* --- Footer sombre --- */
.footer {
  background: linear-gradient(135deg, #2A1B0F 0%, #5A1810 100%);
  color: var(--bg);
  padding: 70px 0 32px;
  /* prolonge le footer en foncé sous la page : couvre l'overscroll vers le bas (Safari) */
  box-shadow: 0 100vh 0 100vh #5A1810;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  margin-bottom: 50px;
}
.footer h4 {
  font-size: 0.85rem;
  margin-bottom: 18px;
  color: var(--bg);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer p, .footer a {
  font-size: 0.95rem;
  color: rgba(245, 239, 227, 0.75);
  margin: 0 0 10px;
  display: block;
  line-height: 1.6;
}
.footer a:hover { color: var(--bg); }
.footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--bg);
  line-height: 1.15;
}
.footer-brand .nav-logo small { color: rgba(245, 239, 227, 0.65); margin-top: 4px; line-height: 1.2; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 32px 0;
  border-top: 2px solid rgba(245, 239, 227, 0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(245, 239, 227, 0.5);
}
.footer-bottom a {
  display: inline-block;
  margin-left: 22px;
  color: rgba(245, 239, 227, 0.5);
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--bg); }
.footer-credit {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 32px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 239, 227, 0.5);
}
.footer-credit a {
  color: rgba(245, 239, 227, 0.78);
  font-size: 0.78rem;
  text-decoration: none;
}
.footer-credit a:hover { color: #F5EFE3; }
.maps-link .arrow { display: inline-block; transition: transform 0.2s ease; }
.maps-link:hover .arrow { transform: translateX(4px); }

/* --- Sections avec fond image (background cover + overlay) --- */
.section-bg {
  position: relative;
  padding: 130px 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 40, 23, 0.78), rgba(61, 40, 23, 0.55));
  z-index: 0;
}
.section-bg.warm::before {
  background: linear-gradient(135deg, rgba(166, 52, 43, 0.72), rgba(61, 40, 23, 0.78));
}
.section-bg .container { position: relative; z-index: 1; }
.section-bg h2, .section-bg h3, .section-bg p { color: #fff; }
.section-bg h2 strong { color: #F5C794; font-weight: 600; }
.section-bg .section-head p { color: rgba(245, 239, 227, 0.9); }
.section-bg .btn {
  background: #fff;
  color: var(--ink);
}
.section-bg .btn:hover {
  transform: translateY(-2px);
}
.section-bg .btn.outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.section-bg .btn.outline:hover {
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  section { padding: 70px 0; }
  .nav-links {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 100%;
    height: calc(100dvh - 76px);
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transition: right 0.3s;
    flex: initial !important;
  }
  .nav-links.active { right: 0; }
  .nav-mobile-only { display: list-item !important; }
  .nav-desktop-only { display: none !important; }
  .hamburger { display: block; }
  .hero-grid, .narrative, .page-hero-grid, .rdv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .narrative.reverse > div:first-child { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container, .hero-grid, .page-hero-grid { padding-left: 20px; padding-right: 20px; }
  body { font-size: 16px; }
  /* Boutons empilés : un peu d'air quand ils passent l'un sous l'autre */
  .section-head .btn { margin: 5px 4px; }
  .rdv-card { padding: 30px 22px; }
  .hero { padding: 40px 0 50px; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .stat-num { font-size: 1.4rem; }
  .cards-grid, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  /* Liens légaux en triangle : Mentions + Confidentialité en haut, Cookies centré dessous */
  .footer-bottom > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
  .footer-bottom > div a { margin: 0; }
  .footer-bottom > div a:last-child { flex-basis: 100%; }
  input { font-size: 16px; }
}

/* --- Scroll reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cards-grid .reveal:nth-child(1) { transition-delay: 0s; }
.cards-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.cards-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.steps .reveal:nth-child(1) { transition-delay: 0s; }
.steps .reveal:nth-child(2) { transition-delay: 0.10s; }
.steps .reveal:nth-child(3) { transition-delay: 0.20s; }
.steps .reveal:nth-child(4) { transition-delay: 0.30s; }
.offers .reveal:nth-child(1) { transition-delay: 0s; }
.offers .reveal:nth-child(2) { transition-delay: 0.12s; }
.reviews-grid .reveal:nth-child(1) { transition-delay: 0s; }
.reviews-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.reviews-grid .reveal:nth-child(3) { transition-delay: 0.20s; }
.tags .reveal { transition-duration: 0.5s; }
.tags .reveal:nth-child(odd) { transition-delay: 0.04s; }
.tags .reveal:nth-child(even) { transition-delay: 0.10s; }
.hero-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-content > *:nth-child(5) { animation-delay: 0.45s; }
.hero-visual img {
  opacity: 0;
  animation: heroFadeIn 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-content > *, .hero-visual img {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Anti-overflow iOS */
html, body { max-width: 100vw; }

/* ============================================================
   Consentement cookies (bannière + modale) · tons chauds
   ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: #2A1B0F;
  color: #F5EFE3;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 107, 0.35);
  box-shadow: 0 24px 60px -20px rgba(42, 27, 15, 0.55);
  z-index: 1200;
  animation: cookieUp 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cookie-banner.visible { display: block; }
@keyframes cookieUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner__title { font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; color: #F5EFE3; }
.cookie-banner__message { font-size: 0.92rem; line-height: 1.6; margin: 0 0 18px; color: rgba(245, 239, 227, 0.85); }
.cookie-banner__message a { color: var(--or); text-decoration: underline; }
.cookie-banner__buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cookie-banner__btn {
  padding: 11px 22px; border-radius: 999px; font-family: var(--font);
  font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: all 0.25s ease; border: none;
}
.cookie-banner__btn--accept { background: var(--sceau); color: #fff; }
.cookie-banner__btn--accept:hover { background: var(--sceau-dark); transform: translateY(-2px); }
.cookie-banner__btn--refuse { background: transparent; color: #F5EFE3; border: 1.5px solid rgba(245, 239, 227, 0.55); }
.cookie-banner__btn--refuse:hover { border-color: #F5EFE3; }
.cookie-banner__btn--customize { background: transparent; color: var(--or); border: none; text-decoration: underline; padding: 11px 4px; }
.cookie-banner__btn--customize:hover { opacity: 0.82; }

.cookie-modal { display: none; position: fixed; inset: 0; z-index: 1300; }
.cookie-modal.visible { display: flex; align-items: center; justify-content: center; }
.cookie-modal__overlay { position: absolute; inset: 0; background: rgba(42, 27, 15, 0.55); cursor: pointer; }
.cookie-modal__content {
  position: relative; background: var(--bg-white); color: var(--ink);
  border-radius: 18px; max-width: 580px; width: calc(100% - 40px);
  max-height: 88vh; overflow-y: auto; padding: 38px 34px; margin: 20px;
  box-shadow: 0 30px 70px rgba(42, 27, 15, 0.35);
}
.cookie-modal__content h2 { font-size: 1.35rem; margin: 0 0 6px; color: var(--ink); }
.cookie-modal__close { position: absolute; top: 18px; right: 20px; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink-muted); }
.cookie-modal__close:hover { color: var(--sceau); }
.cookie-categories { margin: 24px 0; }
.cookie-category { padding: 18px 0; border-bottom: 1px solid #ECE2D0; }
.cookie-category:last-child { border-bottom: none; }
.cookie-category__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.cookie-category__title { font-weight: 600; color: var(--ink); margin: 0; font-size: 1rem; }
.cookie-category__desc { font-size: 0.86rem; color: var(--ink-muted); margin: 6px 0 0; line-height: 1.55; }
.cookie-toggle { flex: 0 0 auto; width: 50px; height: 26px; background: #D8C9AE; border: none; border-radius: 13px; cursor: pointer; position: relative; transition: background 0.3s ease; margin-top: 2px; }
.cookie-toggle.active { background: var(--sceau); }
.cookie-toggle:disabled { opacity: 0.5; cursor: not-allowed; }
.cookie-toggle::after { content: ''; position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 50%; top: 2px; left: 2px; transition: left 0.3s ease; }
.cookie-toggle.active::after { left: 26px; }
.cookie-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.cookie-modal__actions .btn { cursor: pointer; }

.zcal-gate {
  background: var(--bg-alt); border: 1px dashed rgba(139, 115, 85, 0.4);
  border-radius: 14px; padding: 28px 24px; text-align: center;
}
.zcal-gate p { color: var(--ink-soft); margin: 0 0 16px; font-size: 0.95rem; line-height: 1.6; }

/* Pages légales : confort de lecture */
.legal main { padding-bottom: 20px; }
.legal-content { max-width: var(--max-w-narrow); margin: 0 auto; }
.legal-content h2 { margin: 34px 0 12px; font-size: 1.3rem; color: var(--ink); }
.legal-content h3 { margin: 22px 0 8px; font-size: 1.05rem; color: var(--ink-soft); }
.legal-content p, .legal-content li { color: var(--ink-soft); line-height: 1.75; }
.legal-content ul { padding-left: 22px; margin: 10px 0 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--sceau); text-decoration: underline; }
.legal-content .legal-note { background: var(--bg-alt); border-left: 3px solid var(--or); padding: 14px 18px; border-radius: 8px; font-size: 0.9rem; color: var(--ink-muted); }

@media (max-width: 640px) {
  .cookie-banner__buttons { flex-direction: column; align-items: stretch; }
  .cookie-banner__btn { width: 100%; }
  .cookie-modal__content { padding: 30px 22px; }
}

/* ============================================================
   Formulaire de prise de rendez-vous
   ============================================================ */
.rdv-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; position: relative; }
.rdv-form-row { display: flex; gap: 12px; }
.rdv-form-row input { flex: 1; min-width: 0; }
.rdv-form input[type="text"],
.rdv-form input[type="tel"],
.rdv-form input[type="email"],
.rdv-form textarea {
  width: 100%; padding: 13px 16px; font-family: var(--font); font-size: 16px; /* >=16px : empêche le zoom auto (et le scroll) d'iOS au focus */
  color: var(--ink); background: var(--bg-white);
  border: 1px solid #DCDEE3; border-radius: 10px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rdv-form textarea { resize: none; min-height: 68px; line-height: 1.5; }
.rdv-form input::placeholder, .rdv-form textarea::placeholder { color: var(--ink-muted); }
.rdv-form input:focus, .rdv-form textarea:focus {
  outline: none; border-color: var(--sceau);
  box-shadow: 0 0 0 3px rgba(166, 52, 43, 0.12);
}
/* Honeypot : masqué SANS pousser hors écran (left:-9999px provoquait un débordement
   horizontal sur iOS). Pattern visually-hidden : clippé sur place, jamais de scroll. */
.rdv-hp { position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.rdv-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.rdv-consent input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--sceau); }
.rdv-form .btn { margin-top: 6px; width: 100%; justify-content: center; }
.rdv-err { margin-top: 12px; padding: 12px 16px; border-radius: 10px; background: rgba(166, 52, 43, 0.08); border: 1px solid rgba(166, 52, 43, 0.25); color: var(--sceau-dark); font-size: 0.9rem; }
.rdv-fineprint { margin-top: 14px; font-size: 0.8rem; color: var(--ink-muted); line-height: 1.6; }
.rdv-fineprint a { color: var(--sceau); }
#rdvThanks h3 { margin-top: 0; }
#rdvZcal { margin-top: 28px; }
[hidden] { display: none !important; }

@media (max-width: 520px) {
  .rdv-form-row { flex-direction: column; }
}

/* Eyebrow : icône emoji agrandie */
.eyebrow-ico { font-size: 1.7rem; line-height: 1; vertical-align: middle; margin-right: 8px; }

/* 5 piliers : 3 en haut, 2 centrées en bas */
.cards-center { display: flex !important; flex-wrap: wrap; justify-content: center; }
.cards-center > .card { flex: 1 1 280px; max-width: calc((100% - 48px) / 3); }
@media (max-width: 1024px) { .cards-center > .card { max-width: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .cards-center > .card { max-width: 100%; } }

/* ============================================================
   Agenda maison (picker de créneaux, remplace Zcal)
   ============================================================ */
/* Le picker vit DANS la carte du formulaire : pas de carte dans la carte */
/* Containment universelle (toutes versions iOS Safari) : aucun débordement
   horizontal du picker ne peut faire scroller la page. */
.rdv-zcal { overflow-x: hidden; }
.agp {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(61, 40, 23, 0.12);
  min-width: 0;
  max-width: 100%;
  overflow-x: clip; /* garde-fou anti-débordement horizontal du picker sur mobile */
}
.agp-month-head { min-width: 0; max-width: 100%; }
.agp-cal { min-width: 0; }
/* Calendrier plafonné (cellules pas géantes) et centré quand il est empilé (mobile/tablette) */
.agp-month { min-width: 0; max-width: 360px; margin-left: auto; margin-right: auto; }
/* Empilé par défaut ; passe côte à côte sur desktop (voir media ≥1025) */
.agp-body { min-width: 0; }
.agp-slots-wrap { margin-top: 20px; }

@media (min-width: 1025px) {
  /* Desktop : calendrier à gauche, créneaux en colonne défilante à droite (style Calendly) */
  .agp-body { display: flex; gap: 30px; align-items: flex-start; }
  .agp-month { flex: 0 0 330px; width: 330px; max-width: 330px; margin: 0; } /* largeur fixe : ne change pas quand les horaires apparaissent */
  .agp-slots-wrap { flex: 1 1 0; min-width: 0; margin-top: 6px; }
  .agp-slots-title { text-align: left; margin-bottom: 10px; }
  .agp-slots {
    grid-template-columns: 1fr; gap: 10px;
    max-height: 360px; overflow-y: auto; padding-right: 6px; margin-top: 0;
  }
  .agp-slot { padding: 12px 0; }
}
.agp-resa {
  margin-top: 22px;
  padding: 18px 20px;
  background: #F8F1E4;
  border: 1px solid #EADFC8;
  border-radius: 12px;
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.7;
}
.agp-intro { margin: 0 0 16px; font-weight: 500; text-align: center; color: var(--ink); }
.agp-types, .rdv-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rdv-types { margin-bottom: 2px; }
/* Étape A : tant qu'aucun type n'est choisi, seules les cartes de choix sont visibles */
.rdv-form.rdv-step1 > :not(.rdv-types) { display: none; }
.agp-type {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 14px; border-radius: 12px; text-align: center;
  border: 1.5px solid rgba(61, 40, 23, 0.2); background: var(--bg-white);
  cursor: pointer; font-family: var(--font); transition: all 0.15s ease;
}
.agp-type:hover { border-color: var(--sceau); transform: translateY(-2px); }
.agp-type.on { border-color: var(--sceau); box-shadow: 0 0 0 2px rgba(166, 52, 43, 0.14); }
.agp-type-emoji { font-size: 1.7rem; line-height: 1; }
.agp-type-label { font-weight: 600; font-size: 1rem; color: var(--ink); }
.agp-type-sous { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.5; }
/* Type unique (échange téléphonique) : rappel du rendez-vous proposé.
   En bloc inline : bouton étape 1 (les champs apparaissent au clic, mécanique rdv-step1).
   En modal : simple div statique avant le formulaire. */
.rdv-type-fixe {
  display: flex; flex-direction: row; align-items: center; gap: 14px; text-align: left;
  padding: 11px 18px; border-radius: 12px; margin-bottom: 14px;
  border: 2px solid rgba(166, 52, 43, 0.3); background: var(--bg-white);
}
.rdv-type-fixe > span { min-width: 0; }
.rdv-type-fixe .agp-type-emoji { font-size: 1.5rem; }
.rdv-type-fixe .agp-type-label,
.rdv-type-fixe .agp-type-sous { display: block; }
.rdv-type-fixe .agp-type-label { font-size: 1.05rem; }
.rdv-type-fixe .agp-type-sous { font-size: 0.92rem; }
/* Étape 1 inline : la carte prend la largeur de son contenu, pas toute la carte */
.rdv-types-solo { display: flex; }
.rdv-types .rdv-type-fixe { margin-bottom: 0; width: auto; max-width: 100%; }
.rdv-type-go {
  margin-left: 6px; flex: 0 0 auto; color: var(--sceau);
  font-weight: 600; font-size: 0.95rem; white-space: nowrap;
}
.rdv-type-fixe.on .rdv-type-go { display: none; }
.agp-choix {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; font-size: 0.92rem; color: var(--ink); line-height: 1.45;
}
.agp-choix-label { min-width: 0; overflow-wrap: anywhere; }
.agp-choix-sous { display: block; margin-top: 3px; font-size: 0.82rem; color: var(--ink-muted); }
.agp-back {
  flex: 0 0 auto; background: none; border: none; cursor: pointer;
  font: 500 0.85rem var(--font); color: var(--sceau); text-decoration: underline; text-underline-offset: 3px;
}
/* Mini-calendrier mensuel */
.agp-month { margin-top: 2px; }
.agp-month-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.agp-month-title { font-weight: 600; font-size: 1.05rem; color: var(--ink); text-transform: capitalize; }
.agp-mnav {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(61, 40, 23, 0.18); background: var(--bg-white);
  color: var(--sceau); font-size: 20px; line-height: 1; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s ease;
}
.agp-mnav:hover:not([disabled]) { border-color: var(--sceau); background: var(--sceau); color: #fff; }
.agp-mnav[disabled] { opacity: 0.28; cursor: default; }
.agp-dows { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.agp-dows span { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-muted); }
.agp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.agp-cell {
  aspect-ratio: 1 / 1; min-width: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 11px; border: 1.5px solid transparent;
  font: 500 0.95rem var(--font); color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.agp-cell-empty { border: none; }
.agp-cell-off { color: rgba(61, 40, 23, 0.24); }
.agp-cell-on { background: #F8F1E4; cursor: pointer; } /* pas de transition : évite les résidus de bordure iOS à la désélection */
.agp-cell-on:hover { border-color: var(--sceau); color: var(--sceau); }
.agp-cell-today { box-shadow: inset 0 0 0 1.5px var(--or); }
.agp-cell-sel, .agp-cell-sel:hover { background: var(--sceau); color: #fff; border-color: var(--sceau); }
.agp-slots-wrap { margin-top: 20px; }
.agp-slots-title { margin: 0 0 4px; font-size: 0.9rem; color: var(--ink-soft); text-align: center; }
.agp-slots-title strong { color: var(--ink); }
.agp-more {
  margin-top: 12px; width: 100%; background: none; padding: 11px;
  border: 1.5px dashed rgba(61, 40, 23, 0.3); border-radius: 10px;
  font: 500 0.9rem var(--font); color: var(--ink-soft); cursor: pointer; transition: all 0.15s ease;
}
.agp-more:hover { border-color: var(--sceau); color: var(--sceau); }
.agp-slots {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px;
  margin-top: 10px;
}
.agp-slot {
  min-width: 0; padding: 9px 0; text-align: center; border-radius: 9px;
  border: 1.5px solid rgba(61, 40, 23, 0.2); background: var(--bg-white);
  cursor: pointer; font: 500 0.9rem var(--font); color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.agp-slot:hover { border-color: var(--sceau); color: var(--sceau); }
.agp-slot.on { background: var(--sceau); color: #fff; border-color: var(--sceau); }
/* Réactivité tap mobile : pas de délai double-tap + retour visuel instantané au doigt */
.agp-cell, .agp-slot, .agp-mnav, .agp-type, .agp-back, .agp-confirm, .btn { touch-action: manipulation; }
.agp-cell-on:active { background: var(--sceau); color: #fff; }
.agp-slot:active { background: var(--sceau); color: #fff; border-color: var(--sceau); }
.agp-type:active { border-color: var(--sceau); }
.agp-confirm { margin-top: 20px; width: 100%; justify-content: center; }
.agp-msg { margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-muted); text-align: center; }
.agp-msg-err { color: var(--sceau-dark); }
.agp-done { text-align: center; padding: 26px 10px; }
.agp-done-ico { font-size: 2.4rem; margin-bottom: 10px; }
.agp-done h3 { margin-bottom: 12px; }
.agp-done p { color: var(--ink-soft); margin: 0 0 14px; }
.agp-done-note { font-size: 0.9rem; color: var(--ink-muted); }
@media (max-width: 640px) {
  .agp-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .agp-types, .rdv-types { grid-template-columns: 1fr; }
}

/* Pop-up de prise de rendez-vous (page Offres) */
.rdv-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.rdv-modal--center { align-items: center; padding: 16px; }
.rdv-modal__overlay { position: fixed; inset: 0; background: rgba(42, 27, 15, 0.55); }
.rdv-modal__content { position: relative; z-index: 1; background: var(--bg-white); border-radius: 18px; max-width: 540px; width: 100%; padding: 34px 30px 30px; box-shadow: 0 30px 70px rgba(42, 27, 15, 0.35); }
.rdv-modal__content h3 { margin-top: 0; }
.rdv-modal__close { position: absolute; top: 12px; right: 18px; background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink-muted); }
.rdv-modal__close:hover { color: var(--sceau); }
