/* ==========================================================================
   E-NETT — version moderne : composants de contenu
   Rendu moderne de TOUS les composants du générateur ({{@ formulas }}, {{@ optionsTable }}, {{@ sectorList }},
   {{@ sectorCards }}, {{@ sectorTasks }}, {{@ estimate … | lines }}, {{@ faq }}, {{@ oiseMap }}, {{@ cityList }}…)
   et des blocs HTML des pages : en-têtes de section, colonnes, texte long (.prose), tableaux, formulaires,
   encadrés de réassurance, cartes, appels à l’action, méthode en étapes, citation, figures.
   Tout est relatif au thème de la section (--fg, --bg, --muted, --line…) : un même composant marche sur craie et sur marine.
   ========================================================================== */

/* ---------- En-tête de section ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-head__text { color: var(--muted); max-width: 46ch; }
.section-head__vat { display: block; margin-top: 10px; font-size: 14.5px; color: var(--fg); }
.section-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.section-head--stack .section-head__text { max-width: 60ch; }
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Colonnes ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.cols--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cols--center { align-items: center; }
.sticky { position: sticky; top: calc(var(--header-h) + 30px); }
html:not(.motion) .sticky { position: static; }
@media (max-width: 899px) { .cols, .cols--even, .cols--wide { grid-template-columns: 1fr; } .sticky { position: static; } }

/* ---------- Texte long (pages légales, articles) ---------- */
.prose { max-width: var(--measure); font-size: 17px; line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: clamp(44px, 5vw, 64px); padding-top: 18px; border-top: 1px solid var(--line);
  font-size: var(--t-h3); line-height: 1.2; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; text-wrap: balance;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 18px; line-height: 1.3; font-weight: 650; font-stretch: 104%; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 0; }
.prose li { position: relative; padding-left: 1.6em; }
.prose li + li { margin-top: .45em; }
.prose ul > li::before { content: ""; position: absolute; left: .15em; top: .78em; width: .65em; height: 2px; background: var(--fg); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .28em; font-family: var(--f-mono); font-size: .7em; color: var(--muted); }
.prose strong { font-weight: 650; }
.prose address { font-style: normal; }
.prose small { font-size: 14px; color: var(--muted); }
.prose .note, .note {
  padding: 16px 20px; background: var(--panel); border-left: 3px solid var(--fg); font-size: 16px; line-height: 1.55;
}
.note p + p { margin-top: .6em; }
.note--accent { border-left-color: var(--vert); }

/* ---------- Tableaux ({{@ optionsTable }}, tableaux de données) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table, .data-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.price-table caption, .data-table caption { caption-side: top; padding-bottom: 12px; text-align: left; font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.price-table thead th, .data-table thead th {
  padding: 0 16px 10px 0; border-bottom: 1px solid var(--fg); text-align: left; vertical-align: bottom;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.price-table tbody th, .price-table td, .data-table tbody th, .data-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price-table tbody th, .data-table tbody th { font-weight: 600; font-stretch: 104%; }
.price-table tbody th span, .data-table tbody th span { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 400; color: var(--muted); }
.price-table td.num, .data-table td.num { white-space: nowrap; font-size: 16.5px; font-weight: 650; font-stretch: 106%; font-variant-numeric: tabular-nums; }
.price-table td.num small { font-size: 14px; font-weight: 400; color: var(--muted); }
.price-table td:last-child { color: var(--muted); font-size: 15px; }
.price-table th:last-child, .price-table td:last-child, .data-table th:last-child, .data-table td:last-child { padding-right: 0; }
.price-table tbody tr, .data-table tbody tr { transition: background-color .25s; }
@media (hover: hover) { .price-table tbody tr:hover, .data-table tbody tr:hover { background: var(--line-soft); } }
.price-note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--fg); }
@media (max-width: 640px) {
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td,
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .price-table caption:not(.sr-only), .data-table caption:not(.sr-only) { display: block; width: 100%; }
  .price-table thead, .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .data-table tbody tr:first-child { border-top: 1px solid var(--fg); }
  .data-table tbody th, .data-table td { padding: 0; border: 0; }
  .data-table td { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; margin-top: 6px; }
  .data-table td[data-label]::before { content: attr(data-label); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
  /* Tarifs : libellé et prix sur la même ligne, conditions dessous */
  .price-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:first-child { border-top: 1px solid var(--fg); }
  .price-table tbody th, .price-table td { padding: 0; border: 0; }
  .price-table td.num { grid-column: 2; grid-row: 1; width: auto; text-align: right; white-space: normal; }
  .price-table td:last-child { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; }
  .price-table td:last-child:empty { display: none; }
}

