/*
Theme Name:     Super invest
Theme URI:      https://example.com/finance-bleu
Author:         Mathieu
Author URI:     https://example.com
Description:    Thème WordPress ludique "Les Investisseurs Affranchis" en tons bleus. Conçu pour les sites de finance personnelle, comparatifs et blogs de conseils. Inclut shortcodes d'encadrés (focus, tldr, info, warning, error) et blocs avantages/inconvénients.
Version:        1.0.0
Requires at least: 6.0
Tested up to:   6.5
Requires PHP:   7.4
License:        GPL v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    financebleu
Tags:           blog, finance, two-columns, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Les Investisseurs Affranchis Thème (palette bleue)
   ========================================================================== */

:root {
    /* === Bleus (la marque) === */
    --blue: #1B75CE;
    --blue-dark: #0D4A8A;
    --blue-deep: #072E5C;
    --blue-light: #62B5F5;
    --blue-50:  #EAF4FD;
    --blue-100: #D2E6FA;
    --blue-200: #A5CEF3;

    /* === Orange (CTA, contraste héroïque) === */
    --orange: #FF7A2B;
    --orange-dark: #E55F0F;
    --orange-light: #FFB581;
    --orange-50: #FFF2E8;

    /* === Jaune (médaille / lauriers) === */
    --gold: #FFC93C;
    --gold-dark: #E0A500;

    /* === Neutres / texte === */
    --ink: #0E2138;
    --ink-2: #3E4B63;
    --ink-3: #7C8AA1;
    --paper: #FFFFFF;
    --cream: #FFF9EF;
    --line: #E4EAF2;
    --bg: #F7FAFD;

    /* === Statuts (encadrés) === */
    --info: #1B9FC7;
    --info-bg: #E6F7FC;
    --success: #1CAE6A;
    --success-bg: #E6F9EF;
    --warn: #F2A227;
    --warn-bg: #FFF4DE;
    --danger: #E8433E;
    --danger-bg: #FDECEB;

    /* === Layout === */
    --w: 1180px;
    --w-article: var(--w);
    --r: 14px;
    --r-lg: 24px;
    --r-xl: 36px;

    --shadow-card: 0 6px 0 #0E2138; /* ombre dure "bande dessinée" */
    --shadow-soft: 0 10px 30px rgba(14, 33, 56, 0.08);
    --shadow-pop: 0 14px 0 #0E2138;

    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 5%, rgba(98, 181, 245, 0.12) 0, transparent 35%),
        radial-gradient(circle at 95% 30%, rgba(255, 122, 43, 0.08) 0, transparent 35%),
        var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: .2s ease; }
