/*
Theme Name: Kadence Child - Lettres Types Gratuites
Theme URI: https://www.lettres-types-gratuites.com
Template: kadence
Author: Hamoudi
Author URI: https://www.lettres-types-gratuites.com
Description: Thème enfant Kadence — Lettres Types Gratuites
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child
*/

/* ============================================================
   TABLE DES MATIÈRES v4.0
   ============================================================
   1.  VARIABLES CSS & PALETTE
   2.  RESET & BASE GLOBALE
   3.  TYPOGRAPHIE
   4.  HEADER & NAVIGATION
   5.  LOGO & BRANDING
   6.  LIENS & BOUTONS
   7.  TITRES H1-H6 (articles & pages)
   8.  CONTENU ARTICLE
   9.  COMPOSANTS — hub-hero, hub-introduction
   10. COMPOSANTS — quick-nav / nav-list
   11. COMPOSANTS — question-category & cards
   12. COMPOSANTS — model-card (lettres types)
   13. COMPOSANTS — bloc-citation, alerte-lucide
   14. COMPOSANTS — ebook-cta
   15. COMPOSANTS — coming-soon, hub-cta, hub-footer
   17. FOOTER SITE
   18. RESPONSIVE MOBILE (≤ 768px)
   19. UTILITAIRES & ACCESSIBILITÉ
   ============================================================ */


/* ============================================================
   1. VARIABLES CSS & PALETTE
   ============================================================ */
:root {
    /* Couleurs principales */
    --c-navy:      #1a2744;
    --c-navy2:     #243058;
    --c-navy3:     #111b33;
    --c-orange:    #f97316;
    --c-orange2:   #ea6c0a;
    --c-white:     #ffffff;

    /* Texte */
    --c-text:      #1e293b;
    --c-text2:     #334155;
    --c-text3:     #64748b;
    --c-text4:     #94a3b8;

    /* Fonds */
    --c-bg:        #f8fafc;
    --c-bg2:       #f1f5f9;
    --c-bg3:       #e2e8f0;

    /* Bordures */
    --c-border:    #e2e8f0;
    --c-border2:   #cbd5e1;

    /* Gradients */
    --g-navy:      linear-gradient(135deg, #1a2744 0%, #243058 100%);
    --g-orange:    linear-gradient(135deg, #f97316 0%, #ea6c0a 100%);
    --g-header:    linear-gradient(160deg, #0d1e38 0%, #1a2f52 50%, #0d1e38 100%);

    /* Anciennes couleurs conservées pour compatibilité composants existants */
    --c-purple:    #667eea;
    --c-purple2:   #764ba2;
    --g-purple:    linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Typographie */
    --font-body:   system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-size:   18px;
    --line-height: 1.8;

    /* Rayons */
    --r-sm:  6px;
    --r-md:  10px;
    --r-lg:  14px;

    /* Ombres */
    --s-sm:  0 2px 8px rgba(26,39,68,.07);
    --s-md:  0 4px 16px rgba(26,39,68,.10);
    --s-lg:  0 8px 28px rgba(26,39,68,.14);

    /* Transitions */
    --t-fast: 0.18s ease;
    --t-med:  0.3s ease;
}


/* ============================================================
   2. RESET & BASE GLOBALE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Suppression marges résiduelles */
.content-area,
.site-content,
#primary,
main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* ============================================================
   3. TYPOGRAPHIE
   ============================================================ */

/* Texte corps article */
.entry-content,
.entry-content p,
.single-post .entry-content,
.single-post .entry-content p,
article .entry-content,
article .entry-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--c-text);
}

/* Listes */
.entry-content ul li,
.entry-content ol li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--c-text);
    margin-bottom: 6px;
}

/* Gras et italique */
.entry-content strong { color: var(--c-navy); font-weight: 700; }
.entry-content em     { color: var(--c-text2); }

/* Titres H2 */
.entry-content h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: var(--c-navy);
    margin: 40px 0 16px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-orange);
}

/* Titres H3 */
.entry-content h3 {
    font-size: clamp(19px, 2.5vw, 23px);
    font-weight: 700;
    color: var(--c-navy2);
    margin: 30px 0 12px 0;
    line-height: 1.3;
}

/* Titres H4 */
.entry-content h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--c-text);
    margin: 24px 0 10px 0;
}

/* Paragraphe global */
p { margin-bottom: 1.2em; }

/* Bloc citation */
blockquote {
    border-left: 4px solid var(--c-orange);
    padding: 16px 20px;
    margin: 28px 0;
    background: var(--c-bg);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    color: var(--c-text2);
    font-size: 18px;
}

