/*
Theme Name: Tech Magazine
Theme URI: https://tech-magazine.fr
Author: Tom Lionne
Description: Thème maison léger pour Tech Magazine. Sans page builder, sans framework. Archétype portail tech : hero vedette + tendances numérotées, rails par catégorie, palette orange/bleu. Migration depuis Astra/Elementor.
Version: 1.0.5
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: tech-magazine
*/

/* ==========================================================================
   Tokens — palette tech conservée (orange #f45a2a + bleu #257cff)
   ========================================================================== */
:root{
  --orange:#f45a2a;
  --orange-d:#dd4517;
  --blue:#257cff;
  --blue-d:#1b63d6;
  --ink:#2f373d;         /* titres / texte fort */
  --ink-2:#1b2126;       /* footer */
  --grey:#7e868c;        /* muted */
  --bg:#ffffff;
  --soft:#f5f8fc;        /* fond alterné */
  --soft-2:#eef3f9;
  --line:#e6ecf2;
  --white:#fff;
  --radius:12px;
  --radius-lg:18px;
  --maxw:1240px;
  --read:760px;
  --shadow:0 16px 40px rgba(47,55,61,.12);
  --shadow-sm:0 6px 20px rgba(47,55,61,.08);
  --font-head:"Space Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);
  font-size:17px;line-height:1.7;font-weight:400;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--ink);line-height:1.1;font-weight:700;letter-spacing:-.02em;margin:0 0 .5em}
h1{font-size:clamp(2.2rem,5vw,3.4rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.3rem)}
h3{font-size:1.3rem}
p{margin:0 0 1.1em}
.tm-container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.tm-kicker{font-family:var(--font-head);text-transform:uppercase;letter-spacing:.12em;font-size:.76rem;font-weight:700;color:var(--orange);margin:0 0 .7rem}
.tm-eyebrow{color:var(--grey)}
.tm-center{text-align:center}

/* Buttons */
.tm-btn{display:inline-flex;align-items:center;gap:.5em;font-family:var(--font-head);font-weight:600;font-size:.95rem;
  padding:.8em 1.5em;border-radius:8px;border:2px solid transparent;cursor:pointer;transition:.18s ease;line-height:1}