/* ---------- Étiquettes, listes à filets ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px; min-height: 26px; padding: 0 9px;
  border: 1px solid var(--line); font-family: var(--f-mono); font-size: 10.5px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.tag--accent::before { content: ""; width: 12px; height: 3px; background: var(--vert); }
.tag--accent { border-color: var(--fg); }
.tag--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.rule-list { border-top: 1px solid var(--line); }
.rule-list > li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.rule-list > li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 12px; height: 2px; background: var(--fg); }
.sector-tasks { columns: 2 18rem; column-gap: clamp(24px, 3vw, 48px); border-top: 0; }
.sector-tasks > li { break-inside: avoid; }
.sector-tasks > li:first-child { border-top: 1px solid var(--line); }
@supports (columns: 2) { .sector-tasks { box-shadow: inset 0 1px 0 var(--line); } .sector-tasks > li:first-child { border-top: 0; } }

/* ---------- Formules ({{@ formulas }}) ---------- */
.formula-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.formula-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.formula-list--1 { grid-template-columns: minmax(0, 1fr); max-width: 32rem; }
.formula-card { position: relative; display: flex; flex-direction: column; padding: 22px clamp(18px, 2.2vw, 34px) 26px; border-bottom: 1px solid var(--line); }
.formula-card:not(:last-child) { border-right: 1px solid var(--line); }
.formula-card:first-child { padding-left: 0; }
.formula-card.is-recommended { background: var(--line-soft); }
.formula-card.is-recommended:first-child { padding-left: clamp(18px, 2.2vw, 34px); }
.formula-card.is-recommended::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--vert); }
.formula-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.formula-card__n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.formula-card__title { margin-top: 18px; font-size: var(--t-h3); line-height: 1.12; font-weight: 700; font-stretch: 110%; letter-spacing: -.018em; }
.formula-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 14px; }
.formula-card__amount { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem); line-height: 1; font-weight: 700; font-stretch: 112%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.formula-card__amount--text { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.formula-card__price small { font-size: 14px; color: var(--muted); }
.formula-card__tagline { margin-top: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; }
.formula-card__points { margin-top: 18px; margin-bottom: 20px; font-size: 15.5px; }
.formula-card__cta { margin-top: auto; padding-top: 6px; font-size: 15.5px; }
.formula-card__cta::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.formula-card:has(.formula-card__cta) { transition: background-color .3s; }
@media (hover: hover) { .formula-card:has(.formula-card__cta):hover { background: var(--line-soft); } }
@media (max-width: 899px) {
  .formula-list, .formula-list--2 { grid-template-columns: 1fr; }
  .formula-card, .formula-card:first-child, .formula-card.is-recommended:first-child { padding-left: 0; padding-right: 0; border-right: 0 !important; }
  .formula-card.is-recommended { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ---------- Liste des secteurs ({{@ sectorList }}) : ligne entière cliquable ---------- */
.index-list { border-top: 1px solid var(--fg); }
.index-list__item {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 104px;
  grid-template-areas: "n title tag thumb" "n desc desc thumb" "n meta meta thumb";
  column-gap: clamp(14px, 2vw, 28px); padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.index-list__n { grid-area: n; font-family: var(--f-mono); font-size: 12px; color: var(--muted); padding-top: .45em; }
.index-list__title { grid-area: title; font-size: var(--t-h3); line-height: 1.15; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; }
.index-list__title a { text-decoration: none; }
.index-list__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.index-list__tag { grid-area: tag; align-self: start; margin-top: 2px; }
.index-list__desc { grid-area: desc; margin-top: 6px; max-width: 54ch; font-size: 15.5px; color: var(--muted); }
.index-list__meta { grid-area: meta; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-top: 12px; }
.index-list__price { font-family: var(--f-mono); font-size: 13px; letter-spacing: -.01em; }
.index-list__price small { font-family: var(--f-sans); font-size: 13.5px; color: var(--muted); }
.index-list__go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; }
.index-list__go::after { content: ""; width: 18px; height: 3px; background: var(--vert); transition: width .5s var(--ease-out); }
.index-list__thumb { grid-area: thumb; position: relative; width: 104px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-soft); align-self: center; }
.index-list__thumb picture { position: absolute; inset: 0; } /* la vignette remplit son cadre (pas de bande sous la photo) */
.index-list__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .6s; }
.index-list__item:hover, .index-list__item:focus-within { background: var(--line-soft); }
.index-list__item:hover .index-list__go::after, .index-list__item:focus-within .index-list__go::after { width: 34px; }
.index-list__item:hover .index-list__thumb img, .index-list__item:focus-within .index-list__thumb img { filter: none; }
@media (hover: none) { .index-list__thumb img { filter: none; } }
@media (max-width: 599px) {
  .index-list__item { grid-template-columns: 34px minmax(0, 1fr); grid-template-areas: "n title" "n tag" "n desc" "n meta"; }
  .index-list__tag { justify-self: start; margin-top: 8px; }
  .index-list__thumb { display: none; }
}
/* Photo synchronisée (data-spotlight) */
.spotlight__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line-soft); }
.spotlight__frame picture { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.spotlight__frame picture.is-active { opacity: 1; }
.spotlight__frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .spotlight { display: none; } } /* {{@ sectorPhotos }} : photos dimensionnées pour le grand écran seulement */

