/* ==========================================================================
   English with Kristina — feuille de styles
   Site statique, sans dépendance externe. Palette « Raspberry ».
   ========================================================================== */

/* --------------------------------------------------------------------------
   Polices (auto-hébergées : aucun appel à Google Fonts, aucun cookie tiers)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-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;
}

/* --------------------------------------------------------------------------
   Variables
   -------------------------------------------------------------------------- */
:root {
  --cream: #F7F3EE;
  --ink: #2E1F28;
  --ink-deep: #1F1319;
  --muted: #6A5761;
  --raspberry: #A32448;
  --sand: #EFD3B5;
  --peach: #E4B98F;
  --mauve: #C9B7C2;
  --olive: #8B7A27;
  --olive-light: #BDB783;
  --star: #E4A11B;

  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Instrument Sans', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
a:hover { color: var(--raspberry); }

img { max-width: 100%; }

/* L'attribut hidden doit l'emporter sur les display: flex/block ci-dessous. */
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--raspberry);
  outline-offset: 3px;
}

.page {
  background: var(--cream);
  min-height: 100vh;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes ewk-rise   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ewk-draw   { to { stroke-dashoffset: 0; } }
@keyframes ewk-marquee{ to { transform: translateX(-50%); } }
@keyframes ewk-grow   { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ewk-pop    { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }

/* Les animations déclenchées au défilement ne sont mises en pause que si le
   JavaScript est disponible pour les relancer. */
.js .at-scroll { animation-play-state: paused; }
.js .is-visible .at-scroll { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* --------------------------------------------------------------------------
   Éléments partagés
   -------------------------------------------------------------------------- */
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  flex: none;
}
.brand em { font-style: normal; color: var(--raspberry); }

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker--accent { color: var(--raspberry); }

.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-title--narrow { max-width: 14ch; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  justify-content: space-between;
  align-items: flex-end;
}
.section-head__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 320px;
  min-width: 0;
}
.section-head--tight .section-head__col { gap: 18px; flex: 0 1 auto; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 999px;
  line-height: 1;
  transition: gap 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}
.cta:hover { background: var(--raspberry); color: var(--cream); gap: 18px; }
.cta--small { font-size: 15px; padding: 13px 20px; }

/* Trait dessiné sous un mot du titre */
.underlined {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.underlined svg {
  position: absolute;
  left: -2%;
  width: 104%;
  overflow: visible;
}
.underlined path {
  fill: none;
  stroke: var(--raspberry);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: relative;
  z-index: 2;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px clamp(14px, 3vw, 28px);
}
.nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
}
.nav__pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
}
.nav__pill:hover { background: var(--raspberry); color: var(--cream); }

