/* ===========================================
   ILION WEB SOLUTIONS - Style CSS v3.0
   Palette: Jeune, Dynamique, Pleine d'Espoir
   Conformité WCAG 2.1 AA
   =========================================== */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* === PALETTE PRINCIPALE (4 couleurs) === */
    --primary-color: #0369a1;      /* Bleu océan profond - Confiance */
    --secondary-color: #c2410c;    /* Corail intense - Énergie */
    --accent-color: #15803d;       /* Vert espoir - Succès/Sécurité */
    --highlight-color: #7c3aed;    /* Violet vif - Innovation */
    
    /* === VARIANTES HOVER === */
    --primary-hover: #075985;
    --secondary-hover: #9a3412;
    --accent-hover: #166534;
    --highlight-hover: #6d28d9;
    
    /* === COULEURS TEXTE === */
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    /* === ARRIÈRE-PLANS === */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --bg-primary-soft: #e0f2fe;    /* Bleu très léger */
    --bg-accent-soft: #dcfce7;     /* Vert très léger */
    --bg-highlight-soft: #f3e8ff;  /* Violet très léger */
    
    /* === BORDURES & OMBRES === */
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* === DÉGRADÉS === */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
    --gradient-energy: linear-gradient(135deg, var(--secondary-color) 0%, #f59e0b 100%);
    --gradient-success: linear-gradient(135deg, var(--accent-color) 0%, #22c55e 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 50%, var(--secondary-color) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    scroll-behavior: smooth;
}

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

/* ===========================================
   NAVBAR - Bleu océan avec accent violet
   =========================================== */

header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
    border-bottom: 4px solid var(--highlight-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1,
.brand-logo {
    color: var(--text-white) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    -webkit-text-fill-color: var(--text-white) !important;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--bg-highlight-soft);
}

.nav-menu a:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher a {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switcher a.active {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.lang-switcher a:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===========================================
   HERO SECTION - Dégradé dynamique
   =========================================== */

.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1,
.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===========================================
   BOUTONS - Corail énergique
   =========================================== */

.btn-primary {
    display: inline-block;
    background: var(--gradient-energy);
    color: var(--text-white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(194, 65, 12, 0.4);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194, 65, 12, 0.5);
}

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

.hero .btn-primary {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

section {
    padding: 80px 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-energy);
    border-radius: 2px;
}

/* ===========================================
   SERVIZI - Cartes avec accents colorés
   =========================================== */

.servizi {
    background-color: var(--bg-light);
}

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

.servizio-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.servizio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

/* Alternance des couleurs sur les cartes */
.servizio-card:nth-child(1)::before { background: var(--primary-color); }
.servizio-card:nth-child(2)::before { background: var(--secondary-color); }
.servizio-card:nth-child(3)::before { background: var(--accent-color); }
.servizio-card:nth-child(4)::before { background: var(--highlight-color); }
.servizio-card:nth-child(5)::before { background: var(--primary-color); }
.servizio-card:nth-child(6)::before { background: var(--secondary-color); }

.servizio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.servizio-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.servizio-card:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

.servizio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.servizio-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================================
   TECNOLOGIE - Grille colorée
   =========================================== */

.tecnologie {
    background-color: var(--bg-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Alternance des couleurs tech */
.tech-item:nth-child(4n+1) { background: var(--primary-color); }
.tech-item:nth-child(4n+2) { background: var(--secondary-color); }
.tech-item:nth-child(4n+3) { background: var(--accent-color); }
.tech-item:nth-child(4n) { background: var(--highlight-color); }

.tech-item::after {
    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 ease, height 0.6s ease;
}

.tech-item:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: var(--shadow-lg);
}

.tech-item:hover::after {
    width: 200%;
    height: 200%;
}

.tech-name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ===========================================
   VANTAGGI - Vert espoir
   =========================================== */

.vantaggi {
    background-color: var(--bg-accent-soft);
}

.vantaggi .section-title {
    color: var(--accent-color);
}

.vantaggi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vantaggio-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.vantaggio-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary-color);
}

.vantaggio-item h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.vantaggio-item p {
    color: var(--text-light);
}

/* ===========================================
   SICUREZZA - Fond sombre, accents vifs
   =========================================== */

.sicurezza {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 100%);
    color: white;
}

.sicurezza .section-title {
    color: white;
}

.sicurezza .section-title::after {
    background: var(--gradient-success);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.security-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.security-card:nth-child(even) {
    border-left-color: var(--highlight-color);
}

.security-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.security-card h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.security-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ===========================================
   CONTATTI - Design moderne
   =========================================== */

.contatti {
    background-color: var(--bg-white);
}

.contatti-content,
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contatti-info h3,
.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

.info-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-item strong {
    color: var(--primary-color);
}

.info-item a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-highlight-soft) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-white);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.contact-form ::placeholder {
    color: var(--text-light);
    opacity: 1;
}

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

