/* Pages intérieures : composants partagés (variante A) */
.page-hero { padding: 56px 0 24px; }
.page-hero__grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 6fr 6fr; gap: 48px; } }
.page-hero h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1; }
.page-hero h1 .accent { color: var(--blue); }
.page-hero p.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--text); max-width: 620px; margin-top: 18px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero__visual { border-radius: 40px; padding: 28px; position: relative; min-height: 360px; overflow: hidden; }
.page-hero__visual .card { position: absolute; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 999px) { .page-hero__visual { min-height: 0; display: grid; gap: 12px; } .page-hero__visual .card { position: static !important; width: auto !important; animation: none !important; } }
.crumbs { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue); }

/* Grille de fonctionnalités */
.ftiles { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ftile { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ftile__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.75); }
.ftile h3 { font-size: 22px; }
.ftile p { font-size: 14px; color: var(--text); }
.ftile ul { display: grid; gap: 8px; margin-top: auto; padding-top: 8px; }
.ftile li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 600; }
.ftile li svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 1000px) { .ftiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ftiles { grid-template-columns: 1fr; } }

/* Bandeau de faits */
.facts { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fact { padding: 22px; display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center; }
.fact b { font-family: var(--font-disp); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; color: var(--blue); }
.fact span { font-size: 13px; color: var(--text); }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact:last-child { grid-column: span 2; } }