/* --------------------------------------------------------------------------
   Accroche
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: transparent;
  color: var(--ink);
  min-height: min(64vh, 580px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 64px);
  padding: clamp(40px, 5vw, 64px) 0 0;
}
.hero__glow {
  position: absolute;
  left: -4%;
  right: -4%;
  top: -140px;
  bottom: 18%;
  background: linear-gradient(118deg, var(--peach) 0%, var(--sand) 45%, var(--mauve) 100%);
  opacity: .45;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: ewk-rise 1.2s var(--ease) both;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, #000 30%, #000 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, #000 30%, #000 70%, rgba(0,0,0,0) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(22px, 3vw, 34px);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(20px, 4.5vw, 60px);
  box-sizing: border-box;
}
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 7.4vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink-deep);
  text-wrap: balance;
  font-variant-ligatures: none;
  font-feature-settings: 'liga' 0, 'clig' 0, 'dlig' 0;
  animation: ewk-rise .8s var(--ease) both;
}
.hero__title .underlined svg {
  bottom: -0.06em;
  height: 0.22em;
}
.hero__title .underlined path {
  animation: ewk-draw .8s var(--ease) .6s both;
}
.hero__bang {
  display: inline-block;
  color: var(--ink-deep);
  animation: ewk-pop .6s cubic-bezier(.2, 1.4, .3, 1) 1.1s both;
}
.hero__lead {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  text-wrap: pretty;
  max-width: 40ch;
  color: var(--ink);
  animation: ewk-rise .8s var(--ease) .2s both;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  animation: ewk-rise .8s var(--ease) .35s both;
}

/* Pastille « Kristina · Avis Google » */
.badge {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: clamp(10px, 2vw, 20px);
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 30px rgba(46, 31, 40, 0.08);
  animation: ewk-rise .8s var(--ease) .5s both;
  flex-wrap: wrap;
  justify-content: center;
}
.badge__half {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  color: var(--ink);
}
.badge__half:hover { background: rgba(46, 31, 40, 0.08); color: var(--ink); }
.badge__half--google { gap: 10px; padding: 8px 18px 8px 16px; }
.badge__photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
  flex: none;
  box-shadow: 0 0 0 2px var(--cream);
}
.badge__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}
.badge__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.badge__note { font-size: 12px; color: var(--muted); }
.badge__rating { display: inline-flex; align-items: center; gap: 8px; }
.badge__stars { color: var(--star); font-size: 13px; letter-spacing: -0.06em; }
.badge__sep {
  width: 1px;
  height: 28px;
  background: rgba(46, 31, 40, 0.14);
  flex: none;
}

/* Bandeau de verbes */
.marquee {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2.4vw, 28px) 0;
  overflow: hidden;
  animation: ewk-rise .8s var(--ease) .5s both;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  animation: ewk-marquee 40s linear infinite;
  will-change: transform;
}
.marquee__group { flex: none; padding-right: 0.35em; }
.marquee__sep { color: rgba(46, 31, 40, 0.25); padding: 0 0.35em; }
.c-raspberry { color: var(--raspberry); }
.c-olive     { color: var(--olive); }
.c-peach     { color: var(--peach); }
.c-ink       { color: var(--ink); }

/* --------------------------------------------------------------------------
   À chacun sa raison
   -------------------------------------------------------------------------- */
.reasons {
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}
.reason {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1.5px solid transparent;
  border-radius: 24px;
  background: rgba(46, 31, 40, 0.045);
  min-width: 0;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease), background 260ms var(--ease);
  animation: ewk-rise .7s var(--ease) both;
}
.reason:nth-child(1) { animation-delay: .05s; }
.reason:nth-child(2) { animation-delay: .2s; }
.reason:nth-child(3) { animation-delay: .35s; }
.reason:hover {
  transform: translateY(-4px);
  background: var(--cream);
  box-shadow: 0 14px 34px rgba(46, 31, 40, 0.10);
}
.reason__tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--raspberry);
}
.reason__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.reason__quote {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: pretty;
}
.reason__answer {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-top: 16px;
  border-top: 1.5px solid rgba(46, 31, 40, 0.12);
}
.reason__arrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: var(--raspberry);
}
.reason__answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Une heure avec Kristina
   -------------------------------------------------------------------------- */
.hour {
  background: rgba(189, 183, 131, 0.16);
  border-radius: 28px;
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}
.hour__timeline {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
}
.hour__bar {
  display: flex;
  gap: 6px;
  height: clamp(72px, 9vw, 120px);
}
.hour__seg {
  min-width: 14px;
  border-radius: 16px;
  transform-origin: left center;
  animation: ewk-grow .9s var(--ease) both;
}
.hour__seg--1 { flex: 5;  background: var(--cream);     animation-delay: 0s;   }
.hour__seg--2 { flex: 40; background: var(--raspberry); animation-delay: .2s;  }
.hour__seg--3 { flex: 10; background: var(--sand);      animation-delay: .45s; }
.hour__seg--4 { flex: 5;  background: var(--ink);       animation-delay: .6s;  }

