/* ==========================================
   Variables et Reset
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Raleway:wght@400;500;600&display=swap');

:root {
    --primary-color: #f3b500;
    --secondary-color: #d19f00;
    --accent-color: #f3b500;
    --text-color: #1f3c46;
    --text-light: #5a7581;
    --bg-color: #e6e6e6;
    --bg-light: #f5f5f5;
    --border-color: #d1d1d1;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --font-heading: 'Montserrat', sans-serif;
    --font-main: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

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

ul {
    list-style: none;
}

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

/* ==========================================
   Featured Projects Section
   ========================================== */
.featured-projects {
    position: relative;
}

.featured-projects-home {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.featured-project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.featured-image-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: zoomInOut 20s ease-in-out infinite;
}

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

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 60, 70, 0.5);
    z-index: 2;
}

.featured-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 2rem;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.featured-categories {
    margin-bottom: 2rem;
}

.featured-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: transparent;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.featured-category:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

.featured-link {
    display: inline-block;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* Compteur de projets */
.featured-counter {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    color: white;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    z-index: 10;
    font-family: var(--font-heading);
}

.counter-current {
    font-weight: 600;
    font-size: 1.2rem;
}

.counter-total {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .featured-project-slide {
        height: 100vh;
    }

    .featured-content {
        padding: 1rem;
    }

    .featured-category {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        margin: 0.25rem;
        letter-spacing: 1px;
    }

    .featured-link {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }

    .featured-counter {
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 0.9rem;
    }

    .counter-current {
        font-size: 1.1rem;
    }
}

/* ==========================================
   Header et Navigation
   ========================================== */
.site-header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

/* Logo adaptatif géré par JavaScript */

.home-page .site-header .contact-btn,
.agence-page .site-header .contact-btn {
    background: rgba(243, 181, 0, 0.9);
}

.home-page .site-header .burger-menu span,
.agence-page .site-header .burger-menu span {
    background: white;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: block;
    line-height: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(243, 181, 0, 0.8);
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.contact-btn:hover {
    background: rgba(243, 181, 0, 1);
    transform: scale(1.1);
}

.contact-btn img {
    width: 24px;
    height: 24px;
}

/* Tooltip */
.contact-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: var(--font-main);
    font-weight: 500;
}

.contact-btn::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--text-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-btn:hover::after,
.contact-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Burger Menu Button */
.burger-menu {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

.burger-menu:hover span {
    background: var(--primary-color);
}

/* Burger Menu Overlay */
.burger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.burger-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.burger-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--text-color);
    padding: 3rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.burger-menu-overlay.active .burger-menu-content {
    transform: translateX(0);
}

.burger-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.burger-close:hover {
    color: var(--primary-color);
}

/* Burger Navigation */
.burger-nav {
    margin-top: 4rem;
}

.burger-main-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.burger-main-links li {
    margin-bottom: 0.5rem;
}

.burger-main-links a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
    padding: 1rem 0;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.burger-main-links a:hover {
    color: var(--primary-color);
    padding-left: 1rem;
}

/* Social Links in Burger */
.burger-social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.burger-social-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.burger-social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ==========================================
   Showreel Section (Agence Page)
   ========================================== */
.showreel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showreel-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.showreel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 60, 70, 0.5);
    z-index: 2;
}

.showreel-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 2rem;
}

.showreel-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 90%;
    max-width: 800px;
}

.sound-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sound-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

.sound-icon {
    width: 24px;
    height: 24px;
    color: white;
    display: none;
}

.sound-toggle .sound-off {
    display: block;
}

.sound-toggle.active .sound-off {
    display: none;
}

.sound-toggle.active .sound-on {
    display: block;
}

.video-progress-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: height 0.3s ease;
}

.video-progress-bar:hover {
    height: 8px;
}

.video-progress-fill {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .showreel-section {
        height: 70vh;
    }

    .showreel-controls {
        bottom: 1.5rem;
        gap: 1rem;
        width: calc(100% - 2rem);
    }

    .sound-toggle {
        width: 40px;
        height: 40px;
    }

    .sound-icon {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--text-color) 0%, #152d35 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* ==========================================
   Boutons
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-color);
    border-color: var(--primary-color);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

/* ==========================================
   Sections
   ========================================== */
