/* Page Tarifs (pages/tarifs.html) — thème crème OPTIMYS */
body[data-page="Tarifs"] main{background:#f6f2ea;color:#17161c}
body[data-page="Tarifs"] .entete{padding-top:clamp(2.5rem,5vw,4rem);padding-bottom:clamp(2rem,4vw,3rem)}
body[data-page="Tarifs"] .entete .titre-1{max-width:18ch;color:#17161c}
body[data-page="Tarifs"] .entete .chapeau{color:#b4570f;font-weight:600;margin-top:var(--e-4)}
body[data-page="Tarifs"] .entete__surtitre{color:#5c574f}
.tarifs-note{margin-top:var(--e-4);font-size:var(--t-s);color:#5c574f}
body[data-page="Tarifs"] .entete .actions{margin-top:var(--e-5)}
.tarifs-section{padding-block:clamp(2rem,4.5vw,3.5rem)}
.tarifs-section--haut{padding-top:0}
.tarifs-section .titre-2{max-width:none;color:#17161c;margin-bottom:var(--e-5)}
.tarifs-intro{max-width:46rem;color:#5c574f;margin:0 0 var(--e-6)}

/* Trois formules */
.formules{display:grid;gap:var(--e-4);grid-template-columns:1fr}
@media (min-width:48em){.formules{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--e-5)}}
.formule{display:flex;flex-direction:column;background:#fff;border:1px solid rgba(23,22,28,.128);border-radius:.9rem;padding:clamp(1.25rem,2.4vw,1.75rem)}
.formule__nom{font-family:var(--f-titre);font-size:var(--t-xl);line-height:1.1;color:#17161c;margin:0}
.formule__etiquette{display:block;margin-top:.25rem;font-size:var(--t-xs);letter-spacing:.08em;text-transform:uppercase;color:#5c574f}
.formule__prix{margin:var(--e-5) 0 .15rem;font-family:var(--f-titre);font-weight:700;font-size:clamp(2rem,1.5rem + 1.6vw,2.75rem);line-height:1;color:#17161c}
.formule__prix small{font-family:var(--f-texte);font-weight:600;font-size:var(--t-s);color:#5c574f}
.formule__liste{margin:var(--e-5) 0 0;padding:0;list-style:none;border-top:1px solid #e4dfd6}
.formule__liste li{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid #e4dfd6;font-size:var(--t-s);color:#5c574f}
.formule__liste strong{color:#17161c;white-space:nowrap;text-align:right}
.formule__nb{margin-top:auto;padding-top:var(--e-4);font-size:var(--t-s);color:#b4570f;font-weight:600}

/* Comparatif */
.tarifs-defil{position:relative;overflow-x:auto;background:#fff;border:1px solid rgba(23,22,28,.128);border-radius:.9rem;-webkit-overflow-scrolling:touch}
.tarifs-defil:focus-visible{outline:2px solid #17161c;outline-offset:3px}
.tarifs-table{width:100%;min-width:21rem;border-collapse:separate;border-spacing:0;font-size:var(--t-s)}
.tarifs-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tarifs-table th,.tarifs-table td{padding:.8rem .75rem;border-bottom:1px solid #eee9df;text-align:center;line-height:1.35}
.tarifs-table thead th{background:#17161c;color:#fff;font-family:var(--f-titre);font-weight:600;font-size:var(--t-s);position:sticky;top:0}
.tarifs-table thead th:first-child{border-top-left-radius:.8rem}
.tarifs-table thead th:last-child{border-top-right-radius:.8rem}
.tarifs-table tbody th{text-align:left;font-weight:400;color:#17161c;background:#fff;position:sticky;left:0}
.tarifs-table tbody tr:nth-child(even) th,.tarifs-table tbody tr:nth-child(even) td{background:#faf7f1}
.tarifs-table .ligne-prix th,.tarifs-table .ligne-prix td{background:#f1ebde!important;font-weight:600;color:#17161c}
.tarifs-table .oui{color:#b4570f;font-weight:700;font-size:1.1rem}
.tarifs-table .non{color:#6b655c}
.tarifs-table tfoot td{padding:.9rem 1rem;text-align:left;color:#5c574f;border-bottom:0}
@media (max-width:40em){.tarifs-table{min-width:0}.tarifs-table th,.tarifs-table td{padding:.6rem .2rem;font-size:.76rem}.tarifs-table thead th{font-size:.66rem;letter-spacing:-.01em}.tarifs-table tbody th{min-width:0;width:34%;padding-left:.6rem}}

/* Abonnement */
.abo{background:#fff;border:1px solid rgba(23,22,28,.128);border-radius:.9rem;padding:clamp(1.25rem,3vw,2.25rem);display:grid;gap:var(--e-3)}
.abo h2{max-width:none}
.abo p{max-width:46rem;color:#5c574f;margin:0}
.abo__phrase{font-family:var(--f-titre);font-weight:600;font-size:var(--t-xl);line-height:1.2;color:#b4570f!important}

/* Sur mesure */
.surmesure{display:grid;gap:var(--e-4);align-items:center;background:#17161c;color:#fff;border-radius:.9rem;padding:clamp(1.25rem,3vw,2.25rem)}
@media (min-width:48em){.surmesure{grid-template-columns:auto 1fr auto}}
.surmesure__titre{font-family:var(--f-titre);font-weight:700;font-size:var(--t-xl);line-height:1.1;color:#f29b45;margin:0}
.surmesure__liste{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none}
.surmesure__liste li{padding:.35rem .8rem;border:1px solid rgba(255,255,255,.28);border-radius:999px;font-size:var(--t-s);color:#fff}
.surmesure__devis{font-family:var(--f-titre);font-weight:700;font-size:var(--t-xl);color:#f29b45}

/* Modules */
.modules{display:grid;gap:var(--e-4);grid-template-columns:repeat(auto-fit,minmax(13.5rem,1fr))}
.module{background:#fff;border:1px solid rgba(23,22,28,.128);border-radius:.9rem;padding:1.25rem;display:flex;flex-direction:column;gap:.35rem}
.module h3{font-family:var(--f-titre);font-size:var(--t-l);line-height:1.15;color:#17161c;margin:0}
.module__prix{font-family:var(--f-titre);font-weight:700;font-size:var(--t-l);overflow-wrap:anywhere;color:#b4570f;margin:.4rem 0 0;line-height:1.1}
.module__mois{font-size:var(--t-s);color:#5c574f;margin:0}
.tarifs-conditions{max-width:52rem;font-size:var(--t-s);color:#5c574f}
.tarifs-conditions p+p{margin-top:.5rem}

@media (min-width:48em){.module h3{min-height:2.4em}}

@media (min-width:60em){.modules{grid-template-columns:repeat(3,minmax(0,1fr))}}
