/* ============================================================
   MUNDAÏ – EUNO : main.css (thème WordPress)
   Factorisation du CSS des 9 pages statiques en un seul fichier.
   Charte officielle (sessions 1 à 12) : voir memory.md.
============================================================ */

/* ============================================================
   VARIABLES
============================================================ */
:root {
  --bg:     #F5E8E8;
  --rose:   #E46A86;
  --yellow: #FFD26C;
  --black:  #000000;
  --white:  #FFFFFF;

  --font-d: 'Baloo 2', sans-serif;
  --font-b: 'Inter', sans-serif;

  --max-w:   1100px;
  --px:      40px;
  --px-m:    20px;

  --r-btn:  30px;
  --r-card: 20px;
  --r-img:  16px;
  --r-spec: 12px;
}

/* ============================================================
   RESET + BODY (flex-column pour coller footer en bas)
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1 { font-family: var(--font-d); font-size: 30px; font-weight: 700; line-height: 1.2; }
h2 { font-family: var(--font-d); font-size: 25px; font-weight: 600; line-height: 1.25; }
h3 { font-family: var(--font-d); font-size: 22px; font-weight: 500; line-height: 1.3; }
p  { margin-bottom: 0.75em; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
main { flex: 1; }

/* ============================================================
   UTILITIES
============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   BOUTONS — base + variantes + animation hover
============================================================ */
.btn {
  display: inline-block;
  padding: 24px 24px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-card);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              opacity 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  border: none;
}
.btn:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  opacity: 0.95;
}
.btn:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: opacity 0.2s ease; box-shadow: none; }
  .btn:hover { transform: none; box-shadow: none; opacity: 0.85; }
}
.btn--white  { background: var(--white);  color: var(--black); }
.btn--rose   { background: var(--rose);   color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--black); }

/* Variante : casse normale (pour "Contacter l'équipe Mundaï") */
.btn--normal-case {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

/* ============================================================
   PLACEHOLDERS IMAGE — classe .ph + variantes ratio/radius
============================================================ */
.ph {
  display: block;
  background: #E5E5E5;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ph--4-3    { aspect-ratio: 4 / 3; }
.ph--1-1    { aspect-ratio: 1 / 1; }
.ph--16-5   { aspect-ratio: 16 / 5; width: 100%; }
.ph--r-sm   { border-radius: 8px; }
.ph--r-md   { border-radius: var(--r-spec); }
.ph--r-lg   { border-radius: var(--r-img); }
.ph--r-xl   { border-radius: var(--r-card); }
.ph--r-full { border-radius: 50%; }
/* <img> portant la classe .ph : remplit le cadre en cover */
img.ph { width: 100%; object-fit: cover; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: 140px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}
.logo__img {
  display: block;
  height: 120px;
  width: auto;
}
.site-nav { justify-self: center; }
.site-nav ul { display: flex; gap: 56px; }
.site-nav a {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  transition: opacity 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { opacity: 0.55; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--rose);
  padding-block: 48px 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer__col h3 {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  text-align: center;
}
.footer__col ul  { text-align: center; }
.footer__col li  { margin-bottom: 8px; }
.footer__col a   { font-size: 15px; color: var(--black); transition: opacity 0.2s; }
.footer__col a:hover { opacity: 0.65; }
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__mundai-link {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto;
}
.footer__mundai-link #mundai-logo {
  stroke: none;
  fill: var(--black);
  width: 100%;
  height: auto;
  display: block;
}
.footer__mundai-link .symbol {
  fill: none;
  stroke: var(--black);
  stroke-linejoin: round;
  stroke-width: 7px;
}
.footer__mundai-link:hover #mundai-logo .symbol path {
  animation: heartbeat 1.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(0.9); }
  14%      { transform: scale(1);   }
  28%      { transform: scale(0.9); }
  42%      { transform: scale(1);   }
  70%      { transform: scale(0.9); }
}
.footer__disclaimer {
  font-size: 12px;
  color: var(--black);
  text-align: center;
  opacity: 0.7;
  font-style: italic;
}