a:hover { color: var(--blue-dark); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3, h4, h5 {
    font-family: var(--font);
    color: var(--ink);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.wrap-tight { max-width: var(--w-article); margin: 0 auto; padding: 0 24px; }

/* ===== Boutons "pop" avec ombre dure ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    cursor: pointer;
    border: 2px solid var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
    text-decoration: none;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }

.btn-ghost { background: transparent; }

.btn-sm { padding: 9px 18px; font-size: .88rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
    background: var(--blue-deep);
    color: #fff;
    font-size: .82rem;
    padding: 7px 0;
    font-weight: 500;
}
.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.topbar a { color: var(--gold); font-weight: 600; }
.topbar a:hover { color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 3px solid var(--ink);
}
.header-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--ink);
    font-family: var(--font);
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--ink); }
.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--blue);
    border: 2.5px solid var(--ink);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 3px 3px 0 var(--ink);
    position: relative;
    overflow: hidden;
}
.logo-mark svg { width: 30px; height: 30px; }
.logo .brand-accent { color: var(--orange); }

.primary-nav {
    display: flex;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
.primary-nav > li { position: relative; }
.primary-nav > li > a {
    display: block;
    padding: 10px 14px;
    color: var(--ink);
    font-weight: 600;
    font-size: .92rem;
    border-radius: 10px;
}
.primary-nav > li > a:hover {
    background: var(--blue-50);
    color: var(--blue-dark);
}
.primary-nav > li.has-sub > a::after {
    content: '▾';
    font-size: .65em;
    margin-left: 4px;
    color: var(--ink-3);
}
.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    min-width: 230px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .2s ease;
    box-shadow: 5px 5px 0 var(--ink);
}
.primary-nav > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu a {
    display: block;
    padding: 9px 12px;
    color: var(--ink);
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 500;
}
.submenu a:hover { background: var(--blue-50); color: var(--blue-dark); }

/* ==========================================================================
   HERO façon bande dessinée
   ========================================================================== */
.hero {
    position: relative;
    padding: 56px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 30%, rgba(255, 201, 60, 0.18) 0, transparent 40%),
        linear-gradient(180deg, var(--blue-50), transparent 70%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(var(--blue-200) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    opacity: .35;
    mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 2px solid var(--ink);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    margin-bottom: 22px;
    transform: rotate(-1.5deg);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.hero h1 {
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    text-wrap: balance;
    hyphens: auto;
}
.hero-lead { text-wrap: pretty; }
.hero h1 .u, .hero h1 u {
    position: relative;
    display: inline-block;
    z-index: 1;
    text-decoration: none;
}
.hero h1 .u::after, .hero h1 u::after {
    content: '';
    position: absolute;
    left: -4px; right: -4px;
    bottom: 4px;
    height: 14px;
    background: var(--gold);
    z-index: -1;
    border-radius: 2px;
    transform: skew(-6deg);
}
.hero h1 .u-blue::after, .hero h1 u.u-blue::after { background: var(--blue-200); }

.hero-lead {
    font-size: 1.15rem;
    color: var(--ink-2);
    max-width: 520px;
    margin-bottom: 26px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--ink-2);
    font-weight: 500;
}
.hero-badge .stars { color: var(--gold-dark); letter-spacing: 2px; font-size: 1rem; }
.hero-badge strong { color: var(--ink); font-weight: 800; }

/* Personnage mascotte central */
.hero-illu {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
}
.hero-illu .hero-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 0 rgba(14, 33, 56, 0.08));
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-illu .bg-blob {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 90%;
    aspect-ratio: 1;
    background: var(--blue-100);
    border-radius: 50%;
    z-index: 1;
}
/* Étoiles décoratives */
.spark { position: absolute; color: var(--gold); font-size: 1.4rem; z-index: 3; animation: spark 3s infinite; }
.spark.s1 { top: 8%;  left: 6%;  animation-delay: 0s; }
.spark.s2 { top: 18%; right: 10%; font-size: 2rem; animation-delay: 0.6s; }
.spark.s3 { bottom: 14%; left: 12%; font-size: 1.1rem; animation-delay: 1.2s; color: var(--orange); }
.spark.s4 { bottom: 20%; right: 8%; animation-delay: 1.8s; color: var(--blue); }
@keyframes spark {
    0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
    50% { transform: scale(1.3) rotate(15deg); opacity: .7; }
}

/* ==========================================================================
   BANDE LOGOS ("comme vu dans")
   ========================================================================== */
.press-band {
    background: var(--ink);
    color: #9DB0CB;
    padding: 20px 0;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}
.press-band .wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.press-band strong { color: #fff; letter-spacing: .08em; }
.press-band span.sep { opacity: .4; }
.press-band > .wrap > span:first-child { opacity: .7; }
.press-band img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.press-band a { display: inline-flex; align-items: center; color: inherit; transition: opacity .2s; }
.press-band a:hover { opacity: .7; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 90px 0; position: relative; }
.section-cream { background: var(--cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section-blue-deep {
    background: var(--blue-deep);
    color: #fff;
}
.section-blue-deep h2, .section-blue-deep h3 { color: #fff; }

.section-head { text-align: center; margin-bottom: 54px; max-width: 720px; margin-left: auto; margin-right: auto; }
.kicker {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 2px solid var(--ink);
    transform: rotate(-1deg);
}
.kicker-blue { background: var(--blue); }
.section-head h2 .u {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.section-head h2 .u::after {
    content: '';
    position: absolute;
    left: -4px; right: -4px;
    bottom: 6px;
    height: 14px;
    background: var(--gold);
    border-radius: 2px;
    z-index: -1;
    transform: skew(-6deg);
}
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

/* ===== Comparatifs 3 blocs ===== */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.compare-card {
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    box-shadow: 6px 6px 0 var(--ink);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}
.compare-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.compare-card .cc-icon {
    width: 54px; height: 54px;
    background: var(--blue-50);
    border: 2.5px solid var(--ink);
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: 3px 3px 0 var(--ink);
}
.compare-card:nth-child(1) .cc-icon { background: #DCF0FF; }
.compare-card:nth-child(2) .cc-icon { background: var(--orange-50); }
.compare-card:nth-child(3) .cc-icon { background: #FFF4D6; }
.compare-card h3 { margin-bottom: 14px; }
.compare-card ul li {
    padding: 10px 0;
    border-bottom: 1.5px dashed var(--line);
    font-weight: 500;
}
.compare-card ul li:last-child { border-bottom: none; }
.compare-card ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
    font-size: .95rem;
}
.compare-card ul li a::after {
    content: '→';
    color: var(--orange);
    font-weight: 800;
    transition: transform .2s;
}
.compare-card ul li a:hover { color: var(--blue-dark); }
.compare-card ul li a:hover::after { transform: translateX(4px); }

/* ==========================================================================
   EXPERTS cartes mascottes
   ========================================================================== */
.experts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.experts > .expert { flex: 1 1 220px; max-width: 260px; }
.expert {
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 24px 20px 22px;
    text-align: center;
    box-shadow: 6px 6px 0 var(--ink);
    transition: .2s;
    position: relative;
}
.expert:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.expert:nth-child(1) { background: #EAF4FD; }
.expert:nth-child(2) { background: #FFF4DE; }
.expert:nth-child(3) { background: #FFEEE3; }
.expert:nth-child(4) { background: #E8F7EE; }

.hero-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    position: relative;
}
.hero-avatar svg { width: 100%; height: 100%; }
.hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ink);
    background: var(--cream);
}
.hero-avatar .cape-shadow {
    position: absolute;
    inset: auto 0 -6px 0;
    height: 14px;
    background: var(--ink);
    border-radius: 50%;
    opacity: .2;
    filter: blur(4px);
}
.expert h3 { margin-bottom: 2px; font-size: 1.05rem; }
.expert-specialty {
    color: var(--blue-dark);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.expert .btn { font-size: .82rem; padding: 8px 18px; }

/* ==========================================================================
   GUIDES numérotés
   ========================================================================== */
.guides {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.guide {
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 30px 28px;
    box-shadow: 6px 6px 0 var(--ink);
    position: relative;
    transition: .2s;
    overflow: hidden;
}
.guide:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.guide-num {
    position: absolute;
    top: -12px;
    right: 16px;
    width: 54px;
    height: 54px;
    background: var(--orange);
    color: #fff;
    border: 2.5px solid var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 3px 3px 0 var(--ink);
    transform: rotate(-6deg);
}
.guide:nth-child(2n) .guide-num { background: var(--blue); }
.guide:nth-child(3n) .guide-num { background: var(--gold); color: var(--ink); }
.guide h3 {
    padding-right: 50px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.guide p { color: var(--ink-2); font-size: .96rem; margin-bottom: 16px; }
.guide a.g-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--orange-dark);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.guide a.g-link::after { content: '→'; transition: transform .2s; }
.guide a.g-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   ARTICLES
   ========================================================================== */
.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
}
.tab {
    background: #fff;
    border: 2px solid var(--ink);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    color: var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    transition: .15s;
    font-family: var(--font);
}
.tab:hover, .tab.active {
    background: var(--blue);
    color: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--ink);
}

.articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.post {
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 6px 6px 0 var(--ink);
    display: flex;
    flex-direction: column;
    transition: .2s;
}
.post:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.post-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: 2.5px solid var(--ink);
    position: relative;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover .post-thumb img { transform: scale(1.07); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.cat-pill {
    display: inline-block;
    background: var(--blue-100);
    border: 2px solid var(--ink);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 12px;
}
.cat-pill.orange { background: var(--orange-50); color: var(--orange-dark); }
.cat-pill.gold { background: #FFF4D6; color: var(--gold-dark); }
.cat-pill.green { background: var(--success-bg); color: var(--success); }
.post-body h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.3; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--blue); }
.excerpt { color: var(--ink-2); font-size: .92rem; margin-bottom: 16px; flex: 1; }
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1.5px dashed var(--line);
    font-size: .82rem;
    color: var(--ink-3);
}
.post-meta-info { display: inline-flex; align-items: center; gap: 8px; }
.post-meta-info .post-author + .post-date::before { content: '·'; margin-right: 6px; color: var(--ink-3); }
.post-meta-info .post-author { font-weight: 700; color: var(--ink-2); }
.post-author-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--blue-50);
    border: 2px solid var(--ink);
    flex-shrink: 0;
}
.post-author-icon img, .post-author-icon svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.read { color: var(--orange-dark); font-weight: 800; }

/* ==========================================================================
   BANNIERE CTA
   ========================================================================== */
.hero-banner {
    background: var(--blue);
    border: 3px solid var(--ink);
    border-radius: var(--r-xl);
    color: #fff;
    padding: 48px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    position: relative;
    box-shadow: 10px 10px 0 var(--ink);
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--orange);
    opacity: .4;
}
.hero-banner h2 { color: #fff; margin-bottom: 8px; }
.hero-banner p { color: rgba(255, 255, 255, .9); margin: 0; max-width: 560px; }
.hero-banner-actions { display: flex; gap: 12px; position: relative; z-index: 2; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--blue-deep);
    color: #B8C9E0;
    padding: 70px 0 24px;
    border-top: 3px solid var(--ink);
}
.disclaimer {
    background: rgba(255, 255, 255, .05);
    border: 2px solid var(--gold);
    padding: 16px 20px;
    border-radius: var(--r);
    font-size: .82rem;
    line-height: 1.55;
    margin-bottom: 38px;
    color: #D3DDEB;
}
.disclaimer strong { color: var(--gold); }

.footer-grid {
    display: grid;
    grid-template-columns: 2.4fr repeat(3, 1fr);
    gap: 44px;
    margin-bottom: 42px;
}
.footer-brand { max-width: 460px; }
.footer-brand .logo { color: #fff; margin-bottom: 18px; font-size: 1.15em; }
.footer-brand p { font-size: 1rem; color: #9DB0CB; line-height: 1.55; }
.footer-col h4 {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
    font-weight: 800;
}
.footer-col ul li { margin-bottom: 9px; font-size: .9rem; }
.footer-col a { color: #B8C9E0; }
.footer-col a:hover { color: var(--orange-light); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    display: grid; place-items: center;
    color: #fff;
    font-weight: 700;
}
.socials a:hover { background: var(--orange); border-color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .82rem;
    color: #7D92B2;
}
.footer-bottom a { color: #B8C9E0; transition: color .15s; }
.footer-bottom a:hover { color: var(--orange-light); }
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-menu li { margin: 0; }

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */
.crumb {
    background: var(--blue-50);
    border-bottom: 2px solid var(--ink);
    padding: 14px 0;
    font-size: .85rem;
    font-weight: 500;
}
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--blue); }
.crumb .sep { margin: 0 8px; color: var(--ink-3); }

.article-hero {
    position: relative;
    padding: 56px 0 32px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 201, 60, 0.18) 0, transparent 35%),
        linear-gradient(180deg, var(--blue-50), #fff);
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--blue-200) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    opacity: .3;
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    pointer-events: none;
}
.article-hero .wrap-tight { position: relative; }
.article-hero-inner { display: block; }
.article-hero-inner.has-thumb {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: center;
}
.article-hero-thumb img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 3px solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: 8px 8px 0 var(--ink);
    transform: rotate(1.5deg);
    background: var(--blue-50);
}
@media (max-width: 820px) {
    .article-hero-inner.has-thumb { grid-template-columns: 1fr; gap: 24px; }
    .article-hero-thumb { max-width: 320px; margin: 0 auto; }
    .article-hero-thumb img { transform: rotate(0); }
}
.cat-big {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    border: 2.5px solid var(--ink);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 3px 3px 0 var(--ink);
    transform: rotate(-1.5deg);
}
.article-title {
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.12;
    margin-bottom: 18px;
}
.article-title .u {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.article-title .u::after {
    content: '';
    position: absolute;
    left: -4px; right: -4px;
    bottom: 4px;
    height: 12px;
    background: var(--gold);
    z-index: -1;
    transform: skew(-6deg);
}
.chapo {
    font-size: 1.1rem;
    color: var(--ink-2);
    max-width: 720px;
    margin-bottom: 26px;
}
.article-meta-top {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .9rem;
}
.avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--blue);
    border: 2.5px solid var(--ink);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--ink);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar svg { width: 100%; height: 100%; display: block; }
.by { font-weight: 700; color: var(--ink); display: block; }
.dated { color: var(--ink-3); font-size: .85rem; }

.lead-image {
    max-width: var(--w);
    margin: 0 auto 50px;
    padding: 0 24px;
}
.lead-image img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    border: 3px solid var(--ink);
    border-radius: var(--r-xl);
    box-shadow: 10px 10px 0 var(--ink);
}

/* ===== Layout ===== */
.a-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    max-width: var(--w);
    margin: 0 auto;
    padding: 48px 0 90px;
}

/* TOC */
.a-layout--no-toc { grid-template-columns: minmax(0, 1fr); }
.toc {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.toc li[data-level="h3"] { padding-left: 28px; }
.toc li[data-level="h4"] { padding-left: 42px; font-size: .95em; }
.toc li[data-level="h5"] { padding-left: 56px; font-size: .9em; }
.toc li[data-level="h6"] { padding-left: 70px; font-size: .85em; }
.toc h4 {
    font-size: .78rem;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: .08em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 6px;
}
.toc h4::before { content: '📍'; }
.toc ul li {
    padding: 5px 0 5px 14px;
    border-left: 3px solid var(--line);
    transition: .2s;
}
.toc ul li:hover, .toc ul li.active { border-left-color: var(--orange); }
.toc ul li a {
    color: var(--ink-2);
    font-size: .88rem;
    font-weight: 500;
    display: block;
}
.toc ul li a:hover, .toc ul li.active a { color: var(--blue-dark); font-weight: 700; }
.toc ul ul { margin-left: 6px; margin-top: 2px; }
.toc ul ul li { font-size: .82rem; }

/* Contenu */
.prose {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink);
    padding: 32px;
}
.prose h2 {
    font-size: 1.7rem;
    margin-top: 56px;
    margin-bottom: 20px;
    scroll-margin-top: 100px;
    position: relative;
    padding-left: 24px;
}
.prose h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 12px; height: 12px;
    background: var(--orange);
    border: 2px solid var(--ink);
    border-radius: 50%;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .u, .prose h2 u, .prose h3 .u, .prose h3 u {
    position: relative;
    display: inline-block;
    z-index: 1;
    text-decoration: none;
}
.prose h2 .u::after, .prose h2 u::after, .prose h3 .u::after, .prose h3 u::after {
    content: '';
    position: absolute;
    left: -3px; right: -3px;
    bottom: 2px;
    height: 10px;
    background: var(--gold);
    z-index: -1;
    border-radius: 2px;
    transform: skew(-6deg);
}
.prose h2 .u-blue::after, .prose h2 u.u-blue::after,
.prose h3 .u-blue::after, .prose h3 u.u-blue::after { background: var(--blue-200); }
.prose h3 {
    font-size: 1.25rem;
    margin-top: 36px;
    margin-bottom: 14px;
    color: var(--blue-dark);
    scroll-margin-top: 100px;
}
.prose p { margin-bottom: 1.2em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose ul li { list-style: none; position: relative; padding-left: 10px; }
.prose ul li::before {
    content: '▸';
    position: absolute;
    left: -14px;
    color: var(--orange);
    font-weight: 800;
}
.prose ol li { list-style: decimal; padding-left: 4px; }
.prose blockquote {
    margin: 28px 0;
    padding: 20px 26px 20px 62px;
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: 5px 5px 0 var(--ink);
    font-style: italic;
    font-size: 1.08rem;
    color: var(--ink);
    position: relative;
}
.prose blockquote::before {
    content: '"';
    position: absolute;
    left: 18px; top: -4px;
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--orange);
    line-height: 1;
    font-weight: 700;
}
.prose a:not(.btn) {
    color: var(--blue);
    font-weight: 600;
    background: linear-gradient(transparent 70%, var(--gold) 70%);
    background-size: 100% 100%;
    padding: 0 2px;
}
.prose a:not(.btn):hover { color: var(--blue-dark); }
.prose img, .prose figure img {
    width: 100%;
    border: 2.5px solid var(--ink);
    margin: 0 0 24px;
    box-shadow: 6px 6px 0 var(--ink);
}
.prose figure { margin: 32px 0; }
.prose figcaption {
    text-align: center;
    font-size: .88rem;
    color: var(--ink-3);
    margin-top: 10px;
    font-style: italic;
}

.prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 26px 0;
    font-size: .95rem;
    border: 2.5px solid var(--ink);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 5px 5px 0 var(--ink);
}
.prose th {
    background: var(--blue);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 800;
    border-bottom: 2.5px solid var(--ink);
}
.prose td {
    padding: 12px 16px;
    border-bottom: 1.5px solid var(--line);
    background: #fff;
}
.prose tr:last-child td { border-bottom: none; }
.prose tr:nth-child(even) td { background: var(--blue-50); }

