/* ===== VARIABLES CSS ===== */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gold: #B79A74;
    --color-beige: #D0B289;
    --color-dark-gray: #2E2E2E;
    --color-light-gray: #CCCCCC;
    
    --font-family: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98), rgba(20, 20, 20, 0.98));
    backdrop-filter: blur(15px);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--color-gold);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(183, 154, 116, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cookie-header h3 {
    color: var(--color-gold);
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cookie-body {
    flex: 1;
    color: #f0f0f0;
    line-height: 1.7;
}

.cookie-body p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.cookie-body p:last-child {
    margin-bottom: 0;
}

.cookie-details {
    margin-top: 0.8rem;
}

.cookie-details a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.cookie-details a:hover {
    border-bottom-color: var(--color-gold);
    color: var(--color-beige);
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
    min-width: 220px;
}

.cookie-actions .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cookie-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cookie-actions .btn:hover::before {
    left: 100%;
}

.cookie-actions .btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    color: white;
    box-shadow: 0 6px 20px rgba(183, 154, 116, 0.4);
}

.cookie-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(183, 154, 116, 0.5);
    background: linear-gradient(135deg, var(--color-beige), var(--color-gold));
}

.cookie-actions .btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(183, 154, 116, 0.2);
}

.cookie-actions .btn-secondary:hover {
    background: var(--color-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(183, 154, 116, 0.4);
}

.cookie-actions .btn i {
    font-size: 1.1rem;
}

/* Responsive Cookie Consent */
@media (max-width: 968px) {
    .cookie-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .cookie-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .cookie-header h3 {
        font-size: 1.4rem;
    }
    
    .cookie-body {
        font-size: 0.95rem;
    }
    
    .cookie-actions {
        gap: 0.8rem;
    }
    
    .cookie-actions .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.preloader-logo {
    margin-bottom: 2rem;
}

.preloader-logo-image {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(183, 154, 116, 0.4));
    animation: logoFloat 2s ease-in-out infinite;
}

.preloader-text h2 {
    color: var(--color-gold);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.preloader-text p {
    color: var(--color-light-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.preloader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--color-gold);
    border-radius: 50%;
    animation: spinRing 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--color-beige);
    animation-delay: -0.5s;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: rgba(183, 154, 116, 0.5);
    animation-delay: -1s;
}

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

@keyframes spinRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--color-gold);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-beige));
    border-radius: 2px;
}