/* ============================================================
   ============================================================
   ACCUEIL (front-page) — sections 1 à 10 d'index.html
   ============================================================
============================================================ */

/* SECTION 1 — HERO */
.hero {
  padding-block: 48px;
}
.hero__card {
  background: var(--rose);
  border-radius: var(--r-card);
  padding: 48px;
}
.hero__text h1 { color: var(--black); }
.hero__lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  margin-top: 20px;
  margin-bottom: 0;
}
.hero__cta {
  margin-top: 32px;
  text-align: center;
}

/* SECTION 2 — PENSÉ POUR LES ENFANTS */
.parents-intro {
  padding-block: 64px;
}
.parents-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.parents-intro__text h2 { margin-bottom: 16px; }
.parents-intro__lead {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.parents-intro__body { font-size: 16px; }
.parents-intro__cta  { margin-top: 32px; }

/* SECTION 3 — 4 FEATURES (sans icône depuis session 12) */
.features {
  padding-block: 64px;
}
.feature-item {
  padding-block: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.feature-item:first-child { padding-top: 0; }
.feature-item:last-child  { border-bottom: none; padding-bottom: 0; }
.feature-item__hd {
  margin-bottom: 20px;
}
.feature-item__hd h2 { margin-bottom: 0; text-align: left; }
.feature-item__lead {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 12px;
}
.feature-item__body { font-size: 16px; margin-bottom: 10px; }
.feature-item__list { margin-bottom: 12px; padding-left: 0; }
.feature-item__list li {
  font-size: 16px;
  padding-left: 18px;
  position: relative;
  margin-bottom: 5px;
}
.feature-item__list li::before {
  content: '–';
  position: absolute;
  left: 2px;
  color: var(--rose);
  font-weight: 700;
}
.feature-item__closing { font-size: 16px; }
.features__cta         { margin-top: 48px; text-align: center; }

/* SECTION 4 — CE QUE EUNO APPORTE À VOTRE ENFANT */
.child-features {
  padding-block: 64px;
}
.child-features__hd {
  text-align: center;
  margin-bottom: 48px;
}
.child-features__hd h2 { margin-bottom: 10px; }
.child-features__label {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  opacity: 0.65;
}
.child-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.child-card {
  display: flex;
  flex-direction: column;
}
.child-card__img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: var(--r-img);
}
.child-card__img.ph { aspect-ratio: 4 / 3; }
.child-card h3       { margin-bottom: 10px; }
.child-card__lead {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.child-card__body { font-size: 16px; margin-bottom: 10px; }
.child-card__list { padding-left: 0; margin-bottom: 10px; }
.child-card__list li {
  font-size: 16px;
  padding-left: 18px;
  position: relative;
  margin-bottom: 5px;
}
.child-card__list li::before {
  content: '–';
  position: absolute;
  left: 2px;
  color: var(--rose);
  font-weight: 700;
}
.child-features__cta { margin-top: 48px; text-align: center; }

/* SECTION 5 — POUR LES PARENTS (app features) */
.app-features {
  padding-block: 64px;
}
.app-features__hd { margin-bottom: 32px; }
.app-features__hd h2 { color: var(--black); }
.app-features__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
  margin-inline: auto;
}
.app-item {
  background: var(--rose);
  border-radius: 20px;
  padding: 22px 28px;
}
.app-item__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.app-item__desc {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 0;
}
.app-features__cta { margin-top: 40px; text-align: center; }

/* SECTION 6 — CARACTÉRISTIQUES DU ROBOT */
.chars { padding-block: 64px; }
.chars__wide-img { margin-bottom: 40px; }
.chars__hd       { margin-bottom: 32px; }
.chars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.char-item__title {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.char-item__list { padding-left: 0; }
.char-item__list li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.char-item__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: 700;
}
.chars__bottom {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.chars__disclaimer {
  font-size: 14px;
  color: var(--black);
  margin-bottom: 24px;
}
.chars__cta { margin-top: 0; }

/* SECTION 7 — POURQUOI CHOISIR MUNDAÏ ? */
.why { padding-block: 48px 24px; }
.why h2 { margin-bottom: 20px; }
.why p  { font-size: 16px; margin-bottom: 0; }

/* SECTION 8 — CTA BANNER */
.cta-banner        { padding-block: 24px 64px; }
.cta-banner h2     { margin-bottom: 12px; }
.cta-banner__sub   { font-size: 16px; margin-bottom: 28px; }
.cta-banner__wrap  { margin-bottom: 12px; text-align: center; }
.cta-banner__note {
  font-size: 14px;
  font-style: italic;
  text-align: center;
  margin-bottom: 0;
}

/* SECTION 9 — NEWSLETTER (accueil) */
.newsletter { padding-block: 0 64px; }
.newsletter__box {
  background: var(--rose);
  border-radius: var(--r-card);
  padding: 40px 48px;
}
.newsletter__box h2 { text-align: center; margin-bottom: 10px; }
.newsletter__sub {
  font-size: 16px;
  text-align: center;
  margin-bottom: 28px;
}
.newsletter__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.newsletter__field {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  padding: 12px 20px;
  gap: 8px;
}
.newsletter__field label {
  font-size: 15px;
  white-space: nowrap;
  color: var(--black);
  flex-shrink: 0;
}
.newsletter__field input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font-b);
  background: transparent;
  color: var(--black);
  min-width: 0;
}
.newsletter__field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  accent-color: var(--black);
  cursor: pointer;
}
.newsletter__btn {
  display: block;
  margin-inline: auto;
  padding: 18px 24px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-card);
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              opacity 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.newsletter__btn:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  opacity: 0.95;
}
@media (prefers-reduced-motion: reduce) {
  .newsletter__btn { transition: opacity 0.2s ease; box-shadow: none; }
  .newsletter__btn:hover { transform: none; box-shadow: none; opacity: 0.85; }
}