/* Code inline */
code {
    background: #f1f5f9;
    border: 1px solid var(--c-border);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.9em;
    color: var(--c-navy);
}


/* ============================================================
   4. HEADER & NAVIGATION
   ============================================================ */
.site-header,
#masthead,
header.site-header {
    background: var(--g-header) !important;
    box-shadow: 0 3px 20px rgba(0,0,0,0.25) !important;
    border-bottom: none !important;
}

/* Menu liens */
.site-header .main-navigation a,
.site-header .primary-navigation a,
.site-header .header-navigation a,
.site-header nav a,
#masthead nav a {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: var(--t-med) !important;
}

/* Menu hover */
.site-header .main-navigation a:hover,
.site-header .primary-navigation a:hover,
.site-header nav a:hover,
#masthead nav a:hover {
    color: var(--c-orange) !important;
    background: rgba(255,255,255,0.12) !important;
    border-radius: var(--r-sm) !important;
}

/* Hamburger mobile */
.mobile-toggle-open-container button,
.menu-toggle-open,
.drawer-toggle {
    color: #ffffff !important;
}

/* Texte menu hamburger (visually hidden) */
.menu-toggle-text,
.dropdown-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}


/* ============================================================
   5. LOGO & BRANDING
   ============================================================ */
.site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.site-branding a,
.site-title a,
.custom-logo-link {
    color: #ffffff !important;
}

/* Icône avant le titre */
.site-branding .site-title::before {
    content: "✉️";
    font-size: 38px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform var(--t-med);
}

.site-branding .site-title:hover::before {
    transform: scale(1.12) rotate(-8deg);
}

/* Texte logo */
.site-branding .site-title,
.site-branding .site-title a {
    font-family: 'Arial Black', Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
    text-decoration: none !important;
    letter-spacing: -0.5px !important;
    background: none !important;
    transition: transform var(--t-med) !important;
}

.site-branding .site-title a:hover {
    transform: translateY(-2px) !important;
}

/* Tagline */
.site-branding .site-description {
    font-size: 12px !important;
    color: rgba(255,255,255,0.8) !important;
    margin: 2px 0 0 0 !important;
}


/* ============================================================
   6. LIENS & BOUTONS
   ============================================================ */

/* Liens dans le contenu */
.entry-content a {
    color: var(--c-navy);
    text-decoration: underline;
    text-decoration-color: var(--c-orange);
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color var(--t-fast);
}

.entry-content a:hover {
    color: var(--c-orange);
}

/* Bouton principal */
.btn-primary,
.btn-contact,
.wp-block-button__link {
    display: inline-block;
    padding: 13px 28px;
    background: var(--g-orange);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 16px;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
    border: none;
    cursor: pointer;
}

.btn-primary:hover,
.btn-contact:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.45);
}

/* Bouton secondaire */
.btn-secondary {
    display: inline-block;
    padding: 11px 24px;
    background: transparent;
    color: var(--c-navy) !important;
    border: 2px solid var(--c-navy);
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: all var(--t-fast);
}

.btn-secondary:hover {
    background: var(--c-navy);
    color: #ffffff !important;
}


/* ============================================================
   7. TITRES H1 (articles & pages)
   ============================================================ */

/* H1 global */
.entry-title,
h1.entry-title,
.page-title,
.post-title,
article h1,
.entry-header h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--c-navy);
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    padding-top: 0 !important;
    text-align: center !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em;
}

/* H1 articles — masqué car remplacé par WPCode snippet */
body.single-post .entry-title,
body.single-post h1.entry-title {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

/* En-tête article */
.single-post .entry-header,
article .entry-header {
    padding-top: 0 !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
}

/* Meta natif masqué (remplacé WPCode) */
.single-post .entry-meta,
article .entry-meta,
.entry-meta {
    display: none !important;
}


/* ============================================================
   8. CONTENU ARTICLE — espacements & mise en forme
   ============================================================ */

/* Largeur optimale lecture */
.single-post .entry-content,
.page .entry-content {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* Séparateur horizontal */
.entry-content hr {
    border: none;
    border-top: 2px solid var(--c-border);
    margin: 36px 0;
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 16px;
}

.entry-content table th {
    background: var(--c-navy);
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
}

.entry-content table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text);
}

.entry-content table tr:nth-child(even) td {
    background: var(--c-bg);
}

.entry-content table tr:hover td {
    background: #f0f4ff;
}