/* ==========================================================================
   ENCADRÉS : .focus / .tldr / .info / .warning / .error
   (style BD, gros liseré noir, ombre dure)
   ========================================================================== */
.focus, .tldr, .info, .warning, .error {
    position: relative;
    margin: 32px 0;
    padding: 22px 26px 22px 72px;
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: 6px 6px 0 var(--ink);
    line-height: 1.6;
    font-size: 1rem;
}
.focus > :last-child,
.tldr > :last-child,
.info > :last-child,
.warning > :last-child,
.error > :last-child { margin-bottom: 0; }

.focus::before, .tldr::before, .info::before, .warning::before, .error::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2.5px solid var(--ink);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 3px 3px 0 var(--ink);
}
.box-label {
    display: block;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* FOCUS = bleu, étoile */
.focus { background: var(--blue-50); }
.focus::before { content: '★'; background: var(--blue); }
.focus .box-label { color: var(--blue-dark); }

/* TL;DR = jaune, lignes */
.tldr { background: var(--cream); }
.tldr::before { content: '≡'; background: var(--gold); color: var(--ink); font-size: 1.4rem; }
.tldr .box-label { color: var(--gold-dark); }

/* INFO = cyan "i" */
.info { background: var(--info-bg); }
.info::before { content: 'i'; background: var(--info); font-family: Georgia, serif; font-style: italic; }
.info .box-label { color: var(--info); }

/* WARNING = orange "!" */
.warning { background: var(--warn-bg); }
.warning::before { content: '!'; background: var(--warn); }
.warning .box-label { color: #9A6A12; }

/* ERROR = rouge "×" */
.error { background: var(--danger-bg); }
.error::before { content: '×'; background: var(--danger); font-size: 1.6rem; line-height: 1; }
.error .box-label { color: var(--danger); }

/* ==========================================================================
   AVANTAGES / INCONVÉNIENTS façon bulle BD
   ========================================================================== */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 36px 0;
}
.pros, .cons {
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 0;
    box-shadow: 6px 6px 0 var(--ink);
    overflow: hidden;
}
.pros h4, .cons h4 {
    margin: 0;
    padding: 14px 20px;
    color: #fff;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2.5px solid var(--ink);
}
.pros h4 { background: var(--success); }
.cons h4 { background: var(--danger); }
.pros h4::before, .cons h4::before {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ink);
    display: grid; place-items: center;
    font-weight: 900;
    font-size: 1rem;
}
.pros h4::before { content: '✓'; color: var(--success); }
.cons h4::before { content: '✕'; color: var(--danger); }
.pros ul, .cons ul { padding: 8px 20px 16px; margin: 0; }
.pros > *:not(h4):not(ul), .cons > *:not(h4):not(ul) { padding: 14px 20px; margin: 0; }
.pros > *:not(h4):not(ul) + *:not(h4):not(ul),
.cons > *:not(h4):not(ul) + *:not(h4):not(ul) { padding-top: 0; }
.pros ul li, .cons ul li {
    list-style: none;
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1.5px dashed var(--line);
    font-size: .96rem;
    line-height: 1.5;
}
.pros ul li::before, .cons ul li::before { left: 0; padding: 0; }
.pros ul li:last-child, .cons ul li:last-child { border-bottom: none; }
.pros ul li::before, .cons ul li::before {
    position: absolute;
    top: 11px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    display: grid; place-items: center;
    font-size: .65rem;
    font-weight: 900;
    color: #fff;
}
.pros ul li::before { content: '✓'; background: var(--success); }
.cons ul li::before { content: '✕'; background: var(--danger); }

