/* ============================================
   CYNERGY V2 - CYBER ADVISORY (LIGHT MODE)
   Version 2.0 - Palette mise à jour
   Police: Aptos/Inter - Design sobre et professionnel
   ============================================ */

/* Import Google Fonts - Inter (similaire à Aptos) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* ========== PALETTE CYNERGY V2 ========== */
    
    /* Couleur principale */
    --dark-violet: #49346A;
    
    /* Couleurs secondaires */
    --obsidian-black: #141518;
    --charcoal-gray: #2B2B2D;
    
    /* Accents */
    --copper-orange: #C76A3D;
    --royal-copper: #B85C33;
    --electric-teal: #32C1B0;
    --teal-icons: #2BA798;
    
    /* Neutres */
    --steel-gray: #6B6F75;
    --sand-beige: #EFEAE5;
    --soft-white: #FAFAFA;
    --ivory-white: #FDFDFD;
    --obsidian-gray: #1E1E22;
    
    /* ========== VARIABLES SÉMANTIQUES ========== */
    
    /* Backgrounds */
    --bg-primary: var(--soft-white);
    --bg-secondary: var(--sand-beige);
    --bg-tertiary: var(--ivory-white);
    --bg-dark: var(--obsidian-gray);
    
    /* Text colors */
    --text-primary: var(--charcoal-gray);
    --text-secondary: var(--steel-gray);
    --text-heading: var(--dark-violet);
    --text-light: var(--soft-white);
    
    /* Accent colors */
    --accent-primary: var(--copper-orange);
    --accent-secondary: var(--electric-teal);
    --accent-hover: var(--royal-copper);
    
    /* ========== SPACING ========== */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* ========== TYPOGRAPHY ========== */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Aptos', sans-serif;
    
    /* Font sizes - Hiérarchie claire */
    --fs-hero: clamp(3rem, 6vw, 4.5rem);
    --fs-h1: clamp(2.5rem, 5vw, 3.5rem);
    --fs-h2: clamp(2rem, 4vw, 2.8rem);
    --fs-h3: clamp(1.5rem, 3vw, 2rem);
    --fs-h4: clamp(1.25rem, 2.5vw, 1.5rem);
    --fs-body-lg: 1.125rem;
    --fs-body: 1rem;
    --fs-body-sm: 0.875rem;
    
    /* ========== TRANSITIONS ========== */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ========== SHADOWS ========== */
    --shadow-sm: 0 2px 8px rgba(20, 21, 24, 0.08);
    --shadow-md: 0 4px 16px rgba(20, 21, 24, 0.12);
    --shadow-lg: 0 8px 32px rgba(20, 21, 24, 0.16);
    --shadow-hover: 0 12px 40px rgba(73, 52, 106, 0.15);
    
    /* ========== BORDER RADIUS ========== */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--dark-violet);
    color: var(--soft-white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
}

h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
}

h4 {
    font-size: var(--fs-h4);
    font-weight: 600;
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--dark-violet), var(--copper-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--fs-body);
    line-height: 1.8;
}

.text-large {
    font-size: var(--fs-body-lg);
    line-height: 1.7;
}

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

strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(73, 52, 106, 0.08);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.875rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(250, 250, 250, 0.98);
}

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

.nav-logo img {
    height: 45px;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
    height: 38px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--fs-body);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dark-violet), var(--teal-icons));
    transition: var(--transition-normal);
}

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--dark-violet), var(--teal-icons));
    color: var(--text-light);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(73, 52, 106, 0.2);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--soft-white) 0%, var(--sand-beige) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(73, 52, 106, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(50, 193, 176, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

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

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

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

.hero-tagline {
    color: var(--copper-orange);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--electric-teal);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 1rem 2.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--fs-body);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--dark-violet), var(--copper-orange));
    color: var(--text-light);
    box-shadow: 0 4px 16px rgba(73, 52, 106, 0.25);
}

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

.btn-secondary {
    background: var(--bg-primary);
    border: 2px solid var(--copper-orange);
    color: var(--copper-orange);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--copper-orange);
    color: var(--text-light) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Style spécifique pour le bouton secondaire avec bordure teal */
.btn-secondary[style*="border-color: #2BA798"]:hover {
    background: rgba(43, 167, 152, 0.15);
    border-color: var(--teal-icons);
    color: var(--teal-icons) !important;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-xl) 2rem;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--copper-orange);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CARDS
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(73, 52, 106, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-violet), var(--copper-orange));
    transform: scaleX(0);
    transition: var(--transition-normal);
    transform-origin: left;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--dark-violet);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--dark-violet), var(--copper-orange));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    font-size: 2rem;
    color: var(--text-light);
    animation: iconPulse 3s ease-in-out infinite;
}

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

.card-title {
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--fs-body);
}

.card-list {
    list-style: none;
    margin-top: 1.5rem;
}

