/* ============================================================
   pages.css — Styles spécifiques aux pages secondaires tivizer.net
   ----------------------------------------------------------
   ⚠️  NE JAMAIS modifier style.css. Tout va ici.
   Hérite des variables CSS de style.css :
     --red, --red-deep, --blue, --blue-dark, --blue-deep,
     --yellow, --white, --grey-soft,
     --shadow-btn, --shadow-btn-blue, --shadow-card
   ============================================================ */

/* ============================================================
   ICÔNES SVG INLINE
   Usage : <svg class="ic" ...> pour 24px
   Variantes : .ic--sm (18px) · .ic--lg (32px) · .ic--xl (48px)
   fill:none + stroke:currentColor → hérite la couleur du parent
   ============================================================ */
.ic {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ic--sm { width: 18px; height: 18px; }
.ic--lg { width: 32px; height: 32px; }
.ic--xl { width: 48px; height: 48px; }

/* ============================================================
   MODULE 1 : .page-hero — hero compact pour pages internes
   ============================================================ */
.page-hero {
    position: relative;
    min-height: 45vh;
    color: var(--white);
    overflow: hidden;
    padding: 120px 60px 50px;
    background:
        linear-gradient(105deg, rgba(10,24,80,.92) 0%, rgba(10,45,168,.78) 45%, rgba(10,45,168,.35) 100%),
        url('../img/banner/hero-bg.webp') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero .page-hero-pretitle {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    box-shadow: var(--shadow-btn);
    margin-bottom: 18px;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 4px 18px rgba(0,0,0,.4);
}

.page-hero .page-hero-sub {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.45;
    opacity: .85;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   MODULE 2 : .page-section — conteneur générique
   ============================================================ */
.page-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
}

.page-section.--dark {
    background: var(--blue-dark);
    color: var(--white);
    max-width: 100%;
    padding-left: 60px;
    padding-right: 60px;
}

.page-section.--dark > * {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.page-section.--light {
    background: var(--grey-soft);
    color: #111;
    max-width: 100%;
    padding-left: 60px;
    padding-right: 60px;
}

.page-section.--light > * {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Section titles inside .page-section */
.page-section-title {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .01em;
    margin-bottom: 14px;
    color: #111;
}

.page-section-title em {
    color: var(--red);
    font-style: normal;
}

.page-section.--dark .page-section-title,
.page-section.--dark .page-section-sub {
    color: var(--white);
}

.page-section-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 40px;
}

/* ============================================================
   MODULE 3 : .breadcrumb — fil d'Ariane
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 14px;
    font-weight: 500;
    padding: 16px 60px;
    color: #6B7280;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #6B7280;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--red);
}

.breadcrumb .breadcrumb-sep {
    color: #9CA3AF;
    font-size: 16px;
    line-height: 1;
}

.breadcrumb .breadcrumb-current {
    color: #111;
    font-weight: 700;
}

/* ============================================================
   MODULE 4 : .legal-grid — layout 2 colonnes pages legals
   ============================================================ */
.legal-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
    margin-top: 36px;
    padding-left: 16px;
    position: relative;
    line-height: 1.2;
}

.legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--red);
    border-radius: 2px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 10px 0 14px 20px;
}

.legal-content ul li {
    font-size: 16px;
    color: #374151;
    line-height: 1.65;
    margin-bottom: 6px;
    list-style: disc;
}

/* Sidebar droite */
.legal-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.legal-sidebar h4 {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--red);
    letter-spacing: .04em;
    margin-bottom: 12px;
}

.legal-sidebar p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.legal-sidebar .sidebar-email {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 18px;
    word-break: break-all;
    transition: color .2s;
}

.legal-sidebar .sidebar-email:hover {
    color: var(--red);
}

.legal-sidebar .btn-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--blue-dark);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    box-shadow: var(--shadow-btn-blue);
    transition: transform .2s;
    width: 100%;
    justify-content: center;
}

.legal-sidebar .btn-sidebar:hover {
    transform: translateY(-2px);
}

.legal-sidebar .btn-sidebar svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
    flex-shrink: 0;
}

/* ============================================================
   MODULE 5 : .form-card — carte formulaire revendeur / affiliate
   ============================================================ */
.form-card {
    background: var(--white);
    border-radius: 22px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.form-card h3 {
    font-size: 26px;
    font-weight: 900;
    color: #111;
    margin-bottom: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.form-card .form-group {
    margin-bottom: 18px;
}

.form-card label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6B7280;
    margin-bottom: 6px;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    color: #111;
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    appearance: none;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(237,41,57,.12);
}

.form-card textarea {
    min-height: 100px;
    resize: vertical;
}

.form-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%236B7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 44px;
    cursor: pointer;
}

