/* Polices hébergées sur le site (licence SIL OFL, sous-ensemble latin).
   Polices variables : un seul fichier couvre plusieurs graisses. */
@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/caprasimo.woff2) format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/manrope.woff2) format("woff2");
}
@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url(fonts/noto-serif-display.woff2) format("woff2");
}
@font-face {
  font-family: "Noto Serif Display";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/noto-serif-display-italic.woff2) format("woff2");
}

/* La vie en rose — V3 (mariage V1 + V2)
   De la V2 : la mise en page moderne, les vraies photos, le verre dépoli, les titres en serif fine.
   De la V1 : le rose et le bordeaux, le logo en police ronde (Caprasimo), le cercle qui respire.
   Le cercle devient le motif de la marque : photo de rose en haut de page, cercle de verre sur les lotus. */

:root {
  --fond: #F8E1E0;          /* fond de page : rose pâle */
  --blanc: #FFFFFF;
  --poudre: #FDF2F1;        /* étiquettes de prix, survols */
  --rose: #EBC3C6;          /* bordures, détails */
  --vif: #E3708A;           /* ondes autour des cercles */
  --grenat: #8E2443;        /* boutons, prix, mots en italique */
  --encre: #47141F;         /* texte */
  --encre-douce: #7D4753;   /* texte secondaire */
  --nuit-rose: #3A111C;     /* section respiration */
  --ligne: rgba(71, 20, 31, .12);
  --vert-ok: #3E8E5E;       /* pastille « ouvert » */

  --serif: "Noto Serif Display", Didot, Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rond: "Caprasimo", "Cooper Black", Georgia, serif;   /* logo, prix, note : avec parcimonie */

  --r-lg: 32px;
  --r: 22px;
  --gutter: clamp(16px, 5vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
h1 em, h2 em {
  font-style: italic;
  color: var(--grenat);
}

.wrap {
  width: 100%;
  max-width: calc(1160px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--grenat);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--grenat);
  color: var(--blanc);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grenat);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.muted { color: var(--encre-douce); font-size: .95rem; }

/* Boutons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: .8em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .98rem/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--grenat); color: var(--blanc); }
.btn-dark:hover { background: var(--encre); }
.btn-line { border-color: rgba(71, 20, 31, .3); color: var(--encre); }
.btn-line:hover { border-color: var(--encre); background: rgba(255, 255, 255, .55); }
.btn-light { background: var(--blanc); color: var(--grenat); }
.btn-light:hover { background: var(--poudre); }
.btn-sm { min-height: 42px; padding: .5em 1.15em; font-size: .92rem; }
.icon { width: 16px; height: 16px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.glass {
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 12px 32px -16px rgba(71, 20, 31, .35);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

/* Navigation flottante --------------------------------------------------- */

.nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 30;
  margin-top: 12px;
  padding-inline: var(--gutter);
}
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin-inline: auto;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  background: rgba(253, 242, 241, .74);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 10px 30px -14px rgba(71, 20, 31, .25);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.brand {
  font-family: var(--rond);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--grenat);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links { display: none; gap: 32px; }
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 6px;
}
.nav-links a:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* Haut de page ----------------------------------------------------------- */

.hero {
  padding-block: clamp(28px, 5vw, 56px) clamp(32px, 4vw, 56px);
  overflow: hidden;
  overflow: clip;
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  display: block;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grenat);
}
.hero-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.lead {
  max-width: 38ch;
  margin: 28px 0 36px;
  font-size: 1.15rem;
  color: var(--encre-douce);
}

/* Le cercle : une rose qui respire, entourée de deux ondes */
.hero-visual {
  position: relative;
  width: min(86%, 500px);
  aspect-ratio: 1;
  margin: 8px auto 48px;
}
.hero-circle {
  position: absolute;
  inset: 8%;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--rose);
  box-shadow:
    0 0 0 20px rgba(227, 112, 138, .16),
    0 0 0 44px rgba(227, 112, 138, .08),
    0 50px 90px -40px rgba(142, 36, 67, .5);
  transform: scale(.95);
  animation: respire-doux 10s ease-in-out infinite;
}
.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 2.4s var(--ease) both;
}
.hero-badge {
  position: absolute;
  left: 0;
  bottom: 6%;
  display: grid;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: .92rem;
}
.hero-badge p { margin: 0; }
.rating { color: var(--encre-douce); }
.stars { color: var(--grenat); letter-spacing: .08em; }

.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .12s; }
.hero-text > :nth-child(3) { animation-delay: .24s; }