/* ==========================================================================
   CARTE PRODUIT (BD) avec badge lauriers
   ========================================================================== */
.product {
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 26px 28px;
    margin: 36px 0;
    box-shadow: 7px 7px 0 var(--ink);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 26px;
    align-items: center;
    position: relative;
}
.laurels {
    position: absolute;
    top: -14px;
    left: 24px;
    background: var(--gold);
    color: var(--ink);
    padding: 5px 16px 5px 44px;
    border: 2.5px solid var(--ink);
    border-radius: 999px;
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    box-shadow: 3px 3px 0 var(--ink);
}
.laurels::before {
    content: '🏆';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}
.p-logo {
    width: 110px; height: 110px;
    border-radius: 18px;
    background: var(--blue-50);
    border: 2.5px solid var(--ink);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1rem;
    color: var(--blue-dark);
    text-align: center;
    padding: 10px;
    line-height: 1.15;
    box-shadow: 3px 3px 0 var(--ink);
}
.p-info h4 { margin-bottom: 4px; font-size: 1.2rem; }
.p-rating { color: var(--gold-dark); letter-spacing: 2px; margin-bottom: 6px; font-size: 1.05rem; }
.p-info p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.p-cta { text-align: center; }
.p-offer {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    border: 2.5px solid var(--ink);
    border-radius: 10px;
    padding: 4px 12px;
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 2px 2px 0 var(--ink);
}

