/* ==========================================================================
   ECS – Epiphane Consulting Solutions Design System & Stylesheet
   Style: Corporate Premium (Deloitte / McKinsey / Korn Ferry inspired)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-night: #071C4D;          /* Bleu nuit - Primary brand color */
    --color-royal: #0D3B8E;          /* Bleu royal - Secondary brand color */
    --color-performance: #3CB043;    /* Vert performance - Accent color */
    --color-performance-light: rgba(60, 176, 67, 0.1);
    --color-white: #FFFFFF;
    --color-light-bg: #F5F7FA;       /* Gris clair */
    --color-text-dark: #1E293B;      /* Body text dark */
    --color-text-muted: #64748B;     /* Subtext / Muted text */
    --color-border: #E2E8F0;         /* Default border color */
    --color-gold: #D4AF37;           /* Accent Gold for awards/highlights */
    --color-gold-light: rgba(212, 175, 55, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-night) 0%, var(--color-royal) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-royal) 0%, var(--color-performance) 100%);
    --gradient-gold: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing & Layout */
    --container-max-width: 1200px;
    --header-height: 80px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(7, 28, 77, 0.04);
    --shadow-md: 0 10px 20px rgba(7, 28, 77, 0.08);
    --shadow-lg: 0 20px 40px rgba(7, 28, 77, 0.12);
    --shadow-performance: 0 10px 20px rgba(60, 176, 67, 0.15);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-royal);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-night);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & GENERAL COMPONENTS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-night);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white { color: var(--color-white) !important; }
.text-gray { color: var(--color-text-muted) !important; }
.text-highlight { color: var(--color-performance) !important; }

/* Grid / Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-royal);
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: var(--color-night);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-royal);
    color: var(--color-royal);
}
.btn-outline:hover {
    background-color: var(--color-royal);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-night);
}
.btn-light:hover {
    background-color: var(--color-light-bg);
    color: var(--color-royal);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Sections headers */
.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(13, 59, 142, 0.08);
    color: var(--color-royal);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-performance);
    border-radius: 2px;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
.section-header-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* Animations Trigger Classes (Scroll-triggered animations) */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
}
.logo-bold {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-night);
    line-height: 1;
}
.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-performance);
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-royal);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-performance);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}
.mobile-toggle .bar {
    width: 25px;
    height: 2.5px;
    background-color: var(--color-night);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
    background: radial-gradient(circle at 10% 20%, rgba(245, 247, 250, 1) 0%, rgba(230, 235, 245, 0.5) 90%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 59, 142, 0.05) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    z-index: 1;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-white);
    border: 1px solid rgba(13, 59, 142, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-night);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-slogan {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-royal);
    font-weight: 600;
    margin-bottom: 2rem;
    border-left: 3px solid var(--color-performance);
    padding-left: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: visible;
}

.frame-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    background-color: var(--color-night);
    border-radius: 12px;
    z-index: 1;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.hero-floating-award {
    position: absolute;
    bottom: 20px;
    left: -30px;
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--color-gold);
    animation: floating 4s ease-in-out infinite;
}

.award-icon {
    font-size: 1.8rem;
}
.award-details {
    display: flex;
    flex-direction: column;
}
.award-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-night);
}
.award-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Statistics row */
.stats-row-container {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    border-bottom: 4px solid var(--color-performance);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    border-right: 1px solid var(--color-border);
}
.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-night);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 0 0.5rem;
}

/* --------------------------------------------------------------------------
   6. CREDIBILITY SECTION
   -------------------------------------------------------------------------- */
.credibility-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.credibility-card {
    background: linear-gradient(135deg, var(--color-night) 0%, #112d6a 100%);
    border-radius: 16px;
    padding: 4rem;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.credibility-card::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(60, 176, 67, 0.1) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
}

.credibility-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.credibility-visual {
    display: flex;
    justify-content: center;
}

.trophy-wrapper {
    position: relative;
}

.trophy-img {
    max-height: 300px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.3));
}

.trophy-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
    z-index: 1;
}

