:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --light: #f8f9fa;
    --cream: #faf8f5;
    --text: #2d3436;
    --text-light: #636e72;
    --border: #e0e0e0;
    --shadow: rgba(26, 26, 46, 0.08);
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--cream);
    overflow-x: hidden;
}

.serif {
    font-family: 'Instrument Serif', serif;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.85); /* Slightly more transparent */
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: width 0.1s ease-out;
}

/* Floating Side Navigation */
.side-nav {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    pointer-events: none;
}

.side-nav-dot {
    width: 6px;
    height: 6px;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.side-nav-dot.main-chapter {
    width: 10px;
    height: 10px;
    opacity: 0.8;
    background: transparent;
    border: 2px solid var(--border);
}

.side-nav-dot:hover, .side-nav-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    opacity: 1;
}

.side-nav-dot.main-chapter.active, .side-nav-dot.main-chapter:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.4);
}

/* Tooltips */
.side-nav-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(10, 10, 18, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.side-nav-dot:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 1024px) {
    .side-nav { display: none; } /* Hide on small screens for better UX */
}

nav.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    padding: 0.2rem 0; /* Shrink slightly on scroll */
}

.nav-container {
    max-width: 1400px; /* Wider for premium feel */
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    height: 34px; /* Slightly smaller logo */
    filter: brightness(0.9);
}

.branding-tagline {
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.15em; /* More space */
    margin-top: 0.2rem;
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.85rem; /* Smaller text for premium feel */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    position: relative; /* Added back for underline positioning */
    transition: all 0.3s ease;
}

.nav-links a:not(.nav-contact-link):hover {
    color: var(--accent);
    opacity: 1;
}

.nav-links a.active {
    color: var(--accent) !important;
    opacity: 1 !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px; /* Slightly lower */
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-contact-link {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px; /* Sober radius */
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.1);
}

.nav-contact-link:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.2);
}

/* Projection Section */
.projection-section {
    padding: 80px 2rem;
    background: var(--cream);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.projection-container {
    max-width: 800px;
    margin: 0 auto;
}

.projection-section h3 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.projection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.projection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.projection-item .p-icon {
    font-size: 2rem;
}

.projection-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    font-weight: 500;
}

.projection-transition {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.projection-jobs h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 26, 46, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 2rem 80px;
    background: var(--cream);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 26, 46, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px var(--shadow);
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--primary);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 .serif {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 520px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 40px 100px rgba(26, 26, 46, 0.05);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
    opacity: 0.3;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.8rem;
    background: rgba(250, 248, 245, 0.5);
    border: 1px solid rgba(0,0,0,0.02);
    border-radius: 16px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.03);
}