/* Images dans contenu */
.entry-content figure {
    margin: 28px 0;
}

.entry-content figcaption {
    font-size: 14px;
    color: var(--c-text3);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}


/* ============================================================
   9. COMPOSANTS — hub-hero & hub-introduction
   ============================================================ */

/* Container hub */
.questions-hub-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

/* Hero section — nouvelles couleurs navy + orange */
.hub-hero {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 0;
    padding: 30px 20px;
    background: var(--g-navy);
    color: white;
    border-radius: 0 0 14px 14px;
    position: relative;
    overflow: hidden;
}

/* Accent décoratif hero */
.hub-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--g-orange);
}

.hub-hero h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hub-hero .intro {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Introduction hub */
.hub-introduction {
    max-width: 900px;
    margin: 0 auto 44px auto;
    padding: 28px 30px;
    background: var(--c-white);
    border-radius: var(--r-lg);
    box-shadow: var(--s-md);
    border-left: 4px solid var(--c-orange);
}

.hub-introduction p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: var(--c-text) !important;
    margin-bottom: 16px !important;
}

.hub-introduction p:last-child { margin-bottom: 0 !important; }


/* ============================================================
   10. COMPOSANTS — quick-nav / nav-list
   ============================================================ */
.quick-nav {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    padding: 28px;
    border-radius: var(--r-lg);
    margin-bottom: 44px;
    text-align: center;
    box-shadow: var(--s-sm);
}

.quick-nav h3 {
    margin-bottom: 18px;
    color: var(--c-navy);
    font-size: 22px;
    font-weight: 700;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nav-list li a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--c-white);
    color: var(--c-navy);
    text-decoration: none;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--t-fast);
    border: 2px solid var(--c-navy);
}

.nav-list li a:hover {
    background: var(--c-navy);
    color: var(--c-white);
    border-color: var(--c-navy);
    transform: translateY(-2px);
    box-shadow: var(--s-sm);
}


/* ============================================================
   11. COMPOSANTS — question-category & cards
   ============================================================ */
.question-category {
    margin-bottom: 56px;
    padding-bottom: 36px;
    border-bottom: 2px solid var(--c-border);
}

.question-category:last-of-type { border-bottom: none; }

.question-category h3 {
    font-size: clamp(22px, 3vw, 30px);
    color: var(--c-navy);
    margin-bottom: 12px;
    font-weight: 800;
}

.category-intro {
    font-size: 17px;
    color: var(--c-text2);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 900px;
}

.question-category p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: var(--c-text);
    margin-bottom: 16px;
}

.question-category ul li,
.question-category ol li {
    font-size: 18px !important;
    line-height: 1.8 !important;
}

/* Grid cards */
.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Card */
.question-card {
    background: var(--c-white);
    padding: 22px;
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border);
    transition: all var(--t-fast);
    box-shadow: var(--s-sm);
}

.question-card:hover {
    box-shadow: var(--s-lg);
    transform: translateY(-3px);
    border-color: var(--c-orange);
}

.question-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.question-card h4 a {
    color: var(--c-navy);
    text-decoration: none;
    transition: color var(--t-fast);
}

.question-card h4 a:hover { color: var(--c-orange); }

.question-card p {
    font-size: 15px !important;
    color: var(--c-text3) !important;
    line-height: 1.6 !important;
    margin-bottom: 12px;
}

.reading-time {
    font-size: 12px;
    color: var(--c-text4);
    font-style: italic;
}


/* ============================================================
   12. COMPOSANTS — model-card (lettres types)
   ============================================================ */
.model-card {
    background: #fffbf5;
    border: 2px solid var(--c-navy);
    border-left: 5px solid var(--c-orange);
    border-radius: var(--r-lg);
    padding: 30px 34px;
    margin: 30px 0;
    box-shadow: var(--s-md);
    position: relative;
}

.model-card::before {
    content: "📝";
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 28px;
    opacity: 0.25;
}

.model-card h3 {
    color: var(--c-navy);
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-border);
}

.model-card p {
    font-size: 18px !important;
    line-height: 1.9 !important;
    color: var(--c-text) !important;
    margin-bottom: 14px;
}

.model-card ul,
.model-card ol {
    font-size: 18px !important;
    line-height: 1.9 !important;
    margin-left: 22px;
    margin-bottom: 16px;
}

.model-card li { margin-bottom: 8px; color: var(--c-text); }

.model-card strong { color: var(--c-navy); font-weight: 700; }
.model-card em     { color: var(--c-text2); }

.model-card:hover {
    box-shadow: var(--s-lg);
    transition: box-shadow var(--t-med);
}