.form-card .btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--red);
    color: var(--white);
    padding: 20px 32px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: var(--shadow-btn);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform .2s, box-shadow .2s;
    margin-top: 8px;
}

.form-card .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(237,41,57,.55), 0 2px 6px rgba(0,0,0,.15);
}

.form-card .btn-submit svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    flex-shrink: 0;
}

/* ============================================================
   MODULE 6 : .steps-grid — étapes numérotées 1-2-3
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    background: var(--blue-dark);
    color: var(--white);
    padding: 32px 28px;
    border-radius: 18px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.step-card .step-num {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 12px;
    font-size: 26px;
    font-weight: 900;
    color: var(--white);
    text-align: center;
    line-height: 48px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-btn);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 10px;
    color: var(--white);
}

.step-card p {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,.75);
    line-height: 1.5;
}

/* ============================================================
   MODULE 7 : .device-hub-grid — hub des 6 pages installation
   ============================================================ */
.device-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    border: 2px solid #E5E7EB;
    color: #111;
    text-align: center;
    text-decoration: none;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.device-card:hover {
    border-color: var(--red);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(237,41,57,.18);
    color: #111;
}

.device-card svg {
    width: 64px;
    height: 64px;
    color: var(--blue);
    fill: var(--blue);
    display: block;
    margin: 0 auto 20px;
    transition: color .25s, fill .25s;
}

.device-card:hover svg {
    color: var(--red);
    fill: var(--red);
}

.device-card h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.device-card .device-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #6B7280;
    font-weight: 600;
}

.device-card .device-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--red);
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s, transform .25s;
}

.device-card:hover .device-arrow {
    opacity: 1;
    transform: scale(1);
}

.device-card .device-arrow svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
    color: var(--white);
    margin: 0;
}

/* ============================================================
   MODULE 8 : .howto-step — étape de guide d'installation
   ============================================================ */
.howto-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 28px;
    border-radius: 16px;
    background: var(--white);
    border: 2px solid #F3F4F6;
    margin-bottom: 20px;
    align-items: start;
    transition: border-color .2s, box-shadow .2s;
}

.howto-step:hover {
    border-color: rgba(237,41,57,.25);
    box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.howto-step-num {
    width: 64px;
    height: 64px;
    background: var(--red);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    line-height: 64px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-btn);
}

.howto-step-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.2;
}

.howto-step-body p {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

.howto-step-body img {
    margin-top: 16px;
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

/* ============================================================
   MODULE 9 : .faq-mini — FAQ compacte pour pages installation
   Réutilise les classes .faq-item, .faq-head, .faq-body, .faq-toggle
   de style.css — aucune duplication CSS des items.
   ============================================================ */
.faq-mini {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
}

.faq-mini .faq-mini-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 24px;
    letter-spacing: .01em;
}

.faq-mini .faq-mini-title em {
    color: var(--red);
    font-style: normal;
}

/* Surcharge légère : fond blanc au lieu de bleu nuit pour intégration sur fond clair */
.faq-mini .faq-item {
    background: #F8F9FB;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.faq-mini .faq-head {
    color: #111;
}

.faq-mini .faq-body {
    color: #374151;
}

/* ============================================================
   MODULE 10 : .channels-page-grid — catalogue 3 colonnes (page Chaînes)
   Surcharge ciblée via parent .page-section pour priorité sans !important
   ============================================================ */
.page-section .catalogue-list-wrap {
    max-height: 720px;
}

.page-section .catalogue-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 40px;
}

/* Scrollbar custom rouge cohérente */
.page-section .catalogue-list-wrap::-webkit-scrollbar {
    width: 8px;
}

.page-section .catalogue-list-wrap::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 4px;
}

.page-section .catalogue-list-wrap::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 4px;
}

/* ============================================================
   MODULE 11 : .thanks-panel — page de remerciement revendeur/affiliate
   ============================================================ */
.thanks-panel {
    max-width: 720px;
    margin: 60px auto;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.thanks-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
}

.thanks-icon svg {
    width: 96px;
    height: 96px;
}

.thanks-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 20px;
    box-shadow: var(--shadow-btn);
}

.thanks-panel h1 {
    font-size: 34px;
    font-weight: 900;
    color: #111;
    margin-bottom: 14px;
    line-height: 1.1;
    text-transform: uppercase;
}