.floating-badge.top {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.floating-badge.bottom {
    bottom: -20px;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Video Series Section ("Le Bureau d'Étude Augmenté") */
.video-series-section {
    background: white;
    padding: 100px 2rem;
    border-bottom: 1px solid var(--border);
}

.video-series-section .section-header {
    margin-bottom: 4rem;
}

.video-series-section .section-title {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.08;
    text-wrap: balance;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.video-series-section .section-label {
    background: rgba(26, 26, 46, 0.05);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.video-card {
    background: var(--cream);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow);
    border-color: var(--accent-light);
}

.video-thumbnail {
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.playing .video-thumbnail video,
.playing video {
    object-fit: contain !important;
    opacity: 1 !important;
}

.play-button-overlay {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.video-card:hover:not(.playing) .play-button-overlay,
.video-placeholder:hover:not(.playing) .play-button-overlay {
    opacity: 1;
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    pointer-events: auto;
}

.video-info {
    padding: 1.5rem;
}

.video-episode {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.video-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.video-benefit {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    opacity: 0.8;
}

.video-series-cta {
    text-align: center;
}

/* Summary Section */
.summary-section {
    background: white;
    padding: 60px 2rem;
    border-bottom: 1px solid var(--border);
}

.summary-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.summary-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.summary-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.summary-title .serif {
    color: var(--accent-light);
    font-style: italic;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.summary-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.summary-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.summary-text {
    display: flex;
    flex-direction: column;
}

.summary-text strong {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.summary-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Styles */
section {
    padding: 100px 2rem;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Problem Section */
.problem-section {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.problem-section .section-header {
    position: relative;
    z-index: 1;
}

.problem-section .section-label {
    background: rgba(233, 69, 96, 0.2);
}

.problem-section .section-title {
    color: white;
}

.problem-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.problem-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Bad Approach Section */
.bad-approach {
    background: white;
}

.approach-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.approach-box {
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
}

.approach-bad {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    border: 2px solid #ffcccc;
}

.approach-good {
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
    border: 2px solid #b2f2bb;
}

.approach-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.approach-bad h3 {
    color: #c92a2a;
}

.approach-good h3 {
    color: #2b8a3e;
}

.approach-list {
    list-style: none;
}

.approach-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.approach-list li:last-child {
    border-bottom: none;
}

.approach-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.approach-bad .approach-list li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23c92a2a' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
}

.approach-good .approach-list li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232b8a3e' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Solution Section */
.solution-section {
    background: var(--cream);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-number {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-number {
    background: var(--accent);
    color: white;
}

.pillar-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pillar-hook {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

/* Result Block */
.result-block {
    margin-top: 4rem;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.result-header {
    background: linear-gradient(135deg, #2b8a3e 0%, #37b24d 100%);
    padding: 1.5rem 2.5rem;
}

.result-header h3 {
    color: white;
    font-size: 1.4rem;
    margin: 0;
}

.result-timeline {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-bottom: 1px solid var(--border);
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--border);
}

.timeline-marker {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.result-deliverables {
    padding: 2rem 2.5rem;
    background: var(--cream);
}

.result-deliverables h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .result-timeline {
        grid-template-columns: 1fr;
    }

    .timeline-item:not(:last-child)::after {
        content: '↓';
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        display: block;
        margin-top: 1rem;
    }

    .deliverables-grid {
        grid-template-columns: 1fr;
    }
}

/* Offers Section */
.offers-section {
    background: white;
}

.offers-grid,
.coaching-offers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.offer-card {
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px var(--shadow);
}

.offer-card.featured {
    background: var(--primary);
    color: white;
}

.offer-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
}

.offer-header {
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    /* Lock dashed line position */
}

.offer-card.featured .offer-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}



.offer-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.offer-card.featured .offer-name {
    color: white;
}

.offer-tagline {
    font-size: 0.95rem;
    color: var(--text-light);
}

.offer-card.featured .offer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

/* Offer Pricing */
.offer-price {
    margin-top: auto;
    /* Push border to bottom of header */
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.offer-card.featured .offer-price {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.price-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.price-range {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: inherit;
}

.offer-card.featured .price-range {
    color: white;
}

.price-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.offer-card.featured .price-detail {
    color: rgba(255, 255, 255, 0.6);
}

.offer-license {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
}

.offer-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.offer-features li {
    padding: 0.6rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.offer-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.offer-card.featured .offer-features li {
    color: rgba(255, 255, 255, 0.9);
}

.offer-card.featured .offer-features li::before {
    color: var(--accent-light);
}

.offer-details {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    min-height: 80px;
    /* Lock bottom line position */
}

.offer-card.featured .offer-details {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.offer-detail-item {
    text-align: center;
}

.offer-detail-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.offer-card.featured .offer-detail-label {
    color: rgba(255, 255, 255, 0.5);
}

.offer-detail-value {
    font-weight: 700;
    color: var(--primary);
}

.offer-card.featured .offer-detail-value {
    color: white;
}

.offer-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-card:not(.featured) .offer-cta {
    background: var(--primary);
    color: white;
}

.offer-card:not(.featured) .offer-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.offer-card.featured .offer-cta {
    background: var(--gradient-accent);
    color: white;
}

.offer-card.featured .offer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

/* For Who Section */
.for-who-section {
    background: var(--cream);
}

.for-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.for-who-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--shadow);
}

.for-who-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.for-who-box.yes h3 {
    color: #2b8a3e;
}

.for-who-box.no h3 {
    color: #c92a2a;
}

.for-who-list {
    list-style: none;
}

.for-who-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.for-who-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.for-who-box.yes .for-who-list li::before {
    background: #2b8a3e;
}

.for-who-box.no .for-who-list li::before {
    background: #c92a2a;
}

/* Conferences Section */
.conferences-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.conferences-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.conference-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.conference-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.conference-text h2 .serif {
    font-style: italic;
    color: var(--accent-light);
    display: inline-block;
}

.conference-subtitle {
    font-size: 1.2rem;
    color: var(--accent-light);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.conference-authority {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.conference-authority i {
    font-size: 1rem;
    color: var(--accent-light);
    opacity: 0.6;
}

.conference-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.conference-steps {
    background: transparent;
    padding: 1rem;
    position: relative;
    margin-top: 15.5rem;
    /* Adjusted to align "Déclic" with the image top */
}

.framework-method-header {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.conference-steps::before {
    content: '';
    position: absolute;
    left: 3rem;
    top: 5.5rem;
    bottom: 4.5rem;
    width: 1px;
    background: linear-gradient(to bottom,
            rgba(233, 69, 96, 0.35),
            rgba(255, 255, 255, 0.15) 50%,
            rgba(0, 255, 127, 0.35));
    z-index: 0;
    opacity: 1;
}

/* Animated traveling light along the timeline */
.conference-steps::after {
    content: '';
    position: absolute;
    left: calc(3rem - 2px);
    top: 5.5rem;
    width: 5px;
    height: 18px;
    border-radius: 3px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.7), rgba(233, 69, 96, 0.3) 60%, transparent);
    z-index: 0;
    filter: blur(1px);
    animation: timelinePulse 3.5s ease-in-out infinite;
}

@keyframes timelinePulse {
    0% {
        top: 5.5rem;
        opacity: 0;
    }

    10% {
        opacity: 0.9;
    }

    85% {
        opacity: 0.9;
    }

    100% {
        top: calc(100% - 4.5rem);
        opacity: 0;
    }
}

.conference-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    /* Reduced for a more compact flow */
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.conference-step:hover {
    transform: translateX(10px);
    filter: brightness(1.2);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.conference-step:hover .step-number {
    border-color: var(--accent-light);
    background: rgba(233, 69, 96, 0.1);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.2);
}

.conference-step:nth-child(2) .step-number {
    border-color: rgba(233, 69, 96, 0.4);
    color: #ff4d6d;
}

.conference-step:nth-child(3) .step-number {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.conference-step:nth-child(4) .step-number {
    border-color: rgba(0, 255, 127, 0.4);
    color: #00ff7f;
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.1);
}

/* Timeline connection dots */
.conference-step:nth-child(2)::before {
    content: '';
    position: absolute;
    left: 2rem;
    bottom: -2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.conference-step:nth-child(3)::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: -2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(0, 210, 106, 0.5);
    box-shadow: 0 0 6px rgba(0, 210, 106, 0.2);
    z-index: 2;
}

/* Activation step — refined green glow (premium, not neon) */
.conference-step.step-activation {
    border-radius: 14px;
    background: rgba(0, 210, 106, 0.02);
    border: 1px solid rgba(0, 210, 106, 0.07);
    box-shadow: 0 8px 40px rgba(0, 210, 106, 0.04);
    padding: 2rem 0;
}

.conference-step.step-activation .step-number {
    border-color: rgba(0, 210, 106, 0.15);
    color: #00b85c;
}

.step-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    text-transform: none;
    /* Changed from uppercase */
    letter-spacing: 0;
    color: white;
    font-weight: 700;
}

.step-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.step-content .step-benefit {
    display: block;
    margin-top: 0.5rem;
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Conferences Stats Band */
.conference-stats-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 1.5rem;
    row-gap: 0.2rem;
    margin: 0.8rem 0 1.2rem;
    padding: 0.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item-band {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.stat-item-band::before {
    content: '•';
    color: var(--accent-light);
    font-size: 1rem;
    line-height: 1;
    opacity: 0.6;
}

.stat-item-band:first-child::before {
    display: none;
}

@media (max-width: 768px) {
    .conference-stats-band {
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem 0;
    }

    .stat-item-band {
        white-space: normal;
    }
}

.org-badges {
    margin-bottom: 2rem;
}

.org-badges-label {
    display: block;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.badge-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Differentiation Section */
.diff-section {
    background: white;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.diff-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.diff-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px var(--shadow);
}

.diff-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow);
}

.diff-content h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.diff-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Final CTA Section */
.final-cta {
    background: var(--cream);
    text-align: center;
    padding: 120px 2rem;
}

.final-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.final-cta h2 .serif {
    font-style: italic;
    color: var(--accent);
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 2rem 30px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- Conference Image Styles --- */
.conference-visual-container {
    margin: 1.2rem 0;
    text-align: left;
}

.conference-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: block;
    transition: transform 0.3s ease;
}

.conference-img:hover {
    transform: scale(1.01);
}

.conference-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

@media (max-width: 1024px) {
    .conference-visual-container {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .approach-comparison,
    .for-who-grid,
    .conference-content {
        grid-template-columns: 1fr;
    }

    .conference-steps {
        margin-top: 0;
    }

    .pillars-grid,
    .offers-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

.offer-cta-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}



/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 35, 0.95);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: white;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.modal-submit {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
}

.modal-submit:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.success-content {
    display: none;
    text-align: center;
    padding: 2rem 0;
    animation: fadeInSuccess 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    section {
        padding: 60px 1.5rem;
    }

    .hero {
        padding: 100px 1.5rem 60px;
    }

    .floating-badge {
        display: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* E-learning Specific Styles */
.elearning-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 4rem; /* 64px gap for breathing room */
    align-items: flex-start; /* Align tops of columns */
    margin-bottom: 4rem;
}

.video-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 1.5rem;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.video-stack-header {
    margin-bottom: 0.5rem;
}

.video-stack-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.video-stack-title {
    font-family: 'Instrument Serif', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

/* Removed .video-stack::before as border is now on the element itself */

.video-placeholder {
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-placeholder.secondary {
    height: 140px;
    transform: scale(0.98);
    opacity: 0.9;
    background: #000; /* Dark fallback */
}

.video-placeholder.secondary::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: var(--poster);
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.5);
    z-index: 0;
}

.video-placeholder.secondary video {
    object-fit: contain;
    background: transparent;
    z-index: 1;
    position: relative; /* Ensure z-index works correctly */
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder::after {
    content: '▶';
    position: absolute; /* Fix centering regardless of flow */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    z-index: 6; /* Stay above everything */
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-placeholder:hover::after {
    background: rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
    color: white;
    border-color: white;
}

.video-placeholder.playing::after,
.video-placeholder.playing .video-label {
    opacity: 0;
    pointer-events: none;
}


.video-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 5; /* Ensure visibility over blur and video */
}

.elearning-content {
    background: white;
    padding: 2rem; /* Reduced from 2.5rem */
    border-radius: 24px;
    box-shadow: 0 20px 60px var(--shadow);
    border: 1px solid var(--border);
}

.elearning-content .offer-name {
    font-size: 2.2rem !important; /* Slightly smaller */
    margin-bottom: 0.5rem !important;
}

.elearning-content .offer-tagline {
    margin-bottom: 0.5rem !important;
}

.elearning-content .offer-features {
    margin: 1.2rem 0 !important; /* Reduced vertical gap */
}

.elearning-content .offer-features li {
    margin-bottom: 0.3rem !important;
}

.elearning-content .offer-price {
    padding-top: 1rem !important;
    margin-top: 0.5rem !important;
}

/* Specific button interactions for the premium CTA */
.offer-cta:hover {
    background: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important; /* Professional shadow, no glow */
}

.offer-cta:active {
    transform: translateY(0);
}

.coaching-section-title {
    text-align: center;
    margin: 4rem 0 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.coaching-offers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {

    .elearning-layout,
    .coaching-offers {
        grid-template-columns: 1fr;
    }

    /* Removed separate media query for coaching-offers as it's now handled above */
}

/* --- New Alignment Styles --- */
.offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-cta {
    margin-top: auto;
    /* Pushes CTA to bottom */
}

.offer-features {
    flex-grow: 1;
    /* Pushes details and CTA to bottom */
}


/* --- Offer Category Choice Styles --- */
#offres,
#elearning,
#accompagnement,
#conferences {
    scroll-margin-top: 100px;
}

.category-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--primary);
    border: 2px solid transparent;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 50px var(--shadow);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.category-btn {
    margin-top: 1rem;
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn::after {
    content: '↓';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-btn::after {
    transform: translateY(3px);
}

@media (max-width: 768px) {
    .category-selector {
        grid-template-columns: 1fr;
    }
}

/* History Section */
.history-section {
    background: white;
    padding: 120px 2rem;
    overflow: hidden;
}

.history-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    /* Adjusted for maximum dominant visual column */
    gap: 5rem;
    align-items: start !important;
    /* Align with title/slogan top */
}

.history-content h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.history-content .serif {
    font-style: italic;
    color: var(--accent);
}

.history-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.history-credentials {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
}

.history-reassurance {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: -2rem 0 3rem;
    font-style: italic;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-reassurance::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-style: normal;
}

.history-impact {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.5;
    margin: 1.5rem 0 2.5rem;
    max-width: 90%;
    position: relative;
    padding-left: 1.2rem;
    border-left: 3px solid var(--accent);
}

.history-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 3rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border) 50%, var(--accent-light));
    opacity: 0.3;
}

.history-step {
    position: relative;
    margin-bottom: 2.5rem;
}

.history-step:last-child {
    margin-bottom: 0;
}

.history-step::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
}

.history-step h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.history-visual {
    position: relative;
}

.history-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px var(--shadow);
    margin-bottom: 1.5rem;
}

.history-img {
    width: 100%;
    max-height: 700px;
    object-fit: cover;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.history-img:hover {
    transform: scale(1.05);
}

.history-legend {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    text-align: left;
}

.history-proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.history-pill {
    background: var(--cream);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
}

.history-badges-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-pill {
    font-size: 0.75rem;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.03);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 500;
}

.history-accordion {
    margin-top: 1.5rem;
}

.accordion-trigger {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: underline;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 1rem;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.history-proof-header {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.history-audience-scope {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    font-style: italic;
    opacity: 0.7;
    border-left: 2px solid var(--border);
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.low-friction-note {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .history-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }



    .history-content {
        text-align: center;
    }

    .history-timeline {
        padding-left: 0;
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .history-timeline::before {
        left: -1.5rem;
    }

    .history-step::before {
        left: -2rem;
    }

    .history-proofs {
        justify-content: center;
    }
}

/* Local style override for checked items */
.offer-card[style*="linear-gradient"] .offer-features li::before,
.offer-card[style*="radial-gradient"] .offer-features li::before {
    color: var(--accent-light) !important;
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Lightbox Player */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    width: 90%;
    max-width: 1200px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-lightbox.active .lightbox-container {
    transform: scale(1);
}

.lightbox-container video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .lightbox-container {
        width: 95%;
    }
    .lightbox-close {
        top: -40px;
        right: 10px;
    }
}

/* Premium Validation Effects (Steve Jobs Style) */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
    border-color: var(--accent) !important;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.2);
}

.input-error-msg {
    color: var(--accent-light);
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-error-msg.visible {
    opacity: 1;
}