/*
 * LA PAGE TARIFS — feuille autonome (17 septembre 2026).
 *
 * ⚠️ TOUT PASSE PAR LES TOKENS de `app.css`. Aucune couleur en dur, aucune police hors des deux de
 * la charte. Des feuilles du site ignorent encore cette règle — ne pas s'en inspirer.
 *
 * ⚠️⚠️ CE PARAGRAPHE A PORTÉ TROIS COMPTES SUCCESSIFS — « cinq », puis « quatre », puis « quatre »
 * avec un fichier déjà supprimé dans la liste (`sites_web.css`, partie avec `depannage_informatique.css`).
 * **Aucun nombre ni aucune liste de fichiers ne revient ici** : un texte qui dénombre des fichiers
 * est faux au premier rangement, et il se lit comme un inventaire à jour. La commande qui tranche,
 * et qui dit AUSSI lesquelles ne servent plus :
 *
 *     for f in assets/styles/*.css; do echo "$f -> $(grep -rl "styles/$(basename $f)" templates/)"; done
 *
 * ⚠️ ET ELLE NE RÉUTILISE PAS `.pricing-card`, qui appartient à `accompagnement.css` : une page
 * qui dépend de la feuille d'une autre page casse le jour où celle-là change. Seules les classes
 * VRAIMENT globales sont empruntées : `.container`, `.glass`, `.btn`.
 *
 * ⚠️ PAS DE `.reveal` NON PLUS : elle pose `opacity: 0` et attend le JavaScript. Sur une page dont
 * le contenu EST l'argument, un JS qui ne part pas rend la page blanche.
 */

/* ═══ Le chapeau ═══ */

/* ⚠️ PAS DE `padding-top` : `components.css` le pose sur `main > section:first-of-type`, plus
   SPÉCIFIQUE, donc il gagnait déjà — le `160px` écrit ici était mort et mentait au lecteur.
   Même raison pour le `130px` du bloc téléphone, retiré avec lui. */
.tarifs-intro {
    padding-bottom: 56px;
    text-align: center;
}

.tarifs-intro h1 {
    font-family: var(--font-titles);
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 auto;
    max-width: 16ch;
}