.credibility-badge {
    display: inline-block;
    background-color: var(--color-performance);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.credibility-title {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.credibility-category {
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.credibility-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.credibility-quote {
    border-left: 3px solid var(--color-performance);
    padding-left: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   7. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
    padding: 6rem 0;
    background-color: var(--color-light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-lead {
    font-size: 1.3rem;
    color: var(--color-royal);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon-box {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-royal);
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.feature-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-bg-decorator {
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    top: 0;
    left: 0;
    border: 3px solid var(--color-performance);
    border-radius: 8px;
    z-index: 1;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.experience-card {
    position: absolute;
    bottom: -10px;
    right: 0px;
    background-color: var(--color-night);
    color: var(--color-white);
    padding: 1.2rem 2rem;
    border-radius: 8px;
    z-index: 3;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-right: 4px solid var(--color-performance);
}

.experience-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-performance);
}
.experience-label {
    font-size: 0.8rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 3rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 0;
    bottom: 0;
    left: 0;
    background-color: var(--color-royal);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--color-white);
    border-color: rgba(13, 59, 142, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.service-header-icon.color-blue { background-color: rgba(7, 28, 77, 0.08); color: var(--color-night); }
.service-header-icon.color-green { background-color: var(--color-performance-light); color: var(--color-performance); }
.service-header-icon.color-royal { background-color: rgba(13, 59, 142, 0.08); color: var(--color-royal); }
.service-header-icon.color-gold { background-color: var(--color-gold-light); color: var(--color-gold); }

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-bullets li {
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 500;
}

.service-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-performance);
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   9. PACKS D'ACCOMPAGNEMENT
   -------------------------------------------------------------------------- */
.packs-section {
    padding: 6rem 0;
    background-color: var(--color-light-bg);
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.pack-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
}

.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pack-card.featured {
    border: 2px solid var(--color-royal);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
    z-index: 2;
}
.pack-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}

.pack-tag-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-royal);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pack-header {
    margin-bottom: 2rem;
}

.pack-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(7, 28, 77, 0.05);
    color: var(--color-night);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.pack-badge.text-green {
    background-color: var(--color-performance-light);
    color: var(--color-performance);
}

.pack-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.pack-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.pack-features {
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pack-features ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pack-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.pack-features li.disabled {
    color: var(--color-text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.check-icon {
    color: var(--color-performance);
    font-weight: 800;
}

.cross-icon {
    color: #EF4444;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   10. ÉTUDE DE CAS SECTION
   -------------------------------------------------------------------------- */
.case-studies-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.case-card {
    background-color: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.case-content {
    padding: 4rem;
}

.case-tag-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--color-performance-light);
    color: var(--color-performance);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.case-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.case-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.case-results h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.result-check {
    background-color: var(--color-performance-light);
    color: var(--color-performance);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    min-width: 24px;
}

.case-side-quote {
    background: linear-gradient(135deg, var(--color-royal) 0%, var(--color-night) 100%);
    color: var(--color-white);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.quote-icon {
    font-size: 6rem;
    font-family: serif;
    line-height: 0.1;
    color: rgba(255,255,255,0.15);
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.case-side-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.quote-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-performance);
}

/* Modal CSS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition-smooth);
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 28, 77, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    background-color: var(--color-white);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1102;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    transform: scale(1);
    transition: var(--transition-bounce);
}

.modal.hidden .modal-container {
    transform: scale(0.9);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}
.modal-close:hover {
    color: var(--color-night);
}

.modal-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--color-performance-light);
    color: var(--color-performance);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.modal-container h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.modal-body-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.modal-body-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
}
.modal-body-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}
.modal-body-content li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   11. TEMOIGNAGES SECTION (Carousel)
   -------------------------------------------------------------------------- */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--color-night);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/epiphane_bras_croises.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05; /* light watermark background requested in prompt */
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title {
    color: var(--color-white);
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-carousel {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.rating-stars {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-profile {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.5rem;
}

.testimonial-name {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-role {
    color: var(--color-performance);
    font-size: 0.9rem;
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.carousel-arrow {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}
.carousel-arrow:hover {
    background-color: var(--color-white);
    color: var(--color-night);
    border-color: var(--color-white);
}

.carousel-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--color-performance);
    width: 25px;
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   12. BLOG SECTION
   -------------------------------------------------------------------------- */
.blog-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--color-light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
    border-color: rgba(13, 59, 142, 0.15);
}

.blog-img-box {
    position: relative;
    height: 200px;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-royal);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    z-index: 2;
}

.blog-placeholder-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.blog-placeholder-visual.color-1 { background: linear-gradient(135deg, var(--color-night) 0%, var(--color-royal) 100%); }
.blog-placeholder-visual.color-2 { background: linear-gradient(135deg, var(--color-royal) 0%, var(--color-performance) 100%); }
.blog-placeholder-visual.color-3 { background: linear-gradient(135deg, #112d6a 0%, var(--color-performance) 100%); }

.blog-body {
    padding: 2rem;
}

.blog-date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.blog-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.read-more-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-royal);
    display: inline-flex;
    align-items: center;
}
.read-more-link:hover {
    color: var(--color-performance);
}

/* --------------------------------------------------------------------------
   13. CALL TO ACTION BANNER
   -------------------------------------------------------------------------- */
.cta-banner-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.cta-banner-card {
    background: linear-gradient(135deg, var(--color-royal) 0%, var(--color-night) 100%);
    border-radius: 12px;
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(60, 176, 67, 0.1);
    top: -50px;
    left: -50px;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner-content h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-banner-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   14. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 6rem 0;
    background-color: var(--color-night);
    position: relative;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 59, 142, 0.1) 0%, transparent 70%);
    top: 10%;
    right: 0;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-performance);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
}

.contact-text h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-link {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
}
a.contact-link:hover {
    color: var(--color-performance);
}

.social-networks h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.social-btn:hover {
    background-color: var(--color-royal);
    color: var(--color-white);
    border-color: var(--color-royal);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-night);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
    background-color: var(--color-light-bg);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-royal);
    background-color: var(--color-white);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.error-msg {
    color: #EF4444;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.3rem;
    display: none;
}

.form-group.invalid input, .form-group.invalid textarea {
    border-color: #EF4444;
    background-color: rgba(239, 68, 68, 0.03);
}

.form-group.invalid .error-msg {
    display: block;
}

/* Success Card */
.form-success-card {
    text-align: center;
    padding: 2rem 0;
}

.success-icon-box {
    background-color: var(--color-performance-light);
    color: var(--color-performance);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 2rem auto;
}

.form-success-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.form-success-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Google Maps */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.map-overlay-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(7, 28, 77, 0.95);
    backdrop-filter: blur(5px);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 320px;
    z-index: 5;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--color-performance);
}

.map-overlay-info h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.map-overlay-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.4rem;
}
.map-overlay-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-performance);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: #04102d;
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-white);
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.footer-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-performance);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-slogan {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255,255,255,0.5);
    border-left: 2px solid var(--color-performance);
    padding-left: 0.8rem;
}