@media (min-width: 960px) {
  .hero { padding-top: clamp(40px, 6vw, 88px); }
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
  }
  .hero-visual { width: min(100%, 520px); margin: 0 0 0 auto; }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.status::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--encre-douce);
}
.status.is-open::before {
  background: var(--vert-ok);
  border-color: var(--vert-ok);
  box-shadow: 0 0 0 4px rgba(62, 142, 94, .18);
}

/* Sections --------------------------------------------------------------- */

.section { padding-block: clamp(44px, 5vw, 72px); }

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}
.section-head > p { max-width: 42ch; color: var(--encre-douce); }

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
  .section-head > p { justify-self: end; }
}

/* L'institut */
.statement {
  max-width: 980px;
  font-size: clamp(1.9rem, 3.7vw, 3.05rem);
  line-height: 1.2;
}
.intro-grid {
  display: grid;
  gap: 28px;
  margin-top: clamp(40px, 5vw, 64px);
}
.intro-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-photo-a { aspect-ratio: 4 / 3; }
.intro-photo-b { aspect-ratio: 3 / 2; }
.intro-side { display: grid; gap: 32px; align-content: start; }
.intro-text p { max-width: 44ch; color: var(--encre-douce); }

@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 7fr 5fr; gap: 56px; }
  .intro-photo-a { aspect-ratio: 6 / 5; }
}

/* Soins : grand panneau blanc */
.soins {
  margin-inline: clamp(0px, 1.5vw, 20px);
  padding-block: clamp(56px, 7vw, 104px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--blanc);
}
.soins-grid { display: grid; gap: 40px; }
.soins-aside h2 { margin-bottom: 16px; }
.soins-intro { max-width: 36ch; color: var(--encre-douce); }
.soins-photo {
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
}
.soins-photo img { width: 100%; height: 100%; object-fit: cover; }

.soins-list { margin: 0; padding: 0; list-style: none; }
.soin {
  padding-block: 30px;
  border-top: 1px solid var(--ligne);
}
.soin:last-child { border-bottom: 1px solid var(--ligne); }
.soin h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.soin p { max-width: 52ch; margin-bottom: 18px; color: var(--encre-douce); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pills li {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 16px 8px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  background: var(--poudre);
}
.pills span { font-size: .92rem; color: var(--encre-douce); }
.pills strong {
  font-family: var(--rond);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--grenat);
}

@media (min-width: 960px) {
  .soins-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .soins-aside { position: sticky; top: 110px; }
}

/* Pause respiration */
.pause-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--nuit-rose);
  color: #F6E9E8;
}
.pause-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(36px, 5vw, 72px);
}
.pause-text h2 { margin-bottom: 18px; color: var(--blanc); }
.pause-text h2 em { color: var(--rose); }
.pause-text p { max-width: 40ch; margin-bottom: 32px; color: rgba(246, 233, 232, .8); }
.pause .kicker { color: var(--rose); }
.pause-card :focus-visible { outline-color: var(--blanc); }

.pause-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}
.pause-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.breath-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: min(58%, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(235, 195, 198, .7);
  background: rgba(248, 225, 224, .14);
  box-shadow: 0 0 0 16px rgba(227, 112, 138, .1), 0 0 90px rgba(227, 112, 138, .35);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  backdrop-filter: blur(8px) saturate(1.2);
  transform: scale(.82);
  animation: respire 10s ease-in-out infinite;
}
.breath-circle span {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: var(--blanc);
  opacity: 0;
}
.breath-circle span:first-child { animation: inspire 10s ease-in-out infinite; }
.breath-circle span:last-child { animation: expire 10s ease-in-out infinite; }

@media (min-width: 900px) {
  .pause-card { grid-template-columns: 1fr 1fr; min-height: 560px; }
}

/* Infos pratiques */
.infos-grid { display: grid; gap: 20px; }
.card {
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r);
  background: var(--blanc);
  box-shadow: 0 24px 48px -36px rgba(71, 20, 31, .35);
}
.card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.1;
}
.card .status { margin-bottom: 12px; }
.card-actions { display: grid; gap: 10px; margin-top: 24px; }

.horaires {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.horaires th,
.horaires td {
  padding: 7px 0;
  border-bottom: 1px solid var(--ligne);
  font-weight: 400;
  text-align: left;
}
.horaires td { text-align: right; }
.horaires tr:last-child th,
.horaires tr:last-child td { border-bottom: 0; }
.horaires tr.is-today th,
.horaires tr.is-today td { font-weight: 700; color: var(--grenat); }

address {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.55;
}

.note {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
}
.note-chiffre {
  font-family: var(--rond);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--grenat);
}

@media (min-width: 900px) {
  .infos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Questions */
.faq-grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 1.1rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--grenat), var(--grenat)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--grenat), var(--grenat)) center / 1.5px 14px no-repeat;
  transform: translateY(-50%);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--grenat); }
