:root {
    --primary-color: #4b88a2;
    --accent-color: #ff5474;
    --accent-hover: #d30c7b;
    --text-color: #334155;
    --light-bg: rgba(255, 255, 255, 0.94);
    --border-color: #cbd5e1;
    --font-heading: 'Tomorrow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    letter-spacing: -0.01em;
    /* Fond Mesh Gradient 100% CSS moderne - Thématique Data & Observabilité */
    background-color: #0b1f2b;
    background-image: 
        radial-gradient(at 10% 15%, rgba(75, 136, 162, 0.4) 0px, transparent 55%),
        radial-gradient(at 90% 85%, rgba(255, 84, 116, 0.18) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(19, 67, 88, 0.5) 0px, transparent 65%),
        radial-gradient(at 80% 10%, rgba(30, 144, 255, 0.2) 0px, transparent 40%);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: rgba(19, 67, 88, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo img{width:260px;border:0;}
.logo span {
    color: var(--accent-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    font-family: var(--font-heading);
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: color 0.2s, transform 0.2s;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
}

.lang-switch {
    display: flex;
    align-items: center;
}

.lang-btn {
    font-family: var(--font-heading);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.35rem 0.65rem;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

/* Breakpoint à 920px pour inclure tablettes et grands smartphones sans chevauchement */
@media (max-width: 920px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-container {
        flex-wrap: wrap;
        padding: 0.25rem 0.5rem;
    }

    nav#mainNav {
        display: none;
        width: 100%;
        margin-top: 0.8rem;
        padding: 1rem 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(11, 31, 43, 0.95);
        border-radius: 8px;
    }

    nav#mainNav.open, nav#mainNav.is-active {
        display: block !important;
    }

    nav#mainNav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
        padding: 0;
    }

    nav#mainNav li {
        width: 100%;
    }

    nav#mainNav a {
        display: block;
        padding: 0.65rem 0.8rem;
        font-size: 1.05rem;
        width: 100%;
        border-radius: 4px;
        transition: background 0.15s ease;
    }

    nav#mainNav a:hover, nav#mainNav a.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
    }

    nav#mainNav .lang-switch {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px dashed rgba(255, 255, 255, 0.15);
    }

    nav#mainNav .lang-btn {
        display: inline-block;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    width: 90%;
    flex: 1;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    border-bottom: 8px solid var(--accent-color);
    display: inline-block;
    /*padding-bottom: 0.3rem;*/
}

