/* ==========================================================================
   VARIABLES LOCALES & POLICES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
    /* Tes couleurs originales */
    --primary-blue: #AED6DE; 
    --dark-text: #1a1a1a;
    --helix-gold: #E2A923;
    --helix-teal: #7499A1;
    --helix-dark: #0d1b1e;
    --glass-bg: rgba(13, 27, 30, 0.8);

    /* Variables de structure pour le mode sombre */
    --bg-page: #ffffff;
    --bg-section-light: #fcfcfc;
    --text-main: #1a1a1a;
    --card-bg: #ffffff;
    --card-border: rgba(0,0,0,0.05);
}

/* ==========================================================================
   ADAPTATION THEME SOMBRE (Automatique)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-page: #0d1b1e;          /* Ton bleu sombre Helix */
        --bg-section-light: #0a1517; 
        --text-main: #ffffff;
        --card-bg: rgba(255, 255, 255, 0.05);
        --card-border: rgba(255, 255, 255, 0.1);
    }
}

/* ==========================================================================
   BASES & TYPOGRAPHIE
   ========================================================================== */
body, h1, h2, h3, h4, .serif-font {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
}

.modern-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.text-gradient {
    background: linear-gradient(to right, #7499A1 0%, #C4E1E6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.text-teal {
    color: var(--helix-teal);
    font-weight: 800;
}

/* ==========================================================================
   HERO SECTION (MODERN GLASSMORPHISM)
   ========================================================================== */
.hero-main {
    position: relative;
    min-height: calc(100vh - 80px); 
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
    z-index: 1;
}

.hero-background-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(13, 27, 30, 0.3), rgba(13, 27, 30, 0.5)), 
                url('/Images/Daniil_en_action\ \(2\).jpeg') no-repeat center 70%;
    background-size: cover;
    z-index: -1;
    transform: scale(1.05);
}

.glass-content-panel {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.6);
    margin-left: -20px;
    z-index: 1;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* ==========================================================================
   COMPOSANTS (BOUTONS & BADGES)
   ========================================================================== */
.badge-lari-glow {
    display: inline-flex;
    align-items: center;
    background: rgba(226, 169, 35, 0.15);
    border: 1px solid var(--helix-gold);
    color: var(--helix-gold);
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.badge-lari-glow .dot {
    height: 10px; width: 10px;
    background-color: var(--helix-gold);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 12px var(--helix-gold);
    animation: blink 2s infinite;
}

.btn-helix-gold {
    background: var(--helix-gold);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: none;
}

.btn-helix-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(226, 169, 35, 0.4);
    color: white;
}

.btn-helix-outline {
    border: 2px solid white;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-helix-outline:hover {
    background: white;
    color: #0d1b1e;
}

/* ==========================================================================
   VISION SECTION
   ========================================================================== */
.vision-section {
    background-color: var(--bg-section-light);
    padding: 100px 0 !important;
}

.vision-section h2 {
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
}

.manifesto-block {
    padding: 40px;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.manifesto-block::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background-color: var(--helix-gold);
    transition: width 0.3s ease;
}

.manifesto-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(116, 153, 161, 0.1);
    border-color: var(--helix-teal);
}

.manifesto-block:hover::before { width: 8px; }

.manifesto-block h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.manifesto-block p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    color: var(--text-main);
    opacity: 0.8;
    line-height: 1.6;
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.problem-section {
    background-color: #0d1b1e;
    position: relative;
    overflow: hidden;
}

.problem-section::after {
    content: "";
    position: absolute;
    bottom: -150px; right: -150px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(174, 214, 222, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--helix-gold);
    transform: translateY(-5px);
}

.problem-icon {
    width: 60px; height: 60px;
    background: rgba(226, 169, 35, 0.1);
    color: var(--helix-gold);
    display: flex; align-items: center; justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.problem-card h5 { color: white; font-weight: 700; margin-bottom: 15px; }
.problem-card p { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }

/* ==========================================================================
   CARROUSELS (USAGES & ÉTUDES)
   ========================================================================== */
.usage-carousel-section { /*A enlever pour faire ré-apparaitre la section*/
    display: none !important;
}
   .usage-carousel-section .carousel-control-prev, 
.usage-carousel-section .carousel-control-next {
    display: flex !important;
    width: 10%;
    opacity: 1;
}

.badge-usage {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(116, 153, 161, 0.1);
    color: var(--helix-teal);
    border: 1px solid var(--helix-teal);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.usage-banner-img {
    width: 100%; height: 550px;
    object-fit: cover; display: block;
}

.modern-usage-caption {
    position: absolute; bottom: 40px; right: 40px;
    background: rgba(13, 27, 30, 0.75);
    backdrop-filter: blur(15px);
    padding: 25px 35px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-align: left;
    min-width: 320px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.carousel-item.active .modern-usage-caption { transform: translateY(0); opacity: 1; }

.carousel-control-custom {
    width: 50px; height: 50px;
    background: white; color: var(--dark-text);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.carousel-control-custom:hover { background: var(--helix-gold); color: white; }

.testimonial-section { background-color: var(--bg-page); padding: 100px 0 !important; }

.quote-gray-box {
    position: relative;
    background-color: var(--card-bg);
    padding: 80px 100px 50px 100px !important;
    border-radius: 32px;
    border: 1px solid rgba(116, 153, 161, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    min-height: 380px;
    display: flex; flex-direction: column; justify-content: center; margin: 0 auto;
}

.quote-text {
    font-size: 1.4rem !important; font-weight: 500; line-height: 1.5;
    color: var(--text-main); font-style: italic; margin-bottom: 30px;
}

.quote-author {
    font-weight: 700; color: var(--helix-teal);
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
}

.source-link {
    display: inline-block; margin-top: 10px; color: var(--helix-gold);
    text-decoration: none; font-weight: 600; font-size: 0.85rem;
    transition: all 0.3s ease;
}

.carousel-nav-wrapper {
    position: relative; margin-top: 40px;
    display: flex; justify-content: center; align-items: center; gap: 25px; z-index: 10;
}

.nav-arrow {
    width: 45px; height: 45px; border-radius: 50%; background: white;
    border: 1px solid rgba(0,0,0,0.1); color: var(--dark-text);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.carousel-indicators { position: static !important; margin: 0 !important; display: flex; gap: 12px; }
.carousel-indicators button { width: 10px !important; height: 10px !important; border-radius: 50% !important; border: none !important; background-color: #D1D1D1 !important; }
.carousel-indicators button.active { background-color: #261212 !important; }

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .glass-content-panel { padding: 40px; }
    .quote-gray-box { min-height: 500px; padding: 40px 30px 100px 30px; }
}

@media (max-width: 768px) {
    .quote-gray-box { padding: 40px 25px 100px 25px !important; min-height: 380px !important; }
    .quote-text { font-size: 1.1rem !important; }
    .hero-title { font-size: 2.2rem !important; }
    .glass-content-panel { padding: 35px 25px !important; border-radius: 30px; }
}

@media (max-width: 991px) {
    .hero-main { padding: 0; display: flex; align-items: center; justify-content: center; }
    .glass-content-panel { margin: 0; width: 100%; border-radius: 25px; border-left: none; border-right: none; padding: 40px 20px; text-align: center; }
    .hero-actions { flex-direction: column; gap: 15px !important; width: 100%; }
    .btn-helix-gold, .btn-helix-outline { width: 100%; text-align: center; padding: 15px; }
    .badge-lari-glow { margin: 0 auto 20px auto; }
}