/* ---------- Cartes des secteurs ({{@ sectorCards }}) : noir et blanc au repos, la raclette les découvre en couleur ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sector { position: relative; border-bottom: 1px solid var(--line); perspective: 1100px; }
.sector:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.sector__inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 24px clamp(20px, 2.2vw, 32px) 26px; transform-style: preserve-3d; }
.sector__top { display: flex; gap: 14px; color: var(--muted); }
.sector__top span:first-child { color: var(--fg); }
.sector__media { position: relative; display: block; aspect-ratio: 2 / 1; margin-top: 18px; overflow: hidden; background: var(--line-soft); }
.sector__media picture, .sector__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.sector__media img { object-fit: cover; }
.sector__still img { filter: grayscale(1) contrast(1.04); }
.sector__clean { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-sweep); }
.sector__media::after {
  content: ""; position: absolute; inset: 0; border-right: 6px solid var(--vert);
  transform: translate3d(-100%, 0, 0); transition: transform .9s var(--ease-sweep), opacity .2s;
}
.sector:hover .sector__clean, .sector:focus-within .sector__clean { clip-path: inset(0 0 0 0); }
.sector:hover .sector__media::after, .sector:focus-within .sector__media::after { transform: translate3d(0, 0, 0); opacity: 0; transition: transform .9s var(--ease-sweep), opacity .35s .8s; }
.sector__title { margin-top: 20px; font-size: clamp(1.25rem, .9rem + .9vw, 1.75rem); line-height: 1.08; font-weight: 700; font-stretch: 110%; letter-spacing: -.018em; text-wrap: balance; }
.sector__title a { text-decoration: none; }
.sector__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.sector__text { margin: 10px 0 20px; max-width: 38ch; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.sector__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.sector__more { display: inline-flex; align-items: center; gap: 10px; flex: none; opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .6s var(--ease-out); }
.sector__t { width: 22px; height: 3px; background: var(--vert); }
.sector:hover .sector__more, .sector:focus-within .sector__more { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) {
  .sector__clean { clip-path: none; }
  .sector__media::after { display: none; }
  .sector__more { opacity: 1; transform: none; }
}
html:not(.motion) .sector__clean { clip-path: none; }
html:not(.motion) .sector__media::after { display: none; }
@media (max-width: 899px) {
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector:not(:nth-child(3n)) { border-right: 0; }
  .sector:nth-child(odd) { border-right: 1px solid var(--line); }
  .sector__more { opacity: 1; transform: none; }
}
@media (max-width: 599px) {
  .sectors { grid-template-columns: 1fr; }
  .sector:nth-child(odd) { border-right: 0; }
  .sector__inner { padding: 20px 2px 22px; }
  .sector__media { aspect-ratio: 2.6 / 1; margin-top: 14px; }
  .sector__title { margin-top: 16px; }
}

/* ---------- Questions fréquentes ({{@ faq … }}) ---------- */
.faq-list { border-top: 1px solid var(--fg); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.35; font-weight: 650; font-stretch: 104%; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover span { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq-item summary:focus-visible { outline-offset: 4px; }
.faq-icon { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .45s var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 48px 24px 0; max-width: 72ch; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.faq-answer a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
html.motion .faq-item[open] .faq-answer { animation: faq-in .45s var(--ease-out); }
/* Fermeture animée (js/accordions.js) : la croix revient et la réponse s’efface pendant que la hauteur se replie */
.faq-item.is-closing .faq-icon { transform: none; }
.faq-item.is-closing .faq-answer { opacity: 0; transition: opacity .2s; }
@keyframes faq-in { from { opacity: 0; transform: translate3d(0, -6px, 0); } }
@media (max-width: 599px) { .faq-answer { padding-right: 0; } }

/* ---------- Carte de l’Oise ({{@ oiseMap }}, {{@ oiseMap id | rayon }}) ---------- */
.zone-map { min-width: 0; }
.zone-map__box { position: relative; }
.zone-map__svg { width: 100%; height: auto; overflow: visible; color: var(--fg); font-family: var(--f-mono); }
.zone-map__svg .zm-grid { fill: none; stroke: var(--line-soft); stroke-width: 1; }
.oise-map .zm-dept { fill: var(--line-soft); stroke: var(--fg); stroke-width: 2.4; stroke-linejoin: round; }
.oise-map .zm-radius { fill: rgba(10, 111, 184, .08); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 7 7; }
.oise-map .zm-rlabel { font-size: 16px; fill: var(--accent); }
.oise-map .zm-dot { fill: var(--fg); }
.oise-map .zm-base { fill: var(--fg); }
.oise-map .zm-pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
html.motion .oise-map .zm-pulse { animation: zm-pulse 2.6s var(--ease-out) infinite; }
html.motion .oise-map .zm-pulse--2 { animation-delay: 1.3s; }
html.motion .is-paused .oise-map .zm-pulse { animation-play-state: paused; }
@keyframes zm-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
.oise-map .zm-label { font-family: var(--f-mono); letter-spacing: .02em; text-transform: uppercase; fill: var(--muted); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.oise-map .zm-label--major { fill: var(--fg); }
.oise-map .zm-labels--lg .zm-label { font-size: 14px !important; }
.oise-map .zm-labels--lg .zm-label--major { font-size: 16px !important; }
.oise-map .zm-north path { fill: var(--fg); }
.oise-map .zm-north text { font-size: 14px; fill: var(--fg); }
.oise-map .zm-scale path { fill: none; stroke: var(--fg); stroke-width: 2; }
.oise-map .zm-scale text { font-size: 14px; fill: var(--fg); }
.oise-map .zm-labels--sm { display: none; }
.zone-map__cap, .zone-map figcaption { margin-top: 16px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; letter-spacing: .02em; color: var(--muted); }
@media (max-width: 600px) {
  .oise-map .zm-labels--lg { display: none; }
  .oise-map .zm-labels--sm { display: inline; }
  .oise-map .zm-labels--sm .zm-label { font-size: 26px !important; }
  .oise-map .zm-dept { stroke-width: 4; }
  .oise-map .zm-radius { stroke-width: 3.5; stroke-dasharray: 12 11; }
  .oise-map .zm-rlabel { font-size: 26px; }
  .oise-map .zm-scale text, .oise-map .zm-north text { font-size: 24px; }
  .oise-map .zm-dot { r: 8px; }
  .oise-map .zm-dot--major { r: 10px; }
}

/* ---------- Villes repères ({{@ cityList }}) ---------- */
.commune-list { columns: 3 13rem; column-gap: clamp(20px, 3vw, 40px); box-shadow: inset 0 1px 0 var(--fg); font-size: 15.5px; }
.commune-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.commune-list li.is-base { font-weight: 650; }
.commune-list li.is-base .commune-list__name::after { content: ""; display: inline-block; vertical-align: middle; width: 14px; height: 3px; margin-left: 10px; background: var(--vert); }
.commune-list__meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Repli (details) ---------- */
.disclosure { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disclosure > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary .icon { width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.disclosure[open] > summary .icon { transform: rotate(45deg); }
.disclosure__body { padding: 4px 0 20px; }

/* ---------- Estimation chiffrée ({{@ estimate … | lines }}) et panneau de résultat ---------- */
.estimate-result {
  --fg: var(--craie); --bg: var(--marine); --muted: rgba(243, 244, 241, .74); --line: rgba(243, 244, 241, .22); --line-soft: rgba(243, 244, 241, .1); --focus: var(--craie);
  padding: clamp(22px, 3vw, 40px); background: var(--marine); color: var(--craie);
}
[data-theme="dark"] .estimate-result { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.estimate-result__kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.estimate-result__price { display: flex; align-items: baseline; gap: .12em; margin-top: 6px; font-family: var(--f-mono); font-size: var(--t-price); line-height: 1.1; font-weight: 300; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.estimate-result__price small { font-size: .5em; letter-spacing: 0; }
.estimate-result__unit { margin-top: 4px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.estimate-result__lines { display: grid; gap: 7px; margin-top: 20px; font-size: 15px; }
.estimate-result__lines div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 7px; border-bottom: 1px dashed var(--line); }
.estimate-result__lines dt { color: var(--muted); }
.estimate-result__lines dd { text-align: right; white-space: nowrap; }
.estimate-result .btn { margin-top: 22px; }
.estimate-result .fine-print { margin-top: 16px; }
/* Exemple chiffré dans le texte : « 6 h par semaine, soit 649,50 € par mois » */
.figure-inline { font-family: var(--f-mono); font-size: .92em; letter-spacing: -.01em; white-space: nowrap; }

/* ---------- Faits (dl) ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 4px; font-size: 16px; line-height: 1.4; }
.facts--rows div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px; }
.facts--rows dd { margin-top: 0; }
.facts--1 { grid-template-columns: 1fr; }
@media (max-width: 599px) { .facts { grid-template-columns: 1fr; } .facts--rows div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Réassurance : engagements écrits (.assure) ---------- */
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.assure > li { padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.assure__k { margin-bottom: 8px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); }
.assure > li > p:last-child { max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--muted); }
.assure--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.assure--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* {{> assure }} : les quatre engagements communs */
@media (max-width: 1099px) { .assure--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) { .assure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .assure, .assure--2, .assure--4 { grid-template-columns: 1fr; } .assure > li { padding: 16px 0 18px; } }
/* Ligne de réassurance courte, sous un bouton : « Sans engagement · Réponse sous 24 h ouvrées » */
.assure-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.assure-line li { display: inline-flex; align-items: center; gap: 8px; }
.assure-line li::before { content: ""; width: 10px; height: 2px; background: currentColor; }

/* ---------- Appel à l’action dans le contenu (.cta-box) ---------- */
.cta-box {
  --fg: var(--craie); --bg: var(--marine); --muted: rgba(243, 244, 241, .74); --line: rgba(243, 244, 241, .22); --line-soft: rgba(243, 244, 241, .1); --focus: var(--craie);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 3.4vw, 48px); background: var(--marine); color: var(--craie);
}
[data-theme="dark"] .cta-box { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.cta-box__title { font-size: var(--t-h3); line-height: 1.15; font-weight: 700; font-stretch: 110%; letter-spacing: -.018em; text-wrap: balance; }
.cta-box__text { margin-top: 8px; max-width: 52ch; color: var(--muted); font-size: 16px; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 899px) { .cta-box { grid-template-columns: 1fr; } .cta-box__actions .btn { flex: 1 1 auto; justify-content: center; } }

/* ---------- Cartes génériques (.cards) : lien vers une page, trait au survol ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px clamp(18px, 2vw, 28px) 24px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.cards > .card:first-child, .cards--2 > .card:nth-child(2n + 1), .cards:not(.cards--2):not(.cards--4) > .card:nth-child(3n + 1), .cards--4 > .card:nth-child(4n + 1) { padding-left: 0; }
.card:not(:last-child) { border-right: 1px solid var(--line); }
.cards:not(.cards--2):not(.cards--4) > .card:nth-child(3n), .cards--2 > .card:nth-child(2n), .cards--4 > .card:nth-child(4n) { border-right: 0; }
.card__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: var(--t-h3); line-height: 1.15; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__text { color: var(--muted); font-size: 15.5px; }
.card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; }
.card__more::after { content: ""; width: 18px; height: 3px; background: var(--vert); transition: width .5s var(--ease-out); }
.card:has(a):hover .card__more::after, .card:focus-within .card__more::after { width: 34px; }
@media (hover: hover) { .card:has(.card__title a):hover { background: var(--line-soft); } }
@media (min-width: 600px) and (max-width: 899px) {
  .cards, .cards--4 { grid-template-columns: 1fr 1fr; }
  .cards > .card { padding-left: 16px !important; border-right: 0 !important; }
  .cards > .card:nth-child(odd) { padding-left: 0 !important; border-right: 1px solid var(--line) !important; }
}
@media (max-width: 599px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } .cards > .card { padding-left: 0 !important; padding-right: 0; border-right: 0 !important; } }

/* ---------- Méthode en étapes (.methode / .steps) : le trait vert avance et coche au défilement ---------- */
.methode__head { margin-bottom: clamp(36px, 5vw, 64px); }
.methode__head .h2 { max-width: 15em; }
.methode__steps { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; display: flex; flex-direction: column; }
.step__num { display: block; margin-bottom: 16px; font-family: var(--f-mono); font-size: var(--t-num); line-height: .9; font-weight: 200; font-stretch: 100%; letter-spacing: -.06em; color: var(--fg); }
.step__check { position: absolute; top: 0; right: 0; width: clamp(30px, 2.6vw, 42px); height: auto; }
.step__check path { fill: none; stroke: var(--vert); stroke-width: 4; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease-out); }
.step__title { font-size: clamp(1.2rem, .95rem + .55vw, 1.5rem); line-height: 1.15; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; }
.step__text { margin: 10px 0 16px; color: var(--muted); font-size: 16px; max-width: 34ch; }
.step__tag { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.methode__bar { display: none; }
html.motion .step__num { color: transparent; -webkit-text-stroke: 1.2px var(--fg); transition: color .6s; }
html.motion .step.is-done .step__num { color: var(--fg); }
html.motion .step.is-done .step__check path { stroke-dashoffset: 0; }
html:not(.motion) .step__check { display: none; }
@media (min-width: 900px) {
  html.motion .methode__steps { padding-top: 40px; }
  html.motion .methode__bar { display: block; position: absolute; left: 0; right: 0; top: 6px; }
  .methode__track { position: relative; display: block; height: 3px; background: var(--line); }
  .methode__fill { position: absolute; inset: 0; background: var(--vert); transform: scaleX(0); transform-origin: left center; }
  html.motion .step::before { content: ""; position: absolute; left: 0; top: -40px; width: 2px; height: 15px; background: var(--fg); }
}
@media (max-width: 899px) {
  .steps, .steps--3 { grid-template-columns: 1fr; gap: 44px; padding-left: 26px; }
  html.motion .steps::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
  html.motion .steps::after { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--vert); transform: scaleY(var(--fill, 0)); transform-origin: top center; }
  .step__check { width: 32px; }
}

/* ---------- Citation, figure, chiffres ---------- */
.quote { margin: 20px 0 0; }
.quote__text { font-size: var(--t-quote); line-height: 1.12; font-weight: 680; font-stretch: 110%; letter-spacing: -.024em; text-wrap: balance; }
.quote__by { margin-top: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.figure { position: relative; }
.figure__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--line-soft); }
.figure__media picture, .figure__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.figure__media img { object-fit: cover; }
.figure--portrait .figure__media { aspect-ratio: 4 / 5; }
.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.caption, .figure figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.5; letter-spacing: .02em; color: var(--muted); }
.caption b, .figure figcaption b { font-weight: 400; color: var(--fg); }
.credit { position: absolute; right: 12px; top: 12px; z-index: 4; padding: 4px 8px; background: rgba(5, 28, 49, .62); color: var(--craie); font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; }
/* Valeur exacte qui monte depuis un masque (jamais de « 0 km » affiché) : <span class="count"><span class="count__in">30 km</span></span> */
.count { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.count__in { display: inline-block; }
.big-figures { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 4vw, 64px); }
.big-figures dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.big-figures dd { margin-top: 6px; font-size: var(--t-figure); line-height: 1; font-weight: 750; font-stretch: 120%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* ---------- Bandeau typographique (.marquee) ---------- */
.marquee { overflow: hidden; }
.marquee__row { display: flex; white-space: nowrap; }
.marquee__track { display: flex; flex: none; }
.marquee.is-live .marquee__track { will-change: transform; }
.marquee__seq { display: flex; flex: none; align-items: center; }
.marquee__word { padding: 0 .3em; font-size: var(--t-marquee); line-height: 1.06; font-weight: 800; font-stretch: 122%; letter-spacing: -.04em; }
.marquee__sep { flex: none; width: clamp(28px, 3.4vw, 64px); height: clamp(7px, .8vw, 14px); background: var(--vert); }
.marquee__row--outline .marquee__word { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
html:not(.motion) .marquee { display: none; }
@media (max-width: 599px) { .marquee__row--outline { display: none; } }

/* ---------- Formulaires (mêmes classes et mêmes champs que le site classique ; js/forms.js) ---------- */
.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; } /* une indication ou une erreur sous un champ n’étire pas son voisin de rangée */
.field--full { grid-column: 1 / -1; }
.field--group { margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; padding: 0; font-family: var(--f-mono); font-size: 12px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); }
legend.field__label { margin-bottom: 10px; }
.field__opt { text-transform: none; letter-spacing: .02em; color: var(--muted); }
.field__hint { font-size: 14px; line-height: 1.45; color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="range"]), .field select, .field textarea, .input {
  display: block; width: 100%; min-height: 52px; padding: 13px 14px;
  background: var(--field-bg); color: var(--fg); border: 1px solid var(--field-line); border-radius: 0;
  font-size: 17px; line-height: 1.4; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); box-shadow: inset 0 -3px 0 var(--vert), 0 0 0 1px var(--fg); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: .5; cursor: not-allowed; }
.field__error { display: flex; gap: 8px; align-items: baseline; font-size: 14.5px; line-height: 1.4; font-weight: 550; color: var(--error); }
.field__error::before { content: ""; flex: none; width: 10px; height: 2px; background: currentColor; transform: translateY(-.3em); }
.field__error[hidden] { display: none; }
.is-invalid .choice__box { border-color: var(--error); }
/* Choix en cartes (radio ou case à cocher) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.choice__box {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 14px 16px; border: 1px solid var(--field-line); background: var(--field-bg);
  transition: background-color .3s, color .3s, border-color .3s;
}
.choice:hover .choice__box { border-color: var(--fg); }
.choice__input:checked + .choice__box { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice__input:checked + .choice__box .choice__desc { color: inherit; opacity: .86; }
.choice__input:focus-visible + .choice__box { outline: 2px solid var(--focus); outline-offset: 3px; }
.choice__input:disabled + .choice__box { opacity: .45; cursor: not-allowed; }
.choice__title { font-size: 16px; line-height: 1.2; font-weight: 650; font-stretch: 106%; }
.choice__desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
/* Case à cocher en ligne : carré dessiné, coche en trait vert */
.choice--inline .choice__box { position: relative; padding-left: 50px; }
.choice--inline .choice__box::before { content: ""; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border: 1.5px solid currentColor; }
.choice--inline .choice__box::after { content: ""; position: absolute; left: 20px; top: 19px; width: 12px; height: 7px; border-left: 3px solid var(--vert); border-bottom: 3px solid var(--vert); transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease-out); }
.choice--inline .choice__input:checked + .choice__box { background: var(--field-bg); color: var(--fg); border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.choice--inline .choice__input:checked + .choice__box::after { transform: rotate(-45deg) scale(1); }
.choice--inline .choice__input:checked + .choice__box .choice__desc { color: var(--muted); opacity: 1; }
/* Puces radio compactes (durées…) : .opt / .opt--chip (comme le simulateur de l’accueil) */
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt__box { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; height: 100%; padding: 14px 16px; border: 1px solid var(--field-line); transition: background-color .35s, color .35s, border-color .35s; }
.opt:hover .opt__box { border-color: var(--fg); }
.opt input:checked + .opt__box { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--focus); outline-offset: 3px; }
.opt__name { font-size: 16px; line-height: 1.15; font-weight: 650; font-stretch: 108%; }
.opt__meta { font-size: 11px; letter-spacing: .03em; opacity: .85; }
.opt--chip .opt__box { padding: 11px 16px; font-size: 15px; font-weight: 550; flex-direction: row; }
/* Curseur (heures par semaine) : trait dans la couleur du texte, pied vert */
.range { --p: 50%; display: block; width: 100%; height: 40px; margin: 4px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range:focus { outline: none; }
.range:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--fg) var(--p), var(--line) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 34px; margin-top: -16px; border: 0; border-radius: 0; background: var(--fg); box-shadow: inset 0 -6px 0 var(--vert), 0 0 0 5px var(--line-soft); transition: box-shadow .3s; }
.range:hover::-webkit-slider-thumb, .range:active::-webkit-slider-thumb { box-shadow: inset 0 -6px 0 var(--vert), 0 0 0 9px var(--line-soft); }
.range::-moz-range-track { height: 2px; background: var(--line); }
.range::-moz-range-progress { height: 2px; background: var(--fg); }
.range::-moz-range-thumb { width: 12px; height: 34px; border: 0; border-radius: 0; background: var(--fg); box-shadow: inset 0 -6px 0 var(--vert), 0 0 0 5px var(--line-soft); }
.range:disabled { cursor: not-allowed; opacity: .4; }
/* Envoi, état, champ piège */
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form-status { font-size: 15.5px; line-height: 1.5; }
.form-status:empty, .form-status[hidden] { display: none; }
.form-status[data-kind] { display: flex; gap: 12px; align-items: baseline; padding: 14px 16px; border-left: 3px solid var(--fg); background: var(--panel); }
.form-status[data-kind="error"] { border-left-color: var(--error); color: var(--error); font-weight: 550; }
.form-status[data-kind="success"] { border-left-color: var(--vert); }
.form-status[data-kind="pending"] { color: var(--muted); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: clamp(22px, 3vw, 36px); background: var(--panel); border-left: 4px solid var(--vert); }
.form-done:focus { outline: none; }
.form-done__title { font-size: var(--t-h3); line-height: 1.15; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; margin: 8px 0 10px; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Prix qui roule (odomètre, js/simulateur.js) ---------- */
.odo { display: inline-flex; white-space: nowrap; }
.odo__d { display: inline-block; height: 1.1em; overflow: hidden; }
.odo__s { display: block; white-space: pre; line-height: 1.1; transition: transform 1.05s cubic-bezier(.2, .9, .12, 1); }
.odo__c { display: inline-block; white-space: pre; }
.odo__c--comma { margin: 0 -.2em 0 -.12em; }
.odo__c--space { margin-right: -.38em; }
@media (prefers-reduced-motion: reduce) { .odo__s { transition: none; } }

/* ---------- Cadre du portrait (accueil, À propos) : initiales tracées à l’apparition (motion.js, setupPortrait),
   lumière qui suit la souris (pointer.js). Format par défaut 4/4,2 ; une page peut le changer (À propos : 4/4,3). ---------- */
.portrait__frame {
  position: relative; aspect-ratio: 4 / 4.2; overflow: hidden;
  background: radial-gradient(120% 85% at 28% 18%, #10497A 0%, var(--marine) 45%, var(--nuit) 100%);
  box-shadow: inset 0 0 0 1px var(--craie-22);
}
.portrait__light {
  position: absolute; left: 0; top: 0; width: 70%; aspect-ratio: 1; margin: -35% 0 0 -35%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 244, 241, .14), rgba(243, 244, 241, 0));
  opacity: 0; pointer-events: none;
}
.portrait__mono { position: absolute; left: 18%; top: 50%; width: 64%; height: auto; transform: translateY(-50%); overflow: visible; }
.portrait__mono path { fill: none; stroke: var(--craie); stroke-width: 1.6; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.portrait__tag { position: absolute; left: 20px; bottom: 18px; color: var(--craie-72); }
.portrait__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; color: var(--muted); }
@media (max-width: 899px) { .portrait__frame { aspect-ratio: 3 / 2; max-height: 46vh; } }