h2 {
    color: var(--primary-color);
    margin: 1.8rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

h3 {
    margin: 1.2rem 0 0.8rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

ul.bullet-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

ul.bullet-list li {
    margin-bottom: 0.5rem;
}

.btn {
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 84, 116, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211, 12, 123, 0.4);
    color: #fff;
}

.btn i {
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media print {
    header, footer, .lang-switch, .btn, .btn-group, #burgerToggle {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
    main {
        box-shadow: none !important;
        border: none !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .faq-item {
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    details[open] summary ~ * {
        display: block !important;
    }
    details summary ~ * {
        display: block !important;
    }
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(75, 136, 162, 0.2);
}

footer {
    background: rgba(11, 31, 43, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-align: center;
    padding: 1.8rem;
    margin-top: auto;
    font-size: 0.9rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

footer a:hover {
    color: var(--accent-color);
}

/* --- Cartes & Composants Twig --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #134358, #4b88a2);
    border-radius: 20px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge-pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.formation-card, .video-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 12px;
    padding: 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.formation-card:hover, .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(19, 67, 88, 0.15);
    border-color: var(--primary-color);
}

.formation-card .highlights {
    margin: 1.2rem 0;
    padding-left: 0.5rem;
}

.formation-card .highlights ul {
    list-style: none;
    margin-top: 0.5rem;
}

.formation-card .highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.formation-card .highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.formation-card .meta-info {
    margin-top: auto;
    padding: 0.8rem 0;
    border-top: 1px dashed var(--border-color);
    font-size: 0.95rem;
}

.formation-card .card-footer {
    padding-top: 0.8rem;
}

/* Timeline des modules */
.modules-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
    border-left: 3px solid var(--primary-color);
}

.module-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.module-item:last-child {
    margin-bottom: 0;
}

.module-bullet {
    position: absolute;
    left: -2.7rem;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(75, 136, 162, 0.4);
}

.feature-box {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Grille de statistiques clés & Parcours */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

.timeline-experience {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.timeline-exp-item {
    margin-bottom: 1.5rem;
}

.timeline-exp-item:last-child {
    margin-bottom: 0;
}

.timeline-exp-item h3 {
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

/* Video Card Preview */
.video-preview {
    position: relative;
    background: #0f172a;
    height: 180px;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder .play-icon {
    font-size: 2.5rem;
    color: #ffffff;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-card:hover .play-icon {
    transform: scale(1.15);
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 2px 6px;
    font-size: 0.75rem;
    border-radius: 3px;
    font-weight: 600;
}

/* ==========================================================================
   FAQ Accordion Components
   ========================================================================== */
.faq-section {
    margin: 2.5rem 0 1.5rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.15s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--accent-color);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.15rem 1.25rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #334155;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.85rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Before / After Case Studies & Technical Guides Components
   ========================================================================== */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.25rem 0 2rem 0;
}

.case-card {
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.case-card h4 {
    font-size: 1.15rem;
    margin: 0.6rem 0 0.8rem 0;
    color: #1e293b;
}

.case-card ul.bullet-list {
    margin-bottom: 0;
    font-size: 0.96rem;
}

.case-before {
    border-top: 4px solid #ef4444;
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.case-after {
    border-top: 4px solid #10b981;
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    align-self: flex-start;
}

.badge-before {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-after {
    background: #d1fae5;
    color: #047857;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.guide-card .card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.guide-reading-time {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.guide-title-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.guide-title-link:hover {
    color: var(--accent-color);
}

.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.8rem 0 1.2rem 0;
}

.guide-tag {
    font-size: 0.78rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.back-link:hover {
    color: var(--accent-color);
}

.guide-header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.lead-paragraph {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 1.8rem;
}

.code-block {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.1rem 1.3rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: "JetBrains Mono", "Fira Code", Consolas, Monaco, monospace;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 1rem 0 1.5rem 0;
    border: 1px solid #1e293b;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.guide-article-body code, .case-card code {
    background: #f1f5f9;
    color: #0f172a;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: Consolas, Monaco, monospace;
}

.guide-article-body .code-block code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 1.2rem 0 1.8rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.comparison-table th {
    background: #134358;
    color: #fff;
    font-family: var(--font-heading);
    text-align: left;
    padding: 0.85rem 1rem;
}

.comparison-table td {
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--border-color);
    vertical-align: top;
}

.comparison-table tr:nth-child(even) td {
    background: #f8fafc;
}

.guide-cta-box {
    margin-top: 2.5rem;
    padding: 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(19, 67, 88, 0.08), rgba(75, 136, 162, 0.16));
    border: 2px solid var(--primary-color);
}

.guide-cta-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.related-guides-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0 2rem 0;
}

.related-guide-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.related-guide-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.related-guide-item > i:first-child {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.related-guide-item div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-guide-item strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.02rem;
}

.related-guide-item span {
    font-size: 0.9rem;
    color: #64748b;
}

.ms-auto {
    margin-left: auto;
    color: var(--accent-color);
}

/* ==========================================================================
   Interactive Module & Duration Configurator (Contact Page)
   ========================================================================== */
.module-configurator {
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.8rem;
    margin: 1.5rem 0 2.5rem 0;
    box-shadow: 0 8px 24px rgba(19, 67, 88, 0.1);
}

.configurator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.configurator-header h2 {
    margin: 0 0 0.3rem 0;
    font-size: 1.35rem;
}

.configurator-header p {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
}

.duration-badge-box {
    background: linear-gradient(135deg, #134358, #4b88a2);
    color: #fff;
    padding: 0.85rem 1.4rem;
    border-radius: 10px;
    text-align: center;
    min-width: 210px;
    box-shadow: 0 4px 12px rgba(19, 67, 88, 0.25);
    display: flex;
    flex-direction: column;
}

.duration-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
}

.duration-value {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0.15rem 0;
}

.duration-sub {
    font-size: 0.8rem;
    color: #cbd5e1;
}

.configurator-controls {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.config-field label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.45rem;
}

.track-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.track-btn {
    flex: 1;
    min-width: 180px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.track-btn:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.track-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(75, 136, 162, 0.35);
}

.config-row-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.config-row-options select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    color: var(--text-color);
}

.config-modules-wrapper {
    margin-top: 1.4rem;
}

.config-modules-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.btn-link-sm {
    background: none;
    border: none;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.btn-link-sm:hover {
    color: var(--accent-hover);
}

.modules-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
}

.module-check-card {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.module-check-card:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.module-check-card.is-selected {
    border-color: var(--primary-color);
    background: rgba(75, 136, 162, 0.08);
    box-shadow: 0 2px 8px rgba(19, 67, 88, 0.06);
}

.module-check-card input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
    flex-shrink: 0;
}

.module-check-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.module-check-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.15rem;
}

.module-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.tag-kibana {
    background: #e0f2fe;
    color: #0369a1;
}

.tag-grafana {
    background: #ffedd5;
    color: #c2410c;
}

.tag-custom {
    background: #fce7f3;
    color: #be185d;
}

.module-hours {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.module-check-content strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #1e293b;
}

.module-check-content span {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.4;
}


/* ==========================================================================
   Waitlist & Masterclasses Live
   ========================================================================== */

.waitlist-hero {
    text-align: center;
    max-width: 980px;
    margin: 1.5rem auto 2.5rem;
}

.waitlist-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #0284c7;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

.waitlist-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.waitlist-subtitle {
    font-size: 1.12rem;
    color: #475569;
    line-height: 1.65;
}

.waitlist-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto 3rem;
}

.waitlist-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.icon-elk {
    background: #e0f2fe;
    color: #0284c7;
}

.icon-grafana {
    background: #ffedd5;
    color: #ea580c;
}

.icon-cockpit {
    background: #ede9fe;
    color: #7c3aed;
}

.waitlist-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.waitlist-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Form Container */
.waitlist-form-container {
    max-width: 980px;
    margin: 0 auto 3.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.form-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0;
}

.waitlist-form .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 680px) {
    .waitlist-form .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .waitlist-form-container {
        padding: 1.5rem;
    }
}

.waitlist-form .form-group {
    margin-bottom: 1.25rem;
}

.waitlist-form label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.section-label {
    margin-bottom: 0.6rem !important;
}

.required {
    color: #ef4444;
}

.field-hint {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.98rem;
    font-family: var(--font-body);
    background: #f8fafc;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.waitlist-form input[type="text"]:focus,
.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Radio Cards selector */
.options-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.option-card {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
}

.option-card:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-card:has(input[type="radio"]:checked),
.option-card.active {
    border-color: #0284c7;
    background: rgba(14, 165, 233, 0.05);
    box-shadow: 0 0 0 1px #0284c7;
}

.option-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    width: fit-content;
}

.option-body strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #0f172a;
    margin-top: 0.2rem;
}

.option-body p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Radio pill selectors */
.radio-inline-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
}

.radio-pill:hover {
    background: #e2e8f0;
}

.radio-pill input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: #0284c7;
}

.radio-pill:has(input[type="radio"]:checked) {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0369a1;
    font-weight: 600;
}

/* RGPD Box */
.rgpd-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 1.25rem;
}

.rgpd-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
}

.rgpd-checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: #0284c7;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.turnstile-box {
    margin: 1.5rem 0;
}

.btn-submit-waitlist {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Grille de découverte thématique (Page d'accueil) */
.home-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.home-section-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-section-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(75, 136, 162, 0.15);
}

.home-section-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-section-card h3 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.home-section-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.home-card-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.home-card-link:hover {
    color: var(--accent-color);
    gap: 0.6rem;
}

