/* ===================================
   VARIABLES & PALETTE ICREA - THÈME CLAIR
   =================================== */
:root {
    --noir: #000000;
    --violet: #4B0082;
    --violet-clair: #6c0ad4;
    --violet-fonce: #3e0b6b;
    --violet-sombre: #2a1a3a;
    --jaune-orange: #FFC300;
    --jaune-fonce: #e0a800;
    --gris-clair: #f8f8f5;
    --gris-moyen: #e0e0dd;
    --gris-fonce: #2c2c2c;
    --blanc: #ffffff;
    
    /* Hiérarchie typographique */
    --text-hero: 4.5rem;
    --text-h1: 3rem;
    --text-h2: 2rem;
    --text-h3: 1.5rem;
    --text-body-large: 1.25rem;
    --text-body: 1rem;
    --text-small: 0.875rem;
    
    --z-bg: -2;
    --z-wash: 0;
    --z-content: 1;
    --z-header: 100;
}

/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gris-clair);
    color: var(--gris-fonce);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===================================
   COUCHE 1 : CANVAS (z-index: -2)
   =================================== */
#brand-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-bg);
    pointer-events: none;
}

/* ===================================
   COUCHE 2 : LAVIS CLAIR (z-index: 0)
   =================================== */
#wash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-wash);
    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 245, 200, 0.70) 40%,
        rgba(255, 250, 220, 0.60) 75%,
        rgba(255, 255, 245, 0.80) 100%
    );

    opacity: 0.8;
    backdrop-filter: blur(2px);
}

/* ===================================
   HEADER NAVIGATION
   =================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid rgba(108, 10, 212, 0.25);
    padding: 1.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 4rem;
    width: auto;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 3px 8px rgba(108, 10, 212, 0.3));
}

.logo-image:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(
        90deg,
        var(--violet-clair) 0%,
        var(--jaune-orange) 25%,
        var(--violet) 50%,
        var(--jaune-orange) 75%,
        var(--violet-clair) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.15rem;
    animation: shimmer 10s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--gris-fonce);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    overflow: hidden;
}

/* Background animé au survol */
.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(108, 10, 212, 0.08) 0%, 
        rgba(255, 195, 0, 0.08) 100%);
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
    border-radius: 8px;
}

/* Bordure inférieure animée */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet-clair) 0%, var(--jaune-orange) 100%);
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 195, 0, 0.5);
}

.main-nav a:hover {
    color: var(--violet-clair);
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 2px 8px rgba(108, 10, 212, 0.3);
    animation: linkGlow 2s ease-in-out infinite;
}

.main-nav a:hover::before {
    left: 0;
}

.main-nav a:hover::after {
    width: 80%;
}

/* Animation de pulse au survol */
.main-nav a:active {
    transform: translateY(-1px) scale(0.98);
}

/* Animation d'apparition en cascade */
.main-nav a {
    animation: navLinkAppear 0.8s ease-out backwards;
}

.main-nav a:nth-child(1) { animation-delay: 0.1s; }
.main-nav a:nth-child(2) { animation-delay: 0.2s; }
.main-nav a:nth-child(3) { animation-delay: 0.3s; }
.main-nav a:nth-child(4) { animation-delay: 0.4s; }
.main-nav a:nth-child(5) { animation-delay: 0.5s; }

@keyframes navLinkAppear {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    60% {
        transform: translateY(5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* État focus pour accessibilité */
.main-nav a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 10, 212, 0.3);
    transform: translateY(-3px) scale(1.05);
}

/* Effet glow continu sur hover */
@keyframes linkGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 195, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 195, 0, 0.6),
                    0 0 30px rgba(108, 10, 212, 0.3);
    }
}

.main-nav a:hover {
    animation: linkGlow 2s ease-in-out infinite;
}

/* ===================================
   MAIN CONTENT
   =================================== */
main {
    position: relative;
    z-index: var(--z-content);
    padding-top: 6.5rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7.5rem 1.25rem;
}

.hero-content {
    max-width: 56rem;
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: brandEntrance 2s ease-out;
}