.tm-btn--primary{background:var(--orange);color:#fff;border-color:var(--orange)}
.tm-btn--primary:hover{background:var(--orange-d);border-color:var(--orange-d);transform:translateY(-1px)}
.tm-btn--blue{background:var(--blue);color:#fff;border-color:var(--blue)}
.tm-btn--blue:hover{background:var(--blue-d);border-color:var(--blue-d)}
.tm-btn--ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.tm-btn--ghost:hover{border-color:var(--ink)}
.tm-btn--light{background:#fff;color:var(--ink);border-color:#fff}
.tm-btn .tm-arrow{transition:transform .18s ease}
.tm-btn:hover .tm-arrow{transform:translateX(3px)}

/* Pastille catégorie */
.tm-tag{display:inline-block;font-family:var(--font-head);text-transform:uppercase;letter-spacing:.08em;
  font-size:.68rem;font-weight:700;color:#fff;background:var(--orange);border-radius:5px;padding:.3rem .6rem}

/* ==========================================================================
   Header (blanc, logo foncé, accent orange)
   ========================================================================== */
.tm-site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.3) blur(8px);border-bottom:1px solid var(--line)}
.tm-site-header .tm-container{display:flex;align-items:center;gap:1.5rem;height:74px}
.tm-brand{display:flex;align-items:center;gap:.6rem;flex-shrink:0}
.tm-brand img{max-height:38px;width:auto}
.tm-brand__name{font-family:var(--font-head);font-weight:700;font-size:1.25rem;color:var(--ink);letter-spacing:-.02em}
.tm-nav{display:flex;gap:1.6rem;margin-left:auto;list-style:none;padding:0}
.tm-nav ul{display:contents;list-style:none;margin:0;padding:0}
.tm-nav li{list-style:none;margin:0;padding:0;position:relative}
.tm-nav a{font-family:var(--font-head);font-weight:500;font-size:.94rem;color:var(--ink);padding:.5rem 0;position:relative}
.tm-nav a:hover{color:var(--orange)}
.tm-nav a::after{content:"";position:absolute;left:0;bottom:-1px;width:0;height:2px;background:var(--orange);transition:.2s}
.tm-nav a:hover::after{width:100%}
.tm-nav ul.sub-menu{position:absolute;top:100%;left:0;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:8px;display:none;flex-direction:column;z-index:60}
.tm-nav li:hover>ul.sub-menu{display:flex}
.tm-nav ul.sub-menu a{padding:.5rem .8rem;border-radius:6px;font-size:.9rem}
.tm-nav ul.sub-menu a:hover{background:var(--soft)}
.tm-header-actions{display:flex;align-items:center;gap:.6rem;flex-shrink:0}
.tm-search-toggle{background:var(--soft);border:0;width:40px;height:40px;border-radius:8px;color:var(--ink);cursor:pointer;display:grid;place-items:center;transition:.18s}
.tm-search-toggle:hover{background:var(--orange);color:#fff}
.tm-nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:.4rem;flex-direction:column;gap:5px}
.tm-nav-toggle span{width:26px;height:2px;background:var(--ink);display:block;transition:.2s}
.tm-searchbar{background:var(--ink);display:none}
.tm-searchbar.tm-open{display:block}
.tm-searchbar form{max-width:640px;margin:0 auto;display:flex;gap:.5rem;padding:16px 24px}
.tm-searchbar input{flex:1;border:0;border-radius:8px;padding:.85em 1.2em;font-family:var(--font-body);font-size:1rem}
.tm-searchbar button{border:0;background:var(--orange);color:#fff;border-radius:8px;padding:0 1.4em;font-family:var(--font-head);font-weight:600;cursor:pointer}

/* ==========================================================================
   Hero : vedette + tendances numérotées
   ========================================================================== */
.tm-hero{padding:44px 0 12px}
.tm-hero__grid{display:grid;grid-template-columns:1.9fr 1fr;gap:40px;align-items:start}
/* vedette */
.tm-feat__media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius-lg);background:var(--soft)}
.tm-feat__media img{width:100%;height:100%;object-fit:cover;transition:.5s ease}
.tm-feat:hover .tm-feat__media img{transform:scale(1.03)}
.tm-feat__media .tm-tag{position:absolute;top:16px;left:16px}
.tm-feat__body{padding-top:18px}
.tm-feat__title{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.08;margin:.3rem 0 .5rem}
.tm-feat__title a{color:var(--ink)}
.tm-feat:hover .tm-feat__title a{color:var(--blue)}
.tm-feat__excerpt{color:var(--grey);font-size:1.05rem;margin:0 0 .8rem;max-width:60ch}
.tm-feat__meta{font-size:.85rem;color:var(--grey);display:flex;gap:.6rem;align-items:center}
/* tendances */
.tm-trends{border:1px solid var(--line);border-radius:var(--radius-lg);padding:22px 24px}
.tm-trends__head{font-family:var(--font-head);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--ink);margin:0 0 .4rem;display:flex;align-items:center;gap:.5rem}
.tm-trends__head::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--orange)}
.tm-trend{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--line)}
.tm-trend:last-child{border-bottom:0;padding-bottom:0}
.tm-trend__num{font-family:var(--font-head);font-weight:700;font-size:1.3rem;color:var(--blue);line-height:1;min-width:1.6rem}
.tm-trend__cat{font-family:var(--font-head);text-transform:uppercase;letter-spacing:.08em;font-size:.62rem;font-weight:700;color:var(--orange)}
.tm-trend__title{font-family:var(--font-head);font-weight:600;font-size:.98rem;line-height:1.22;margin:.15rem 0 0}
.tm-trend__title a{color:var(--ink)}
.tm-trend__title a:hover{color:var(--blue)}

/* ==========================================================================
   Rails par catégorie
   ========================================================================== */
.tm-section{padding:52px 0}
.tm-section--soft{background:var(--soft)}
.tm-rail__head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:26px}
.tm-rail__title{font-size:1.7rem;margin:0;display:flex;align-items:center;gap:.6rem}
.tm-rail__title::before{content:"";width:6px;height:1.4rem;border-radius:3px;background:var(--orange)}
.tm-rail--blue .tm-rail__title::before{background:var(--blue)}
.tm-rail__all{font-family:var(--font-head);font-weight:600;font-size:.9rem;color:var(--blue);white-space:nowrap}
.tm-rail__all span{display:inline-block;transition:transform .18s ease}
.tm-rail__all:hover span{transform:translateX(3px)}