/* Tarifs */
.pricing { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 1fr; } }
.price { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.price h3 { font-size: 30px; }
.price .basis { font-family: var(--font-disp); font-weight: 700; font-size: 20px; line-height: 1.2; }
.price ul { display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.price li svg { flex-shrink: 0; margin-top: 3px; }
.price .btn { margin-top: auto; align-self: flex-start; }
.steps3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step3 { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step3 .n { font-family: var(--font-disp); font-weight: 800; font-size: 40px; letter-spacing: -.04em; color: var(--blue); }
.step3 h3 { font-size: 20px; } .step3 p { font-size: 14px; color: var(--text); }
@media (max-width: 800px) { .steps3 { grid-template-columns: 1fr; } }
.finance { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; padding: 36px; }
@media (min-width: 900px) { .finance { grid-template-columns: 120px 1fr auto; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-disp); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 999px; background: var(--grey-2); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s var(--ease-out); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--gold); }
.faq details p { padding: 0 0 22px; font-size: 15px; color: var(--text); max-width: 800px; }

/* Contact */
.channels { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.channel { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.channel small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.channel b { font-size: 18px; font-weight: 800; }
.channel span { font-size: 13px; color: var(--text); }
@media (max-width: 800px) { .channels { grid-template-columns: 1fr; } }
.contact-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.form { padding: 32px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-height: 46px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 13px; color: var(--text); }
.form .consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 2px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* Blog */
.catpills { display: flex; flex-wrap: wrap; gap: 8px; }
.catpills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text); }
.catpills a:hover { border-color: var(--ink); color: var(--ink); }
.catpills a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.postgrid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.postcard { display: flex; flex-direction: column; overflow: hidden; }
.postcard .illus { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--line); }
.postcard .illus svg { width: 100%; height: 100%; object-fit: cover; }
.postcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.postcard h3 { font-size: 21px; line-height: 1.15; }
.postcard p { font-size: 14px; color: var(--text); }
.postcard .meta { margin-top: auto; font-size: 12px; color: var(--muted); font-weight: 600; display: flex; gap: 10px; flex-wrap: wrap; }
.postcard--wide { grid-column: span 2; flex-direction: row; }
.postcard--wide .illus { aspect-ratio: auto; width: 50%; border-bottom: 0; border-right: 1px solid var(--line); }
.postcard--wide h3 { font-size: clamp(24px, 2.4vw, 32px); }
@media (max-width: 1000px) { .postgrid { grid-template-columns: 1fr 1fr; } .postcard--wide { grid-column: span 2; } }
@media (max-width: 640px) { .postgrid { grid-template-columns: 1fr; } .postcard--wide { grid-column: span 1; flex-direction: column; } .postcard--wide .illus { width: auto; aspect-ratio: 3/2; border-right: 0; border-bottom: 1px solid var(--line); } }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; padding: 0 12px; }
.pagination [aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nl-band { border-radius: 32px; background: var(--gold-pale); padding: 40px; display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .nl-band { grid-template-columns: 1fr auto; } }
.nl-band form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-band input { font: inherit; padding: 0 16px; min-height: 52px; border-radius: 999px; border: 1px solid var(--line); min-width: 260px; background: var(--white); }

/* Article */
.art-hero { padding: 48px 0 8px; }
.art-hero h1 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; max-width: 900px; }
.art-hero .meta { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 18px; }
.art-cover { border-radius: 28px; overflow: hidden; margin: 24px 0 36px; border: 1px solid var(--line); aspect-ratio: 21 / 9; max-height: 340px; max-width: 900px; }
.art-cover .illus, .art-cover .illus svg { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .art-cover { aspect-ratio: 16 / 9; } }
.art-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .art-grid { grid-template-columns: 8fr 4fr; } }
.toc { position: sticky; top: 100px; padding: 22px; display: flex; flex-direction: column; gap: 2px; }
.toc b { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc a { font-size: 14px; color: var(--text); min-height: 44px; display: flex; align-items: center; border-left: 2px solid var(--line); padding-left: 12px; }
.toc a:hover { border-color: var(--blue); color: var(--blue); }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); max-width: 760px; }
.prose h2 { font-family: var(--font-disp); font-weight: 700; letter-spacing: -.03em; font-size: clamp(26px, 3vw, 34px); margin: 40px 0 12px; line-height: 1.1; }
.prose h3 { font-family: var(--font-disp); font-weight: 700; letter-spacing: -.02em; font-size: 22px; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--text); list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 24px 0; padding: 20px 24px; border-radius: 20px; background: var(--gold-pale); font-family: var(--font-disp); font-weight: 600; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.prose .callout { margin: 24px 0; padding: 20px 24px; border-radius: 20px; background: var(--sky); display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text); }
.prose .callout svg { flex-shrink: 0; margin-top: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0 24px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 800; }
.art-cta { border-radius: 32px; background: var(--sky); padding: 32px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 40px; }
.related { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* Checklist */
.check-section { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.check-section h2 { font-size: clamp(24px, 3vw, 32px); display: flex; gap: 14px; align-items: center; }
.check-section h2 .n { width: 44px; height: 44px; border-radius: 999px; background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.check-section > p { font-size: 15px; color: var(--text); }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.check input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--blue); }
.check label { font-size: 15px; font-weight: 600; cursor: pointer; }
.check small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.check .warn { display: inline-flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--gold-pale); font-size: 13px; color: var(--gold-ink); font-weight: 600; }
@media print {
  .site-header, .cta-band, footer, .no-print, .btn { display: none !important; }
  body { background: #fff; }
  .check-section { break-inside: avoid; border: 1px solid #ddd; box-shadow: none; }
}

/* Démo */
.phones { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .phones { grid-template-columns: 1fr 1fr; } }
.phone-block { border-radius: 40px; padding: 36px; display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .phone-block { grid-template-columns: minmax(0, 1fr) 360px; } }
.phone-block h2 { font-size: clamp(26px, 2.8vw, 36px); }
.phone-block ul { display: grid; gap: 10px; margin-top: 12px; }
.phone-block li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.phone-block li svg { flex-shrink: 0; margin-top: 3px; }
.hint { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; }

/* Écran téléphone : compléments (accueil apprenant) */
.phone__hello { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.phone__avatar { width: 30px; height: 30px; border-radius: 999px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.phone__next { padding: 12px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 3px; }
.phone__next small { font-size: 9px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.phone__next b { font-size: 12px; } .phone__next span { font-size: 10px; color: #C5C8CE; }
.phone__label { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #64748B; margin-top: 4px; }
.phone__act { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: var(--white); border: 1px solid #E2E8F0; }
.phone__act b { font-size: 10.5px; } .phone__act small { font-size: 9px; font-weight: 700; white-space: nowrap; }
.phone__tabs { margin-top: auto; display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid #E2E8F0; font-size: 9px; font-weight: 700; color: #94A3B8; }
.phone-block .phone { justify-self: center; height: 460px; }
.tag--red { background: var(--red-pale); color: var(--red); }
.tag--grey { background: var(--grey-2); color: var(--text); }

/* Menu mobile : bouton et tiroir (injectés par landing.js) */
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; margin-left: auto; }
.nav-toggle svg { display: block; }
@media (min-width: 1100px) { .nav-toggle { display: none; } }
.site-header__bar.is-open .nav { display: flex; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15,23,42,.35); z-index: 60; }
.site-header__bar.is-open .nav a { min-height: 44px; font-size: 16px; }
.site-header__bar.is-open .nav .nav__cta { display: inline-flex; justify-content: center; background: var(--blue); color: #fff; font-weight: 700; margin-top: 6px; }
.site-header__bar { position: relative; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { left: 16px; }
.alert { padding: 14px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert--ok { background: var(--sage); color: var(--green); }
.alert--err { background: var(--red-pale); color: var(--red); }

/* Le CTA dupliqué dans le tiroir mobile reste caché sur grand écran */
@media (min-width: 1100px) { .nav .nav__cta { display: none; } }

/* Boutons à l'intérieur d'un article : ne pas hériter de la couleur des liens de .prose */
.prose .btn, .prose .btn:link, .prose .btn:visited, .prose .btn:hover { text-decoration: none; }
.prose .btn--hot, .prose .btn--hot:link, .prose .btn--hot:visited { color: #fff; }
.prose .btn--soft, .prose .btn--soft:link, .prose .btn--soft:visited { color: var(--ink); }
.prose .art-cta h2 { margin-top: 0; }


/* Aperçus interactifs (plugin fpa-demo-previews) : cadres Android et iOS, plus larges */
.demo-embed { display: flex; flex-direction: column; align-items: center; gap: 12px; justify-self: center; width: 100%; max-width: 360px; }
.demo-embed .fpv-caption { order: 2; font-size: 12px; color: var(--muted); }
.demo-embed::after { content: attr(data-os); order: 3; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.demo-embed .fpv-phone { width: 340px; max-width: 100%; box-sizing: border-box; box-shadow: 0 40px 80px -30px rgba(15,23,42,.45), 0 10px 24px -14px rgba(15,23,42,.3); }
.demo-embed .fpv-phone::before, .demo-embed .fpv-phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2A2F3A; }
/* iOS : coins très arrondis, Dynamic Island, barre d'accueil, boutons volume à gauche et power à droite */
.demo-embed--ios .fpv-phone { border-radius: 56px; padding: 12px; background: linear-gradient(160deg, #2B2F3A, #0F172A); outline: 3px solid #4B5563; outline-offset: -3px; }
.demo-embed--ios .fpv-phone__screen { border-radius: 46px; height: 700px; }
.demo-embed--ios .fpv-phone__notch { top: 22px; width: 118px; height: 34px; border-radius: 20px; background: #000; }
.demo-embed--ios .fpv-phone__screen::after { content: ""; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 130px; height: 5px; border-radius: 3px; background: #0F172A; opacity: .55; z-index: 7; pointer-events: none; }
.demo-embed--ios .fpv-phone::before { left: -6px; top: 150px; height: 70px; box-shadow: 0 90px 0 #2A2F3A; }
.demo-embed--ios .fpv-phone::after { right: -6px; top: 190px; height: 110px; }
.demo-embed--ios .fpv-tabbar { border-radius: 0 0 40px 40px; padding-bottom: 12px; height: 66px; }
/* Android : coins moins arrondis, caméra perforée, barre de gestes fine, boutons à droite */
.demo-embed--android .fpv-phone { border-radius: 36px; padding: 9px; background: linear-gradient(160deg, #1F2937, #0B1220); outline: 2px solid #374151; outline-offset: -2px; }
.demo-embed--android .fpv-phone__screen { border-radius: 30px; height: 720px; }
.demo-embed--android .fpv-phone__notch { top: 18px; width: 16px; height: 16px; border-radius: 50%; background: #000; box-shadow: 0 0 0 3px #111827; }
.demo-embed--android .fpv-phone__screen::after { content: ""; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 96px; height: 4px; border-radius: 2px; background: #0F172A; opacity: .5; z-index: 7; pointer-events: none; }
.demo-embed--android .fpv-phone::before { right: -5px; top: 140px; height: 90px; left: auto; }
.demo-embed--android .fpv-phone::after { right: -5px; top: 250px; height: 50px; }
.demo-embed--android .fpv-tabbar { border-radius: 0 0 24px 24px; padding-bottom: 10px; height: 64px; }
@media (max-width: 400px) { .demo-embed--ios .fpv-phone__screen { height: 620px; } .demo-embed--android .fpv-phone__screen { height: 640px; } }


/* WordPress : contenu Gutenberg dans .prose et pagination native */
.prose img { max-width: 100%; height: auto; border-radius: 20px; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose .wp-block-table table { margin: 0; }
.prose .wp-block-quote, .prose blockquote cite { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.prose .wp-block-buttons .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.prose h4 { font-family: var(--font-disp); font-weight: 700; font-size: 18px; margin: 20px 0 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.prose .has-actin-blue-color { color: var(--blue); }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; padding: 0 12px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination .page-numbers.dots { border: 0; background: transparent; }