@keyframes brandEntrance {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-logo {
    height: 12rem;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(108, 10, 212, 0.25));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

/* HERO TITLE - Version fond clair */
.hero-title {
    display: inline-block;
    position: relative;
    font-size: var(--text-hero);
    font-weight: 800;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    padding: 0.6em 1.5em;
    margin-bottom: 1rem;
    
    /* Background blanc avec bordure colorée */
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--jaune-orange);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 60px rgba(255, 195, 0, 0.2),
        inset 0 0 30px rgba(255, 195, 0, 0.05);
    
    /* Texte dégradé sombre */
    background-image: linear-gradient(
        90deg,
        var(--violet-sombre) 0%,
        var(--jaune-fonce) 50%,
        var(--violet-sombre) 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    animation: heroGlowPulse 12s ease-in-out infinite;
}

.hero-title::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(108, 10, 212, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

@keyframes heroGlowPulse {
    0%, 100% {
        background-position: 0% center;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            0 0 60px rgba(255, 195, 0, 0.2),
            inset 0 0 30px rgba(255, 195, 0, 0.05);
        transform: scale(1);
    }
    50% {
        background-position: 300% center;
        box-shadow: 
            0 8px 40px rgba(0, 0, 0, 0.15),
            0 0 80px rgba(255, 195, 0, 0.4),
            inset 0 0 50px rgba(255, 195, 0, 0.1);
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: var(--text-h2);
    font-weight: 500;
    color: var(--jaune-fonce);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(255, 195, 0, 0.3);
    animation: subtitlePulse 6s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% {
        opacity: 0.9;
        text-shadow: 0 2px 8px rgba(255, 195, 0, 0.3);
    }
    50% {
        opacity: 1;
        text-shadow: 0 2px 12px rgba(255, 195, 0, 0.5);
    }
}

.hero-description {
    font-size: var(--text-body-large);
    color: var(--gris-fonce);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 45rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(108, 10, 212, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 2s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 2s ease-out 0.8s backwards;
}

/* ===================================
   BOUTONS
   =================================== */
.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    font-size: var(--text-body);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--jaune-orange) 0%, #ffaa00 100%);
    color: var(--noir);
    box-shadow: 0 4px 20px rgba(255, 195, 0, 0.4);
    animation: btnPulse 5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 195, 0, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(255, 195, 0, 0.6);
    }
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffaa00 0%, var(--jaune-orange) 100%);
    box-shadow: 0 6px 30px rgba(255, 195, 0, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--blanc);
    color: var(--violet-clair);
    border: 2px solid var(--violet-clair);
    box-shadow: 0 4px 20px rgba(108, 10, 212, 0.2);
}

.btn-secondary:hover {
    background: var(--violet-clair);
    color: var(--blanc);
    box-shadow: 0 6px 30px rgba(108, 10, 212, 0.4);
    transform: translateY(-2px);
}

/* ===================================
   SECTIONS COMMUNES
   =================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: var(--text-h1);
    font-weight: 700;
    margin-bottom: 0.9375rem;
    background: linear-gradient(
        90deg,
        var(--violet-clair) 0%,
        var(--jaune-orange) 20%,
        var(--violet) 40%,
        var(--jaune-orange) 60%,
        var(--violet-clair) 80%,
        var(--jaune-orange) 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sectionGlow 15s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes sectionGlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

.section-description {
    font-size: var(--text-body-large);
    color: var(--gris-fonce);
    font-weight: 400;
}

/* ===================================
   SPLIT SECTIONS
   =================================== */
.split-section {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.split-left,
.split-right {
    flex: 1;
    padding: 5rem 3.75rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-left {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-right: 2px solid rgba(108, 10, 212, 0.1);
}

.split-right {
    background: rgba(255, 245, 235, 0.5);
    backdrop-filter: blur(10px);
}

.section-content {
    width: 100%;
    max-width: 37.5rem;
}

.split-left:hover,
.split-right:hover {
    background: rgba(255, 245, 235, 0.7);
    transition: background 0.5s ease;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 10, 212, 0.15);
    border-radius: 12px;
    transition: all 0.5s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--violet-clair);
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 8px 30px rgba(108, 10, 212, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    min-width: 3rem;
    text-align: center;
    filter: drop-shadow(0 2px 6px rgba(255, 195, 0, 0.4));
    animation: iconBounce 5s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.service-text h3 {
    font-size: var(--text-h3);
    font-weight: 600;
    color: var(--gris-fonce);
    margin-bottom: 0.5rem;
}

.service-text p {
    color: rgba(44, 44, 44, 0.85);
    line-height: 1.6;
    font-size: var(--text-body);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-text {
    margin: 1.875rem 0;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--gris-fonce);
    font-size: 1.05rem;
    line-height: 1.8;
}

.stats-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5625rem;
    margin: 2.5rem 0;
    padding: 1.875rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 10, 212, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stats-vertical .stat-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.9375rem;
    background: rgba(255, 250, 240, 0.8);
    border-radius: 0.5rem;
    transition: all 0.5s ease;
}

.stats-vertical .stat-item:hover {
    background: rgba(255, 245, 230, 1);
    transform: translateX(0.625rem);
    box-shadow: 0 4px 15px rgba(108, 10, 212, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jaune-fonce);
    min-width: 6.25rem;
    text-shadow: 0 2px 8px rgba(255, 195, 0, 0.5);
    animation: statGlowPulse 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes statGlowPulse {
    0%, 100% {
        text-shadow: 0 2px 8px rgba(255, 195, 0, 0.5);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 4px 20px rgba(255, 195, 0, 0.9),
                     0 0 40px rgba(255, 195, 0, 0.6);
        transform: scale(1.08);
    }
}

.stat-label {
    color: var(--gris-fonce);
    font-size: var(--text-body);
    line-height: 1.4;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.875rem 0 2.5rem;
}

.portfolio-item-compact {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 10, 212, 0.15);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.portfolio-item-compact:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(108, 10, 212, 0.2);
    border-color: var(--jaune-orange);
}

.portfolio-image-compact .image-placeholder {
    background: linear-gradient(135deg, rgba(108, 10, 212, 0.1) 0%, rgba(255, 195, 0, 0.1) 100%);
    height: 9.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gris-fonce);
}