.services,
.recent-projects,
.stats,
.contact {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--text-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================
   All Projects Section
   ========================================== */
.all-projects {
    padding: 6rem 2rem;
    background: white;
}

.all-projects .section-header {
    justify-content: center;
}

.all-projects .section-title {
    text-align: center;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 2rem 0 3rem 0;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent !important;
    color: var(--text-color);
    border: none !important;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.filter-btn:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    color: var(--text-color);
}

.filter-btn:hover {
    color: var(--text-color);
    opacity: 0.7;
}

.filter-btn.active {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.filter-btn.active:hover {
    opacity: 1;
}

.no-projects {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: 6rem 2rem;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-title h1,
.about-title h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin: 0;
}

.about-title .highlight {
    color: var(--primary-color);
}

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

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-title h1,
    .about-title h2 {
        font-size: 2.5rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 4rem 2rem;
    }

    .about-title h1,
    .about-title h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1rem;
    }
}

/* ==========================================
   Team Section
   ========================================== */
.team {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    position: relative;
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #d4d4d4;
    position: relative;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-photo img {
    transform: scale(1.05);
}

.team-member-placeholder {
    width: 100%;
    height: 100%;
    background: #d4d4d4;
}

.team-member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem;
    background: rgba(31, 60, 70, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-member-info {
    opacity: 1;
}

.team-member-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
}

.team-member-position {
    font-size: 1rem;
    color: white;
    margin: 0;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================
   Values Section
   ========================================== */
.values {
    padding: 6rem 2rem;
    background: white;
}

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

.values-list {
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    border-bottom: 2px solid var(--text-color);
    margin-bottom: 0;
}

.value-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.value-header:hover {
    opacity: 0.7;
}

.value-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.value-toggle {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 300;
    line-height: 1;
    min-width: 30px;
    text-align: center;
}

.value-content {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}

.value-content p {
    padding: 0 0 2rem 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    text-align: right;
}

.value-item.active .value-content {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    .value-header h3 {
        font-size: 1.4rem;
    }

    .value-content p {
        font-size: 1rem;
    }
}

/* ==========================================
   Services - Stacking Cards
   ========================================== */
.services {
    background: var(--bg-light);
    padding: 4rem 2rem;
}

/* Services Stack Container */
.services-stack {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.service-stack-card {
    position: sticky;
    top: 100px;
    border-radius: 32px;
    padding: 80px;
    min-height: 500px;
    height: 70vh;
    max-height: 750px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    transition: transform 0.3s ease;
}

/* Variations de couleur */
.service-stack-card:nth-child(1) {
    background: #e6e6e6;
}

.service-stack-card:nth-child(2) {
    background: #d4d4d4;
}

.service-stack-card:nth-child(3) {
    background: #9eadb4;
}

.service-stack-card:nth-child(4) {
    background: #5a7a87;
}

.service-stack-card:nth-child(5) {
    background: #3d5c68;
}

.service-stack-card:nth-child(6) {
    background: #1f3c46;
}

/* Ajuster la couleur du texte pour les backgrounds foncés */
.service-stack-card:nth-child(n+4) .service-stack-header h3,
.service-stack-card:nth-child(n+4) .service-stack-content p {
    color: white;
}

.service-stack-header {
    border-right: 2px solid currentColor;
    padding-right: 32px;
    display: flex;
    align-items: center;
}

.service-stack-header h3 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.service-stack-content {
    padding-left: 80px;
    display: flex;
    align-items: center;
}

.service-stack-content p {
    color: var(--text-color);
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* Responsive */
@media (max-width: 968px) {
    .services-stack {
        gap: 48px;
    }

    .service-stack-card {
        position: static;
        grid-template-columns: 1fr;
        gap: 32px;
        border-radius: 16px;
        padding: 48px;
        height: auto;
        min-height: 400px;
    }

    .service-stack-header {
        border-right: none;
        border-bottom: 2px solid currentColor;
        padding-right: 0;
        padding-bottom: 32px;
    }

    .service-stack-header h3 {
        font-size: 2rem;
    }

    .service-stack-content {
        padding-left: 0;
    }

    .service-stack-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .service-stack-card {
        padding: 32px;
    }

    .service-stack-header h3 {
        font-size: 1.6rem;
    }

    .service-stack-content p {
        font-size: 1rem;
    }
}

/* Ancien style services grid (pour compatibilité) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ==========================================
   Projects Grid
   ========================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: transparent;
    overflow: hidden;
    transition: var(--transition);
    display: block;
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    overflow: hidden;
    background: var(--bg-light);
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 60, 70, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
}

.project-category {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 0.375rem 1rem;
    border: 1px solid white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0.25rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 1rem;
    color: white;
    font-weight: 700;
}

/* Anciens styles project-info supprimés car infos en surimpression maintenant */
.project-info {
    display: none;
}

.project-info p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ==========================================
   Stats Section
   ========================================== */
.stats {
    background: var(--text-color);
    color: white;
}

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

.stat-item {
    padding: 2rem;
}

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

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background: var(--bg-light);
    text-align: center;
}

.contact-intro {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ==========================================
   Projets Page
   ========================================== */
.projets-page {
    padding: 8rem 0 4rem 0;
    min-height: 70vh;
    background-color: #F5F5F5;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Anciens styles filter-btn commentés - utilisés dans all-projects maintenant */
/*
.filter-btn {
    padding: 0.625rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
*/

.empty-state {
    text-align: center;
    padding: 4rem 0;
}

.empty-state p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ==========================================
   Project Detail Page
   ========================================== */
.project-detail {
    padding: 8rem 0 3rem 0;
    background-color: #F5F5F5;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.project-header {
    margin-bottom: 3rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

.project-featured-video {
    width: 100%;
    margin: 3rem 0;
}

.project-featured-video video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .project-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .gallery-item img,
    .gallery-item video {
        height: 180px;
    }
}

.project-content {
    margin-bottom: 3rem;
}

.content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.project-details {
    display: block;
}

.project-key-numbers,
.project-missions {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.project-key-numbers:last-child,
.project-missions:last-child {
    margin-bottom: 0;
}

.project-details h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
}

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

.key-number-item {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 8px;
}

.key-number-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.key-number-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.missions-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.missions-list li {
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-color);
    text-align: center;
}

.related-projects {
    margin-top: 5rem;
}

/* ==========================================
   Page Expertise
   ========================================== */
.expertise-page {
    padding: 8rem 0 4rem 0;
    background-color: #F5F5F5;
}

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

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.expertises-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.expertise-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    scroll-margin-top: 100px;
}

.expertise-left .expertise-media {
    order: 1;
}

.expertise-left .expertise-content {
    order: 2;
}

.expertise-right .expertise-media {
    order: 2;
}

.expertise-right .expertise-content {
    order: 1;
}

.expertise-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.expertise-media img,
.expertise-media video {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.expertise-placeholder {
    width: 100%;
    height: 500px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.expertise-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.expertise-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.expertise-included {
    list-style: none;
    padding: 0;
}

.expertise-included-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-included li:not(.expertise-included-title) {
    padding: 0.4rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.4;
}

.expertise-included li:not(.expertise-included-title)::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.no-content {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-light);
    font-size: 1.2rem;
}

@media (max-width: 968px) {
    .expertise-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-left .expertise-media,
    .expertise-right .expertise-media {
        order: 1;
    }

    .expertise-left .expertise-content,
    .expertise-right .expertise-content {
        order: 2;
    }

    .expertise-media img,
    .expertise-media video,
    .expertise-placeholder {
        height: 350px;
    }
}

/* ==========================================
   Page Contact
   ========================================== */
.contact-page {
    padding: 8rem 0 4rem 0;
    background: var(--bg-light);
}

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

.contact-info-block {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-info-block h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-info-block > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-detail-item strong {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    font-weight: 600;
}

.contact-detail-item a {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--secondary-color);
}

.contact-form-block {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.contact-form-block #formContainer_2xIxEwCpj5MlRUT {
    max-width: 100%;
    overflow: hidden;
}

.contact-form-block #formContainer_2xIxEwCpj5MlRUT * {
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(243, 181, 0, 0.1);
    background: white;
}

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

/* Checkbox pour newsletter */
.form-checkbox {
    flex-direction: row !important;
    align-items: center;
    gap: 0 !important;
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
}

.checkbox-label span {
    color: var(--text-color);
}

.contact-form .btn-primary {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-top: 1rem;
}

.contact-form .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 181, 0, 0.3);
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.success-message h3 {
    color: var(--success-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-color);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.error-message ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-message li {
    color: var(--danger-color);
    font-weight: 500;
    padding: 0.3rem 0;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-block,
    .contact-form-block {
        padding: 2rem;
    }
}

/* ==========================================
   Clients Section
   ========================================== */
.clients {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

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

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logo-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 120px;
}

.client-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.client-logo-item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

@media (max-width: 768px) {
    .clients {
        padding: 4rem 1rem;
    }

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

    .client-logo-item {
        min-height: 100px;
        padding: 1rem;
    }

    .client-logo-item img {
        max-height: 60px;
    }
}

/* DoLIVE Section */
.dolive {
    padding: 6rem 2rem;
    background: white;
}

.dolive-header {
    display: flex;
    align-items: stretch;
    gap: 3rem;
    margin-bottom: 3rem;
}

.dolive-logo {
    width: auto;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.dolive-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dolive .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.dolive-description {
    text-align: left;
    max-width: 800px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.dolive-tabs {
    max-width: 1400px;
    margin: 0 auto;
}

.dolive-tab-buttons {
    display: flex;
    position: relative;
    margin-bottom: 3rem;
    border-top: 3px solid rgb(31, 60, 70);
}

.dolive-tab-button {
    flex: 1;
    padding: 1.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.dolive-tab-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: #f4c542;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dolive-tab-button:hover {
    color: var(--primary-color);
}

.dolive-tab-button.active {
    color: var(--primary-color);
}

.dolive-tab-button.active::before {
    transform: scaleX(1);
}

.dolive-tab-content {
    display: none;
}

.dolive-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.dolive-content-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
    align-items: center;
}

.dolive-image {
    grid-column: span 4;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
}

.dolive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dolive-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.dolive-text {
    grid-column: span 8;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.dolive-tab-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.dolive-short-description {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.dolive-tab-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.dolive-text p {
    margin-bottom: 1.5rem;
}

.dolive-cta {
    text-align: center;
    margin-top: 3rem;
}

.dolive-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .dolive-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .dolive-image,
    .dolive-text {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .dolive {
        padding: 4rem 1rem;
    }

    .dolive-header {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .dolive-logo {
        width: 120px;
    }

    .dolive-header-content {
        width: 100%;
    }

    .dolive .section-title {
        text-align: center;
    }

    .dolive-description {
        text-align: center;
        margin: 0 auto;
    }

    .dolive-tab-buttons {
        flex-direction: column;
        border-top: none;
        border-left: 3px solid rgb(31, 60, 70);
    }

    .dolive-tab-button {
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
    }

    .dolive-tab-button::before {
        top: 0;
        left: -3px;
        right: auto;
        bottom: 0;
        width: 3px;
        height: 100%;
        transform: scaleY(0);
    }

    .dolive-tab-button.active::before {
        transform: scaleY(1);
    }

    .dolive-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dolive-image,
    .dolive-text {
        grid-column: span 1;
    }

    .dolive-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .dolive-text {
        font-size: 1rem;
    }
}

.related-projects h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.project-navigation .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.project-navigation .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
    color: white;
}

.footer-social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 18px;
}

.footer-social-icons a:hover {
    background: var(--primary-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .burger-menu-content {
        max-width: 320px;
    }

    .burger-main-links a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-navigation {
        flex-direction: column;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .burger-menu-content {
        max-width: 100%;
    }

    .burger-main-links a {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ==========================================
   Newsletter Modal
   ========================================== */
.newsletter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.newsletter-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.newsletter-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.newsletter-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.newsletter-modal-content h2 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.newsletter-modal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

#newsletter-form .form-group {
    margin-bottom: 1rem;
}

#newsletter-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

#newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

#newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(243, 181, 0, 0.1);
}

.newsletter-message {
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
}

.newsletter-message:not(:empty) {
    display: block;
    padding: 0.75rem;
}

.newsletter-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.newsletter-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

#newsletter-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

#newsletter-submit:hover:not(:disabled) {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

#newsletter-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-link {
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .newsletter-modal-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .newsletter-modal-content h2 {
        font-size: 1.5rem;
        padding-right: 2rem;
    }
}

/* ==========================================
   Newsletter Toast Notification
   ========================================== */
.newsletter-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 400px;
}

.newsletter-toast-show {
    opacity: 1;
    transform: translateX(0);
}

.newsletter-toast-success {
    background-color: #10b981;
    color: white;
}

.newsletter-toast-error {
    background-color: #ef4444;
    color: white;
}

@media (max-width: 768px) {
    .newsletter-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .newsletter-toast-show {
        transform: translateY(0);
    }
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    padding: 6rem 0;
    background: #fff;
}

.features .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.features .section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    background: #fff;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(243, 181, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg,
.feature-icon img {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: left;
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 4rem 0;
    }

    .features .section-title {
        font-size: 2rem;
    }

    .features .section-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-title {
        font-size: 1.3rem;
    }
}