/* ==========================================================================
   Article footer bits
   ========================================================================== */
.share-row {
    margin: 44px 0 28px;
    padding: 22px 24px;
    background: var(--cream);
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 5px 5px 0 var(--ink);
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    background: #fff;
    border: 2px solid var(--ink);
    color: var(--ink);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 2px 2px 0 var(--ink);
}
.share { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; }
.share a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: #fff;
    border: 2px solid var(--ink);
    color: var(--ink);
    border-radius: 50%;
    box-shadow: 2px 2px 0 var(--ink);
    transition: .15s;
}
.share a:hover { background: var(--blue); color: #fff; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }

.author-card {
    margin: 32px 0;
    padding: 18px 22px;
    background: var(--cream);
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    box-shadow: 6px 6px 0 var(--ink);
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}
.author-card .hero-avatar { width: 72px; height: 72px; margin: 0; }
.author-card .cape-shadow { display: none; }
.author-card h4 { margin: 0 0 2px; font-size: 1.05rem; }
.author-card .expert-specialty { margin-bottom: 4px; font-size: .72rem; }
.author-card p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.author-card .btn { white-space: nowrap; }
@media (max-width: 640px) {
    .author-card { grid-template-columns: 72px 1fr; grid-template-areas: 'avatar text' 'cta cta'; }
    .author-card .hero-avatar { grid-area: avatar; }
    .author-card .author-card-text { grid-area: text; }
    .author-card .btn { grid-area: cta; justify-self: start; }
}

.related { margin-top: 56px; }
.related h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ==========================================================================
   COMMENTS
   ========================================================================== */
.comments-area { margin-top: 56px; }
.comments-title, .comment-reply-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 800;
}
.comment-reply-title small { font-size: .75rem; font-weight: 600; margin-left: 12px; }
.comment-reply-title small a { color: var(--orange-dark); }