/* ============================================================
   13. COMPOSANTS — bloc-citation & alerte-lucide
   ============================================================ */

/* Citation sombre premium */
.bloc-citation-pages {
    background: var(--c-navy);
    color: #ffffff !important;
    padding: 24px 28px;
    border-radius: var(--r-lg);
    margin: 36px 0;
    font-size: 1.15em;
    font-style: italic;
    line-height: 1.65;
    text-align: center;
    box-shadow: var(--s-lg);
    border-left: 4px solid var(--c-orange);
    position: relative;
}

.bloc-citation-pages p {
    color: #ffffff !important;
    font-size: 1em !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}

.bloc-citation-pages em {
    color: #ffffff !important;
}

/* Alerte / encadré informatif */
.alerte-lucide {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid var(--c-orange);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin: 24px 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--c-text);
}

.alerte-lucide p {
    font-size: 17px !important;
    margin-bottom: 0 !important;
    color: var(--c-text) !important;
}


/* ============================================================
   14. COMPOSANTS — ebook-cta
   ============================================================ */
.ebook-cta {
    max-width: 860px;
    margin: 52px auto;
    padding: 36px 28px;
    background: var(--g-navy);
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--s-lg);
    position: relative;
    overflow: hidden;
}

.ebook-cta em {
    color: inherit !important;
}

.ebook-cta::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--g-orange);
}

.ebook-cta h3 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 800;
}

.ebook-cta p {
    font-size: 17px !important;
    line-height: 1.75 !important;
    color: rgba(255,255,255,0.85) !important;
    max-width: 680px;
    margin: 0 auto 22px auto !important;
}

.ebook-cta .ebook-highlight {
    color: var(--c-orange);
    font-weight: 700;
}

.ebook-cta .ebook-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--g-orange);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 700;
    border-radius: var(--r-md);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}

.ebook-cta .ebook-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.5);
}

.ebook-cta .ebook-note {
    font-size: 13px !important;
    color: rgba(255,255,255,0.55) !important;
    margin-top: 12px !important;
    font-style: italic;
}


/* ============================================================
   15. COMPOSANTS — coming-soon, hub-cta, hub-footer
   ============================================================ */
.coming-soon {
    background: var(--c-bg);
    padding: 36px;
    border-radius: var(--r-lg);
    margin-bottom: 44px;
    border-left: 4px solid var(--c-orange);
    box-shadow: var(--s-sm);
}

.coming-soon h3 { color: var(--c-navy); margin-bottom: 12px; font-weight: 700; }

.future-topics { margin-top: 20px; }
.future-topics h4 { color: var(--c-navy2); margin-bottom: 10px; }
.future-topics ul { list-style-position: inside; color: var(--c-text2); line-height: 1.8; }

.hub-cta {
    text-align: center;
    padding: 44px 20px;
    background: var(--c-bg);
    border-radius: var(--r-lg);
    margin-bottom: 36px;
    box-shadow: var(--s-sm);
}

.hub-cta h3 { font-size: 26px; color: var(--c-navy); margin-bottom: 12px; font-weight: 700; }
.hub-cta p  { font-size: 17px !important; color: var(--c-text2) !important; margin-bottom: 22px !important; max-width: 580px; margin-left: auto; margin-right: auto; }

.hub-footer {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--c-border);
    color: var(--c-text3);
    font-size: 15px;
}

.hub-footer a { color: var(--c-orange); text-decoration: none; }
.hub-footer a:hover { text-decoration: underline; }


/* ============================================================
   16. GOOGLE ADSENSE
   ============================================================ */
#ltg-header .google-auto-placed,
#ltg-header-inner .google-auto-placed {
    display: none !important;
}


/* ============================================================
   17. FOOTER SITE
   ============================================================ */
.site-footer,
#colophon {
    background: var(--c-navy3);
    color: rgba(255,255,255,0.90);
}

