/* BabyMap — feuille de style commune (univers du clip : fond crème rosé + ronds pastel, Poppins) */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
:root {
  --prune: #35233F;       /* texte principal */
  --prune-doux: #6E5F72;  /* texte secondaire */
  --rose: #E8618C;        /* accent (titres, liens) */
  --rouge: #E12024;       /* rouge du logo : boutons */
  --violet: #6B4FD8;
  --carte: rgba(255, 255, 255, 0.82);
  --bord: rgba(53, 35, 63, 0.08);
  --ombre: 0 10px 30px rgba(120, 60, 80, 0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--prune);
  min-height: 100vh;
  background-color: #FDF0EB;
  /* Les ronds pastel du clip, dessinés en CSS (aucune image à charger) */
  background-image:
    radial-gradient(circle at 6% 12%,  #FCE3E2 0 70px,  transparent 71px),
    radial-gradient(circle at 92% 22%, #EBDFED 0 110px, transparent 111px),
    radial-gradient(circle at 62% 4%,  #FEE9DC 0 60px,  transparent 61px),
    radial-gradient(circle at 18% 52%, #FEE2D5 0 95px,  transparent 96px),
    radial-gradient(circle at 48% 64%, #E5E3EB 0 48px,  transparent 49px),
    radial-gradient(circle at 34% 84%, #EBD8E6 0 56px,  transparent 57px),
    radial-gradient(circle at 88% 70%, #E5E1EA 0 85px,  transparent 86px),
    radial-gradient(circle at 4% 92%,  #FDE4D1 0 100px, transparent 101px),
    radial-gradient(circle at 74% 44%, #E0E6DD 0 40px,  transparent 41px),
    radial-gradient(circle at 96% 96%, #FAD9DD 0 70px,  transparent 71px),
    linear-gradient(180deg, #FDF7F0 0%, #FDE8E6 100%);
  background-attachment: fixed;
}
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--rouge); }
img, svg { max-width: 100%; display: block; }
strong { font-weight: 600; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 10; background: rgba(253, 247, 240, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--bord); }
.entete .contenu { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--prune); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.marque img { width: 44px; height: 44px; }
.marque i { font-style: normal; color: var(--rose); }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav a { color: var(--prune-doux); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--prune); }
.nav a[aria-current="page"] { color: var(--prune); border-bottom-color: var(--rose); }

/* ---------- Mise en page ---------- */
.contenu { max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.etroit { max-width: 800px; }
main { padding: 56px 0 80px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
h3 { font-size: 19px; margin-bottom: 6px; }
.accent { color: var(--rose); }
.accent-rouge { color: var(--rouge); }
p, ul, ol { margin-bottom: 14px; }
.chapo { font-size: clamp(17px, 1.6vw, 19px); color: var(--prune-doux); max-width: 560px; }
.centre { text-align: center; }
.centre .chapo { margin-left: auto; margin-right: auto; }
section + section { margin-top: 96px; }

/* ---------- Boutons ---------- */
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.centre .boutons { justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; background: var(--rouge); color: #fff; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 8px 20px rgba(225, 32, 36, 0.25); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(225, 32, 36, 0.3); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; line-height: 1.1; }
.btn .lignes { line-height: 1.15; text-align: left; }
.btn.bientot { background: #fff; color: var(--prune); box-shadow: var(--ombre); cursor: default; }
.btn.bientot:hover { transform: none; color: var(--prune); }
.btn.secondaire { background: #fff; color: var(--rouge); box-shadow: var(--ombre); }
.btn.secondaire:hover { color: var(--rouge); }

/* ---------- Accueil ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
.hero .logo-hero { width: 100%; height: auto; max-width: 420px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(225, 32, 36, 0.18)); }
.pastille { display: inline-block; font-size: 14px; font-weight: 600; color: var(--rose); background: #fff; padding: 6px 14px; border-radius: 999px; box-shadow: var(--ombre); margin-bottom: 18px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.telephone { width: 100%; max-width: 300px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(53, 35, 63, 0.22)); }

.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; list-style: none; padding: 0; }
.atouts li { background: var(--carte); border-radius: 22px; padding: 26px; box-shadow: var(--ombre); margin: 0; }
.atouts p { color: var(--prune-doux); font-size: 15px; margin: 0; }
.icone { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.icone svg { width: 26px; height: 26px; }
.i-rose { background: #FCE3E2; color: var(--rouge); }
.i-violet { background: #EBDFED; color: var(--violet); }
.i-vert { background: #DDEFE3; color: #1D7F5F; }

.liste-coche { list-style: none; padding: 0; margin-top: 20px; }
.liste-coche li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.liste-coche li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='white'/%3E%3C/svg%3E") center/14px no-repeat; }

.langues { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 22px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
.langues span:nth-child(1) { color: var(--rose); }
.langues span:nth-child(2) { color: var(--violet); }
.langues span:nth-child(3) { color: #7CC4A6; }
.langues span:nth-child(4) { color: #F0A35E; }

.bandeau { background: var(--carte); border-radius: 28px; padding: 44px; box-shadow: var(--ombre); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bandeau h2 { margin-bottom: 6px; }
.bandeau > div { flex: 1 1 440px; }
.bandeau p { margin: 0; color: var(--prune-doux); max-width: 560px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 28px auto 0; }
details { background: var(--carte); border-radius: 16px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(120, 60, 80, 0.06); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #FCE3E2; color: var(--rouge); display: grid; place-items: center; font-size: 18px; font-weight: 500; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 22px 20px; color: var(--prune-doux); }

/* ---------- Pages de texte (CGU, règlement…) ---------- */
.feuille { background: var(--carte); border-radius: 28px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--ombre); }
.feuille h1 { font-size: clamp(28px, 4vw, 40px); }
.feuille h2 { font-size: 21px; margin: 36px 0 10px; }
.feuille ol, .feuille ul { padding-left: 22px; }
.feuille li { margin-bottom: 8px; }
.maj { font-size: 14px; color: var(--prune-doux); margin-bottom: 26px; }
.note { background: #FCE3E2; border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.a-completer { background: #FFF0C4; padding: 0 5px; border-radius: 4px; }

/* ---------- Formulaire partenaire ---------- */
.form { background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--ombre); }
.form h2 { font-size: 24px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
input, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #EBD8E0; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--prune); }
input:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(232, 97, 140, 0.15); }
textarea { min-height: 100px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 24px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.retour { margin-top: 12px; font-size: 15px; font-weight: 600; }
.retour.erreur { color: var(--rouge); }
.petit { font-size: 13px; color: var(--prune-doux); margin-top: 14px; }
.cache { display: none; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--bord); background: rgba(255, 255, 255, 0.5); font-size: 14px; color: var(--prune-doux); padding: 40px 0 48px; }
.pied .contenu { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.pied .signature strong { display: block; color: var(--prune); font-size: 16px; }
.pied .liens { display: flex; flex-direction: column; gap: 6px; }
.pied a { color: var(--prune-doux); }
.pied a:hover { color: var(--rouge); }

@media (max-width: 820px) {
  main { padding: 36px 0 64px; }
  section + section { margin-top: 72px; }
  .hero, .duo { grid-template-columns: 1fr; gap: 28px; }
  .hero .logo-hero { max-width: 260px; order: -1; }
  .hero { text-align: center; }
  .hero .chapo { margin-left: auto; margin-right: auto; }
  .hero .boutons { justify-content: center; }
  .telephone { max-width: 240px; }
  .atouts { grid-template-columns: 1fr; }
  .bandeau { padding: 28px; }
}

/* ---------- Langue (FR / EN) et icônes de contact ---------- */
.droite { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.bascule { display: inline-flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: 0 2px 8px rgba(120, 60, 80, 0.10); }
.bascule a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--prune-doux); padding: 4px 11px; border-radius: 999px; line-height: 1.4; }
.bascule a:hover { color: var(--prune); }
.bascule a[aria-current="true"] { background: var(--rouge); color: #fff; }
.ico-lien { display: inline-flex; align-items: center; gap: 8px; }
.ico-lien svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn.secondaire svg { fill: none; }
@media (max-width: 820px) {
  .droite { display: contents; }
  .bascule { order: 2; margin-left: auto; }
  .nav { order: 3; width: 100%; gap: 2px 18px; font-size: 14px; }
}

/* ---------- Liste des concours (un onglet dépliable par concours) ---------- */
.concours-liste { margin-top: 28px; }
details.concours { background: var(--carte); border-radius: 24px; box-shadow: var(--ombre); margin-bottom: 16px; }
details.concours > summary { padding: 22px 26px; }
details.concours > summary::after { width: 34px; height: 34px; font-size: 22px; }
.c-titre { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; line-height: 1.25; }
.c-titre small { font-size: 14px; font-weight: 500; color: var(--prune-doux); }
.badge { font-size: 12px; font-weight: 600; color: #fff; background: var(--vert, #1D9E75); padding: 3px 10px; border-radius: 999px; margin-bottom: 4px; }
.badge.termine { background: #B3A8B6; }
.c-corps { padding: 0 26px 30px; border-top: 1px solid var(--bord); padding-top: 22px; }
.c-corps p { padding: 0; margin: 0 0 14px; color: var(--prune); }
.c-corps h2 { font-size: 18px; margin: 28px 0 8px; }
.c-corps ol { padding-left: 22px; margin-bottom: 14px; }
.c-corps li { margin-bottom: 8px; }
.c-corps .note { padding: 14px 18px; }
body { display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
details.concours { scroll-margin-top: 90px; }
.c-corps ul { padding-left: 22px; margin-bottom: 14px; }

/* ---------- Page Établissements ---------- */
.types { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 18px; }
.types li { background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; box-shadow: 0 2px 8px rgba(120, 60, 80, 0.08); margin: 0; }
.carte-lieu { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 24px 50px rgba(53, 35, 63, 0.16); max-width: 340px; margin: 0 auto; transform: rotate(-2deg); }
.cl-haut { display: flex; gap: 14px; align-items: center; }
.cl-haut strong { display: block; font-size: 18px; }
.cl-haut small { color: var(--prune-doux); font-size: 13px; }
.cl-pin { width: 48px; height: 48px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: #E1B23C; display: grid; place-items: center; flex-shrink: 0; }
.cl-pin svg { width: 22px; height: 22px; color: #fff; transform: rotate(45deg); }
.cl-equip { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.cl-equip span { font-size: 12px; font-weight: 500; background: #F4EEF7; color: var(--violet); padding: 4px 10px; border-radius: 999px; }
.cl-bas { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.etoiles { color: #E1B23C; letter-spacing: 2px; }
.cl-label { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #8A5A00; background: #FFF3D6; padding: 5px 10px; border-radius: 999px; }
.cl-label svg { width: 14px; height: 14px; color: #E1B23C; }
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; list-style: none; padding: 0; text-align: left; }
.offres li { position: relative; background: var(--carte); border-radius: 22px; padding: 28px; box-shadow: var(--ombre); margin: 0; }
.offres li.vedette { background: #fff; outline: 2px solid #F2CE6B; }
.offres p { color: var(--prune-doux); font-size: 15px; margin: 0; }
.i-or { background: #FFF3D6; color: #E1B23C; }
.prix { position: absolute; top: 28px; right: 24px; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: #EBDFED; color: var(--violet); }
.prix.gratuit { background: #DDEFE3; color: #1D7F5F; }
.prix.or { background: #FFF3D6; color: #8A5A00; }
.etapes { list-style: none; padding: 0; counter-reset: e; margin-top: 22px; }
.etapes li { counter-increment: e; position: relative; padding-left: 58px; margin-bottom: 22px; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--rouge); color: #fff; font-weight: 700; display: grid; place-items: center; }
.etapes strong { display: block; font-size: 17px; }
.etapes span { color: var(--prune-doux); font-size: 15px; }
select { width: 100%; padding: 12px 14px; border: 1.5px solid #EBD8E0; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--prune); }
fieldset { border: 0; margin-top: 18px; }
legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
label.coche { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; margin: 6px 0; }
label.coche input { width: 18px; height: 18px; accent-color: var(--rouge); }
.grille-coches { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 820px) {
  .offres { grid-template-columns: 1fr; }
  .carte-lieu { transform: none; }
}

/* ---------- Page partenaire : deux parties ---------- */
.choix { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.choix a { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--prune); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; box-shadow: var(--ombre); }
.choix a:hover { color: var(--rouge); }
.choix svg { width: 18px; height: 18px; color: #E1B23C; }
.bloc-etoile { margin-top: 88px; padding-top: 72px; border-top: 1px solid var(--bord); scroll-margin-top: 80px; }
#pros { scroll-margin-top: 90px; }
.titre-etoile { font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.bloc-etoile .carte-lieu { margin: 32px 0 0; }
.bloc-etoile .btn svg { fill: currentColor; color: #FFE08A; }

/* ---------- Téléphone : logo plus petit, menu sur une seule ligne ---------- */
@media (max-width: 820px) {
  .hero .logo-hero { max-width: 150px; filter: drop-shadow(0 8px 14px rgba(225, 32, 36, 0.15)); margin-bottom: -6px; }
  .hero { gap: 18px; }
  main { padding-top: 24px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: -24px; padding-right: 24px; }
  .nav::-webkit-scrollbar { display: none; }
  .entete .contenu { padding-top: 8px; padding-bottom: 6px; row-gap: 6px; }
  .marque img { width: 38px; height: 38px; }
}

/* ---------- Langues : un mot à la fois, en fondu ---------- */
.langues { position: relative; display: block; height: 1.35em; margin-top: 22px; }
.langues span { position: absolute; left: 0; right: 0; text-align: center; opacity: 0; animation: langue 8s infinite; }
.langues span:nth-child(2) { animation-delay: 2s; }
.langues span:nth-child(3) { animation-delay: 4s; }
.langues span:nth-child(4) { animation-delay: 6s; }
@keyframes langue {
  0%   { opacity: 0; transform: translateY(18px); }
  6%   { opacity: 1; transform: translateY(0); }
  22%  { opacity: 1; transform: translateY(0); }
  28%  { opacity: 0; transform: translateY(-18px); }
  100% { opacity: 0; transform: translateY(-18px); }
}
@media (prefers-reduced-motion: reduce) {
  .langues { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
  .langues span { position: static; opacity: 1; animation: none; }
}

/* ---------- Tableaux et sous-titres dans les onglets légaux ---------- */
.c-corps h3 { font-size: 16px; margin: 18px 0 6px; }
.tableau { overflow-x: auto; margin: 6px 0 16px; }
.tableau table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.tableau th { text-align: left; font-weight: 600; background: #FCE3E2; padding: 10px 12px; }
.tableau th:first-child { border-radius: 10px 0 0 10px; }
.tableau th:last-child { border-radius: 0 10px 10px 0; }
.tableau td { padding: 10px 12px; border-bottom: 1px solid var(--bord); vertical-align: top; }
@media (max-width: 640px) {
  .tableau table { min-width: 0; font-size: 13px; }
  .tableau th, .tableau td { padding: 8px 6px; }
  .c-corps { padding-left: 18px; padding-right: 18px; }
}