/* SECTION 10 — INSTAGRAM (accueil) */
.instagram { padding-block: 40px 64px; text-align: center; }
.instagram h2 { margin-bottom: 20px; }
.instagram__row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.instagram__icon {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 20px;
}
.instagram__handle {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 600;
}
.instagram__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.instagram__post {
  width: 100%;
  height: auto;
  border-radius: var(--r-img);
  display: block;
  border: 1px solid var(--black);
}

/* ============================================================
   ============================================================
   FORMULAIRES COMMUNS — precommande + contact
   ============================================================
============================================================ */
.form-section { padding-block: 0 64px; }
.form-card {
  background: var(--rose);
  border-radius: var(--r-card);
  padding: 40px;
}
.form-card__title {
  text-align: center;
  margin-bottom: 32px;
  color: var(--black);
}
/* Quand un sous-titre suit le titre, réduire la marge basse du titre. */
.form-card__title:has(+ .form-card__subtitle) { margin-bottom: 8px; }
.form-card__subtitle {
  font-size: 14px;
  text-align: center;
  margin-bottom: 28px;
  color: var(--black);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}
.form-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Champ générique — label inline gauche + input droite dans un bloc blanc */
.form-field {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  gap: 8px;
}
.form-field:focus-within { box-shadow: 0 0 0 2px var(--black); }
.form-field__label {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}
.form-field__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 16px;
  font-family: var(--font-b);
  color: var(--black);
  min-width: 0;
  outline: none;
}
.form-field__input::placeholder { color: rgba(0,0,0,0.4); }