.portfolio-info-compact {
    padding: 0.9375rem;
    background: rgba(255, 255, 255, 0.95);
}

.portfolio-info-compact h3 {
    font-size: var(--text-h3);
    font-weight: 600;
    color: var(--gris-fonce);
    margin-bottom: 0.5rem;
}

.portfolio-info-compact p {
    color: rgba(44, 44, 44, 0.7);
    font-size: var(--text-small);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(108, 10, 212, 0.15);
    border-radius: 1rem;
    padding: 1.875rem;
    margin-bottom: 1.875rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9375rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(108, 10, 212, 0.2);
    border-radius: 0.5rem;
    color: var(--gris-fonce);
    font-size: var(--text-body);
    font-family: inherit;
    transition: all 0.5s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--violet-clair);
    background: var(--blanc);
    box-shadow: 0 0 20px rgba(108, 10, 212, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(44, 44, 44, 0.4);
}

.full-width {
    width: 100%;
}

.contact-info-compact {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
}

.info-item-compact {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    padding: 0.9375rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(108, 10, 212, 0.15);
    border-radius: 0.5rem;
    color: var(--gris-fonce);
    transition: all 0.5s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item-compact:hover {
    background: rgba(255, 250, 240, 1);
    border-color: var(--violet-clair);
    transform: translateX(0.3125rem);
    box-shadow: 0 4px 15px rgba(108, 10, 212, 0.15);
}

.info-item-compact .info-icon {
    font-size: 1.5rem;
}

/* ===================================
   FOOTER
   =================================== */
.main-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(108, 10, 212, 0.15);
    padding: 3.75rem 0 1.25rem;
    position: relative;
    z-index: var(--z-content);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-size: var(--text-h3);
    margin-bottom: 1.25rem;
    color: var(--jaune-fonce);
    font-weight: 600;
}

.footer-col p {
    color: rgba(44, 44, 44, 0.8);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.625rem;
}

.footer-col a {
    color: rgba(44, 44, 44, 0.75);
    text-decoration: none;
    font-size: var(--text-body);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--jaune-fonce);
}

.social-links {
    display: flex;
    gap: 0.9375rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(108, 10, 212, 0.1);
    color: rgba(44, 44, 44, 0.6);
    font-size: var(--text-small);
}

/* ===================================
   ACCESSIBILITÉ
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .logo-text,
    .hero-title,
    .section-title {
        background-size: 100% auto !important;
        background-position: 0% center !important;
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 64rem) {
    .split-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .split-left,
    .split-right {
        padding: 3.75rem 2.5rem;
        border-right: none;
        border-bottom: 2px solid rgba(108, 10, 212, 0.1);
    }
    
    .split-right {
        border-bottom: none;
    }
}

@media (max-width: 48rem) {
    .main-nav {
        display: none;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 2.5rem;
    }
    
    .hero-brand {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .hero-logo {
        height: 7rem;
    }
    
    .hero-title {
        font-size: 3rem;
        padding: 0.5em 1em;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .split-left,
    .split-right {
        padding: 2.5rem 1.25rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto;
    }
    
    .stats-vertical {
        padding: 1.25rem;
    }
    
    .stats-vertical .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .portfolio-compact {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}