/* LCPA Studio — feuille de style unique (d'après la maquette validée le 12/11/2026).
   Aucune ressource externe : polices et images servies par le site. Pas de JavaScript. */

@font-face { font-family: 'Fredoka'; src: url('/assets/polices/Fredoka.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Titan One'; src: url('/assets/polices/TitanOne-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root {
  --violet: #4b3fa6; --violet-clair: #ece9ff; --soleil: #f5b43c;
  --terre: #b4532f;   /* maquette #d9734e foncée : contraste 5,0 sur blanc (AA) */
  --creme: #fffaf2; --encre: #241f3a;
  --gris: #57526b;    /* maquette #6d6880 foncé : 5,9 à 7,4 selon le fond (AA) */
  --texte-doux: #4a4560; --bord: #f0e8da; --trait: #f3ede2;
  --marge: clamp(20px, 4.4vw, 56px);
  --titre: 'Titan One', 'Arial Black', system-ui, sans-serif;
  --texte: 'Fredoka', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--texte); font-size: 16px; line-height: 1.5; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
.doc .tete-doc h1 { min-width: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.pied :focus-visible { outline-color: var(--soleil); } /* anneau jaune sur le pied sombre (8,6:1) ; violet ailleurs (≥ 7,9:1) */
#contenu:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.emoji { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-weight: 400; }
.conteneur { max-width: 1280px; margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }

/* Lien d'évitement (clavier) */
.evitement { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.evitement:focus { top: 12px; }

/* ---------- En-tête ---------- */
.entete { background: #fff; border-bottom: 1px solid #eee6d8; }
.entete-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 30px; padding-top: 22px; padding-bottom: 22px; }
.marque { display: inline-flex; align-items: center; gap: 12px; font: 400 26px/1 var(--titre); color: var(--violet); text-decoration: none; }
.logo { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--violet), #8a5cc9 55%, var(--soleil)); position: relative; flex: none; }
.logo::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--soleil); border: 3px solid #fff; right: 7px; top: 7px; }
.logo span { position: absolute; left: 11px; bottom: 6px; font: 400 24px/1 var(--titre); color: #fff; }
.menu { justify-self: end; display: flex; flex-wrap: wrap; gap: 4px 30px; font-weight: 500; font-size: 17px; }
.menu a { color: var(--gris); text-decoration: none; padding: 6px 0; }
.menu a:hover { color: var(--violet); text-decoration: underline; }
.langues ul { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
.langues a { display: inline-block; min-width: 34px; text-align: center; padding: 5px 7px; border-radius: 8px; color: var(--gris); text-decoration: none; }
.langues a:hover { background: var(--violet-clair); color: var(--violet); }
.langues a[aria-current="page"] { background: var(--violet); color: #fff; font-weight: 600; }

/* ---------- Accueil : bandeau ---------- */
.bandeau { background: radial-gradient(circle at 85% 20%, #ffe3a6 0, transparent 38%), linear-gradient(180deg, #fff6e6, var(--creme)); }
.bandeau-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 60px; }
.bandeau h1 { font: 400 clamp(34px, 3.4vw + 13px, 56px)/1.08 var(--titre); }
.bandeau h1 em { font-style: normal; color: var(--violet); }
.bandeau p { font-size: clamp(17px, 0.5vw + 15px, 21px); line-height: 1.5; color: var(--gris); margin-top: 20px; max-width: 560px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pastilles li { background: #fff; border: 1px solid #eadfcb; border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 15px; }
.icones-hero { position: relative; width: 100%; max-width: 550px; aspect-ratio: 550 / 330; justify-self: center; }
.icones-hero picture { position: absolute; }
.icones-hero img { width: 100%; border-radius: 26%; box-shadow: 0 18px 40px rgba(36, 31, 58, .25); }
.icones-hero .i1 { width: 34.5%; left: 7.3%; top: 21.2%; transform: rotate(-8deg); }
.icones-hero .i2 { width: 40%; left: 38.2%; top: 3%; transform: rotate(5deg); z-index: 2; }
.icones-hero .i3 { width: 30.9%; left: 69.1%; top: 45.5%; transform: rotate(10deg); }

/* ---------- Accueil : cartes ---------- */
.section { padding-top: 56px; padding-bottom: 56px; }
.section > h2 { font: 400 clamp(28px, 1.2vw + 20px, 34px)/1.2 var(--titre); margin-bottom: 8px; }
.section .sous { color: var(--gris); font-size: 18px; margin-bottom: 30px; }
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.carte { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 6px 24px rgba(36, 31, 58, .08); border: 1px solid var(--bord); display: flex; flex-direction: column; gap: 14px; }
.carte .haut { display: flex; gap: 16px; align-items: center; }
.carte .haut img { width: 84px; height: 84px; border-radius: 22%; }
.carte h3 { font: 600 24px/1.2 var(--texte); }
.genre { color: var(--terre); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.carte > p { color: var(--gris); font-size: 16px; line-height: 1.45; flex: 1; }
.lien { color: var(--violet); font-weight: 600; font-size: 15px; text-decoration: none; }
.lien:hover { text-decoration: underline; }

/* Disponibilité dans les magasins : simple texte (le badge officiel Apple n'apparaît que sur la page d'une appli
   téléchargeable). Style clair, sans logo, pour ne jamais ressembler au badge. */
.magasins { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.puce { display: inline-flex; flex-direction: column; justify-content: center; gap: 1px; min-height: 44px; border-radius: 10px; padding: 5px 12px; line-height: 1.15; background: #ece7f7; color: var(--violet); }
.puce b { font-size: 14px; font-weight: 600; }
.puce small { font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
a.puce { background: #fff; border: 2px solid var(--violet); padding: 3px 10px; text-decoration: none; }
a.puce:hover { background: var(--violet-clair); }
.puce .point { width: 8px; height: 8px; border-radius: 50%; background: #2f8a4a; flex: none; }

/* ---------- Encart studio / aide ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; background: var(--violet-clair); border-radius: 24px; padding: 34px 40px; }
.studio h2 { font: 400 24px/1.25 var(--titre); color: var(--violet); margin-bottom: 8px; }
.studio p { color: var(--texte-doux); font-size: 16px; line-height: 1.5; }
.encart { padding-bottom: 56px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #cfc9e6; font-size: 14px; }
.pied-in { display: flex; justify-content: space-between; align-items: center; gap: 12px 30px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.pied b { color: #fff; }
.pied a { color: #cfc9e6; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pied .liens-langues a[aria-current="page"] { color: #fff; font-weight: 600; text-decoration: underline; }

/* ---------- Page d'une appli ---------- */
.app-haut { background: linear-gradient(180deg, var(--teinte, #e9f6d9), var(--creme)); }
.app-haut-in { padding-top: 26px; padding-bottom: 24px; }
.app-zippy-gecko { --teinte: #e9f6d9; }
.app-cigalou { --teinte: #fff0c9; }
.app-qui-a-le-point { --teinte: #e4e9f4; }
.retour { color: var(--violet); font-weight: 600; font-size: 15px; text-decoration: none; display: inline-block; padding: 6px 0; }
.retour:hover { text-decoration: underline; }
.app-id { display: flex; gap: 18px; align-items: center; margin-top: 16px; }
.app-id img { width: clamp(78px, 6vw + 50px, 120px); height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.app-id h1 { font: 400 clamp(26px, 2.2vw + 17px, 46px)/1.1 var(--titre); }
.app-id p { color: var(--gris); font-size: clamp(15px, 0.4vw + 13px, 19px); margin-top: 4px; }
.app-mag { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.badge-apple { display: inline-block; padding: 0; line-height: 0; margin: 2px 0; }
.badge-apple img { height: 48px; width: auto; }
.note-langue { margin-top: 14px; font-size: 15px; color: var(--texte-doux); background: rgba(255, 255, 255, .7); border-radius: 10px; padding: 8px 12px; display: inline-block; }

.captures { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-top: 8px; padding-bottom: 18px; scrollbar-width: thin; }
.captures ul { display: flex; gap: clamp(10px, 1vw, 16px); width: max-content; }
.captures li { scroll-snap-align: start; flex: none; }
.captures img { width: clamp(128px, 12vw + 26px, 180px); border-radius: 16px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.captures:focus-visible { outline-offset: -3px; }

.app-grille { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: start; padding-bottom: 56px; }
.app-col { display: grid; gap: 22px; }
.bloc { background: #fff; border-radius: 18px; padding: clamp(16px, 1.6vw, 26px) clamp(18px, 2vw, 30px); border: 1px solid var(--bord); }
.bloc h2 { font: 600 clamp(18px, 0.5vw + 16px, 23px)/1.25 var(--texte); margin-bottom: 10px; }
.bloc p { color: var(--texte-doux); font-size: clamp(15px, 0.2vw + 14px, 17px); }
.bloc p + p, .bloc p + ul, .bloc ul + p { margin-top: 10px; }
.bloc li { color: var(--texte-doux); font-size: clamp(15px, 0.2vw + 14px, 17px); padding: 5px 0; }
.liste-points li { padding-left: 1.9em; text-indent: -1.9em; }
.liste-points .emoji { display: inline-block; width: 1.9em; text-indent: 0; }
.liste-simple li { position: relative; padding-left: 18px; }
.liste-simple li::before { content: ''; position: absolute; left: 4px; top: calc(2px + 0.75em); width: 6px; height: 6px; border-radius: 50%; background: var(--violet); } /* milieu de la 1re ligne : marge 5px + ½ interligne − ½ puce */
.avertissement { border-left: 4px solid var(--soleil); padding-left: 12px; }

.faq details { border-top: 1px solid var(--trait); }
.faq details:first-of-type { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 0; font-size: clamp(15px, 0.2vw + 14px, 17px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; content: '+' / ''; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--violet-clair); color: var(--violet); display: grid; place-items: center; font-weight: 600; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '−'; content: '−' / ''; }
.faq details > div { padding: 0 0 14px; }
.faq details > div p { font-size: clamp(15px, 0.2vw + 14px, 16.5px); }
.ecrire { margin-top: 16px; border-top: 1px solid var(--trait); padding-top: 16px; }
.bouton { display: block; background: var(--violet); color: #fff; border-radius: 12px; padding: 12px; min-height: 46px; text-align: center; font-weight: 600; font-size: 16px; text-decoration: none; }
.bouton:hover { background: #3d3290; }
.ecrire .adresse { margin-top: 8px; text-align: center; font-size: 15px; }
.fleche { font-weight: 600; text-decoration: none; }
.fleche:hover { text-decoration: underline; }

/* ---------- Pages de texte (confidentialité, mentions légales, 404) ---------- */
.doc { max-width: 820px; padding-top: 36px; padding-bottom: 64px; }
.doc .tete-doc { display: flex; gap: 16px; align-items: center; margin: 14px 0 10px; }
.doc .tete-doc img { width: 64px; height: 64px; border-radius: 22%; }
.tete-doc picture, .app-id picture, .carte .haut picture { flex: none; } /* l'icône ne se tasse jamais dans une ligne flexible */
.doc dl + p { margin-top: 16px; }
.doc h1 { font: 400 clamp(28px, 1.6vw + 20px, 40px)/1.15 var(--titre); }
.doc .maj { color: var(--gris); margin-top: 6px; }
.doc h2 { font: 600 clamp(19px, 0.5vw + 17px, 23px)/1.3 var(--texte); margin-top: 30px; margin-bottom: 8px; }
.doc p, .doc li { color: var(--texte-doux); font-size: 17px; line-height: 1.6; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 10px; }
.doc ul.liste-simple li { padding-top: 4px; padding-bottom: 4px; }
.doc ul.liste-simple li::before { top: calc(1px + 0.8em); }
.doc .resume { background: #fff; border: 1px solid var(--bord); border-radius: 18px; padding: 18px 22px; margin-top: 20px; }
.doc address { font-style: normal; }
.doc dl { margin: 0; }
.doc dt { font-weight: 600; color: var(--encre); margin-top: 14px; }
.doc dd { margin: 2px 0 0; color: var(--texte-doux); font-size: 17px; line-height: 1.6; }
.introuvable { text-align: center; }
.introuvable .langue-bloc { margin-top: 26px; }
.introuvable .langue-bloc p { margin: 6px 0; }

/* ---------- Écrans étroits ---------- */
@media (max-width: 980px) {
  .cartes { grid-template-columns: 1fr; max-width: 640px; }
  .app-grille { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bandeau-in { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 36px; gap: 28px; }
  .icones-hero { max-width: 400px; }
  .studio { grid-template-columns: 1fr; padding: 26px 24px; gap: 20px; }
}
@media (max-width: 760px) {
  .entete-in { grid-template-columns: 1fr auto; grid-template-areas: "marque langues" "menu menu"; padding-top: 14px; padding-bottom: 10px; gap: 8px 10px; }
  .marque { grid-area: marque; font-size: 20px; gap: 9px; }
  .logo { width: 38px; height: 38px; border-radius: 12px; }
  .logo::after { width: 14px; height: 14px; right: 5px; top: 5px; border-width: 2.5px; }
  .logo span { left: 9px; bottom: 4px; font-size: 20px; }
  .langues { grid-area: langues; }
  .langues ul { gap: 2px; font-size: 13px; }
  .langues a { min-width: 30px; padding: 9px 4px; }
  .menu { grid-area: menu; justify-self: start; gap: 18px; font-size: 15px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section .sous { font-size: 16px; }
  .carte { padding: 20px; }
  .pied-in { flex-direction: column; align-items: flex-start; }
  .badge-apple img { height: 44px; }
  .doc p, .doc li, .doc dd { font-size: 16px; }
}
@media (max-width: 380px) {
  .marque { font-size: 18px; }
  .langues a { min-width: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .entete, .pied, .evitement { display: none; } body { background: #fff; } }