.contact-form .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
    padding: 18px;
    font-size: 1.15rem;
}

/* Honeypot */
.visual-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===========================================
   EMAIL SYSTEM SECTION
   =========================================== */

#email-system .servizi-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
}

#email-system .servizio-card:nth-child(1)::before { background: var(--accent-color); }
#email-system .servizio-card:nth-child(2)::before { background: var(--highlight-color); }
#email-system .servizio-card:nth-child(3)::before { background: var(--primary-color); }
#email-system .servizio-card:nth-child(4)::before { background: var(--secondary-color); }

@media (max-width: 1200px) {
    #email-system .servizi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #email-system .servizi-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================================
   FOOTER - Bleu profond avec accent
   =========================================== */

footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: white;
    padding: 2.5rem 0;
    border-top: 4px solid var(--secondary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left {
    flex: 1;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.footer-links a:hover {
    opacity: 1;
    background-color: var(--secondary-color);
}

.footer-separator {
    opacity: 0.5;
}

/* ===========================================
   BACK TO TOP - Corail vif
   =========================================== */

#backToTop {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background: var(--gradient-energy);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(194, 65, 12, 0.4);
    transition: all 0.3s ease;
    width: 55px;
    height: 55px;
    text-align: center;
    line-height: 25px;
}

#backToTop:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(194, 65, 12, 0.5);
}

/* ===========================================
   PHONE INPUT
   =========================================== */

.phone-input-wrapper {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.phone-prefix-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 16px;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 120px;
    white-space: nowrap;
}

.phone-prefix-selector:hover {
    border-color: var(--highlight-color);
    background-color: var(--bg-highlight-soft);
}

.phone-prefix-selector .flag {
    font-size: 1.3rem;
    line-height: 1;
}

.phone-prefix-selector .prefix {
    font-weight: 600;
    color: var(--text-color);
}

.phone-prefix-selector .arrow {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.phone-prefix-selector:hover .arrow {
    transform: translateY(2px);
}

.phone-input-wrapper input[name="phone"] {
    flex: 1;
}

.phone-prefix-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--bg-white);
    border: 2px solid var(--highlight-color);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    min-width: 280px;
    animation: slideDown 0.2s ease-out;
}

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

.prefix-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--bg-light);
}

.prefix-option:last-child {
    border-bottom: none;
}

.prefix-option:hover {
    background-color: var(--bg-highlight-soft);
}

.prefix-option .flag {
    font-size: 1.3rem;
    line-height: 1;
}

.prefix-option .name {
    flex: 1;
    font-weight: 500;
    color: var(--text-color);
}

.prefix-option .prefix {
    font-weight: 600;
    color: var(--highlight-color);
}

/* Scrollbar */
.phone-prefix-dropdown::-webkit-scrollbar {
    width: 8px;
}

.phone-prefix-dropdown::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.phone-prefix-dropdown::-webkit-scrollbar-thumb {
    background: var(--highlight-color);
    border-radius: 4px;
}

.phone-prefix-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--highlight-hover);
}

/* ===========================================
   FORM MESSAGES
   =========================================== */

.form-message,
#form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    font-weight: 500;
}

.form-message-success {
    background-color: var(--bg-accent-soft);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

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

/* ===========================================
   COOKIE BANNER
   =========================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-message {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-privacy-link {
    color: var(--secondary-color);
    text-decoration: underline;
    margin-left: 0.5rem;
}

.cookie-privacy-link:hover {
    color: #f59e0b;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-success);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* ===========================================
   reCAPTCHA
   =========================================== */

.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999;
}

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

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

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

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

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contatti-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-message {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 50px 0;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ===========================================
   ACCESSIBILITÉ (WCAG 2.1 AA)
   =========================================== */

/* Focus visible pour navigation clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Réduction des animations si préféré */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #003366;
        --secondary-color: #cc3300;
        --accent-color: #006600;
        --highlight-color: #660099;
    }
}