.card-list li {
    padding: 0.875rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.card-list li::before {
    content: '▸';
    color: var(--copper-orange);
    margin-right: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   ICONS (Font Awesome animations)
   ============================================ */

.animated-icon {
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.rotating-icon {
    display: inline-block;
    animation: iconRotate 8s linear infinite;
}

@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--obsidian-gray);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
    border-top: 3px solid var(--dark-violet);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 0.9fr 1.4fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--steel-gray);
    margin-bottom: 1.75rem;
    max-width: 400px;
    line-height: 1.7;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(250, 250, 250, 0.05);
    border: 1px solid rgba(250, 250, 250, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--electric-teal);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--dark-violet), var(--copper-orange));
    color: var(--text-light);
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-links h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--steel-gray);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--copper-orange);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 250, 250, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--steel-gray);
    font-size: 0.9rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-gradient {
    background: linear-gradient(135deg, var(--dark-violet), var(--copper-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--copper-orange);
    font-weight: 600;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-violet), var(--teal-icons));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: fadeInUp 0.8s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-description {
        margin: 0 auto 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-hero: 2.2rem;
        --fs-h1: 1.85rem;
        --fs-h2: 1.6rem;
        --fs-h3: 1.3rem;
        --fs-h4: 1.15rem;
        --fs-body-lg: 1.05rem;
        --fs-body: 0.95rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition-normal);
        border-top: 1px solid rgba(73, 52, 106, 0.1);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 8rem 1.25rem 3rem;
        margin-top: 0;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.15rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Sections Mobile */
    .section {
        padding: 3rem 1.25rem;
    }

    /* Première section après hero - espacement pour éviter chevauchement header */
    .hero + .section {
        padding-top: 5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .section-description {
        font-size: 1rem !important;
        line-height: 1.7;
    }

    /* Cards Grid Mobile */
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .card {
        padding: 1.75rem 1.5rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Card Icons (secteurs principaux) */
    .card-icon[style*="160px"] {
        width: 120px !important;
        height: 120px !important;
        font-size: 3.5rem !important;
    }

    /* Card Icons (services.html - Notre cadre d'intervention) */
    .card-icon[style*="120px"] {
        width: 90px !important;
        height: 90px !important;
        font-size: 2.5rem !important;
    }

    /* Card Icons (index.html - Nos secteurs d'intervention) */
    .card-icon[style*="100px"] {
        width: 80px !important;
        height: 80px !important;
        font-size: 2.2rem !important;
    }

    /* Boutons uniformes */
    .btn {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 1.25rem 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand img {
        height: 40px;
    }

    .footer-links h4 {
        font-size: 1.05rem;
    }

    /* Container général */
    .container {
        padding: 0 1.25rem;
    }

    /* Navigation mobile */
    .nav-container {
        padding: 0 1.25rem;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .nav-logo img {
        height: 40px;
    }

    .navbar.scrolled .nav-logo img {
        height: 35px;
    }

    /* CTA button dans sections */
    .section a.btn {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Page secteurs - Sections avec grandes icônes */
    .section .cards-grid[style*="1fr 2fr"],
    .section .cards-grid[style*="2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Ordre inversé pour mobile - texte avant icône */
    .section .cards-grid[style*="2fr 1fr"] > div:first-child {
        order: 1;
    }

    .section .cards-grid[style*="2fr 1fr"] > div:last-child {
        order: 0;
        margin-bottom: 1.5rem;
    }

    /* Titres de sections sur page secteurs */
    h2[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }

    /* Sous-titres avec icônes */
    h4[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
    }

    /* Paragraphes dans sections secteurs */
    p[style*="font-size: 1.15rem"] {
        font-size: 1rem !important;
    }

    p[style*="font-size: 0.95rem"] {
        font-size: 0.9rem !important;
    }

    /* Grilles imbriquées dans secteurs */
    .cards-grid .cards-grid[style*="1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    /* Section "Notre cadre d'intervention" (services.html) - 2 colonnes sur mobile */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    /* Section "Nos secteurs d'intervention" (index.html) - 2 colonnes sur mobile */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    /* Amélioration visibilité menu hamburger */
    .mobile-menu-toggle {
        z-index: 1002 !important;
        position: relative;
        display: block;
        margin-left: auto;
        flex-shrink: 0;
    }

    .navbar {
        z-index: 1001;
        overflow: visible;
    }

    /* Empêcher overflow horizontal */
    body, html {
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    /* Section dark styling */
    .section-dark {
        padding: 2.5rem 1.25rem;
    }

    .section-dark .section-title {
        font-size: 1.75rem !important;
    }
}

/* Optimisations spécifiques pour très petits écrans */
@media (max-width: 480px) {
    :root {
        --fs-hero: 1.9rem;
        --fs-h1: 1.65rem;
        --fs-h2: 1.45rem;
        --fs-h3: 1.2rem;
    }

    .hero {
        padding: 5rem 1rem 2.5rem;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .section {
        padding: 2.5rem 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .card {
        padding: 1.5rem 1.25rem;
    }

    .card-icon[style*="160px"] {
        width: 100px !important;
        height: 100px !important;
        font-size: 3rem !important;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }

    /* Titres encore plus petits */
    h2[style*="font-size: 2rem"] {
        font-size: 1.35rem !important;
    }

    h2[style*="font-size: 2.5rem"] {
        font-size: 1.75rem !important;
    }

    p[style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }
}
