/* Styles propres à la page /tarifs/ */
a:focus-visible{outline:2px solid #2A63B5;outline-offset:3px;border-radius:8px}
.kicker{font-size:15px;font-weight:500;color:#6F6E69;margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;box-sizing:border-box;transition:transform .15s ease,background .2s ease}
.btn-dark{background:#2F2E2B;color:#FFFFFF}
.btn-dark:hover{background:#1E1D1B;color:#FFFFFF;transform:translateY(-1px)}
.btn-light{background:#FFFFFF;color:#2F2E2B;border:1px solid #E3E2DF}
.btn-light:hover{color:#2F2E2B;transform:translateY(-1px)}
.btn-vert{background:#3B7A4E;color:#FFFFFF}
.btn-vert:hover{background:#2E6340;color:#FFFFFF;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:#2F2E2B;border:1px solid #D6D5D0}
.btn-ghost:hover{background:#FFFFFF;color:#2F2E2B}
.sable{background:#ECE8DF}
.ciel{background:#DCE6F2}
.vert{background:#3B7A4E;color:#FFFFFF}
.encre{background:#2F2E2B;color:#FFFFFF}
.tnum{font-variant-numeric:tabular-nums}
@keyframes breathe{0%,100%{transform:scale(1);opacity:.5}50%{transform:scale(1.07);opacity:1}}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes wordIn{from{opacity:0;translate:0 .38em;filter:blur(8px)}to{opacity:1;translate:0 0;filter:blur(0)}}
.breathe{animation:breathe 5.5s ease-in-out infinite}
.live{animation:blink 2.4s ease-in-out infinite}
:is(section:has(h1) :has(> h1),section:has(> h1)) > :not(h1){animation:riseIn .9s cubic-bezier(.2,.7,.2,1) .5s both}
:is(section:has(h1) :has(> h1),section:has(> h1)) > :not(h1):nth-child(1){animation-delay:.05s}
:is(section:has(h1) :has(> h1),section:has(> h1)) > :not(h1):nth-child(3){animation-delay:.6s}
:is(section:has(h1) :has(> h1),section:has(> h1)) > :not(h1):nth-child(4){animation-delay:.72s}
:is(section:has(h1) :has(> h1),section:has(> h1)) > :not(h1):nth-child(n+5){animation-delay:.84s}
section:has(h1) .wrap:not(:has(> h1)) > :not(:has(h1)){animation:tileIn 1.1s cubic-bezier(.2,.7,.2,1) .35s both}
.anim-on [data-r]{transition:opacity .8s ease var(--d,0ms),translate .95s cubic-bezier(.2,.7,.2,1) var(--d,0ms),transform .25s ease,box-shadow .25s ease,background-color .2s ease,color .2s ease,border-color .2s ease}


/* ---------- Héro ---------- */
.tf-hero{padding:72px 0 40px}
.tf-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:center}
.tf-h1{font-size:clamp(42px,5.4vw,66px);line-height:1.04;margin:14px 0 22px;max-width:14ch}
.tf-h1 .accent{color:#3B7A4E}
.tf-lead{font-size:19px;line-height:1.55;color:#55544F;margin:0 0 28px;max-width:52ch}
.tf-hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px}
.tf-pill{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 14px 0 10px;border-radius:999px;background:#FFFFFF;border:1px solid #E3E2DF;font-size:14px;font-weight:600;color:#2F2E2B}
.tf-pill .dot{width:8px;height:8px;border-radius:50%;background:#4E9A63}
.tf-notes{display:flex;flex-wrap:wrap;gap:8px 22px;margin:26px 0 0;padding:0;list-style:none;font-size:14px;color:#6F6E69}
.tf-notes li{display:flex;align-items:center;gap:8px}
.tf-notes .puce{color:#3B7A4E}

/* Carte « preuve » dans le héro */
.tf-preuve{position:relative;overflow:hidden;border-radius:28px;padding:30px 30px 26px;min-height:420px;display:flex;flex-direction:column;box-shadow:0 30px 70px rgba(30,29,27,.14)}
.tf-preuve-bg{position:absolute;inset:0;width:100%;height:100%}
.tf-preuve-halo{position:absolute;right:-60px;top:-60px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.12)}
.tf-preuve > *:not(.tf-preuve-bg):not(.tf-preuve-halo){position:relative}
.tf-preuve-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13.5px;font-weight:500;color:#DCEBDF}
.tf-preuve-top .tag{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#FFFFFF;font-size:12.5px;font-weight:600}
.tf-preuve-top .tag .live{width:7px;height:7px;border-radius:50%;background:#B9E3C4;display:inline-block}
.tf-preuve-score{display:flex;align-items:baseline;gap:10px;margin-top:26px}
.tf-preuve-score .big{font-size:84px;line-height:.95;font-family:'Newsreader',Georgia,serif;font-weight:600;letter-spacing:-0.03em}
.tf-preuve-score .lbl{font-size:15px;color:#DCEBDF;max-width:12ch;line-height:1.3}
.tf-preuve-liste{margin:22px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.tf-preuve-liste li{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14.5px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.10)}
.tf-preuve-liste b{font-weight:600}
.tf-preuve-card{margin-top:auto;background:#FFFFFF;color:#2F2E2B;border-radius:16px;padding:14px 16px;display:flex;align-items:center;gap:12px;box-shadow:0 14px 30px rgba(0,0,0,.16)}
.tf-preuve-card .dot{flex:none;width:9px;height:9px;border-radius:50%;background:#3B7A4E}
.tf-preuve-card strong{display:block;font-size:14.5px;font-weight:600}
.tf-preuve-card span{font-size:12.5px;color:#6F6E69}
.tf-demo{font-size:12px;color:#9B9A95;margin:10px 0 0}

/* ---------- Offres ---------- */
.tf-offres{padding:40px 0 72px}
.tf-sec-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px 32px;margin-bottom:32px}
.tf-h2{font-size:clamp(30px,3.6vw,44px);line-height:1.1;margin:10px 0 0;max-width:22ch}
.tf-sub{font-size:16.5px;line-height:1.55;color:#55544F;margin:0;max-width:46ch}
.tf-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch}
.tf-card{position:relative;display:flex;flex-direction:column;gap:0;background:#FFFFFF;border:1px solid #E3E2DF;border-radius:22px;padding:24px 20px 20px;min-height:560px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.tf-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px rgba(30,29,27,.10);border-color:#D6D5D0}
.tf-card.is-vedette{background:#2F2E2B;color:#FFFFFF;border-color:#2F2E2B}
.tf-card.is-vedette:hover{box-shadow:0 30px 60px rgba(30,29,27,.28)}
.tf-badge{position:absolute;top:-13px;left:22px;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:#3B7A4E;color:#FFFFFF;font-size:12.5px;font-weight:600;box-shadow:0 6px 16px rgba(59,122,78,.3)}
.tf-badge.sable{background:#ECE8DF;color:#6B5F48;box-shadow:none}
.tf-ton{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.tf-card.is-vedette .tf-ton{background:rgba(255,255,255,.12);color:#FFFFFF}
.tf-nom{font-size:22px;line-height:1.15;margin:0 0 4px}
.tf-pour{font-size:13.5px;line-height:1.45;color:#6F6E69;margin:0 0 18px;min-height:40px}
.tf-card.is-vedette .tf-pour{color:#C9C8C2}
.tf-prix{display:flex;flex-direction:column;gap:2px;padding:16px 0;border-top:1px solid #ECEBE8;border-bottom:1px solid #ECEBE8;margin-bottom:16px}
.tf-card.is-vedette .tf-prix{border-color:rgba(255,255,255,.14)}
.tf-prix .imp{display:flex;flex-direction:column;gap:3px}
.tf-prix .imp b{font-family:'Newsreader',Georgia,serif;font-weight:600;letter-spacing:-0.03em;font-size:34px;line-height:1;white-space:nowrap}
.tf-prix .imp span,.tf-prix .mois span{font-size:12.5px;color:#6F6E69}
.tf-card.is-vedette .tf-prix span{color:#C9C8C2}
.tf-prix .mois{display:flex;align-items:baseline;gap:6px;margin-top:8px;white-space:nowrap}
.tf-prix .mois b{font-size:18px;font-weight:600}
.tf-prix .mois.devis-mois{flex-direction:column;align-items:flex-start;gap:2px;white-space:normal}
.tf-prix .devis b{font-family:'Newsreader',Georgia,serif;font-weight:600;letter-spacing:-0.02em;font-size:26px;line-height:1.1}
.tf-prix .ouverture{margin-top:10px;display:block;font-size:12px;line-height:1.35;font-weight:600;color:#2E6340}
.tf-card.is-vedette .ouverture{color:#B9E3C4}
.tf-prix .ouverture s{color:#9B9A95;font-weight:500}
.tf-liste{margin:0 0 18px;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px;font-size:14px;line-height:1.4}
.tf-liste li{display:flex;gap:10px;align-items:flex-start}
.tf-liste svg{flex:none;margin-top:3px;color:#3B7A4E}
.tf-card.is-vedette .tf-liste svg{color:#7FB08E}
.tf-liste li.off{color:#9B9A95}
.tf-liste li.off svg{color:#C9C8C2}
.tf-card .btn{margin-top:auto;min-height:46px;font-size:15px}
.tf-card .delai{text-align:center;font-size:12.5px;color:#6F6E69;margin:10px 0 0}
.tf-card.is-vedette .delai{color:#C9C8C2}
.tf-grid-note{margin:22px 0 0;font-size:14px;color:#6F6E69;line-height:1.5;display:flex;flex-wrap:wrap;gap:6px 24px}

/* ---------- Trois protections ---------- */
.tf-protect{padding:0 0 72px}
.tf-protect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tf-pro{border-radius:24px;padding:30px 28px;min-height:300px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.tf-pro .num{font-family:'Newsreader',Georgia,serif;font-weight:600;font-size:46px;line-height:1;opacity:.5}
.tf-pro h3{font-size:24px;line-height:1.15;margin:16px 0 10px}
.tf-pro p{margin:0;font-size:15px;line-height:1.55}
.tf-pro .ex{margin-top:auto;padding-top:18px;font-size:13.5px}
.tf-pro.sable .ex,.tf-pro.ciel .ex{color:#55544F}
.tf-verse{margin-top:auto;display:flex;gap:6px;padding-top:20px}
.tf-verse div{flex:1;background:rgba(255,255,255,.14);border-radius:12px;padding:10px;text-align:center}
.tf-pro.ciel .tf-verse div{background:#FFFFFF}
.tf-verse b{display:block;font-size:17px;font-weight:600}
.tf-verse span{font-size:11.5px;opacity:.85}

/* ---------- Inclus partout ---------- */
.tf-inclus{padding:0 0 72px}
.tf-inclus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px}
.tf-inc{background:#FFFFFF;border:1px solid #E3E2DF;border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:10px}
.tf-inc .ico{width:40px;height:40px;border-radius:12px;background:#EDF3EC;color:#2E6340;display:flex;align-items:center;justify-content:center}
.tf-inc h3{font-size:18px;margin:4px 0 0}
.tf-inc p{margin:0;font-size:14.5px;line-height:1.5;color:#55544F}

/* ---------- Tableau comparatif ---------- */
.tf-compare{padding:0 0 72px}
.tf-table-wrap{margin-top:30px;background:#FFFFFF;border:1px solid #E3E2DF;border-radius:24px;overflow:hidden}
.tf-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tf-table{width:100%;border-collapse:separate;border-spacing:0;min-width:980px;font-size:14px}
.tf-table th,.tf-table td{padding:13px 14px;border-bottom:1px solid #ECEBE8;vertical-align:middle;text-align:center}
.tf-table th:first-child,.tf-table td:first-child{text-align:left;position:sticky;left:0;background:#FFFFFF;z-index:1;min-width:280px;border-right:1px solid #ECEBE8}
.tf-table thead th{position:sticky;top:72px;z-index:2;background:#FFFFFF;font-weight:600;padding:18px 14px;border-bottom:1px solid #E3E2DF}
.tf-table thead th:first-child{z-index:3}
.tf-table thead .nom{display:block;font-size:15px}
.tf-table thead .p{display:block;font-size:12.5px;color:#6F6E69;font-weight:500;margin-top:3px}
.tf-table thead th.vedette{background:#2F2E2B;color:#FFFFFF}
.tf-table thead th.vedette .p{color:#C9C8C2}
.tf-table td.vedette{background:#FAFAF8}
.tf-table tr.groupe td{background:#F7F6F3;font-weight:600;font-size:13px;letter-spacing:.02em;text-transform:uppercase;color:#6F6E69;padding:10px 14px;text-align:left}
.tf-table tr.groupe td:first-child{background:#F7F6F3}
.tf-table td.oui svg{color:#3B7A4E}
.tf-table td.non{color:#C9C8C2}
.tf-table td.txt{color:#2F2E2B;font-size:13.5px}
.tf-table td.txt small{display:block;color:#6F6E69;font-size:12px;margin-top:2px}
.tf-table tbody tr:hover td{background:#FBFAF8}
.tf-table tbody tr:hover td.vedette{background:#F3F2EF}
.tf-table-foot{padding:16px 22px;font-size:13.5px;color:#6F6E69;border-top:1px solid #ECEBE8;background:#FBFAF8}

/* ---------- Chemin ---------- */
.tf-chemin{padding:0 0 72px}
.tf-chemin-box{background:#2F2E2B;color:#FFFFFF;border-radius:28px;padding:44px 40px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center;position:relative;overflow:hidden}
.tf-chemin-box .tf-h2{color:#FFFFFF}
.tf-chemin-box p{color:#C9C8C2;font-size:16px;line-height:1.55}
.tf-steps{display:flex;flex-direction:column;gap:0;position:relative}
.tf-step{display:flex;gap:16px;align-items:flex-start;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.tf-step:last-child{border-bottom:0}
.tf-step .n{flex:none;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-family:'Newsreader',Georgia,serif;font-weight:600;font-size:17px}
.tf-step strong{display:block;font-size:16px}
.tf-step span{font-size:14px;color:#C9C8C2;line-height:1.45}
.tf-step .fleche{color:#7FB08E;font-weight:600;font-size:13px}

/* ---------- Subventions + FAQ ---------- */
.tf-aide{padding:0 0 72px}
.tf-aide-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:32px;align-items:start}
.tf-aide-card{border-radius:24px;padding:30px;display:flex;flex-direction:column;gap:10px}
.tf-aide-card h3{font-size:24px;margin:8px 0 0}
.tf-aide-card p{margin:0;font-size:15px;line-height:1.55}
.tf-aide-card ul{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:14.5px}
.tf-aide-card li{display:flex;gap:10px;align-items:flex-start}
.tf-faq{display:flex;flex-direction:column;gap:0;background:#FFFFFF;border:1px solid #E3E2DF;border-radius:24px;padding:6px 26px}
.tf-faq details{border-bottom:1px solid #ECEBE8}
.tf-faq details:last-child{border-bottom:0}
.tf-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;font-size:16.5px;font-weight:600}
.tf-faq summary::-webkit-details-marker{display:none}
.tf-faq .plus{position:relative;flex:none;width:14px;height:14px;color:#6F6E69}
.tf-faq .plus::before,.tf-faq .plus::after{content:"";position:absolute;left:0;right:0;top:6.25px;height:1.5px;border-radius:1px;background:currentColor;transition:transform .2s ease}
.tf-faq .plus::after{transform:rotate(90deg)}
.tf-faq details[open] .plus::after{transform:rotate(0)}
.tf-faq details p{margin:0 0 18px;font-size:15px;line-height:1.55;color:#55544F;max-width:62ch}

/* ---------- Appel final ---------- */
.tf-fin{padding:0 0 96px}
.tf-fin-box{text-align:center;padding:56px 32px;border-radius:28px;background:#FFFFFF;border:1px solid #E3E2DF}
.tf-fin-box .tf-h2{margin:10px auto 14px}
.tf-fin-box p{margin:0 auto 26px;max-width:52ch;font-size:16.5px;line-height:1.55;color:#55544F}
.tf-fin-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 18px;align-items:center}
.tf-fin-cta .mail{font-size:15px;color:#6F6E69}

/* ---------- Réactif ---------- */
@media (max-width:1240px){
  .tf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tf-card{min-height:0}
}
@media (max-width:960px){
  .tf-hero{padding:48px 0 28px}
  .tf-hero-grid{grid-template-columns:1fr;gap:32px}
  .tf-preuve{min-height:0}
  .tf-protect-grid,.tf-inclus-grid{grid-template-columns:1fr 1fr}
  .tf-chemin-box{grid-template-columns:1fr;padding:34px 28px}
  .tf-aide-grid{grid-template-columns:1fr}
  .tf-table thead th{top:64px}
}
@media (max-width:700px){
  .tf-grid,.tf-protect-grid,.tf-inclus-grid{grid-template-columns:1fr}
  .tf-card{min-height:0}
  .tf-table th:first-child,.tf-table td:first-child{min-width:200px}
  .tf-preuve-score .big{font-size:68px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Promotion Agent sur mesure */
.tf-badge.promo{background:#2A63B5;box-shadow:0 6px 16px rgba(42,99,181,.28)}
.tf-prix .promo-avant{font-size:14px;color:#9B9A95;font-weight:500}
.tf-table thead .promo-t{color:#2A63B5;font-weight:600}
.tf-badge{white-space:nowrap}
.tf-promo{align-self:flex-start;display:inline-flex;margin-bottom:6px;padding:4px 10px;border-radius:999px;background:#2A63B5;color:#FFFFFF;font-size:12px;font-weight:600;white-space:nowrap}
.tf-card.is-vedette .promo-avant{color:#9B9A95}
.tf-prix .ouverture .nw{white-space:nowrap}
/* Correctifs : en-tête du tableau et notes sous les offres */
.tf-table thead th{position:static;vertical-align:bottom}
.tf-table thead th:first-child{position:sticky;left:0}
.tf-table thead .nw{white-space:nowrap}
.tf-grid-note{flex-direction:column;gap:6px}
.tf-grid-note span{display:flex;gap:10px;align-items:baseline}
.tf-grid-note span::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:#3B7A4E;position:relative;top:-2px}
.tf-table thead th,.tf-table thead th:first-child{top:auto}
.tf-grid-note span{display:block;position:relative;padding-left:16px}
.tf-grid-note span::before{position:absolute;left:0;top:.55em}
/* Délais d’animation et petites touches (aucun style en ligne : la CSP l’interdit) */
.tf-i0{--i:0}.tf-i1{--i:1}.tf-i2{--i:2}.tf-i3{--i:3}.tf-i4{--i:4}.tf-i5{--i:5}.tf-i6{--i:6}.tf-i7{--i:7}.tf-i8{--i:8}
.tf-d0{--d:0ms}.tf-d60{--d:60ms}.tf-d80{--d:80ms}.tf-d120{--d:120ms}.tf-d160{--d:160ms}.tf-d180{--d:180ms}.tf-d240{--d:240ms}.tf-d300{--d:300ms}.tf-d320{--d:320ms}
.tf-sur{font-size:.5em;opacity:.7}
.tf-k-sable{color:#6B5F48}
.tf-k-pale{color:#C9C8C2}
.tf-aide-note{font-size:13px;color:#6B5F48;margin-top:8px}
.tf-mt8{margin-top:8px}
/* Affichage des prix (16 oct. 2026) : mensuel en gros, implantation juste en dessous, bien lisible */
.tf-prix .mois{display:flex;align-items:baseline;gap:8px;margin-top:0;white-space:nowrap}
.tf-prix .mois b{font-family:'Newsreader',Georgia,serif;font-weight:600;letter-spacing:-0.03em;font-size:34px;line-height:1}
.tf-prix .mois span{font-size:13px}
.tf-prix .apartir{display:block;margin:8px 0 2px;font-size:12.5px;color:#6F6E69}
.tf-prix .imp{display:block;margin-top:8px;font-size:15px;font-weight:600;line-height:1.35;color:inherit}
.tf-prix .imp b{font-family:inherit;font-size:inherit;letter-spacing:0;font-weight:700;line-height:inherit}
.tf-card.is-vedette .tf-prix .imp,.tf-card.is-vedette .tf-prix .imp b{color:#FFFFFF}
.tf-prix .imp .promo-avant{font-size:14px;font-weight:500}
.tf-prix .tf-promo{margin:10px 0 0}
.tf-prix .taxes{display:block;margin-top:10px;font-size:11.5px;color:#8A8984}
.tf-card.is-vedette .tf-prix .taxes{color:#A9A8A2}