.hour__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 28px 32px;
  align-items: start;
}
.hour__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 2px solid var(--cream);
  animation: ewk-rise .7s var(--ease) both;
}
.hour__step--1 { border-top-color: var(--cream);     animation-delay: .35s; }
.hour__step--2 { border-top-color: var(--raspberry); animation-delay: .5s;  }
.hour__step--3 { border-top-color: var(--sand);      animation-delay: .65s; }
.hour__step--4 { border-top-color: var(--ink);       animation-delay: .8s;  }
.hour__time {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .7;
}
.hour__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.hour__desc {
  font-size: 16px;
  line-height: 1.5;
  max-width: 30ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */
.pricing {
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4.5vw, 64px) clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}
.pricing__card {
  background: rgba(239, 211, 181, 0.32);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: flex-end;
  justify-content: space-between;
}
.pricing__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 320px;
  min-width: 0;
}
.pricing__amount {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.pricing__figure {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 136px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.pricing__unit {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.035em;
  color: var(--muted);
}
.pricing__note {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  max-width: 44ch;
  text-wrap: pretty;
  color: var(--muted);
}
.pricing__first {
  flex: 0 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  background: rgba(247, 243, 238, 0.75);
  border-radius: 20px;
}
.pricing__first-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.pricing__first-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.035em;
}
.pricing__first-price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--raspberry);
}
.pricing__first p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.pricing__first .cta { align-self: flex-start; margin-top: 4px; }

/* --------------------------------------------------------------------------
   Témoignages
   -------------------------------------------------------------------------- */
