/* ========================================
   🎯 STYLE-BASE.CSS - VERSION CORRIGÉE COMPLÈTE
   Contient seulement les éléments essentiels + responsive optimisé
   ======================================== */

/* ========================================
   🎨 STYLES DES 6 VARIATIONS LOGO - EXTRAITS ARTEFACT
   ======================================== */

/* BASE COMMUNE */
.logo-text {
    font-size: 1.6rem;
    font-family: "Spectral", "Montserrat", "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: -2px;
    white-space: nowrap;
    display: inline-block;
}


/* ========================================
   🌈 COULEURS MAJEURES DU SITE
   ======================================== */

/* JAUNE-ORANGÉ */
.couleur-orange {
    color: #ffa500;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
    font-size: 1.1em;
}

/* FUCHSIA VIBRANT */
.couleur-fuchsia {
    color: #ff0080;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.5);
    font-size: 1.1em;
}

/* CYAN TURQUOISE */
.couleur-cyan {
    color: #00ced1;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.4);
    font-size: 1.1em;
}

/* ========================================
   🎯 VARIANTE 1 - NUMÉRO GRAS
   ======================================== */

.var1 .geo { 
    color: #00ced1; 
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

.var1 .numero { 
    color: #ffa500; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.4); 
    font-size: 1.1em; 
}

.var1 .logie { 
    color: #ff0080;
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

/* ========================================
   🎯 VARIANTE 2 - GÉO GRAS
   ======================================== */

.var2 .geo { 
    color: #00ced1; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.4); 
    font-size: 1.1em; 
}

.var2 .numero { 
    color: #ffa500;
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

.var2 .logie { 
    color: #ff0080;
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

/* ========================================
   🎯 VARIANTE 3 - LOGIE GRAS
   ======================================== */

.var3 .geo { 
    color: #00ced1;
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

.var3 .numero { 
    color: #ffa500;
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

.var3 .logie { 
    color: #ff0080; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.5); 
    font-size: 1.1em; 
}

/* ========================================
   🎯 VARIANTE 4 - NUMÉRO ET LOGIE GRAS
   ======================================== */

.var4 .geo { 
    color: #00ced1; 
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

.var4 .numero { 
    color: #ffa500; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.4); 
    font-size: 1.1em; 
}

.var4 .logie { 
    color: #ff0080; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.5); 
    font-size: 1.1em; 
}

/* ========================================
   🎯 VARIANTE 5 - GÉO ET LOGIE GRAS
   ======================================== */

.var5 .geo { 
    color: #00ced1; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.4); 
    font-size: 1.1em; 
}

.var5 .numero { 
    color: #ffa500; 
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

.var5 .logie { 
    color: #ff0080; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.5); 
    font-size: 1.1em; 
}

/* ========================================
   🎯 VARIANTE 6 - GÉO ET NUMÉRO GRAS
   ======================================== */

.var6 .geo { 
    color: #00ced1; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.4); 
    font-size: 1.1em; 
}


.var6 .numero { 
    color: #ffa500; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.4); 
    font-size: 1.1em; 
}

.var6 .logie { 
    color: #ff0080; 
    font-weight: 100; 
    opacity: 0.4; 
    letter-spacing: 1px; 
    font-size: 0.9em; 
}

/* ========================================
   🎯 VARIANTE 7 - TOUT EN GRAS VIF
   ======================================== */

.var7 .geo { 
    color: #00ced1; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.4); 
    font-size: 1.1em; 
}

.var7 .numero { 
    color: #ffa500; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.4); 
    font-size: 1.1em; 
}

.var7 .logie { 
    color: #ff0080; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.5); 
    font-size: 1.1em; 
}



/* ========================================
  VARIANTE 8 - VERSION PROFESSIONNELLE LUMINEUSE
  ======================================== */

.var8 .geo { 
   color: #06b6d4; 
   font-weight: 600; 
   font-size: 1em; 
}

.var8 .numero { 
   color: #f97316; 
   font-weight: 700; 
   font-size: 1.05em; 
}

.var8 .logie { 
   color: #e11d48; 
   font-weight: 600; 
   font-size: 1em; 
}
/* ========================================
   VARIANTE 9 - VERSION CORPORATE SUBTILE
   ======================================== */

.var9 .geo { 
    color: #0f766e; 
    font-weight: 500; 
    font-size: 0.98em; 
}

.var9 .numero { 
    color: #dc2626; 
    font-weight: 700; 
    font-size: 1.02em; 
}

.var9 .logie { 
    color: #7c2d12; 
    font-weight: 500; 
    font-size: 0.98em; 
}

/* ========================================
   VARIANTE 8 - MINIMAL TRANCHANT
   ======================================== */

.var10 .geo { 
    color: #06b6d4; 
    font-weight: 800; 
    font-size: 1em; 
}

.var10 .numero { 
    color: #f97316; 
    font-weight: 800; 
    font-size: 1.08em; 
}

.var10 .logie { 
    color: #e11d48; 
    font-weight: 800; 
    font-size: 1e6; 
}


/* ========================================
   🎨 CODES COULEURS HEXADÉCIMAUX
   ======================================== */

/*
Cyan Turquoise: #00ced1
Jaune-Orangé: #ffa500  
Fuchsia Vibrant: #ff0080
Gris tirets: #9ca3af
Gris léger: #6b7280
*/
/* ========================================
   ✏️ TYPOGRAPHY SYSTEM
   ======================================== */

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.3em;
    margin-bottom: 0.5em;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.2em;
    margin-bottom: 2em;
    text-align: center;
}

h4 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0.8em;
    margin-bottom: 0.3em;
    text-align: center;
    color: #444;
}

strong {
    font-weight: 800;
}

/* ========================================
   🔗 LINKS SYSTEM
   ======================================== */

a {
    color: #0057b7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ========================================
   🎨 HEADER STYLES
   ======================================== */

.header-section-v1 {
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(167, 139, 250, 0.08) 100%);
    border-radius: 24px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.header-section-v1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.header-section-v1 h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.header-section-v1 .tagline {
    font-size: 1.3rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.header-section-v1 .tagline strong {
    color: #8b5cf6;
    font-weight: 600;
    position: relative;
}

/* ========================================
   🗏️ GRILLES CSS GRID
   ======================================== */

.grid-1 {
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem; 
    margin: 2rem auto;
    max-width: 1600px;
}

.grid-2 {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
    margin: 2rem auto;
    max-width: 1600px;
    align-items: start; 
}

.grid-3 {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 2rem; 
    margin: 2rem auto;
    max-width: 1600px;
    align-items: start;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grilles */
        .grid-minimal {
            display: grid;
            gap: 1.5rem 4rem;
            margin: 1.5rem 0;
        }

.grid-2-60-40 {
    display: grid;
    grid-template-columns: 60% 40%;
    padding: 0 1.5rem;
    gap: 2rem 3rem;
    align-items: start;

}


.grid-2-40-60 {
    display: grid;
    grid-template-columns: 40% 60%;
    padding: 0 1.5rem;
    gap: 2rem 3rem;
    align-items: start;

}

.grid-2-20-80,
.grid-2-80-20 {
    display: grid;
    grid-template-columns: 80% 20%;
    padding: 0 1.5rem;
    gap: 2rem 3rem;
    align-items: start;

}

        .grid-minimal.cols-2 { grid-template-columns: 1fr 1fr; }
        .grid-minimal.cols-3 { grid-template-columns: repeat(3, 1fr); }
        .grid-minimal.cols-4 { grid-template-columns: repeat(4, 1fr); }


.grid-minimal.cols-3 { 
    grid-template-columns: repeat(3, 1fr);
    column-gap: 4rem; /* Ajouter cette ligne */
} 

/* Limitation spécifique des highlight-box dans grid-3 */
.grid-3 .highlight-box {
    max-width: 350px;
    margin: 1rem auto;
    box-sizing: border-box;
}



/* Si vous voulez limiter toute la colonne grid-3 */
.grid-3 > * {
    max-width: 400px;
    margin: 0 auto;
}

.section-block {
    margin: 3rem auto !important;
    width: 100% !important;
    max-width: 1400px !important; /* centrag video home */
}
/* ========================================
   📄 BLOCS DE CONTENU ESSENTIELS
   ======================================== */

.section-block {
    margin: 3rem 0;
    padding: 0;
    width: 100%;
}

.concept-intro {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.concept-intro h2 {
    color: #8525be;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.concept-intro p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
}

.content-enhanced {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary, #8b5cf6), var(--theme-secondary, #a78bfa));
}

.content-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.18);
}

/* ========================================
   🖼️ IMAGES
   Gestion des images et médias
   ======================================== */

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

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-block {
    text-align: center;
    margin: 2rem auto;
}

.image-block figcaption {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
}

/* ========================================
   🖼️ IMAGES ZEN
   ======================================== */

.image-zen {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.image-zen img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: block;
}

.image-zen:hover img {
    transform: scale(1.02);
}

.image-zen-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 1rem;
    font-weight: 500;
}

/* ========================================
   💬 HIGHLIGHT BOX
   ======================================== */

.highlight-box {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
       .highlight-box-2 {
            background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
            border: 2px solid rgba(34, 197, 94, 0.3);
            border-radius: 16px;
            padding: 2rem;
            margin: 2rem 0;
            position: relative;
            box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
        }

                .highlight-box-2::before {
            content: "💡";
            position: absolute;
            top: -10px;
            left: 20px;
            background: rgba(34, 197, 94, 0.2);
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 1.2em;
        }
.highlight-box p {
    margin: 0;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.6;
}

.highlight-box strong {
    color: var(--theme-primary, #8b5cf6);
    font-weight: 600;
}

/* ========================================
   📖 BLOCKQUOTE PLEINE LARGEUR
   ======================================== */

.blockquote-full-width {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-left: 6px solid #8b5cf6;
    margin: 3rem auto;
    padding: 3rem 4rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.12);
    position: relative;
    overflow: hidden;
    max-width: 900px;
}

.blockquote-full-width::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 8rem;
    color: rgba(139, 92, 246, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.blockquote-full-width p {
    font-size: 1.6rem;
    line-height: 1.8;
    font-style: italic;
    color: #4b5563;
    margin: 0;
    text-align: justify;
    position: relative;
    z-index: 2;
}

.blockquote-citation {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(139, 92, 246, 0.2);
}

.blockquote-citation cite {
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 600;
    color: #8b5cf6;
}

/* ========================================
   📋 LISTS
   ======================================== */

ul, ol {
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5em;
    text-align: left;
}

.table-of-contents {
    background: #f8f9fa; 
    border-radius: 12px; 
    padding: 1.5rem; 
    margin: 2rem auto;
    max-width: 600px;
    width: 100%;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.table-of-contents h3 {
    color: var(--theme-primary, #8b5cf6);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.5rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--theme-primary, #8b5cf6);
    text-decoration: underline;
}

/* ========================================
   📊 TABLES
   ======================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    text-align: left;
}

th, td {
    padding: 0.75em;
    border: 1px solid #ccc;
}

th {
    font-weight: 700;
    background-color: #f9f9f9;
}

/* ========================================
   🖼️ IMAGES
   ======================================== */

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

/* ========================================
   💬 BLOCKQUOTES CLASSIQUES
   ======================================== */

blockquote {
    position: relative;
    background: #fff;
    padding: 2rem 2rem 2rem 4rem;
    margin: 2rem auto;
    max-width: 100%;
    border-left: 4px solid #a020f0;
    font-family: "Garamond", "Georgia", serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #555;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-bottom: 5rem;
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 4rem;
    color: #a020f0;
    opacity: 0.3;
    font-family: serif;
}

blockquote cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    color: #2c3e50;
}

blockquote cite::before {
    content: '— ';
}

/* ========================================
   🎯 HEADLINE CENTER
   ======================================== */

.headline-center {
    text-align: center;
    position: relative;
}

.headline-center h2 {
    color: #555;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
    font-size: 2rem;
}

.headline-center h3 {
    color: #555;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.headline-center p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* ========================================
   🎨 MAIN WRAPPER
   ======================================== */

main.main-wrapper {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main.main-wrapper > section {
    max-width: 1400px;
    width: 100%;
}

.page-container {
    background: white;
    min-height: 100vh;
}

.content-wrapper {
    width: 100%;
    max-width: none;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    background: white;
    display: flex;
    justify-content: center;
}

/* ========================================
   🎨 NOMBRES COLORÉS
   ======================================== */

.nombre-1 { background: #e74c3c; color: white; }
.nombre-2 { background: #ff8c00; color: white; }
.nombre-3 { background: #ffd700; color: black; }
.nombre-4 { background: #32cd32; color: white; }
.nombre-5 { background: #00ced1; color: white; }
.nombre-6 { background: #87ceeb; color: black; }
.nombre-7 { background: #1e3a8a; color: white; }
.nombre-8 { background: #8b5cf6; color: white; }
.nombre-9 { background: #4b0082; color: white; }

.nombre {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 2px;
    border-radius: 6px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ========================================
   🔗 LIENS INTERNES DISCRETS - VERSION ULTRA SIMPLE
   ======================================== */

.lien-nombre, .lien-symbole, .lien-idee {
    padding: 8px 16px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: 1px solid !important;
    background: white !important;
}

.lien-nombre {
    color: #e65100 !important;
    border-color: #ff9800 !important;
}

.lien-nombre:hover {
    color: #e65100 !important;
    background: #fff3e0 !important;
    border-color: #e65100 !important;
}

.lien-symbole {
    color: #c2185b !important;
    border-color: #e91e63 !important;
}

.lien-symbole:hover {
    color: #c2185b !important;
    background: #fce4ec !important;
    border-color: #c2185b !important;
}

.lien-idee {
    color: #00838f !important;
    border-color: #00bcd4 !important;
}

.lien-idee:hover {
    color: #00838f !important;
    background: #e0f2f1 !important;
    border-color: #00838f !important;
}

/* ========================================
   ðŸ"± RESPONSIVE 4 CAS DISTINCTS - REMPLACEMENT COMPLET
   ======================================== */
/* ========================================
   📱 RESPONSIVE 4 CAS DISTINCTS - REMPLACEMENT COMPLET
   ======================================== */

/* Desktop par défaut reste inchangé */
main.main-wrapper {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================================
   🖥️ DESKTOP LARGE (1200px+)
   ======================================== */
@media (min-width: 1024px) {
    main.main-wrapper {
        width: 80%;
        max-width: 1400px;
    }
}

/* ========================================
   💻 IPAD PAYSAGE (1024px-1199px landscape)
   ======================================== */
@media (max-width: 1199px) and (min-width: 1024px) and (orientation: landscape) {
    main.main-wrapper {
        width: 100% !important; /* Pleine largeur iPad paysage */
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: none;
    }
    
    /* Changer aussi : */
@media (max-width: 1199px) and (min-width: 1024px) and (orientation: landscape) {

/* En : */
@media (max-width: 1023px) and (min-width: 768px) and (orientation: landscape) {
    
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem; /* Plus d'espace entre colonnes */
        max-width: none;
    }
    
    .grid-3, .grid-4 { 
        grid-template-columns: 1fr 1fr 1fr; /* Garde 3 colonnes */
        gap: 2rem;
        max-width: none;
    }
    
    .concept-intro,
    .content-enhanced,
    .image-zen {
        width: 100%;
        max-width: none;
    }
}

/* ========================================
   📱 IPAD PORTRAIT (768px-1023px portrait)
   ======================================== */
@media (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
    main.main-wrapper {
        width: 95%;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .grid-2, .grid-3, .grid-4 { 
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    
    .concept-intro { 
        padding: 1.5rem; 
    }
    
    .content-enhanced { 
        padding: 2rem; 
    }
    
    .image-zen {
        padding: 1rem;
    }
    
    .blockquote-full-width { 
        max-width: 100%; 
        margin: 2rem 0; 
        padding: 2rem 1.5rem; 
    }
    
    .header-section-v1 {
        padding: 3rem 1.5rem;
    }
    
    .header-section-v1 h2 {
        font-size: 1.6rem;
    }
    
    .header-section-v1 .tagline {
        font-size: 1.1rem;
    }
    .header-section-v1 h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
    text-align: center !important; /* ← AJOUT DE CETTE LIGNE */
}


/* ========================================
   📱 IPHONE PAYSAGE (max-767px landscape)
   ======================================== */
@media (max-width: 767px) and (orientation: landscape) {
    main.main-wrapper {
        width: 100% !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr 1fr; /* Garde 2 colonnes en paysage */
        gap: 1.5rem;
    }
    
    .grid-3, .grid-4 { 
        grid-template-columns: 1fr 1fr; /* 2 colonnes maximum */
        gap: 1rem;
    }
    
    .concept-intro,
    .content-enhanced { 
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .image-zen {
        padding: 0.75rem;
    }
    
    .blockquote-full-width { 
        max-width: 100%;
        margin: 1rem 0; 
        padding: 1.25rem 1rem;
    }
    
    .header-section-v1 {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .header-section-v1 h2 {
        font-size: 1.3rem;
    }
    
    .header-section-v1 .tagline {
        font-size: 0.95rem;
    }
    
    .breadcrumb-container {
        padding: 0 1.5rem;
    }
    
    .table-of-contents {
        margin: 1rem 0;
        padding: 1rem;
    }
}

/* ========================================
   📱 CORRECTIONS IPHONE PORTRAIT - À AJOUTER À STYLE-HOME.CSS
   ======================================== */

@media (max-width: 767px) and (orientation: portrait) {
    
    /* Hero section - référence à conserver */
    .hero-primary {
        padding: 3rem 0.5rem 2rem !important; /* Marges réduites comme style-base */
        min-height: 50vh !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Section calculateur - même largeur que hero */
    .tools-interactive {
        padding: 3rem 0.5rem !important; /* Même padding que hero */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .tools-showcase {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .geo-calculator-container {
        margin: 0 !important; /* Plus de marge externe */
        padding: 1rem 0.75rem !important; /* Padding interne réduit */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Section témoignages - même largeur que hero */
    .testimonials-smart {
        padding: 3rem 0.5rem !important; /* Même padding que hero */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .testimonials-container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .testimonials-grid {
        padding: 0 !important; /* Plus de padding interne */
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .testimonial-card {
        margin: 0 !important;
        padding: 1rem 0.75rem !important; /* Padding réduit */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Section blocs génériques - alignement avec hero */
    .section-block {
        margin: 1rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Headers de sections - alignement avec hero */
    .header-section-v1 {
        padding: 1.25rem 0.75rem !important; /* Padding réduit */
        margin: 0.75rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Grilles - alignement avec hero */
    .grid-2 {
        gap: 0.75rem !important;
        margin: 0.75rem 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

       /* Grilles - alignement avec hero + FORCE 1 COLONNE */
    .grid-1,
    .grid-2,
    .grid-3, 
    .grid-4 {
        gap: 0.75rem !important;
        margin: 0.75rem 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    
    /* Content enhanced dans homepage - alignement avec hero */
    .content-enhanced {
        padding: 1rem 0.75rem !important; /* Padding très réduit */
        margin: 0.75rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
/* Video containers - format 4:3 pour vidéos carrées converties */
.video-container {
    position: relative;
    width: 100% !important;
    max-width: 800px !important;
    margin: 0.75rem auto !important;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;  /* Format 4:3 au lieu de 16:9 */
    border-radius: 8px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        margin: 0.5rem auto;
    }
}
    
    /* Outils grid - alignement avec hero */
    .tools-grid {
        gap: 1rem !important;
        margin: 1rem 0 !important;
        padding: 0 !important;
        width: 100% !important;
        grid-template-columns: 1fr !important;
    }
    
    .tool-card {
        padding: 1.5rem 1rem !important; /* Padding réduit */
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Statistiques témoignages */
    .testimonials-stats {
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
        padding: 0 !important;
    }
    
    .stat-item {
        padding: 0.5rem !important;
    }
    
    /* Navigation témoignages */
    .testimonials-nav {
        gap: 0.5rem !important;
        margin-bottom: 2rem !important;
        padding: 0 !important;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
        margin: 0.2rem !important;
    }
    
    /* CTA témoignages */
    .testimonials-cta {
        padding: 1.5rem 0.75rem !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}