.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list li.comment, .comment-list li.pingback, .comment-list li.trackback {
    list-style: none;
    margin-bottom: 18px;
}
.comment-list .children { list-style: none; padding-left: 28px; margin-top: 18px; border-left: 3px dashed var(--line); }
.comment-body {
    background: #fff;
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 18px 22px;
    box-shadow: 4px 4px 0 var(--ink);
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-author .avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); flex-shrink: 0; }
.comment-author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-author .fn { font-weight: 800; color: var(--ink); font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .78rem; color: var(--ink-3); margin-bottom: 10px; }
.comment-metadata a { color: var(--ink-3); }
.comment-content p { margin: 0 0 .8em; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: 10px; }
.comment-reply-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 700;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    transition: .15s;
}
.comment-reply-link:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); background: var(--blue-50); color: var(--ink); }

.comment-respond {
    background: var(--cream);
    border: 2.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 26px 28px;
    box-shadow: 6px 6px 0 var(--ink);
}
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.comment-form label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2.5px solid var(--ink);
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: .95rem;
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    transition: box-shadow .15s, transform .15s;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    box-shadow: 5px 5px 0 var(--ink);
    transform: translate(-1px, -1px);
    border-color: var(--blue-dark);
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .form-submit { margin-top: 4px; }
.comment-form .submit,
.comment-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    cursor: pointer;
    border: 2px solid var(--ink);
    background: var(--orange);
    color: #fff;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .15s, box-shadow .15s, background .15s;
    font-family: inherit;
}
.comment-form .submit:hover,
.comment-form input[type="submit"]:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
    background: var(--orange-dark);
}
.comment-form .submit:active,
.comment-form input[type="submit"]:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--ink);
}
.comment-notes, .logged-in-as { font-size: .85rem; color: var(--ink-3); }
.logged-in-as a { color: var(--blue); font-weight: 700; }
.no-comments { color: var(--ink-3); font-style: italic; }