.thanks-lead {
    font-size: 17px;
    color: #6B7280;
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Timeline verticale */
.thanks-timeline {
    text-align: left;
    max-width: 480px;
    margin: 0 auto 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thanks-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.thanks-timeline-bullet {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 6px;
    box-shadow: 0 0 0 4px rgba(237,41,57,.18);
}

.thanks-timeline-content strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: #111;
    margin-bottom: 2px;
}

.thanks-timeline-content span {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

.thanks-panel .btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--blue-dark);
    color: var(--white);
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: var(--shadow-btn-blue);
    transition: transform .2s;
}

.thanks-panel .btn-telegram:hover {
    transform: translateY(-2px);
}

.thanks-panel .btn-telegram svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
    flex-shrink: 0;
}

/* ============================================================
   MODULE 12 : .device-hub-grid.--mini — internal linking (5 par ligne)
   ============================================================ */
.device-hub-grid.--mini {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.device-hub-grid.--mini .device-card {
    padding: 20px 14px;
    border-radius: 14px;
}

.device-hub-grid.--mini .device-card svg {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
}

.device-hub-grid.--mini .device-card h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

.device-hub-grid.--mini .device-card .device-time {
    font-size: 12px;
}

/* ============================================================
   MODULE 13 : .howto-step-placeholder — image en attente
   ============================================================ */
.howto-step-placeholder {
    margin-top: 16px;
    background: #F3F4F6;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    color: #9CA3AF;
    font-size: 13px;
    font-style: italic;
}

/* ============================================================
   MODULE 14 : .info-box — encadré info avec icône SVG
   Remplace les anciens <div style="background:#EFF6FF;border-left...">💡</div>
   ============================================================ */
.info-box {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(10, 45, 168, .08);
    border-left: 4px solid var(--blue);
    border-radius: 12px;
    margin: 20px 0;
    align-items: flex-start;
}
.info-box-icon {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
}
.info-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #1E40AF;
}

/* ============================================================
   Paragraphes : pleine largeur du bloc parent
   ============================================================ */
.page-section p,
.page-section ul,
.page-section ol,
.page-hero-sub,
.page-hero p,
.howto-step p,
.howto-step ul,
.legal-content p,
.legal-content ul,
.info-box p {
    max-width: none;
    width: 100%;
}