.faq details p { max-width: 62ch; margin: -6px 0 24px; color: var(--encre-douce); }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 2fr; gap: 64px; }
}

/* Pied de page */
.site-footer {
  padding-block: 64px 48px;
  background: var(--encre);
  color: var(--fond);
  font-size: .95rem;
}
.footer-brand {
  margin-bottom: 6px;
  font-family: var(--rond);
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--rose);
}
.site-footer :focus-visible { outline-color: var(--blanc); }
.footer-grid { display: grid; gap: 28px; }

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 48px; }
}

/* Page mentions légales */
.legal .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal h1 {
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.legal h2 {
  margin: 36px 0 10px;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}
.legal p { color: var(--encre-douce); }

/* Barre d'appel fixe, mobile uniquement */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(248, 225, 224, .86);
  border-top: 1px solid var(--ligne);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

@media (max-width: 759px) {
  body { padding-bottom: 74px; }
  .nav-pill .btn { display: none; }
  .nav-pill { padding: 12px 22px; }
}
@media (min-width: 760px) {
  .mobile-bar { display: none; }
}

/* Animations ------------------------------------------------------------- */

/* Apparition douce au défilement (activée seulement si JS est là) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Horaires résumés : visibles seulement sur mobile */
.horaires-court { display: none; width: 100%; border-collapse: collapse; }
.horaires-court th,
.horaires-court td {
  padding: 8px 0;
  border-bottom: 1px solid var(--ligne);
  font-weight: 400;
  text-align: left;
}
.horaires-court td { text-align: right; }
.horaires-court tr:last-child th,
.horaires-court tr:last-child td { border-bottom: 0; }

/* Mobile (≤ 759 px) : version resserrée. La version ordinateur n'est pas concernée. */
@media (max-width: 759px) {
  /* le contenu s'affiche tout de suite, sans fondu au défilement */
  .js .reveal { opacity: 1; transform: none; transition: none; }

  .section { padding-block: 36px; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: 2rem; }

  /* haut de page : boutons pleine largeur, cercle plus petit */
  .eyebrow { margin-bottom: 16px; font-size: .72rem; letter-spacing: .14em; }
  .lead { margin: 20px 0 28px; font-size: 1.08rem; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-visual { width: min(70%, 290px); margin: 16px auto 64px; }
  .hero-badge {
    left: 50%;
    bottom: -14%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  /* l'institut : les deux photos côte à côte, le texte dessous */
  .statement { font-size: 1.55rem; line-height: 1.25; }
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .intro-side { display: contents; }
  .intro-photo-a,
  .intro-photo-b { aspect-ratio: 4 / 5; border-radius: 22px; }
  .intro-photo-a { grid-column: 1; grid-row: 1; }
  .intro-photo-b { grid-column: 2; grid-row: 1; }
  .intro-text { grid-column: 1 / -1; margin-top: 12px; }

  /* soins : pas de photo, prix en grille de 3 colonnes */
  .soins { padding-block: 44px; border-radius: 28px; }
  .soins-grid { gap: 20px; }
  .soins-photo { display: none; }
  .soin { padding-block: 22px; }
  .soin h3 { font-size: 1.5rem; }
  .soin p { margin-bottom: 14px; font-size: 1rem; }
  .pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pills li {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 4px 10px;
    border-radius: 16px;
  }
  .pills span { font-size: .82rem; }

  /* respiration : visuel moins haut */
  .pause-text { padding: 32px 24px; }
  .pause-text p { margin-bottom: 24px; }
  .pause-visual { min-height: 280px; }
  .breath-circle { width: min(50%, 190px); }


  /* infos : horaires résumés, cartes plus compactes */
  .horaires { display: none; }
  .horaires-court { display: table; }
  .card { padding: 24px; }
  .card h3 { margin-bottom: 12px; font-size: 1.5rem; }
  .note-chiffre { font-size: 3rem; }

  .faq summary { padding-block: 18px; font-size: 1.02rem; }
}

@keyframes settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
/* 4 s d'inspiration, 6 s d'expiration */
@keyframes respire {
  0%, 100% { transform: scale(.82); }
  40% { transform: scale(1); }
}
@keyframes respire-doux {
  0%, 100% { transform: scale(.95); }
  40% { transform: scale(1); }
}
@keyframes inspire {
  0% { opacity: 0; }
  6%, 34% { opacity: 1; }
  40%, 100% { opacity: 0; }
}
@keyframes expire {
  0%, 40% { opacity: 0; }
  46%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-circle { transform: none; }
  .breath-circle { transform: none; }
  .breath-circle span:first-child { opacity: 1; }
}