.reviews {
  padding: clamp(64px, 8vw, 120px) clamp(20px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}
.reviews__grid {
  columns: 3 280px;
  column-gap: 12px;
}
.review {
  break-inside: avoid;
  margin: 0 0 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 24px;
  overflow: hidden;
  animation: ewk-rise .6s var(--ease) both;
}
.review__mark {
  position: absolute;
  right: 14px;
  top: -22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 110px;
  line-height: 1;
  letter-spacing: -0.06em;
  opacity: 0.35;
  pointer-events: none;
}
.review__quote {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.review__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

/* Avis mis en avant (le premier de la liste) */
.review--featured { padding: clamp(28px, 3vw, 40px); }
.review--featured .review__mark { font-size: 150px; }
.review--featured .review__quote {
  font-weight: 600;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

/* Quatre teintes en rotation */
.review--t0 { background: rgba(239, 211, 181, 0.55); color: var(--ink); }
.review--t0 .review__mark { color: var(--raspberry); }
.review--t0 .review__dot  { background: var(--raspberry); }

.review--t1 { background: rgba(46, 31, 40, 0.045); color: var(--ink); }
.review--t1 .review__mark { color: var(--mauve); }
.review--t1 .review__dot  { background: var(--olive); }

.review--t2 { background: rgba(201, 183, 194, 0.42); color: var(--ink); }
.review--t2 .review__mark { color: var(--raspberry); }
.review--t2 .review__dot  { background: var(--raspberry); }

.review--t3 { background: var(--ink); color: var(--cream); }
.review--t3 .review__mark { color: var(--sand); }
.review--t3 .review__dot  { background: var(--sand); }

/* Repli / dépli de la liste (activé par le script) */
.reviews__grid.is-collapsed .review[data-extra] { display: none; }

.reviews__more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  flex-wrap: wrap;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* --------------------------------------------------------------------------
   Qui enseigne
   -------------------------------------------------------------------------- */
.teacher {
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4.5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: stretch;
  justify-content: center;
  max-width: 1040px;
  margin: 0 auto;
  box-sizing: border-box;
}
.teacher__photo {
  flex: 0 0 auto;
  width: min(100%, 320px);
  min-height: 320px;
  overflow: hidden;
  border-radius: 160px 160px 24px 24px;
  background: var(--sand);
  animation: ewk-rise .7s var(--ease) both;
}
.teacher__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.teacher__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 320px;
  min-width: 0;
  animation: ewk-rise .7s var(--ease) .2s both;
}
.teacher__bio {
  margin: 0;
  font-size: 18px;
  max-width: 50ch;
  text-wrap: pretty;
}
.teacher__quote {
  margin: 0;
  padding: 18px 0 18px 24px;
  border-left: 3px solid var(--raspberry);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--raspberry);
  max-width: 30ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Questions fréquentes
   -------------------------------------------------------------------------- */
.faq {
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  border-bottom: 1.5px solid rgba(46, 31, 40, 0.2);
}
.faq__item {
  border-top: 1.5px solid rgba(46, 31, 40, 0.2);
  padding: 20px 4px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-width: 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--raspberry); }
.faq__mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(46, 31, 40, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  transition: transform 260ms var(--ease), background 260ms ease, color 260ms ease;
}
.faq__item[open] .faq__mark {
  transform: rotate(45deg);
  background: var(--raspberry);
  color: var(--cream);
}
.faq__item p {
  margin: 14px 0 0;
  text-wrap: pretty;
  max-width: 56ch;
  color: var(--muted);
  animation: ewk-rise .4s var(--ease) both;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, rgba(228, 185, 143, 0.5) 0%, rgba(239, 211, 181, 0.35) 50%, rgba(201, 183, 194, 0.45) 100%);
  border-radius: 28px;
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  align-items: flex-start;
}
.contact__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 10vw, 150px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.contact__title .underlined svg {
  bottom: -0.04em;
  height: 0.2em;
}
.contact__title .underlined path {
  animation: ewk-draw .8s var(--ease) .3s both;
}
.contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.contact__row p {
  margin: 0;
  font-size: 18px;
  max-width: 44ch;
  text-wrap: pretty;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Adresse e-mail + bouton « copier » */
.copy-mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.7);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.copy-mail__label { overflow-wrap: anywhere; }
.copy-mail__btn {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.copy-mail__btn:hover { background: rgba(46, 31, 40, 0.1); color: var(--raspberry); }
.copy-mail__icon { width: 17px; height: 17px; display: block; }
/* Les icônes se relaient via la classe : `hidden` n'est pas une propriété
   des éléments SVG, on ne peut pas la piloter depuis le script. */
.copy-mail__icon--done,
.copy-mail.is-copied .copy-mail__icon { display: none; }
.copy-mail.is-copied .copy-mail__icon--done { display: block; }
.copy-mail.is-copied .copy-mail__btn { color: var(--raspberry); }
.copy-mail.is-copied::after {
  content: "Copié !";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  animation: ewk-rise .25s var(--ease) both;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding: 28px clamp(14px, 3vw, 28px) 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-top: 1.5px solid rgba(46, 31, 40, 0.1);
  margin-top: 8px;
}
.footer .brand { font-size: 18px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--raspberry); }

/* --------------------------------------------------------------------------
   Pages intérieures (mentions légales, 404)
   -------------------------------------------------------------------------- */
.doc {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.doc a { color: var(--raspberry); }
.doc a:hover { color: #7A1A36; }

.doc__nav {
  background: var(--cream);
  border-bottom: 1.5px solid rgba(46, 31, 40, 0.16);
}
.doc__nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.doc__nav .brand,
.doc__nav .brand:hover { font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.doc .doc__back {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.doc .doc__back:hover { color: var(--raspberry); }

.doc__main {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 64px) 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
  flex: 1;
}
.doc__main h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.doc__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1.5px solid rgba(46, 31, 40, 0.28);
}
.doc__section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.doc__section p { margin: 0; text-wrap: pretty; }

.doc__footer { background: var(--ink); color: var(--cream); }
.doc__footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px clamp(20px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}
.doc__footer .brand { color: var(--cream); font-size: 22px; letter-spacing: -0.02em; }
.doc__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 600;
}
.doc__footer-links a { color: var(--cream); }
.doc__footer-links a:hover { color: var(--sand); }

/* Page 404 */
.doc__main--center {
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 24px;
}
.doc__main--center .cta { color: var(--cream); }