/* Grille + cards */
.tm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tm-card{display:flex;flex-direction:column}
.tm-card__media{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:var(--radius);background:var(--soft);display:block}
.tm-card__media img{width:100%;height:100%;object-fit:cover;transition:.5s ease}
.tm-card:hover .tm-card__media img{transform:scale(1.04)}
.tm-card__media .tm-tag{position:absolute;top:12px;left:12px;font-size:.62rem;padding:.25rem .5rem}
.tm-card__ph{width:100%;height:100%;background:linear-gradient(135deg,var(--blue),var(--orange));display:grid;place-items:center;color:#fff;font-family:var(--font-head);font-weight:700;font-size:1.4rem}
.tm-card__body{padding:14px 2px 0;display:flex;flex-direction:column;gap:.45rem;flex:1}
.tm-card__title{font-family:var(--font-head);font-weight:600;font-size:1.2rem;line-height:1.18;color:var(--ink);margin:0}
.tm-card:hover .tm-card__title{color:var(--blue)}
.tm-card__excerpt{color:var(--grey);font-size:.93rem;margin:0}
.tm-card__meta{margin-top:auto;padding-top:.4rem;font-size:.8rem;color:var(--grey);display:flex;gap:.5rem;align-items:center}

/* Newsletter (bande orange) */
.tm-news{background:var(--orange)}
.tm-news .tm-container{padding:52px 24px;display:flex;align-items:center;gap:38px;justify-content:space-between;flex-wrap:wrap}
.tm-news__txt{max-width:46ch}
.tm-news__txt h2{color:#fff;margin:.2rem 0 .4rem}
.tm-news__txt p{color:rgba(255,255,255,.9);margin:0}
.tm-news__txt .tm-kicker{color:#fff}
.tm-news__form{display:flex;gap:.6rem;flex:1;min-width:290px;max-width:460px}
.tm-news__form input{flex:1;border:0;border-radius:8px;padding:.9em 1.2em;font-family:var(--font-body);font-size:.95rem}

/* ==========================================================================
   Single article
   ========================================================================== */
.tm-breadcrumb{font-size:.85rem;color:var(--grey);padding:22px 0 2px}
.tm-breadcrumb a{color:var(--grey)}
.tm-breadcrumb a:hover{color:var(--blue)}
.tm-breadcrumb .tm-sep{margin:0 .45rem;color:var(--orange)}
.tm-article-head{max-width:var(--read);margin:0 auto;text-align:center;padding:8px 0 26px}
.tm-article-head .tm-tag{margin-bottom:1rem}
.tm-article-head h1{margin-bottom:.5rem}
.tm-article-meta{color:var(--grey);font-size:.9rem;display:flex;gap:1rem;justify-content:center;align-items:center;flex-wrap:wrap}
.tm-article-cover{max-width:1040px;margin:0 auto 40px}
.tm-article-cover img{width:100%;border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.tm-article-body{max-width:var(--read);margin:0 auto;font-size:1.12rem;line-height:1.8;color:#333b41}
.tm-article-body h2{margin:2.2rem 0 .9rem;font-size:1.7rem}
.tm-article-body h3{margin:1.8rem 0 .7rem;font-size:1.3rem}
.tm-article-body p{margin:0 0 1.3em}
.tm-article-body a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.tm-article-body a:hover{color:var(--blue-d)}
.tm-article-body ul,.tm-article-body ol{margin:0 0 1.4em;padding-left:1.3em}
.tm-article-body li{margin:.5em 0}
.tm-article-body li::marker{color:var(--orange)}
.tm-article-body img{border-radius:var(--radius);margin:1.7em 0}
.tm-article-body blockquote{border-left:4px solid var(--orange);background:var(--soft);margin:1.7em 0;padding:1.1em 1.4em;border-radius:0 var(--radius) var(--radius) 0;font-style:italic;color:var(--ink)}
/* tables (reprend tm-table-style : header + zebra) */
.tm-article-body .wp-block-table{margin:1.7em 0;overflow-x:auto}
.tm-article-body table{width:100%;border-collapse:collapse;margin:1.7em 0;font-size:.98rem}
.tm-article-body .wp-block-table table{margin:0}
.tm-article-body th{background:var(--ink);color:#fff;font-family:var(--font-head);font-weight:600;text-align:left;padding:.8em 1em}
.tm-article-body td{border-bottom:1px solid var(--line);padding:.8em 1em}
.tm-article-body tr:nth-child(even) td{background:var(--soft)}
/* Callout (couvre .tm-callout des 16 articles existants) */
.tm-callout,.callout{max-width:var(--read);margin:0 auto 32px;background:var(--soft);
  border-left:5px solid var(--orange);border-radius:0 var(--radius) var(--radius) 0;padding:22px 28px}
.tm-callout__label,.callout__label{font-family:var(--font-head);font-weight:700;font-size:1.1rem;color:var(--ink);display:block;margin-bottom:.55rem}
.tm-callout__body,.callout__body{margin:0;color:#333b41}
.tm-callout__body p:last-child,.callout__body p:last-child{margin-bottom:0}
.tm-callout ul,.callout ul{margin:0;padding-left:1.2em}
.tm-callout li,.callout li{margin:.4em 0}
.tm-callout li::marker,.callout li::marker{color:var(--orange)}
.tm-article-footer{max-width:var(--read);margin:42px auto 0;padding-top:24px;border-top:1px solid var(--line)}
.tm-tags a{display:inline-block;font-size:.82rem;color:var(--grey);border:1px solid var(--line);border-radius:6px;padding:.3rem .8rem;margin:.2rem .3rem .2rem 0}
.tm-tags a:hover{background:var(--soft);border-color:var(--orange);color:var(--orange)}

/* Page + archive hero */
.tm-page-hero{background:var(--ink);color:#fff;padding:56px 0;text-align:center}
.tm-page-hero .tm-kicker{color:var(--orange);margin-bottom:.5rem}
.tm-page-hero h1{color:#fff}
.tm-page-hero .tm-eyebrow{color:rgba(255,255,255,.8)}
.tm-page-body{max-width:var(--read);margin:48px auto;padding:0 24px}

/* ==========================================================================
   Footer (charcoal)
   ========================================================================== */
.tm-site-footer{background:var(--ink-2);color:rgba(255,255,255,.72);padding:58px 0 26px}
.tm-footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:34px}
.tm-site-footer h4{color:#fff;font-family:var(--font-head);font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:1rem}
.tm-site-footer ul{list-style:none;margin:0;padding:0}
.tm-site-footer li{margin:.5rem 0;font-size:.92rem}
.tm-site-footer a{color:rgba(255,255,255,.72)}
.tm-site-footer a:hover{color:#fff}
.tm-footer-brand__name{font-family:var(--font-head);font-weight:700;font-size:1.4rem;color:#fff;display:block;margin-bottom:.6rem}
.tm-footer-brand p{font-size:.92rem;max-width:38ch}
.tm-footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:42px;padding-top:20px;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.82rem}

/* Pagination */
.pagination{display:flex;gap:.5rem;justify-content:center;margin:50px 0 10px}
.pagination a,.pagination span{font-family:var(--font-head);font-weight:600;border:1px solid var(--line);border-radius:8px;padding:.55rem .9rem;color:var(--ink)}
.pagination a:hover{background:var(--soft);border-color:var(--orange)}
.pagination .current{background:var(--orange);color:#fff;border-color:var(--orange)}

/* Search form fallback */
.search-form{display:flex;gap:.5rem}
.search-form .search-field{flex:1;border:1px solid var(--line);border-radius:8px;padding:.8em 1.2em;font-family:var(--font-body)}
.search-form .search-submit{border:0;background:var(--orange);color:#fff;border-radius:8px;padding:.7em 1.4em;font-family:var(--font-head);font-weight:600;cursor:pointer}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media(max-width:980px){
  .tm-hero__grid{grid-template-columns:1fr;gap:32px}
  .tm-grid{grid-template-columns:1fr 1fr}
  .tm-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .tm-nav{display:none}
  .tm-nav-toggle{display:flex}
  .tm-nav.tm-open{display:flex;position:absolute;top:74px;left:0;right:0;background:#fff;flex-direction:column;gap:0;padding:8px 24px 16px;box-shadow:var(--shadow);margin:0;z-index:60}
  .tm-nav.tm-open li{width:100%}
  .tm-nav.tm-open a{padding:.8rem 0;border-bottom:1px solid var(--line);width:100%}
  .tm-nav.tm-open ul.sub-menu{position:static;display:flex;box-shadow:none;border:0;padding:0 0 0 12px}
  .tm-grid,.tm-footer-grid{grid-template-columns:1fr}
  .tm-news .tm-container{flex-direction:column;align-items:flex-start}
  .tm-news__form{max-width:none;width:100%}
}

/* ==========================================================================
   Bloc d'offre partenaire (.tm-deal) + barre collante (.tm-deal-bar)
   ========================================================================== */
.tm-deal{max-width:var(--read);margin:2em auto 2.2em;background:var(--ink-2);color:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden;position:relative}
.tm-deal::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--orange),#ff8a4c 55%,var(--blue))}
.tm-deal__logo{display:block;height:28px;width:auto}
.tm-deal__top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 26px 0}
.tm-deal__flag{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:var(--orange);color:#fff;font-family:var(--font-head);font-weight:700;font-size:.78rem;letter-spacing:.03em;text-transform:uppercase}
.tm-deal__merchant{font-family:var(--font-head);font-weight:700;font-size:1.05rem;color:#fff;opacity:.92}
.tm-deal__grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:26px;padding:16px 26px 22px;align-items:center}
.tm-article-body .tm-deal p{margin:0;max-width:none}
.tm-article-body .tm-deal .tm-deal__title{font-family:var(--font-head);font-weight:700;font-size:1.4rem;line-height:1.25;color:#fff;margin:0 0 .7em}
.tm-article-body .tm-deal ul.tm-deal__points{list-style:none;margin:0;padding:0;max-width:none}
.tm-article-body .tm-deal .tm-deal__points li{position:relative;padding-left:30px;margin:0 0 .55em;color:#d5dbe1;font-size:.97rem;line-height:1.5}
.tm-deal__points li::marker{content:""}
.tm-deal__points li::before{content:"";position:absolute;left:0;top:.18em;width:19px;height:19px;border-radius:50%;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat}
.tm-deal__buy{background:#262e35;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);padding:18px;text-align:center}
.tm-article-body .tm-deal .tm-deal__amount{display:block;font-family:var(--font-head);font-weight:700;font-size:2.1rem;line-height:1;color:#fff}
.tm-article-body .tm-deal .tm-deal__unit{display:block;margin:.5em 0 1em;color:#aab3bb;font-size:.86rem;line-height:1.4}
.tm-article-body a.tm-deal__btn,.tm-deal-bar a.tm-deal__btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:15px 18px;border-radius:999px;background:var(--orange);color:#fff;font-family:var(--font-head);font-weight:700;font-size:1.02rem;text-decoration:none;box-shadow:0 10px 24px rgba(244,90,42,.38);transition:.18s ease}
.tm-article-body a.tm-deal__btn:hover,.tm-deal-bar a.tm-deal__btn:hover{background:var(--orange-d);transform:translateY(-2px);color:#fff}
.tm-deal__btn span{transition:transform .18s ease}
.tm-deal__btn:hover span{transform:translateX(3px)}
.tm-article-body .tm-deal .tm-deal__foot{padding:11px 26px;border-top:1px solid rgba(255,255,255,.08);color:#8b949c;font-size:.78rem}
@media(max-width:700px){
  .tm-deal__grid{grid-template-columns:1fr;gap:18px;padding:14px 18px 18px}
  .tm-deal__top{padding:22px 18px 0}
  .tm-article-body .tm-deal .tm-deal__title{font-size:1.22rem}
  .tm-article-body .tm-deal .tm-deal__foot{padding:10px 18px}
}
.tm-deal-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(27,33,38,.97);backdrop-filter:blur(8px);border-top:3px solid var(--orange);box-shadow:0 -10px 30px rgba(27,33,38,.25);transform:translateY(110%);transition:transform .3s ease}
.tm-deal-bar.is-on{transform:none}
.tm-deal-bar__in{max-width:var(--maxw);margin:0 auto;display:flex;align-items:center;gap:16px}
.tm-deal-bar__txt{flex:1 1 auto;min-width:0;color:#fff;line-height:1.3}
.tm-deal-bar__merchant{display:block;color:var(--orange);font-family:var(--font-head);font-weight:700;font-size:.74rem;text-transform:uppercase;letter-spacing:.04em}
.tm-deal-bar__label{display:block;font-family:var(--font-head);font-weight:700;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-deal-bar a.tm-deal__btn{flex:0 0 auto;width:auto;padding:12px 22px;font-size:.95rem}
.tm-deal-bar__x{flex:0 0 auto;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:18px;line-height:1;cursor:pointer}
.tm-deal-bar__x:hover{background:rgba(255,255,255,.2)}
@media(max-width:560px){
  .tm-deal-bar__in{gap:10px}
  .tm-deal-bar__label{font-size:.88rem;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .tm-deal-bar a.tm-deal__btn{padding:11px 16px;font-size:.9rem}
}

/* Variante NordVPN */
.tm-deal--nord{background:#0a1030 radial-gradient(120% 140% at 100% 0%,#1f3fa8 0%,#101a4a 42%,#0a1030 75%)}
.tm-deal--nord::before{background:linear-gradient(90deg,#4580ff,#7fa8ff)}
.tm-deal--nord .tm-deal__flag{background:rgba(69,128,255,.18);color:#bcd0ff;border:1px solid rgba(127,168,255,.45)}
.tm-deal--nord .tm-deal__points li::before{background-color:#4580ff}
.tm-deal--nord .tm-deal__buy{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.tm-article-body .tm-deal--nord a.tm-deal__btn,.tm-deal-bar--nord a.tm-deal__btn{background:#4580ff;box-shadow:0 10px 26px rgba(69,128,255,.45)}
.tm-article-body .tm-deal--nord a.tm-deal__btn:hover,.tm-deal-bar--nord a.tm-deal__btn:hover{background:#2f6bf0}
.tm-article-body .tm-deal--nord .tm-deal__unit{color:#b9c4e6}
.tm-article-body .tm-deal--nord .tm-deal__points li{color:#dbe2f7}
.tm-deal-bar--nord{background:rgba(10,16,48,.97);border-top-color:#4580ff}
.tm-deal-bar--nord .tm-deal-bar__merchant{color:#7fa8ff}
.tm-article-body .tm-deal img.tm-deal__logo{margin:0;border-radius:0;box-shadow:none;max-width:none;height:28px;width:auto}

/* Variantes de marque du bloc d'offre */
.tm-deal--paj{background:#0d1622 radial-gradient(120% 140% at 100% 0%,#33506e 0%,#1a2839 45%,#0d1622 82%)}
.tm-deal--paj::before{background:linear-gradient(90deg,#f05123,#ff8a4c)}
.tm-deal--paj .tm-deal__flag{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tm-deal--paj .tm-deal__points li::before{background-color:#f05123}
.tm-deal--paj .tm-deal__buy{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.tm-article-body .tm-deal--paj a.tm-deal__btn,.tm-deal-bar--paj a.tm-deal__btn{background:#f05123;color:#fff;box-shadow:0 10px 26px rgba(240,81,35,.4)}
.tm-article-body .tm-deal--paj a.tm-deal__btn:hover,.tm-deal-bar--paj a.tm-deal__btn:hover{background:#d8410f;color:#fff}
.tm-article-body .tm-deal--paj .tm-deal__unit{color:rgba(255,255,255,.72)}
.tm-article-body .tm-deal--paj .tm-deal__points li{color:rgba(255,255,255,.88)}
.tm-article-body .tm-deal--paj img.tm-deal__logo{height:32px}
.tm-deal-bar--paj{border-top-color:#f05123}
.tm-deal-bar--paj .tm-deal-bar__merchant{color:#f05123}
.tm-deal--vodafone{background:#a30000 radial-gradient(120% 140% at 100% 0%,#ff3b3b 0%,#e60000 42%,#a30000 88%)}
.tm-deal--vodafone::before{background:linear-gradient(90deg,#ffffff,#ffd0d0)}
.tm-deal--vodafone .tm-deal__flag{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tm-deal--vodafone .tm-deal__points li::before{background-color:rgba(255,255,255,.28)}
.tm-deal--vodafone .tm-deal__buy{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.tm-article-body .tm-deal--vodafone a.tm-deal__btn,.tm-deal-bar--vodafone a.tm-deal__btn{background:#fff;color:#e60000;box-shadow:0 10px 26px rgba(80,0,0,.4)}
.tm-article-body .tm-deal--vodafone a.tm-deal__btn:hover,.tm-deal-bar--vodafone a.tm-deal__btn:hover{background:#ffe9e9;color:#e60000}
.tm-article-body .tm-deal--vodafone .tm-deal__unit{color:rgba(255,255,255,.72)}
.tm-article-body .tm-deal--vodafone .tm-deal__points li{color:rgba(255,255,255,.88)}
.tm-article-body .tm-deal--vodafone img.tm-deal__logo{height:28px}
.tm-deal-bar--vodafone{border-top-color:#e60000}
.tm-deal-bar--vodafone .tm-deal-bar__merchant{color:#ff6b6b}
.tm-deal--incogni{background:#0b1550 radial-gradient(130% 150% at 100% 0%,#17c482 0%,#0e8f6f 30%,#10206a 78%,#0b1550 100%)}
.tm-deal--incogni::before{background:linear-gradient(90deg,#17c482,#2a35f5)}
.tm-deal--incogni .tm-deal__flag{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tm-deal--incogni .tm-deal__points li::before{background-color:#17c482}
.tm-deal--incogni .tm-deal__buy{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.tm-article-body .tm-deal--incogni a.tm-deal__btn,.tm-deal-bar--incogni a.tm-deal__btn{background:#2a35f5;color:#fff;box-shadow:0 10px 26px rgba(42,53,245,.4)}
.tm-article-body .tm-deal--incogni a.tm-deal__btn:hover,.tm-deal-bar--incogni a.tm-deal__btn:hover{background:#1c26d8;color:#fff}
.tm-article-body .tm-deal--incogni .tm-deal__unit{color:rgba(255,255,255,.72)}
.tm-article-body .tm-deal--incogni .tm-deal__points li{color:rgba(255,255,255,.88)}
.tm-article-body .tm-deal--incogni img.tm-deal__logo{height:26px}
.tm-deal-bar--incogni{border-top-color:#2a35f5}
.tm-deal-bar--incogni .tm-deal-bar__merchant{color:#2a35f5}
.tm-deal--rebuy{background:#18222d radial-gradient(120% 140% at 100% 0%,#2f6f7a 0%,#26384a 45%,#18222d 85%)}
.tm-deal--rebuy::before{background:linear-gradient(90deg,#2fd0e0,#a6e8ed)}
.tm-deal--rebuy .tm-deal__flag{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tm-deal--rebuy .tm-deal__points li::before{background-color:#18a9ba}
.tm-deal--rebuy .tm-deal__buy{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.tm-article-body .tm-deal--rebuy a.tm-deal__btn,.tm-deal-bar--rebuy a.tm-deal__btn{background:#2fd0e0;color:#12202c;box-shadow:0 10px 26px rgba(47,208,224,.4)}
.tm-article-body .tm-deal--rebuy a.tm-deal__btn:hover,.tm-deal-bar--rebuy a.tm-deal__btn:hover{background:#59dbe8;color:#12202c}
.tm-article-body .tm-deal--rebuy .tm-deal__unit{color:rgba(255,255,255,.72)}
.tm-article-body .tm-deal--rebuy .tm-deal__points li{color:rgba(255,255,255,.88)}
.tm-article-body .tm-deal--rebuy img.tm-deal__logo{height:34px}
.tm-deal-bar--rebuy{border-top-color:#2fd0e0}
.tm-deal-bar--rebuy .tm-deal-bar__merchant{color:#2fd0e0}
.tm-deal--agan{background:#141f1e radial-gradient(120% 140% at 100% 0%,#3d5a57 0%,#1d2c2b 45%,#141f1e 85%)}
.tm-deal--agan::before{background:linear-gradient(90deg,#ffcb08,#d83434)}
.tm-deal--agan .tm-deal__flag{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tm-deal--agan .tm-deal__points li::before{background-color:#d83434}
.tm-deal--agan .tm-deal__buy{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.tm-article-body .tm-deal--agan a.tm-deal__btn,.tm-deal-bar--agan a.tm-deal__btn{background:#ffcb08;color:#1d2c2b;box-shadow:0 10px 26px rgba(255,203,8,.4)}
.tm-article-body .tm-deal--agan a.tm-deal__btn:hover,.tm-deal-bar--agan a.tm-deal__btn:hover{background:#ffd83d;color:#1d2c2b}
.tm-article-body .tm-deal--agan .tm-deal__unit{color:rgba(255,255,255,.72)}
.tm-article-body .tm-deal--agan .tm-deal__points li{color:rgba(255,255,255,.88)}
.tm-article-body .tm-deal--agan img.tm-deal__logo{height:15px}
.tm-deal-bar--agan{border-top-color:#ffcb08}
.tm-deal-bar--agan .tm-deal-bar__merchant{color:#ffcb08}
/* Lyca Mobile : marine #1c217a + vert #08dc7d relevés sur lycamobile.fr */
.tm-deal--lyca{background:#12155c radial-gradient(130% 150% at 100% 0%,#3a43c9 0%,#1c217a 46%,#12155c 100%)}
.tm-deal--lyca::before{background:linear-gradient(90deg,#08dc7d,#2f6bff)}
.tm-deal--lyca .tm-deal__flag{background:#ffdd64;color:#1c217a;border:1px solid #ffdd64}
.tm-deal--lyca .tm-deal__points li::before{background-color:#08dc7d}
.tm-deal--lyca .tm-deal__buy{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.tm-article-body .tm-deal--lyca a.tm-deal__btn,.tm-deal-bar--lyca a.tm-deal__btn{background:#08dc7d;color:#12155c;box-shadow:0 10px 26px rgba(8,220,125,.32)}
.tm-article-body .tm-deal--lyca a.tm-deal__btn:hover,.tm-deal-bar--lyca a.tm-deal__btn:hover{background:#2cf096;color:#12155c}
.tm-article-body .tm-deal--lyca .tm-deal__unit{color:rgba(255,255,255,.72)}
.tm-article-body .tm-deal--lyca .tm-deal__points li{color:rgba(255,255,255,.88)}
.tm-article-body .tm-deal--lyca img.tm-deal__logo{height:30px;width:auto}
.tm-deal-bar--lyca{border-top-color:#08dc7d}
.tm-deal-bar--lyca .tm-deal-bar__merchant{color:#08dc7d}

/* Variantes de marque du bloc d'offre : Kaspersky, NordPass (v1.0.5) */
.tm-deal--kaspersky{background:#1d1d1b radial-gradient(130% 150% at 100% 0%,#23d1ae 0%,#00a88e 26%,#12473f 62%,#1d1d1b 100%)}
.tm-deal--kaspersky::before{background:linear-gradient(90deg,#23d1ae,#00a88e)}
.tm-deal--kaspersky .tm-deal__flag{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tm-deal--kaspersky .tm-deal__points li::before{background-color:#23d1ae}
.tm-deal--kaspersky .tm-deal__buy{background:rgba(29,29,27,.45);border-color:rgba(255,255,255,.18)}
.tm-article-body .tm-deal--kaspersky a.tm-deal__btn,.tm-deal-bar--kaspersky a.tm-deal__btn{background:#fff;color:#1d1d1b;box-shadow:0 10px 26px rgba(0,0,0,.3)}
.tm-article-body .tm-deal--kaspersky a.tm-deal__btn:hover,.tm-deal-bar--kaspersky a.tm-deal__btn:hover{background:#23d1ae;color:#1d1d1b}
.tm-article-body .tm-deal--kaspersky .tm-deal__unit{color:rgba(255,255,255,.78)}
.tm-article-body .tm-deal--kaspersky .tm-deal__points li{color:rgba(255,255,255,.9)}
.tm-article-body .tm-deal--kaspersky img.tm-deal__logo{height:24px}
.tm-deal--nordpass{background:#191a1c radial-gradient(130% 150% at 100% 0%,#00cfb6 0%,#0a8f80 24%,#17423f 58%,#191a1c 100%)}
.tm-deal--nordpass::before{background:linear-gradient(90deg,#00cfb6,#7fe7da)}
.tm-deal--nordpass .tm-deal__flag{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.tm-deal--nordpass .tm-deal__points li::before{background-color:#00cfb6}
.tm-deal--nordpass .tm-deal__buy{background:rgba(25,26,28,.5);border-color:rgba(255,255,255,.18)}
.tm-article-body .tm-deal--nordpass a.tm-deal__btn,.tm-deal-bar--nordpass a.tm-deal__btn{background:#00cfb6;color:#191a1c;box-shadow:0 10px 26px rgba(0,207,182,.35)}
.tm-article-body .tm-deal--nordpass a.tm-deal__btn:hover,.tm-deal-bar--nordpass a.tm-deal__btn:hover{background:#7fe7da;color:#191a1c}
.tm-article-body .tm-deal--nordpass .tm-deal__unit{color:rgba(255,255,255,.78)}
.tm-article-body .tm-deal--nordpass .tm-deal__points li{color:rgba(255,255,255,.9)}
.tm-article-body .tm-deal--nordpass img.tm-deal__logo{height:28px}