/* Select inline (Pays sur précommande) */
select.form-field__input {
  appearance: none;
  cursor: pointer;
  padding-right: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

/* Select pleine largeur (Objet sur contact) */
.form-field__select {
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px 36px 12px 16px;
  font-size: 16px;
  font-family: var(--font-b);
  color: var(--black);
  width: 100%;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.form-field__select:focus { box-shadow: 0 0 0 2px var(--black); }

.form-cta { text-align: center; margin-top: 4px; }
.form-disclaimer {
  font-family: var(--font-b);
  font-size: 14px;
  font-style: italic;
  text-align: center;
  color: var(--black);
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================================
   PRÉCOMMANDE — spécifique
============================================================ */
.precommande-intro { padding-block: 64px; }
.precommande-intro h1 { margin-bottom: 28px; }
.precommande-intro__text {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
}

/* Groupe de cases — bloc blanc cohérent avec .form-field */
.form-check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
}
.form-check-group__label {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
}

/* Ligne de cases (S M L XL) */
.check-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Variante verticale : lettre au-dessus, case en dessous */
.check-item--vert {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

/* Grille 2 colonnes (âges, couleurs) */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

/* Item case individuel */
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--black);
  cursor: pointer;
}
.check-item input[type="radio"],
.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--black);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.check-item input[type="radio"]:checked,
.check-item input[type="checkbox"]:checked {
  background: var(--rose);
  border-color: var(--black);
}
.check-item input[type="radio"]:checked::after,
.check-item input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.check-item input[type="radio"]:focus-visible,
.check-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

/* Champ RGPD compact (précommande) */
.form-field--rgpd {
  background: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}
.form-field--rgpd .form-field__label {
  margin-bottom: 0;
  flex: 1;
  cursor: pointer;
}
.form-field--rgpd input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--black);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
}
.form-field--rgpd input[type="checkbox"]:checked {
  background: var(--rose);
  border-color: var(--black);
}
.form-field--rgpd input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-field--rgpd input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

/* Texte légal (précommande) */
.legal-section { padding-block: 40px 64px; }
.legal-section__text {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
}

/* FAQ (précommande) */
.faq { padding-block: 0 64px; }
.faq h2 { margin-bottom: 24px; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--black);
  line-height: 1.5;
}
.faq-item__btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: -2px;
}
.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item__btn[aria-expanded="true"] .faq-item__chevron {
  transform: rotate(180deg);
}
.faq-item__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-item__body.is-open { max-height: 200px; }
.faq-item__body-inner {
  padding: 0 24px 16px;
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--black);
}

/* Bouton retour précommande (vide, supprimé en session 12 ?) */
.back-section {
  padding-block: 0 64px;
  text-align: center;
}

/* ============================================================
   CONTACT — spécifique
============================================================ */
.contact-intro { padding-block: 64px; }
.contact-intro h1 { margin-bottom: 28px; }
.contact-intro__text {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
}

/* Champ textarea — label au-dessus + textarea en-dessous */
.form-field--column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.form-field--column .form-field__label {
  white-space: normal;
}
.contact-textarea {
  flex: 1;
  min-height: 140px;
  resize: vertical;
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-family: var(--font-b);
  color: var(--black);
  outline: none;
  width: 100%;
  line-height: 1.5;
}
.contact-textarea::placeholder { color: rgba(0,0,0,0.4); }
.contact-textarea:focus { box-shadow: 0 0 0 2px var(--black); }

/* Bloc RGPD étendu — s'aligne verticalement avec la textarea */
.form-field--rgpd-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rgpd-block {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rgpd-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rgpd-block__title {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
}
.rgpd-block__text {
  font-size: 14px;
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 0;
}
.rgpd-block input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--black);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
  flex-shrink: 0;
}
.rgpd-block input[type="checkbox"]:checked {
  background: var(--rose);
  border-color: var(--black);
}
.rgpd-block input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.rgpd-block input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

/* Carte Coordonnées (jaune) */
.contact-info { padding-block: 0 64px; }
.info-card {
  background: var(--yellow);
  border-radius: var(--r-card);
  padding: 32px 40px;
}
.info-card h2 {
  margin-bottom: 20px;
  color: var(--black);
}
.info-card__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.info-card__desc {
  font-size: 16px;
  margin-bottom: 20px;
}
.info-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card__item {
  font-size: 16px;
  line-height: 1.5;
}
.info-card__item a:hover { text-decoration: underline; }

/* ============================================================
   MERCI CONTACT — spécifique
============================================================ */
.merci-section { padding-block: 120px; }
.merci-section__text {
  max-width: 720px;
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}
.btn-retour-merci {
  display: none;
  margin-top: 40px;
}

/* ============================================================
   MERCI PRECOMMANDE — spécifique
============================================================ */
.merci-title-section { padding-block: 64px 32px; }
.merci-title-section h2 { color: var(--black); }

