/* ============================================================
   alexandrelabsi.fr — pages intérieures, grammaire « La loupe ».
   Chargé après loupe.css, qui fournit les tokens, l'en-tête, les
   boutons, la FAQ, le contact et le pied. Ici : la lecture longue.
   ============================================================ */

.page-wrap { max-width: 860px; }

/* Fil d'Ariane */
.breadcrumb { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 48px)); font-size: 14px; color: var(--grey); }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
.breadcrumb li + li::before { content: '/'; content: '/' / ''; margin-right: 10px; color: #A1A1A6; }
.breadcrumb a { color: var(--grey); text-underline-offset: .2em; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }

/* Ouverture de page */
.page-hero { text-align: center; padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 9vw, 112px); position: relative; isolation: isolate; }
.page-hero::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: -40%; height: 130%; pointer-events: none;
  background: radial-gradient(ellipse min(800px, 60%) 50% at 50% 50%, rgba(11, 87, 208, .10), transparent 70%); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(48px, 8.4vw, 112px); line-height: .96; letter-spacing: -0.05em; }
.page-hero .lead { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; color: var(--grey); max-width: 32em; margin: 28px auto 0; text-wrap: pretty; }
.page-hero .lead a { color: var(--ink); }
.page-hero .ctas { margin-top: 36px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.page-hero .meta { margin-top: 20px; font-size: 15px; color: var(--grey); }

/* Repères chiffrés sous le titre */
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 860px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; }
.keys b, .keys strong { display: block; font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.keys span { display: block; margin-top: 8px; font-size: 15px; color: var(--grey); }

/* Sections de lecture */
.page-sec { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.page-sec.mist { background: var(--mist); border-top: 0; }
.page-sec.mist + .page-sec { border-top: 0; }
.sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
.sec-head h2, .page-sec h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.045em; line-height: 1.04; }
.sec-head p { margin-top: 14px; color: var(--grey); font-size: 19px; }
.prose { font-size: 19px; line-height: 1.65; color: #3A3A3C; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 24px; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
.prose a, .page-sec a:not(.btn):not(.more) { color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: #A1A1A6; }
.prose table { width: 100%; border-collapse: collapse; font-size: 17px; }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); }
.prose td { font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.muted { color: var(--grey); }

/* Cartes : ce qui est compris, les autres offres */
.incl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.incl.three { grid-template-columns: repeat(3, 1fr); }
.incl:not(.links) > li { background: var(--mist); border-radius: var(--r-l); padding: clamp(24px, 2.6vw, 32px); }
.page-sec.mist .incl:not(.links) > li { background: var(--paper); box-shadow: var(--sh-m); }
.incl h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.2; }
.incl p { margin-top: 10px; font-size: 16.5px; color: var(--grey); line-height: 1.55; }
.incl .tag { display: inline-block; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--grey); }
.incl .ex { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: #424245; }

/* Étapes numérotées */
.steps-list { counter-reset: s; display: grid; gap: 0; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(s, decimal-leading-zero); content: counter(s, decimal-leading-zero) / ''; font-size: 15px; font-weight: 700; color: var(--grey); padding-top: 4px; font-variant-numeric: tabular-nums; }
.steps-list h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.2; }
.steps-list p { margin-top: 6px; color: var(--grey); font-size: 17px; }

/* Encadré */
.encadre { background: var(--mist); border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 30px); font-size: 17px; color: #3A3A3C; }
.page-sec.mist .encadre { background: var(--paper); }
.encadre p + p { margin-top: .8em; }
.legal-note { font-size: 15px; color: var(--grey); }

/* Prix d'appel */
.price { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-m); }
.price p { color: var(--grey); font-size: 17px; }
.price b, .price strong { display: block; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 8px; font-size: 15px; color: var(--grey); }

/* Réalisations (page Montpellier) */
.planches-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.planches-2 figure { margin: 0; }
.planche-visual { border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-m); background: var(--mist); aspect-ratio: 16 / 10; }
.planche-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.planches-2 figcaption { margin-top: 12px; font-size: 15px; color: var(--grey); }
.planches-2 .meta { font-size: 15px; color: var(--grey); }
.planches-2 .link { font-size: 15px; }

/* Blog */
.article-card { display: block; padding: 28px; border-radius: var(--r-l); background: var(--mist); text-decoration: none; transition: background-color .2s, transform .4s var(--ease); }
.article-card:hover { background: #ECECF0; }
.article-card h2 { font-size: clamp(26px, 3vw, 36px); }
.article-card p { margin-top: 10px; color: var(--grey); }
.article-card .meta { font-size: 14px; }
.chev::after { content: ' ›'; content: ' ›' / ''; }

/* Liens vers les autres prestations */
.next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.next a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--mist); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s; }
.next a:hover { background: #E4E9F0; }
.page-sec.mist .next a { background: var(--paper); }

/* La FAQ des pages reprend celle de l'accueil, alignée à gauche */
.page-sec .faq { margin-top: 8px; }

/* Apparition douce au défilement (rien n'est caché sans JS ni en mouvement réduit) */
html.motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
html.motion .reveal.is-in { opacity: 1; transform: none; }
html.motion .reveal:focus-within { opacity: 1; transform: none; transition-duration: .2s; transition-delay: 0ms; }

/* 404 */
.hero-actions { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; }

@media (max-width: 900px) {
.incl.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
.incl, .incl.three, .planches-2, .keys { grid-template-columns: 1fr; }
.keys { gap: 22px; }
.steps-list li { grid-template-columns: 40px 1fr; gap: 12px; }
.price { grid-template-columns: 1fr; }
.prose { font-size: 18px; }
}

/* Cartes-liens : formats de création, autres métiers */
.incl.links > li { display: flex; }
.incl.links .card { flex: 1; display: flex; flex-direction: column; background: var(--mist); border-radius: var(--r-l); padding: clamp(24px, 2.6vw, 32px); text-decoration: none; color: inherit; transition: background-color .2s, transform .4s var(--ease), box-shadow .3s; }
.page-sec.mist .incl.links .card { background: var(--paper); box-shadow: var(--sh-m); }
.incl.links .card:hover { background: #ECECF0; }
.page-sec.mist .incl.links .card:hover { background: var(--paper); transform: translateY(-2px); box-shadow: var(--sh-l); }
.incl.links .card h3 { font-size: 24px; }
.incl.links .card p { flex: 1; }
.prose caption { caption-side: top; text-align: left; padding-bottom: 10px; font-size: 15px; color: var(--grey); }
.prose ul.id-lines { list-style: none; padding-left: 0; }
.id-lines li + li { margin-top: .35em; }
.prose .sitemap { list-style: none; padding-left: 0; font-size: 19px; }
.sitemap li { margin-top: .5em; }
.sitemap ul { list-style: none; padding-left: 1.4em; margin-top: .2em; border-left: 1px solid var(--line); }
.sitemap ul li { font-size: 17px; }
.prose { overflow-wrap: anywhere; }