.footer-col-links h3, .footer-col-contact h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col-links a {
    font-size: 0.9rem;
}
.footer-col-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-col-contact p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}
.footer-legal-links a:hover {
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   16. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.whatsapp-icon-bg {
    background-color: #25D366;
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: var(--transition-bounce);
}

.whatsapp-tooltip {
    background-color: var(--color-white);
    color: var(--color-night);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
    border-right: 3px solid #25D366;
}

.whatsapp-float-btn:hover .whatsapp-icon-bg {
    transform: scale(1.1);
    background-color: #20BA5A;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   17. RESPONSIBLE MEDIA QUERIES (BREAKPOINTS)
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-badge-tag {
        justify-content: center;
    }
    .hero-slogan {
        border-left: none;
        border-top: 2px solid var(--color-performance);
        border-bottom: 2px solid var(--color-performance);
        padding: 0.5rem 0;
        display: inline-block;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
    }
    .hero-floating-award {
        left: 50%;
        transform: translateX(-50%) !important;
        bottom: -20px;
        animation: none;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .stat-card {
        border-right: none;
        padding-bottom: 1.5rem;
    }
    .stat-card:nth-child(odd) {
        border-right: 1px solid var(--color-border);
    }
    
    .credibility-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .credibility-visual {
        order: -1;
    }
    .credibility-quote {
        border-left: none;
        border-top: 2px solid var(--color-performance);
        padding: 1rem 0;
    }
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-visual {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .packs-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 450px;
        margin: 0 auto;
    }
    .pack-card.featured {
        transform: scale(1);
    }
    .pack-card.featured:hover {
        transform: translateY(-5px);
    }
    .case-card {
        grid-template-columns: 1fr;
    }
    .case-side-quote {
        padding: 4rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-white);
        z-index: 999;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        gap: 2.5rem;
    }
    .nav-link {
        font-size: 1.2rem;
    }
    .btn-header-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    .stats-row-container {
        padding: 1.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stat-card:nth-child(odd) {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .stat-card {
        padding-bottom: 1rem;
    }
    .stat-card:last-child {
        padding-bottom: 0;
    }
    
    .credibility-card, .case-content, .contact-form-container, .modal-container {
        padding: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner-card {
        padding: 3rem 1.5rem;
    }
    .cta-banner-content h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-btn-consultation, .hero-btn-services {
        width: 100%;
    }
}