/* Correction pour l'alignement du trait sur mobile */
@media (max-width: 768px) {
    .hero-title .highlight {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .hero-title .highlight::after {
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 80%;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    color: var(--color-black);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    padding: 10px 20px;
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    position: relative;
}

.logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none;
    min-width: 55px;
    background: transparent;
    border: none;
    outline: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(183, 154, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-image {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(183, 154, 116, 0.3));
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Hero Visual Styles */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-main-card {
    background: linear-gradient(135deg, var(--color-dark-gray), var(--color-black));
    border: 2px solid var(--color-gold);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    animation: float 6s ease-in-out infinite;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(183, 154, 116, 0.3);
}

.card-header i {
    font-size: 2rem;
    color: var(--color-gold);
}

.card-header h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.formation-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(183, 154, 116, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--color-gold);
    transition: var(--transition);
}

.formation-badge:hover {
    background: rgba(183, 154, 116, 0.2);
    transform: translateX(5px);
}

.formation-badge i {
    font-size: 1.2rem;
    color: var(--color-gold);
    width: 20px;
}

.formation-badge span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.card-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(183, 154, 116, 0.3);
}

.certification-text {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.stat-mini {
    background: var(--color-gold);
    color: var(--color-black);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(183, 154, 116, 0.3);
}

.stat-mini .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-mini .stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== FORMATIONS SECTION ===== */
.formations {
    padding: 6rem 0;
    background: var(--color-dark-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-light-gray);
    max-width: 600px;
    margin: 0 auto;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.formation-card {
    background: var(--color-black);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(183, 154, 116, 0.2);
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--color-gold);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--color-black);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.card-description {
    color: var(--color-light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-features {
    list-style: none;
    margin-bottom: 2rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-light-gray);
}

.card-features i {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.card-footer {
    text-align: center;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--color-black);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(183, 154, 116, 0.1) 0%, transparent 70%);
    opacity: 0.5;
}

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

.cta-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(183, 154, 116, 0.3);
    animation: float 3s ease-in-out infinite;
}

.cta-icon i {
    font-size: 2.5rem;
    color: var(--color-black);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--color-light-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-feature i {
    font-size: 1.3rem;
    color: var(--color-gold);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 6rem 0;
    background: var(--color-black);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(183, 154, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-intro {
    background: var(--color-dark-gray);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(183, 154, 116, 0.2);
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold), var(--color-beige));
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(183, 154, 116, 0.3);
}

.about-icon i {
    font-size: 2.2rem;
    color: var(--color-black);
}

.about-description {
    color: var(--color-light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.about-description strong {
    color: var(--color-gold);
    font-weight: 700;
}

.about-founder {
    background: linear-gradient(135deg, var(--color-dark-gray), var(--color-black));
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    border: 2px solid var(--color-gold);
    position: relative;
}

.founder-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.founder-icon {
    width: 60px;
    height: 60px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(183, 154, 116, 0.4);
}

.founder-icon i {
    font-size: 1.5rem;
    color: var(--color-black);
}

.founder-text h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.founder-text p {
    color: var(--color-light-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.about-features {
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-item {
    background: var(--color-dark-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(183, 154, 116, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(183, 154, 116, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(183, 154, 116, 0.3);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--color-black);
}

.feature-item h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--color-light-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== LEGAL NOTICES SECTION ===== */
.legal-notices {
    padding: 8rem 0 6rem;
    background: var(--color-black);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 800;
}

.legal-subtitle {
    font-size: 1.2rem;
    color: var(--color-light-gray);
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-dark-gray);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(183, 154, 116, 0.2);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(183, 154, 116, 0.1);
}

.legal-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.legal-section h2 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold), var(--color-beige));
    border-radius: 2px;
}

.legal-section p {
    color: var(--color-light-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section p strong {
    color: var(--color-white);
    font-weight: 600;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.legal-section ul li {
    color: var(--color-light-gray);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    color: var(--color-gold);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.legal-back {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(183, 154, 116, 0.2);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: var(--color-black);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--color-dark-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(183, 154, 116, 0.2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(183, 154, 116, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-beige));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--color-black);
}

.contact-details h4 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--color-white);
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.contact-note {
    color: var(--color-light-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* Contact Form */
.contact-form-container {
    background: var(--color-dark-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(183, 154, 116, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(183, 154, 116, 0.2);
}

.form-header h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-header p {
    color: var(--color-light-gray);
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(183, 154, 116, 0.3);
    border-radius: 8px;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(183, 154, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: block;
    margin-bottom: 2rem;
    width: 100%;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--color-light-gray);
    font-size: 0.95rem;
    line-height: 1.4;
    width: 100%;
    padding: 0;
    margin: 0;
    min-height: 24px;
}

.checkbox-label input[type="checkbox"] {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(183, 154, 116, 0.5);
    border-radius: 4px;
    background: var(--color-black);
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-black);
    font-weight: bold;
    font-size: 12px;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 16px;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-dark-gray);
    padding: 4rem 0 1rem;
}

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

.footer-main {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none;
    min-width: 50px;
    background: transparent;
    border: none;
    outline: none;
}

.footer-title {
    color: var(--color-gold);
    margin: 0;
    font-size: 1.5rem;
}

.footer-subtitle {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-text {
    color: var(--color-light-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-certifications {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(183, 154, 116, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--color-gold);
}

.certification-badge i {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.certification-badge span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--color-gold);
    width: 12px;
}

.footer-contact-section {
    padding-left: 1rem;
}

.contact-item-footer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-footer i {
    color: var(--color-gold);
    font-size: 1.1rem;
    width: 20px;
    margin-top: 0.2rem;
}

.contact-item-footer div {
    display: flex;
    flex-direction: column;
}

.contact-item-footer strong {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-item-footer span {
    color: var(--color-light-gray);
    font-size: 0.85rem;
}

.footer-social {
    margin-top: 2rem;
}

.footer-social h5 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-black);
    border: 2px solid rgba(183, 154, 116, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(183, 154, 116, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--color-gold);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--box-shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Logo responsive */
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    /* Hero responsive */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image {
        height: auto;
        order: -1;
    }
    
    .hero-main-card {
        padding: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .stat-mini {
        padding: 0.8rem;
        min-width: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    /* Contact responsive */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
    
    /* Formations responsive */
    .formations-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* About responsive */
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-intro,
    .about-founder {
        padding: 2rem;
    }
    
    .founder-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-main {
        padding-right: 0;
    }
    
    .footer-contact-section {
        padding-left: 0;
    }
    
    .footer-certifications {
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
    }
    
    .formation-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .floating-card i {
        font-size: 1.5rem;
    }
    
    .floating-card span {
        font-size: 0.8rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-light-gray: #E0E0E0;
        --color-dark-gray: #1A1A1A;
    }
}