.site-footer a,
#colophon a,
.site-footer .nav-menu a,
#colophon nav a,
.footer-navigation a,
.site-footer ul li a {
    color: #ffffff !important;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer a:hover,
#colophon a:hover,
.footer-navigation a:hover,
.site-footer ul li a:hover {
    color: var(--c-orange) !important;
    opacity: 1;
    text-decoration: underline;
}

.site-footer .site-info {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================================
   18. RESPONSIVE MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Pleine largeur */
    body.single-post,
    body.single,
    body.page {
        padding: 0 !important;
    }

    .site,
    .site-container,
    #wrapper,
    .content-area,
    #primary,
    #main,
    .entry-content-wrap,
    article,
    .entry,
    .single-content {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Contenu avec padding minimal */
    .entry-content,
    article .entry-content,
    .single-post .entry-content {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
    }

    /* Texte mobile */
    body,
    p,
    .entry-content p,
    .single-post .entry-content p {
        font-size: 17px !important;
        line-height: 1.75 !important;
    }

    .entry-content ul li,
    .entry-content ol li {
        font-size: 17px !important;
        line-height: 1.75 !important;
    }

    /* Titres mobile */
    .entry-content h2 {
        font-size: 21px;
        margin: 30px 0 12px 0;
    }

    .entry-content h3 {
        font-size: 19px;
        margin: 24px 0 10px 0;
    }

    /* Hub mobile */
    .hub-hero { padding: 22px 16px; }
    .hub-hero h2 { font-size: 22px; }
    .hub-hero .intro { font-size: 16px; }

    .hub-introduction {
        padding: 18px;
        margin: 0 8px 32px 8px;
    }

    /* Quick-nav mobile */
    .nav-list { flex-direction: column; align-items: center; gap: 10px; }
    .nav-list li a { width: 100%; max-width: 320px; text-align: center; }

    /* Grid mobile */
    .questions-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Cards mobile */
    .model-card {
        padding: 20px 16px;
        margin: 20px 4px;
    }

    .model-card h3 { font-size: 19px; }
    .model-card p  { font-size: 17px !important; }

    /* Ebook CTA mobile */
    .ebook-cta { padding: 26px 16px; margin: 40px 4px; }
    .ebook-cta h3 { font-size: 22px; }
    .ebook-cta p  { font-size: 16px !important; }
    .ebook-cta .ebook-button { width: 100%; padding: 14px; font-size: 16px; }

    /* Images pleine largeur */
    .entry-content img { max-width: 100% !important; height: auto !important; }

    /* Tables mobile */
    .entry-content table { font-size: 14px; }
    .entry-content table th,
    .entry-content table td { padding: 8px 10px; }

    /* Espacement fil d'ariane mobile */
    .kadence-breadcrumbs,
    .kadence-breadcrumb,
    nav.breadcrumb,
    .breadcrumb-trail,
    .trail-items,
    [class*="breadcrumb"] {
        margin-top: 4px !important;
        margin-bottom: 4px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    /* Espace entre fil d'ariane et H1 mobile */
    .entry-title,
    h1.entry-title,
    .page-title {
        margin-top: 8px !important;
        padding-top: 0 !important;
    }

    /* Réduction padding entry-header mobile */
    .entry-header,
    .single-post .entry-header,
    article .entry-header {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        margin-top: 0 !important;
    }
}

/* ============================================================
   19. UTILITAIRES & ACCESSIBILITÉ
   ============================================================ */

/* Focus visible clavier */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--c-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Visually hidden (accessibilité) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Animations réduites (accessibilité) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print */
@media print {
    .site-header, .site-footer, #ltg-toc-fab,
    #ltg-back-top, #ltg-toc-inline { display: none !important; }
    body { font-size: 14px; color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* ══════════════════════════════════════════════════
   LTG-CTA-BLOC — Bloc CTA universel pour articles
   Réutilisable sur tous les sites LTG et RD
   Usage : pointer vers générateur, guide, hub, ebook
   ══════════════════════════════════════════════════ */
.ltg-cta-bloc {
  background: linear-gradient(135deg, #1a2744 0%, #243058 100%);
  border-left: 5px solid #f97316;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(26,39,68,0.18);
}
.ltg-cta-bloc__texte {
  flex: 1;
  min-width: 220px;
}
.ltg-cta-bloc p.ltg-cta-bloc__label {
  color: #f97316 !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
  padding: 0;
  line-height: 1.3;
}
.ltg-cta-bloc p.ltg-cta-bloc__titre {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  padding: 0;
  line-height: 1.4;
}
.ltg-cta-bloc p.ltg-cta-bloc__desc {
  color: #cbd5e1 !important;
  font-size: 0.88rem;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
.ltg-cta-bloc__btn {
  display: inline-block;
  background: linear-gradient(135deg, #f97316 0%, #ea6c0a 100%);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  padding: 14px 28px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(249,115,22,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ltg-cta-bloc__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249,115,22,0.45);
  color: #ffffff !important;
  text-decoration: none !important;
}
@media (max-width: 600px) {
  .ltg-cta-bloc {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .ltg-cta-bloc__btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}