.merci-yellow-section { padding-block: 0 64px; }
.merci-card-jaune {
  background: var(--yellow);
  border-radius: var(--r-card);
  padding: 32px;
}
.merci-card-jaune h3 { margin-bottom: 16px; }
.merci-card-jaune p  { font-size: 16px; }
.merci-list {
  list-style: disc;
  padding-left: 24px;
  margin-top: 8px;
}
.merci-list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.merci-list li:last-child { margin-bottom: 0; }

.next-section { padding-block: 0 64px; }
.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.next-col h3 { margin-bottom: 8px; }
.next-col h3 + p { margin-top: 0; }
.next-col h3:not(:first-child) { margin-top: 28px; }
.next-col p { font-size: 16px; }
.next-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-img);
  width: 100%;
  object-fit: cover;
}

.merci-newsletter-section { padding-block: 0 64px; }
.merci-newsletter {
  background: var(--rose);
  border-radius: var(--r-card);
  padding: 32px;
  text-align: center;
}
.merci-newsletter h3 {
  color: var(--black);
  margin-bottom: 6px;
}
.merci-newsletter__sub {
  font-size: 14px;
  color: var(--black);
  margin-bottom: 20px;
}
.merci-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.merci-newsletter__input {
  width: 100%;
  background: var(--white);
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-b);
  color: var(--black);
  outline: none;
}
.merci-newsletter__input::placeholder { color: rgba(0,0,0,0.4); }
.merci-newsletter__input:focus { box-shadow: 0 0 0 2px var(--black); }

.merci-insta-section { padding-block: 0 64px; }
.merci-insta__title  { margin-bottom: 16px; }
.merci-insta__row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.merci-insta__icon {
  width: 96px;
  height: 96px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  flex-shrink: 0;
}
.merci-insta__handle {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
}
.merci-insta__hashtag { font-size: 16px; }

.merci-more-section { padding-block: 0 80px; }
.merci-more__title  { margin-bottom: 24px; }
.merci-more__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   PAGES LÉGALES — mentions, confidentialité, CGV
============================================================ */
.legal-page { padding-block: 60px 80px; }
.legal-page__header {
  text-align: center;
  margin-bottom: 48px;
}
.legal-page__header h1 { margin-bottom: 16px; }
.legal-page__intro {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--black);
}
.legal-page__body {
  max-width: 720px;
  margin-inline: auto;
}
.legal-page__section { margin-top: 40px; }
.legal-page__section h2 { margin-bottom: 16px; }
.legal-page__section p {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 12px;
}
.legal-page__section p:last-child { margin-bottom: 0; }
.legal-page__section ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.legal-page__section ul:last-child { margin-bottom: 0; }
.legal-page__section li {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 4px;
}
.legal-page__section a {
  color: var(--black);
  text-decoration: underline;
}
.legal-page__section a:hover { opacity: 0.65; }