/* ==========================================================================
   FORMS (Contact Form 7 + génériques)
   ========================================================================== */
.wpcf7,
.page .entry-content form:not(.search-form):not(#commentform) {
    max-width: 720px;
    margin: 24px 0;
}
.wpcf7-form p,
.page .entry-content form p { margin: 0 0 18px; }
.wpcf7-form label,
.page .entry-content form label {
    display: block;
    font-weight: 700;
    font-size: .92rem;
    color: var(--ink);
    margin-bottom: 6px;
}
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea,
.page .entry-content form input[type="text"],
.page .entry-content form input[type="email"],
.page .entry-content form input[type="tel"],
.page .entry-content form input[type="url"],
.page .entry-content form input[type="number"],
.page .entry-content form select,
.page .entry-content form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2.5px solid var(--ink);
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: .98rem;
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    transition: box-shadow .15s, transform .15s, border-color .15s;
    line-height: 1.4;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.page .entry-content form input:focus,
.page .entry-content form select:focus,
.page .entry-content form textarea:focus {
    outline: none;
    box-shadow: 5px 5px 0 var(--ink);
    transform: translate(-1px, -1px);
    border-color: var(--blue-dark);
}
.wpcf7-form textarea,
.page .entry-content form textarea { min-height: 160px; resize: vertical; }

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    width: auto;
    margin-right: 8px;
    accent-color: var(--blue);
    transform: scale(1.15);
}
.wpcf7-list-item { display: inline-flex; align-items: center; margin-right: 18px; margin-bottom: 6px; }
.wpcf7-list-item label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }

