/* Site grandmacall.com : corail, crème et prune, police Nunito hébergée ici (pas de Google Fonts). */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/polices/nunito-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/polices/nunito-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; }

:root {
  --fond: #FFF4EA; --fond-2: #FFE9D9; --sombre: #3B1F2B; --encre: #3B1F2B; --doux: #6E5560; --carte: #FFFFFF; --trait: #EBD6C6;
  --corail: #FF6B57; --corail-fonce: #C8402D; --corail-bouton: #E4472F; --vert: #17804F; --rayon: 28px;
  --police: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 600 19px/1.55 var(--police); color: var(--encre); background: var(--fond); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--corail-fonce); outline-offset: 3px; border-radius: 8px; }
.l { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-weight: 900; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(29px, 4vw, 44px); margin-bottom: 14px; }
h3 { font-size: 23px; margin-bottom: 8px; }
.chapo { font-size: clamp(19px, 2vw, 23px); color: var(--doux); margin: 22px 0 30px; max-width: 34em; }
.sur { font: 800 15px var(--police); letter-spacing: .12em; text-transform: uppercase; color: var(--corail-fonce); margin-bottom: 14px; }
.doux { color: var(--doux); }

/* En-tête : jamais collé. Sur mobile, un menu déroulant. */
header { padding: 20px 0; }
header .l { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.marque { display: flex; align-items: center; gap: 12px; font: 900 28px var(--police); text-decoration: none; letter-spacing: -.02em; }
.marque svg { width: 46px; height: 46px; flex: none; }
nav.large { display: flex; gap: 26px; align-items: center; font-weight: 700; font-size: 17px; }
nav.large a { text-decoration: none; color: var(--doux); }
nav.large a:hover { color: var(--encre); }
.bouton { display: inline-block; background: var(--corail-bouton); color: #fff; font: 800 19px var(--police); padding: 16px 30px; border-radius: 99px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.bouton:hover { background: #C8402D; }
.bouton.petit { padding: 11px 22px; font-size: 16px; }
nav.large a.bouton { color: #fff; }
details.menu { display: none; position: relative; }
details.menu summary { list-style: none; cursor: pointer; font: 800 16px var(--police); padding: 10px 16px; border: 2px solid var(--trait); border-radius: 99px; background: var(--carte); }
details.menu summary::-webkit-details-marker { display: none; }
details.menu div { position: absolute; right: 0; top: 52px; z-index: 5; background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 10px; min-width: 220px; box-shadow: 0 14px 40px rgba(59,31,43,.16); display: flex; flex-direction: column; }
details.menu a { padding: 11px 14px; text-decoration: none; font-weight: 700; border-radius: 10px; }
details.menu a:hover { background: var(--fond); }

/* Inscription */
.inscription { display: flex; gap: 10px; flex-wrap: wrap; max-width: 540px; }
.inscription input[type=email] { flex: 1; min-width: 220px; font: 600 18px var(--police); padding: 16px 20px; border-radius: 99px; border: 2px solid var(--trait); background: #fff; color: #222; }
.inscription .piege { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.retour { flex-basis: 100%; font-size: 16px; font-weight: 700; min-height: 1.4em; }
.retour.ok { color: var(--vert); }
.retour.non { color: var(--corail-fonce); }
.petit-texte { font-size: 15px; color: var(--doux); margin-top: 4px; }

.heros { padding: 36px 0 76px; text-align: center; }
.heros .chapo, .heros .inscription { margin-left: auto; margin-right: auto; }
.heros .inscription { justify-content: center; }
.vitrine { margin-top: 52px; display: flex; justify-content: center; align-items: flex-end; }
.vitrine .tablette { width: min(760px, 78%); }
.vitrine .telephone { width: min(210px, 24%); margin-left: -7%; margin-bottom: -3%; }

section { padding: 80px 0; }
section.teinte { background: var(--fond-2); }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 38px; }
.etape { background: var(--carte); border-radius: var(--rayon); padding: 30px; }
.etape .num { width: 52px; height: 52px; border-radius: 50%; background: var(--corail-bouton); color: #fff; font: 900 26px var(--police); display: grid; place-items: center; margin-bottom: 18px; }
.etape p, .atout p { color: var(--doux); font-size: 18px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.duo.inverse > :first-child { order: 2; }
.duo p { color: var(--doux); }
.duo ul { list-style: none; margin-top: 22px; }
.duo li { padding: 9px 0 9px 40px; position: relative; }
.duo li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 50%; background: var(--corail-bouton); color: #fff; font: 800 16px var(--police); display: grid; place-items: center; }
.duo img.etroit { max-width: 320px; margin: 0 auto; }
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; margin-top: 38px; }
.tableau { overflow-x: auto; margin-top: 34px; background: var(--carte); border-radius: var(--rayon); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 17px; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--trait); vertical-align: top; }
tr:last-child > * { border-bottom: 0; }
thead th { font-weight: 800; }
tbody th { font-weight: 700; color: var(--doux); width: 31%; }
td.nous, th.nous { background: #FFF1EC; font-weight: 800; }
.prix { background: var(--carte); border-radius: var(--rayon); padding: 36px; max-width: 620px; margin-top: 34px; }
.prix .montant { font: 900 46px var(--police); margin: 6px 0 2px; }
.prix ul { list-style: none; margin: 18px 0 26px; }
.prix li { padding: 6px 0 6px 30px; position: relative; }
.prix li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 900; }
details.question { border-bottom: 2px solid var(--trait); padding: 20px 0; max-width: 820px; }
details.question summary { font: 800 21px var(--police); cursor: pointer; }
details.question p { margin-top: 12px; color: var(--doux); }
.final { text-align: center; background: var(--sombre); color: #fff; }
.final .chapo { color: #E9D6DC; margin-left: auto; margin-right: auto; }
.final .inscription { margin: 0 auto; justify-content: center; }
.final .inscription input[type=email] { border-color: transparent; }
.final .petit-texte, .final .retour.ok { color: #E9D6DC; }
.final .retour.non { color: #FFB3A6; }
footer { padding: 44px 0 56px; font-size: 16px; color: var(--doux); }
footer .l { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px 40px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--doux); }

/* Pages de texte (confidentialité, conditions, mentions légales) */
.texte { max-width: 760px; padding-top: 30px; padding-bottom: 70px; }
.texte h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.texte h2 { font-size: 25px; margin: 38px 0 10px; }
.texte p, .texte li { color: #54404A; font-weight: 500; font-size: 18px; }
.texte p { margin-bottom: 14px; }
.texte ul { margin: 0 0 14px 22px; }
.texte li { margin-bottom: 6px; }
.texte .date { color: var(--doux); font-weight: 700; margin-bottom: 26px; }

@media (max-width: 880px) {
  nav.large { display: none; }
  details.menu { display: block; }
  .duo, .etapes, .atouts { grid-template-columns: 1fr; }
  .duo.inverse > :first-child { order: 0; }
  .duo { gap: 32px; }
  section { padding: 58px 0; }
  .l { padding: 0 16px; }
  .marque { font-size: 23px; }
  .marque svg { width: 38px; height: 38px; }
  .inscription .bouton { width: 100%; }
  .prix { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ───────── Variante « anime » (retenue le 22/11/2026) : titres Mochiy Pop One, scènes illustrées en cases de manga. ───────── */
@font-face { font-family: 'Mochiy Pop One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/polices/mochiy-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; }
:root { --titre: 'Mochiy Pop One', 'Nunito', 'Segoe UI', system-ui, sans-serif; --rose: #FFD3C9; --fond-2: #FFE4D2; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.22; letter-spacing: 0; }
h1 { font-size: clamp(31px, 4.6vw, 54px); }
h2 { font-size: clamp(25px, 3.2vw, 36px); }
h3 { font-size: 19px; }
.texte h1 { font-size: clamp(27px, 4vw, 38px); }
.texte h2 { font-size: 21px; }
.sur { display: inline-block; font-size: 14px; letter-spacing: .1em; background: #fff; border: 2px solid var(--rose); padding: 5px 14px; border-radius: 99px; margin-bottom: 16px; }
.bouton { box-shadow: 0 5px 0 #B93522; }
.bouton.petit { box-shadow: 0 4px 0 #B93522; }
.case { background: #fff; padding: 10px; border-radius: 26px; box-shadow: 0 16px 40px rgba(110, 60, 50, .18); transform: rotate(var(--penche, -1.2deg)); }
.case img { border-radius: 18px; width: 100%; }
.scene { position: relative; min-width: 0; }
.bulle { position: absolute; right: 4%; top: -26px; background: #fff; font: 400 17px/1.25 var(--titre); padding: 12px 18px; border-radius: 22px; box-shadow: 0 8px 20px rgba(110, 60, 50, .18); max-width: 240px; }
.bulle::after { content: ""; position: absolute; left: 30px; bottom: -11px; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; }
.heros { text-align: left; padding: 24px 0 70px; }
.heros .l { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 54px; align-items: center; }
.heros .chapo, .heros .inscription { margin-left: 0; margin-right: 0; }
.heros .inscription { justify-content: flex-start; }
.heros .chapo { font-size: 20px; margin: 20px 0 28px; }
.vague { display: block; width: 100%; height: 46px; }
.etape { border: 3px solid var(--rose); padding: 26px; }
.etape .num { font: 400 22px var(--titre); width: 48px; height: 48px; }
.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.duo.inverse > :first-child { order: 0; }
.duo.inverse > .scene { order: 2; }
.duo li::before { content: "♥"; background: var(--rose); color: var(--corail-fonce); font-size: 14px; }
.vraie { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-top: 34px; }
.vraie figcaption { font-size: 15px; color: var(--doux); margin-top: 10px; text-align: center; }
.vraie .tel img { max-width: 250px; margin: 0 auto; }
.tableau, .prix { border: 3px solid var(--rose); }
.prix .montant { font: 400 40px var(--titre); }
details.question { background: #fff; border: 3px solid var(--rose); border-radius: 22px; padding: 16px 22px; }
details.question + details.question { margin-top: 12px; }
details.question summary { font-size: 19px; }
.final .l { display: flex; flex-direction: column; align-items: center; }
.final .rond { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; background: #FEEDD9; margin-bottom: 20px; }
@media (max-width: 880px) {
  .heros .l, .vraie { grid-template-columns: minmax(0, 1fr); }
  .heros .l { gap: 44px; }
  .duo.inverse > .scene { order: 0; }
  .case { transform: none; }
  .bulle { right: 2%; top: -30px; font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bulle { animation: flotte 4s ease-in-out infinite; }
  @keyframes flotte { 50% { transform: translateY(-6px); } }
}

/* Tarif : deux cartes côte à côte, l'offre Famille mise en avant. */
.offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 34px; max-width: 920px; }
.offres .prix { margin-top: 0; max-width: none; }
.offres .prix.phare { border-color: var(--corail-bouton); box-shadow: 0 12px 30px rgba(200, 64, 45, .14); }
.offres .prix .montant { font-size: 30px; }
.offres .prix ul { margin-bottom: 0; }
@media (max-width: 880px) { .offres { grid-template-columns: minmax(0, 1fr); } }

/* Mobile : ces règles viennent en dernier pour passer après la variante anime (qui remettait deux colonnes). */
@media (max-width: 880px) {
  .duo, .etapes, .atouts { grid-template-columns: minmax(0, 1fr); }
  .duo { gap: 30px; }
  .duo.inverse > .scene { order: 0; }
  body { font-size: 18px; }
  .heros { padding-bottom: 54px; }
  .heros .chapo { font-size: 19px; }
  .vague { height: 30px; }
  /* Tableau comparatif : une carte par ligne, plus de défilement horizontal. */
  .tableau { background: none; border: 0; overflow: visible; }
  .tableau table, .tableau tbody, .tableau tr, .tableau th, .tableau td { display: block; min-width: 0; width: auto; }
  .tableau thead { display: none; }
  .tableau tr { background: #fff; border: 3px solid var(--rose); border-radius: 22px; padding: 16px 18px; margin-bottom: 14px; }
  .tableau tbody th { color: var(--encre); font: 800 19px var(--police); padding: 0 0 8px; border: 0; width: auto; }
  .tableau td { padding: 5px 0; border: 0; display: flex; justify-content: space-between; gap: 14px; font-size: 16px; text-align: right; text-align: end; background: none; }
  .tableau td::before { content: attr(data-colonne); color: var(--doux); font-weight: 600; text-align: start; flex: none; max-width: 45%; }
  .tableau td { overflow-wrap: anywhere; }
  .tableau td.nous { background: none; color: var(--corail-fonce); }
}

/* Choix de la langue, en pied de page : une liste de liens, la langue courante en gras. */
footer .l + .l { margin-top: 22px; }
footer nav.langues { gap: 6px 16px; font-size: 15px; }
footer nav.langues a { text-decoration: none; padding: 3px 0; }
footer nav.langues a:hover { text-decoration: underline; }
footer nav.langues a[aria-current] { font-weight: 800; color: var(--encre); }
/* Langues écrites de droite à gauche (arabe, hébreu). */
[dir="rtl"] .duo li, [dir="rtl"] .prix li { padding-left: 0; padding-right: 36px; }
[dir="rtl"] .duo li::before, [dir="rtl"] .prix li::before { left: auto; right: 0; }
[dir="rtl"] .bulle { right: auto; left: 4%; }
[dir="rtl"] details.menu div { right: auto; left: 0; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .heros { text-align: right; }

/* Nunito pour le cyrillique et le vietnamien (russe, ukrainien, vietnamien) ; les autres écritures prennent la police du système. */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/polices/nunito-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/polices/nunito-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/polices/nunito-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

/* ───────── Guides (pages ciblées, site/pages/<code>.json) : fil d'Ariane, colonne de lecture, étapes, cartes. ───────── */
.fil { padding-top: 4px; font-size: 15px; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--doux); }
.fil li + li::before { content: "›"; margin-inline-end: 8px; }
.fil a { color: var(--doux); }
.fil [aria-current] { color: var(--encre); font-weight: 800; }
.guide-tete { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 54px; align-items: center; padding-top: 34px; padding-bottom: 60px; }
.guide-tete h1 { font-size: clamp(26px, 3.5vw, 41px); }
.guide-tete .chapo { font-size: 20px; margin: 20px 0 16px; }
.guide-tete .date { font-size: 15px; font-weight: 700; color: var(--doux); }
.guide-corps { padding-bottom: 76px; }
.guide-corps > * { max-width: 780px; }
.guide-corps h2 { font-size: clamp(21px, 2.5vw, 27px); margin: 46px 0 14px; }
.guide-corps h2:first-child { margin-top: 0; }
.guide-corps p, .guide-corps li { color: #54404A; font-weight: 500; }
.guide-corps p { margin-bottom: 14px; }
.guide-corps a, .vers-accueil a { color: var(--corail-fonce); font-weight: 700; text-underline-offset: 3px; }
.guide-corps ul.puces { list-style: none; margin: 4px 0 18px; }
.guide-corps ul.puces li { padding: 7px 0 7px 40px; position: relative; }
.guide-corps ul.puces li::before { content: "♥"; position: absolute; left: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--rose); color: var(--corail-fonce); font: 800 14px var(--police); display: grid; place-items: center; }
.guide-corps ol.pas { list-style: none; counter-reset: pas; margin: 8px 0 20px; display: grid; gap: 12px; }
.guide-corps ol.pas li { counter-increment: pas; background: #fff; border: 3px solid var(--rose); border-radius: 22px; padding: 18px 20px 18px 78px; position: relative; }
.guide-corps ol.pas li::before { content: counter(pas); position: absolute; left: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--corail-bouton); color: #fff; font: 400 20px var(--titre); display: grid; place-items: center; }
.guide-corps ol.pas h3 { font-size: 18px; margin-bottom: 6px; }
.guide-corps ol.pas p { margin: 0; font-size: 18px; }
.guide-corps .note { background: #fff; border: 3px dashed var(--rose); border-radius: 22px; padding: 16px 20px; font-size: 17px; margin-top: 18px; }
.guide article > section { padding: 66px 0; }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.carte-guide { display: flex; flex-direction: column; background: #fff; border: 3px solid var(--rose); border-radius: 26px; padding: 12px 12px 20px; text-decoration: none; }
.carte-guide:hover { border-color: var(--corail-bouton); }
.carte-guide img { border-radius: 16px; width: 100%; }
.carte-guide h3 { font-size: 18px; margin: 16px 8px 8px; }
.carte-guide p { color: var(--doux); font-size: 17px; margin: 0 8px 12px; flex: 1; }
.carte-guide .lire { color: var(--corail-fonce); font-weight: 800; font-size: 16px; margin: 0 8px; }
.vers-accueil { margin-top: 28px; }
[dir="rtl"] .guide-corps ul.puces li { padding-left: 0; padding-right: 40px; }
[dir="rtl"] .guide-corps ul.puces li::before { left: auto; right: 0; }
[dir="rtl"] .guide-corps ol.pas li { padding-left: 20px; padding-right: 78px; }
[dir="rtl"] .guide-corps ol.pas li::before { left: auto; right: 18px; }
@media (max-width: 880px) {
  .guide-tete, .guides { grid-template-columns: minmax(0, 1fr); }
  .guide-tete { gap: 30px; padding-top: 24px; padding-bottom: 44px; }
  .guide-tete .chapo { font-size: 19px; }
  .guide-corps { padding-bottom: 56px; }
  .guide-corps ol.pas li { padding: 16px 16px 16px 66px; }
  .guide-corps ol.pas li::before { left: 14px; top: 16px; width: 38px; height: 38px; font-size: 17px; }
  .guide article > section { padding: 52px 0; }
}