.page-section p.--readable,
.page-hero p.--readable {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   CTA buttons — texte sur une seule ligne (override style.css)
   ============================================================ */
.btn-hero,
.btn-countdown,
.btn-cta-red,
.btn-submit,
.nav-cta,
.btn-yl,
.flashbtns-yl,
.btn-offer {
    white-space: nowrap;
}

.btn-hero > *,
.btn-countdown > *,
.btn-cta-red > *,
.btn-submit > * {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — Tablette (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
    /* Module 1 : page-hero */
    .page-hero {
        padding: 100px 28px 40px;
        min-height: 35vh;
    }
    .page-hero h1 {
        font-size: 32px;
    }
    .page-hero .page-hero-sub {
        font-size: 16px;
    }

    /* Module 2 : page-section */
    .page-section {
        padding: 50px 28px;
    }
    .page-section.--dark,
    .page-section.--light {
        padding-left: 28px;
        padding-right: 28px;
    }
    .page-section-title {
        font-size: 30px;
    }

    /* Module 3 : breadcrumb */
    .breadcrumb {
        padding: 14px 28px;
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    /* Module 4 : legal-grid */
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 28px;
    }
    .legal-sidebar {
        position: static;
    }

    /* Module 5 : form-card */
    .form-card {
        padding: 28px;
    }

    /* Module 6 : steps-grid */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Module 7 : device-hub-grid */
    .device-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    /* Module 12 : device-hub-grid --mini */
    .device-hub-grid.--mini {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Module 10 : channels-page-grid */
    .page-section .catalogue-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Module 11 : thanks-panel */
    .thanks-panel {
        margin: 40px 28px;
        padding: 40px 28px;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    /* Module 1 : page-hero */
    .page-hero {
        min-height: auto;
        padding: 90px 28px 30px;
    }
    .page-hero h1 {
        font-size: 28px;
    }
    .page-hero .page-hero-sub {
        font-size: 15px;
    }
    .page-hero .page-hero-pretitle {
        font-size: 11px;
        padding: 5px 12px;
    }

    /* Module 2 : page-section */
    .page-section {
        padding: 40px 28px;
    }
    .page-section.--dark,
    .page-section.--light {
        padding-left: 28px;
        padding-right: 28px;
    }
    .page-section-title {
        font-size: 26px;
    }
    .page-section-sub {
        font-size: 15px;
    }

    /* Module 3 : breadcrumb */
    .breadcrumb {
        padding: 12px 28px;
        font-size: 13px;
    }

    /* Module 4 : legal-grid */
    .legal-grid {
        padding: 32px 28px;
        gap: 24px;
    }
    .legal-sidebar {
        padding: 24px 20px;
    }
    .legal-content h2 {
        font-size: 20px;
    }

    /* Module 5 : form-card */
    .form-card {
        padding: 24px 18px;
        border-radius: 16px;
    }
    .form-card h3 {
        font-size: 22px;
    }
    .form-card .btn-submit {
        font-size: 16px;
        padding: 18px 24px;
    }

    /* Module 6 : steps-grid */
    .step-card {
        padding: 24px 20px;
    }

    /* Module 7 : device-hub-grid */
    .device-hub-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Module 12 : device-hub-grid --mini */
    .device-hub-grid.--mini {
        grid-template-columns: repeat(2, 1fr);
    }
    .device-hub-grid.--mini .device-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 12px;
    }
    .device-card {
        padding: 24px 20px;
        flex-direction: row;
        text-align: left;
        gap: 18px;
    }
    .device-card svg {
        width: 48px;
        height: 48px;
        margin: 0;
        flex-shrink: 0;
    }
    .device-card .device-arrow {
        display: none;
    }

    /* Module 8 : howto-step */
    .howto-step {
        grid-template-columns: 60px 1fr;
        gap: 16px;
        padding: 20px;
    }
    .howto-step-num {
        width: 50px;
        height: 50px;
        font-size: 22px;
        line-height: 50px;
    }
    .howto-step-body h3 {
        font-size: 18px;
    }
    .howto-step-body p {
        font-size: 15px;
    }

    /* Module 9 : faq-mini */
    .faq-mini {
        padding-top: 24px;
    }
    .faq-mini .faq-mini-title {
        font-size: 22px;
    }

    /* Module 10 : channels-page-grid */
    .page-section .catalogue-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 14px;
    }
    .page-section .catalogue-list-wrap {
        max-height: 500px;
        padding: 20px 20px;
    }

    /* Module 11 : thanks-panel */
    .thanks-panel {
        margin: 24px 16px;
        padding: 32px 20px;
        border-radius: 18px;
    }
    .thanks-panel h1 {
        font-size: 26px;
    }
    .thanks-lead {
        font-size: 15px;
    }
    .thanks-icon {
        width: 72px;
        height: 72px;
    }
    .thanks-icon svg {
        width: 72px;
        height: 72px;
    }
    .thanks-panel .btn-telegram {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 16px 20px;
    }

    /* CTA : pleine largeur en mobile */
    .btn-hero,
    .btn-countdown,
    .btn-cta-red,
    .btn-submit,
    .btn-offer {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        box-sizing: border-box;
    }
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .hero-cta-row > * { width: 100%; }
    .btn-hero,
    .btn-countdown,
    .btn-cta-red,
    .btn-submit {
        font-size: 15px;
        padding: 16px 18px;
        letter-spacing: 0.02em;
    }
    .btn-hero .ctx-txt,
    .btn-countdown .ctx-txt,
    .btn-cta-red .ctx-txt {
        font-size: inherit;
        white-space: nowrap;
    }
}

/* ============================================================
   Très petits écrans (≤ 380px) : réduire les boutons CTA
   plutôt que de wrapper le texte
   ============================================================ */
@media (max-width: 380px) {
    .btn-hero,
    .btn-countdown,
    .btn-cta-red,
    .btn-submit {
        font-size: 13px;
        padding-left: 16px;
        padding-right: 16px;
        letter-spacing: 0;
    }
    .btn-hero .ctx-txt,
    .btn-countdown .ctx-txt,
    .btn-cta-red .ctx-txt {
        font-size: 13px;
    }
    .btn-hero svg,
    .btn-countdown svg,
    .btn-cta-red svg,
    .btn-submit svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================================
   Très petits écrans (≤ 360px) : réduction supplémentaire
   ============================================================ */
@media (max-width: 360px) {
    .btn-hero,
    .btn-countdown,
    .btn-cta-red,
    .btn-submit {
        font-size: 14px;
        padding: 14px 12px;
        letter-spacing: 0;
    }
}