.tarifs-chapo {
    margin: 24px auto 0;
    max-width: 58ch;
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ═══ Les offres ═══ */

.tarifs-grille-section { padding: 0 0 72px; }

.tarifs-grille {
    display: grid;
    /* Quatre colonnes à partir de ~1100 px de contenu, deux sur une tablette, une au téléphone. */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    /* ⚠️ `stretch` ET NON `start` : avec `start`, chaque carte prend sa hauteur NATURELLE, donc
       celle qui a le moins de lignes est visiblement plus courte que sa voisine — mesuré 444 px
       contre 511. Une offre plus petite que l'autre se lit comme une offre moindre, alors que la
       seule différence est le nombre de puces. `stretch` est d'ailleurs le défaut de la grille :
       c'est `start` qui avait été ajouté. */
    align-items: stretch;
}

.tarifs-offre {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tarifs-offre h2 {
    font-family: var(--font-titles);
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.tarifs-offre__pour {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 3em;
}

.tarifs-prix {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 18px;
}

.tarifs-prix__montant {
    display: block;
    font-family: var(--font-titles);
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

/* La création se lit SOUS le prix mensuel, jamais à sa place : c'est le mensuel qu'on compare, et la
   création ne se paie qu'une fois (grille du 30 septembre 2026). */
.tarifs-creation {
    margin: -6px 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.tarifs-creation strong { color: var(--text-primary); font-weight: 600; }

.tarifs-inclus {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.tarifs-inclus li {
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.tarifs-inclus li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
}

/* ═══ Ce que vous ne paierez jamais — le moment appuyé de la page ═══ */

.tarifs-zeros-section {
    padding: 72px 0;
    background: var(--bg-sections-alt);
}

.tarifs-zeros-section h2,
.tarifs-faq-section h2 {
    font-family: var(--font-titles);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin: 0 0 28px;
}

.tarifs-zeros { margin: 0; }

.tarifs-zero {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-glass);
}

.tarifs-zero:first-child { border-top: 1px solid var(--border-glass); }

.tarifs-zero dt {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.tarifs-zero dd {
    margin: 0;
    font-family: var(--font-titles);
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--accent-blue);
    white-space: nowrap;
}

.tarifs-note {
    margin: 26px 0 0;
    max-width: 66ch;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ═══ La FAQ ═══ */

.tarifs-colonne { max-width: 68ch; }

.tarifs-faq-section {
    padding: 72px 0;
    background: var(--bg-sections-alt);
}

.tarifs-question { border-bottom: 1px solid var(--border-glass); }
.tarifs-question:first-of-type { border-top: 1px solid var(--border-glass); }

.tarifs-question summary {
    cursor: pointer;
    padding: 20px 0;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.tarifs-question summary::-webkit-details-marker { display: none; }

/* Le signe suit l'état : fermé « + », ouvert « − ». */
.tarifs-question summary::after {
    content: "+";
    color: var(--accent-blue);
    font-size: 1.5rem;
    line-height: 1;
    flex: none;
}

.tarifs-question[open] summary::after { content: "\2212"; }

.tarifs-question summary:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 4px;
}

.tarifs-question p {
    margin: 0 0 22px;
    padding-right: 40px;
    color: var(--text-secondary);
    font-size: 0.99rem;
    line-height: 1.7;
}

/* ═══ La fin ═══ */

.tarifs-fin {
    padding: 80px 0 100px;
    text-align: center;
}

.tarifs-fin h2 {
    font-family: var(--font-titles);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.tarifs-fin p {
    margin: 0 0 28px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .tarifs-intro { padding-bottom: 40px; }
    .tarifs-offre__pour { min-height: 0; }
    .tarifs-zero { flex-direction: column; gap: 4px; align-items: flex-start; }
}

/* ═══ La vignette du produit ═══
   ⚠️ `.tarifs-grille--deux`, `.tarifs-offre--produit` et `.tarifs-renvoi` ONT ÉTÉ RETIRÉES (W-TARIFS, 2 nov. 2026) :
   la vignette de BarberX n'est plus une cinquième carte de la grille mais un bandeau sous elle (`.tarifs-produit`),
   pour que les quatre offres se lisent côte à côte. Plus aucun gabarit ne les porte. */

/* ═══ Le pied de page, repris le 19 septembre 2026 ═══ */

/* ⚠️ `.cta-duo` VIENT DE `components.css`, ET C'EST VOULU : c'est le même couple de boutons qu'en
   bas de l'accueil, de la page locale et de /realisations. Le redéfinir ici en ferait une
   quatrième version de la même chose, qui divergerait au premier ajustement. On ne pose ici que
   le CENTRAGE, qui, lui, est propre à cette page — le reste est emprunté. */
.tarifs-fin__actions {
    justify-content: center;
}

/* ⚠️ `margin-inline: auto` EST INDISPENSABLE ICI, ET C'EST VISIBLE À L'ŒIL NU SANS LUI. `.tarifs-note`
   porte un `max-width: 66ch` hérité de la section « ce que vous ne paierez jamais », où le texte est
   aligné à gauche. Dans un bloc CENTRÉ, cette même largeur colle la phrase contre le bord gauche :
   le pied de page rendait une ligne décalée, qui se relisait comme un défaut d'alignement.
   *Une classe empruntée apporte AUSSI ses contraintes — ici une largeur pensée pour un autre bloc.*

   ⚠️⚠️ ET LE SÉLECTEUR PORTE `.tarifs-fin` PARCE QUE `.tarifs-note--local` SEUL NE GAGNAIT PAS.
   Mesuré dans le navigateur : la règle était bien la dernière du fichier, avec `margin: 34px auto 0`,
   et `getComputedStyle` rendait pourtant `margin-left: 0px`. La cause est `.tarifs-fin p`, écrite
   plus haut — **une classe plus un élément (0,1,1) battent une classe seule (0,1,0)**, et l'ordre
   dans le fichier n'y peut rien. C'est le piège classique de cette feuille, où les sections posent
   des règles sur `p` : ici on ne surenchérit pas en `!important`, on nomme la section, ce qui dit
   aussi où la règle s'applique. */
.tarifs-fin .tarifs-note--local {
    margin: 34px auto 0;
}

.tarifs-note--local a {
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.tarifs-note--local a:hover {
    color: var(--accent-green);
}

/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   W-TARIFS (2 novembre 2026) — quatre offres, leurs exemples, la démo de chacune.
   ⚠️ Mêmes règles que le reste de la feuille : tokens de `app.css` seulement, aucune police hors charte, pas de
   `.reveal` (le contenu de cette page EST l'argument : il ne doit pas attendre le JavaScript).
   ═══════════════════════════════════════════════════════════════════════════════════════════════ */

/* Les trois repères sous le chapeau : ce qui vaut pour toutes les offres. */
.tarifs-reperes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px auto 0;
    padding: 0;
}
.tarifs-reperes li {
    padding: 7px 14px;
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    background: var(--glow-blue);
    color: var(--text-primary);
    font-size: 0.86rem;
    line-height: 1.3;
}

/* ⚠️ LES QUATRE CARTES PARTAGENT LEURS RANGÉES (`subgrid`) : sans elles, un titre sur trois lignes (« Réservation ou
   commande en ligne ») ou un badge qui passe à la ligne descend le prix de SA carte seulement — mesuré au premier
   rendu, les quatre prix n'étaient pas sur la même ligne et l'œil ne pouvait plus les comparer. SEPT enfants, sept
   rangées : image (W-TARIFS-VISUEL), badge, titre, pour qui, prix, contenu, pied. Un navigateur sans `subgrid` retombe sur la colonne flex. */
.tarifs-offre { padding: 26px 22px 22px; position: relative; scroll-margin-top: 110px; }
@supports (grid-template-rows: subgrid) {
    .tarifs-grille { row-gap: 0; }
    .tarifs-offre { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 14px; margin-bottom: 18px; }
}
.tarifs-offre__contenu { display: grid; gap: 12px; align-content: start; }
.tarifs-offre:hover { border-color: rgba(0, 153, 255, 0.4); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .tarifs-offre:hover { transform: none; } }

.tarifs-offre__demo {
    align-self: flex-start;
    justify-self: start; /* dans la subgrid : le badge garde sa largeur, il ne s'étire pas */
    margin: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--glow-green);
    border: 1px solid rgba(0, 194, 124, 0.35);
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}
.tarifs-offre__demo span { color: var(--text-primary); font-weight: 500; }

.tarifs-offre__tete { display: flex; align-items: center; gap: 12px; }
.tarifs-offre__tete h2 { font-size: 1.22rem; line-height: 1.25; }

.tarifs-offre__icone {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--accent-blue);
    background: var(--glow-blue);
    border: 1px solid var(--border-glass);
}
.tarifs-offre--boutique .tarifs-offre__icone,
.tarifs-offre--sur-mesure .tarifs-offre__icone { color: var(--accent-green); background: var(--glow-green); }

.tarifs-offre .tarifs-offre__pour { min-height: 0; }

.tarifs-offre__prix { display: grid; gap: 6px; }
.tarifs-offre__prix .tarifs-prix { margin: 0; }
.tarifs-offre__prix .tarifs-creation { margin: 0; }
.tarifs-prix__des {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.tarifs-annuel {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}
.tarifs-annuel strong { color: var(--text-primary); font-weight: 600; }
.tarifs-annuel__offert {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--glow-green);
    color: var(--accent-green);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.tarifs-offre .tarifs-inclus { margin-top: 4px; }
.tarifs-offre .tarifs-inclus li { font-size: 0.92rem; }

.tarifs-offre__precision {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-style: italic;
}

/* ⚠️ `margin-top: auto` POUSSE LE PIED EN BAS : sans lui, les cartes s'étirent mais leur pied ne s'aligne pas. */
.tarifs-offre__pied {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
    display: grid;
    gap: 12px;
}
.tarifs-offre__avant {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.tarifs-offre__avant span {
    display: block;
    margin-bottom: 2px;
    color: var(--text-primary);
    font-weight: 600;
}
.tarifs-offre__exemples {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
}
.tarifs-offre__exemples:hover,
.tarifs-offre__exemples:focus-visible { text-decoration-color: currentColor; }

.tarifs-demo-note {
    max-width: 72ch;
    margin: 26px auto 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* « Choisissez-la si » : la ligne de démarcation entre les offres, lue avant le prix. */
.tarifs-offre__choisir {
    display: block;
    margin-bottom: 2px;
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tarifs-offre .tarifs-offre__pour { color: var(--text-primary); }

/* L'encart des projets sur devis : distinct des cartes (pointillé, pas de verre), parce qu'il n'a ni prix ni délai. */
.tarifs-ambitieux {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 30px 32px;
    border-radius: 20px;
    border: 1px dashed rgba(0, 153, 255, 0.45);
    background: var(--bg-sections-alt);
}
.tarifs-ambitieux h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin: 4px 0 8px; color: var(--text-primary); }
.tarifs-ambitieux p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; max-width: 64ch; }
.tarifs-ambitieux .tarifs-ambitieux__sur {
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tarifs-ambitieux__liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.tarifs-ambitieux__liste li {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.86rem;
    line-height: 1.35;
}
.tarifs-ambitieux__action { display: grid; gap: 12px; justify-items: start; }
.tarifs-ambitieux__action p { font-size: 0.88rem; }

/* Le bandeau du produit : sous la grille, pas dans elle. */
.tarifs-produit {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 20px;
    border: 1px solid rgba(0, 194, 124, 0.35);
    background: linear-gradient(120deg, var(--glow-green), var(--glow-blue));
}
.tarifs-produit h2 {
    font-size: 1.2rem;
    margin: 2px 0 6px;
    color: var(--text-primary);
}
.tarifs-produit p { margin: 0; color: var(--text-secondary); font-size: 0.93rem; line-height: 1.55; max-width: 62ch; }
.tarifs-produit .tarifs-produit__sur {
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tarifs-produit .btn { flex: none; }

/* ═══ Les exemples ═══ */

.tarifs-exemples-section { padding: 80px 0 64px; }
.tarifs-exemples-section > .container > h2 {
    font-family: var(--font-titles);
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin: 0;
}
.tarifs-exemples-chapo {
    margin: 12px 0 36px;
    max-width: 62ch;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tarifs-exemples {
    padding: 28px 0 30px;
    border-top: 1px solid var(--border-glass);
    scroll-margin-top: 100px;
}
.tarifs-exemples__tete { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tarifs-exemples__tete h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.tarifs-exemples__retour {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.tarifs-exemples__retour:hover { color: var(--accent-blue); }

.tarifs-exemples__liste {
    display: grid;
    /* 200 px : les cinq exemples de la vitrine tiennent sur une ligne à 1440, sans orphelin ; quatre s'étirent. */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
}
.tarifs-exemples__liste:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 4px; border-radius: 16px; }
.tarifs-exemple {
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: var(--bg-cards);
    border: 1px solid var(--border-glass);
    border-left: 3px solid var(--accent-blue);
}
.tarifs-exemple h4 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
}
.tarifs-exemple p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }

.tarifs-enservice {
    margin: 16px 0 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}
.tarifs-enservice > span:first-child {
    display: inline-block;
    margin-right: 8px;
    padding: 1px 9px;
    border-radius: 999px;
    background: var(--glow-green);
    color: var(--accent-green);
    font-size: 0.78rem;
    font-weight: 600;
}
.tarifs-enservice a { color: var(--text-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.tarifs-enservice a:hover { color: var(--accent-green); }
.tarifs-enservice--aucun { font-style: italic; }

/* La troisième ligne « offerts » des zéros est un mot, pas un chiffre : même poids, même couleur. */

@media (max-width: 640px) {
    .tarifs-offre .tarifs-offre__pour { min-height: 0; }
    .tarifs-ambitieux { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
    .tarifs-produit { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
    .tarifs-exemples-section { padding: 60px 0 40px; }
    .tarifs-exemples__retour { margin-left: 0; flex-basis: 100%; }
    /* Au téléphone, les exemples d'une offre défilent DE CÔTÉ (le doigt balaie, la carte suivante dépasse pour le
       dire) : empilés, les quinze faisaient de la page la plus longue du site. La page elle-même ne défile pas de
       côté (`html { overflow-x: clip }`) : seule la liste le fait. */
    .tarifs-exemples__liste {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        padding-bottom: 10px;
        margin-inline: -20px;
        padding-inline: 20px;
        scroll-padding-inline: 20px;
    }
    .tarifs-exemple { scroll-snap-align: start; }
}

/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   W-TARIFS-VISUEL (3 novembre 2026) — « c'est brut, ça manque d'images » (Alexandre, en validant la maquette).
   Chaque offre MONTRE à quoi elle ressemble : des captures réelles dans des cadres d'appareil (la boutique est une
   démonstration, et le dit). Les fichiers sont à fond transparent : l'ombre des appareils tombe sur le fond du site.
   ⚠️ Toutes les images portent `width`/`height` (CLS 0) et sont paresseuses, sauf celle du haut de page (LCP).
   ═══════════════════════════════════════════════════════════════════════════════════════════════ */

.tarifs-intro__visuel { margin: 0; }
.tarifs-intro__visuel img { display: block; width: 100%; height: auto; }

/* Au téléphone : le texte, puis l'image, centrés comme avant. À partir de 992 px : deux colonnes, texte à gauche. */
.tarifs-intro__visuel { margin: 36px auto 0; max-width: 620px; }
@media (min-width: 992px) {
    .tarifs-intro { text-align: left; }
    .tarifs-intro__grille {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: 40px;
        align-items: center;
    }
    .tarifs-intro h1 { margin: 0; }
    .tarifs-intro .tarifs-chapo { margin-left: 0; }
    .tarifs-intro .tarifs-reperes { justify-content: flex-start; }
    .tarifs-intro__visuel { margin: 0 -24px 0 0; max-width: none; }
}

/* L'image de la carte : en haut, bord à bord, sur un halo de la couleur de l'offre. */
.tarifs-offre__apercu {
    position: relative;
    margin: -26px -22px 0;
    padding: 16px 12px 4px;
    border-radius: 20px 20px 0 0;
    background: radial-gradient(120% 90% at 50% 0%, var(--glow-blue), transparent 70%);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}
.tarifs-offre--boutique .tarifs-offre__apercu,
.tarifs-offre--sur-mesure .tarifs-offre__apercu { background: radial-gradient(120% 90% at 50% 0%, var(--glow-green), transparent 70%); }
.tarifs-offre__apercu img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.tarifs-offre:hover .tarifs-offre__apercu img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tarifs-offre:hover .tarifs-offre__apercu img { transform: none; } }
.tarifs-offre__etiquette {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(8, 13, 26, 0.86);
    border: 1px solid var(--border-glass);
    color: var(--accent-green);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.5;
}
.tarifs-offre__etiquette--demo { color: var(--text-primary); }

/* Les exemples : l'image d'une réalisation (ou de la démo), et à côté ce qu'elle est. */
.tarifs-montre {
    display: grid;
    gap: 18px 36px;
    margin-top: 26px;
    align-items: center;
}
@media (min-width: 992px) {
    .tarifs-montre { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .tarifs-exemples:nth-of-type(even) .tarifs-montre__visuel { order: 2; }
}
.tarifs-montre__visuel { margin: 0; }
.tarifs-montre__visuel picture {
    display: block;
    padding: 18px 10px 0;
    border-radius: 20px;
    background: radial-gradient(90% 80% at 50% 30%, var(--glow-blue), transparent 72%);
}
.tarifs-montre__visuel img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.tarifs-montre__visuel figcaption {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.55;
    text-align: center;
}
.tarifs-montre__demo {
    display: inline-block;
    margin-right: 6px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.74rem;
    font-weight: 600;
}
.tarifs-montre__texte { display: grid; gap: 18px; justify-items: start; }
.tarifs-montre__texte .tarifs-enservice { margin: 0; font-size: 1rem; }

/* ⚠️ AU TÉLÉPHONE, LE HAUT DE CETTE PAGE PERDAIT 260 px DE VIDE (les 180 px de `main > section:first-of-type`, plus les
   80 px de `main` sous 992 px) : mesuré à 390 px, l'image du haut n'apparaissait qu'en bas du premier écran. Le
   sélecteur reprend celui de `components.css`, avec la classe en plus, pour le battre ICI SEULEMENT. */
@media (max-width: 992px) {
    main > section.tarifs-intro:first-of-type { padding-top: 48px; }
}

/* ═══ S'ABONNER (W-ABONNER, 3 nov. 2026) — l'action SECONDE de la carte, sous « Avant de payer : la démo » ═══
   ⚠️ DES LIENS, PAS DES BOUTONS PLEINS, ET C'EST LA HIÉRARCHIE DE LA PAGE : l'appel principal reste la démo (les boutons
   verts). Deux pastilles au trait, de même poids, pour que « au mois » et « à l'année » se lisent comme un choix. Elles
   restent dans le pied (septième rangée de la subgrid) : aucune rangée ajoutée, les prix des quatre cartes restent alignés. */
.tarifs-offre__abonner {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-glass);
}
.tarifs-offre__abonner-titre {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-primary);
    font-weight: 600;
}
.tarifs-offre__abonner-titre span { display: block; color: var(--text-secondary); font-weight: 400; }
.tarifs-offre__abonner-liens { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tarifs-offre__abonner-liens a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 153, 255, 0.45);
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tarifs-offre__abonner-liens a:hover,
.tarifs-offre__abonner-liens a:focus-visible { background: var(--glow-blue); border-color: var(--accent-blue); }
.tarifs-offre__abonner-note { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--text-secondary); }

/* Les liens dans le texte (« Mon abonnement », le formulaire, l'adresse) : soulignés — un lien qui ne se distingue que
   par sa couleur fait tomber l'audit d'accessibilité (même règle que `.faq-answer a`, W-TARIFS-VISUEL). */
.tarifs-note--abonnement { margin-top: 12px; }
.tarifs-note--abonnement a,
.tarifs-offre__cgv a,
.tarifs-question p a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