.wpcf7-form input[type="submit"],
.wpcf7-submit,
.page .entry-content form button[type="submit"],
.page .entry-content form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    cursor: pointer;
    border: 2px solid var(--ink);
    background: var(--orange);
    color: #fff;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .15s, box-shadow .15s, background .15s;
    font-family: inherit;
    width: auto;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover,
.page .entry-content form button[type="submit"]:hover,
.page .entry-content form input[type="submit"]:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
    background: var(--orange-dark);
}
.wpcf7-form input[type="submit"]:active,
.wpcf7-submit:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--ink);
}

.wpcf7-spinner {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-left: 12px;
    border: 2.5px solid rgba(14, 33, 56, .2);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: fb-spin .8s linear infinite;
    background: none;
    opacity: 0;
}
.wpcf7-spinner.is-active { opacity: 1; }
@keyframes fb-spin { to { transform: rotate(360deg); } }

.wpcf7-not-valid-tip {
    color: var(--danger);
    font-size: .82rem;
    font-weight: 700;
    margin-top: 6px;
    display: block;
}
.wpcf7-form.invalid input:not([type="submit"]),
.wpcf7-form.invalid textarea,
.wpcf7-form.invalid select,
.wpcf7-not-valid {
    border-color: var(--danger) !important;
}

.wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 2.5px solid var(--ink) !important;
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 600;
    font-size: .92rem;
}
.wpcf7 form.sent .wpcf7-response-output    { background: var(--success-bg); color: #0E5C38; border-color: var(--success) !important; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output { background: var(--warn-bg); color: #7A4A00; border-color: var(--warn) !important; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output  { background: var(--danger-bg); color: #7A1A16; border-color: var(--danger) !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-illu { order: -1; min-height: 300px; }
    .compare-grid { grid-template-columns: 1fr 1fr; }
    .guides { grid-template-columns: 1fr 1fr; }
    .articles { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; max-width: 640px; }
    .a-layout { grid-template-columns: 1fr; }
    .toc { position: static; max-height: none; margin-bottom: 32px; }
    .hero-banner { grid-template-columns: 1fr; text-align: center; }
    .hero-banner-actions { justify-content: center; flex-wrap: wrap; }
    .product { grid-template-columns: auto 1fr; }
    .product .p-cta { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .topbar { display: none; }
    .primary-nav { display: none; }
    .compare-grid, .experts, .guides, .articles, .related-grid, .pros-cons { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .section { padding: 60px 0; }
    .hero { padding: 40px 0 56px; }
    .hero-banner { padding: 36px 28px; }
    .product { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .share-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .header-row .btn { display: none; }
    .press-band .wrap { gap: 16px; }
}