/* ============================================================
   PAGE 404
============================================================ */
.page-404 {
  padding-block: 80px;
  text-align: center;
}
.page-404__number {
  font-family: var(--font-d);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  color: var(--rose);
  margin-bottom: 24px;
}
.page-404__title { margin-bottom: 16px; }
.page-404__text {
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 40px;
  font-size: 16px;
}
.page-404__image {
  width: 300px;
  height: 300px;
  margin-inline: auto;
  margin-bottom: 40px;
  object-fit: cover;
  display: block;
}
.page-404__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================
============================================================ */
@media (max-width: 767px) {
  .container { padding-inline: var(--px-m); }

  /* Header mobile */
  .site-header .container { display: flex; height: 100px; }
  .logo__img     { height: 84px; }
  .site-nav      { justify-self: auto; margin-left: auto; }
  .site-nav ul   { gap: 12px; }
  .site-nav a    { font-size: 12px; }

  /* Boutons mobile — session 11 */
  .btn { font-size: 18px; padding: 12px 18px; }
  .newsletter__btn { padding: 14px 20px; font-size: 16px; }

  /* === ACCUEIL === */
  .hero { padding-block: 18px; }
  .hero__card { padding: 28px 20px; }

  .parents-intro { padding-block: 30px; }
  .parents-intro__grid { grid-template-columns: 1fr; gap: 28px; }

  .features { padding-block: 30px; }
  .feature-item { padding-block: 24px; }

  .child-features { padding-block: 30px; }
  .child-features__grid { grid-template-columns: 1fr; gap: 40px; }

  .chars { padding-block: 30px; }
  .chars__grid   { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .chars__bottom { grid-template-columns: 1fr; gap: 24px; }

  .newsletter__box { padding: 28px 20px; }
  .newsletter__form-row { grid-template-columns: 1fr; }

  /* === PRÉCOMMANDE === */
  .precommande-intro { padding-block: 30px; }
  .precommande-intro h1 { font-size: 26px; }
  .form-section { padding-bottom: 36px; }
  .form-card    { padding: 28px 20px; }
  .form-grid    { display: flex; flex-direction: column; gap: 0; }
  .form-col     { display: contents; }
  /* Réordonnancement précommande */
  .form-field--prenom    { order: 1;  margin-bottom: 16px; }
  .form-field--nom       { order: 2;  margin-bottom: 16px; }
  .form-field--email     { order: 3;  margin-bottom: 16px; }
  .form-field--postal    { order: 4;  margin-bottom: 16px; }
  .form-field--pays      { order: 5;  margin-bottom: 16px; }
  .form-field--age       { order: 6;  margin-bottom: 16px; }
  .form-field--nombre    { order: 7;  margin-bottom: 16px; }
  .form-field--taille    { order: 8;  margin-bottom: 16px; }
  .form-field--couleur   { order: 9;  margin-bottom: 16px; }
  .form-field--rgpd-wrap { order: 10; margin-bottom: 16px; }
  .legal-section { padding-block: 24px 36px; }
  .faq           { padding-bottom: 36px; }
  .faq__list     { max-width: 100%; }
  .back-section  { padding-bottom: 36px; }

  /* === CONTACT === */
  .contact-intro { padding-block: 30px; }
  .contact-intro h1 { font-size: 26px; }
  /* Réordonnancement contact (réécrit le .form-section padding) */
  .form-field--prenom    { order: 1; margin-bottom: 16px; }
  .form-field--nom       { order: 2; margin-bottom: 16px; }
  .form-field--email     { order: 3; margin-bottom: 16px; }
  .form-field--objet     { order: 4; margin-bottom: 16px; }
  .form-field--message   { order: 5; margin-bottom: 16px; flex: none; }
  .contact-textarea { min-height: 140px; flex: none; }
  .rgpd-block { flex: none; }
  .contact-info { padding-bottom: 36px; }
  .info-card    { max-width: 100%; padding: 24px 20px; }

  /* === MERCI CONTACT === */
  .merci-section { padding-block: 44px; }
  .merci-section__text {
    font-family: var(--font-d);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
  }
  .btn-retour-merci { display: inline-block; }

  /* === MERCI PRECOMMANDE === */
  .merci-title-section      { padding-block: 30px 18px; }
  .merci-yellow-section,
  .next-section,
  .merci-newsletter-section,
  .merci-insta-section      { padding-block: 0 30px; }
  .merci-more-section       { padding-block: 0 44px; }
  .merci-card-jaune  { padding: 24px; }
  .merci-newsletter  { padding: 24px; }
  .next-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* === PAGES LÉGALES === */
  .legal-page { padding-block: 30px 44px; }
  .legal-page__header {
    text-align: left;
    margin-bottom: 24px;
  }
  .legal-page__header h1 { font-size: 26px; }
  .legal-page__section   { margin-top: 24px; }

  /* === 404 === */
  .page-404           { padding-block: 44px; }
  .page-404__number   { font-size: 90px; margin-bottom: 16px; }
  .page-404__text     { margin-bottom: 24px; }
  .page-404__image    { width: 220px; height: 220px; margin-bottom: 24px; }

  /* Footer mobile — 1 colonne empilée, gap 32px (session 11) */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}