/* =================================
   VARIABLES & RESET
================================= */

:root {
    --primary-blue: #0052CC;
    --primary-blue-dark: #003D99;
    --primary-red: #ff0008;
    --secondary-white: #FFFFFF;
    --text-dark: #172B4D;
    --text-gray: #5E6C84;
    --bg-light: #F4F5F7;
    --bg-dark: #091E42;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =================================
   LOGO STYLES
================================= */

.nav-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: var(--transition);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    display: flex;
    align-items: baseline;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.logo-text-main {
    font-size: 1.8rem;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.logo-text-dot {
    font-size: 2rem;
    color: var(--primary-red);
    font-weight: 900;
    margin: 0 2px;
}

.logo-text-end {
    font-size: 1.8rem;
    color: var(--primary-red);
    letter-spacing: -0.5px;
}

/* =================================
   NAVIGATION - CORRIGÉ
================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-contact {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
}

.nav-link.btn-contact::after {
    display: none;
}

.nav-link.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 82, 204, 0.3);
}

/* Menu hamburger - STYLES CORRIGÉS */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* =================================
   HERO SECTION
================================= */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    background-image: 
        url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600'),
        linear-gradient(135deg, rgba(0, 82, 204, 0.9), rgba(0, 61, 153, 0.9));
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: #fd0004;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* =================================
   SLIDER STYLES
================================= */

.slider-container {
    position: relative;
    width: 100%;
    min-height: 280px;
    margin-bottom: 2rem;
    overflow: visible;
}

.slider {
    height: 100%;
    position: relative;
    overflow: visible;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
}

.slide .hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.slide-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    color: white;
    display: block;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-highlight {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--primary-red);
    display: block;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0.5rem 0;
}

.slide-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.app-link {
    color: white;
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.app-link:hover {
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
}

.slider-controls {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
    margin-top: 2rem;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
    padding: 0 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--primary-red);
    transform: scale(1.2);
    border-color: white;
}

.slider-dot:hover {
    background: white;
}

/* =================================
   SECTIONS
================================= */

.section {
    padding: 100px 2rem;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-chantier {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-trust {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
}

.section-contact {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: inherit;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-dark .section-subtitle,
.section-trust .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* =================================
   STEPS GRID
================================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon i {
    font-size: 2.5rem;
    color: white;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 82, 204, 0.05);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-gray);
}

/* =================================
   SERVICES GRID
================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-list i {
    color: var(--primary-red);
    margin-top: 3px;
    flex-shrink: 0;
}

/* =================================
   FEATURES GRID
================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
}

/* =================================
   CHANTIER SECTION
================================= */

.chantier-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chantier-text .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.chantier-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chantier-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.chantier-feature i {
    font-size: 2rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.chantier-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.chantier-feature p {
    color: var(--text-gray);
}

.chantier-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.chantier-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.chantier-image:hover img {
    transform: scale(1.1);
}

/* =================================
   TRUST GRID
================================= */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.trust-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.trust-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.trust-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.trust-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* =================================
   CONTACT SECTION
================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: white;
    border-radius: 30px;
    padding: 4rem;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

.messages {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.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-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.error {
    color: var(--primary-red);
    font-size: 0.85rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 82, 204, 0.3);
}

/* =================================
   FOOTER
================================= */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section h3 i {
    color: var(--primary-red);
}

.footer-section h3 strong {
    color: var(--primary-red);
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-red);
    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 STYLES - CORRIGÉS
================================= */

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .nav-logo {
        gap: 12px;
        font-size: 1.6rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .logo-text-main,
    .logo-text-end {
        font-size: 1.6rem;
    }
    
    .logo-text-dot {
        font-size: 1.8rem;
    }
    
    .chantier-content {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    /* Navigation mobile - CORRIGÉ */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        padding-top: 3rem;
        transition: left 0.4s ease-in-out;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        margin: 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    
    .nav-link.btn-contact {
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
        color: white;
        border-radius: 50px;
        padding: 1rem 2rem;
        margin-top: 1rem;
        border: none;
    }
    
    /* Animation du hamburger quand actif */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Empêcher le scroll quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero section mobile */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Slider mobile */
    .slider-container {
        min-height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .slide-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }
    
    .slide-highlight {
        font-size: clamp(1.4rem, 5vw, 2rem);
        line-height: 1.3;
    }
    
    .slider-controls {
        bottom: -40px;
    }
    
    .app-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section {
        padding: 60px 20px;
    }
    
    /* Grids mobile */
    .steps-grid,
    .services-grid,
    .features-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card,
    .service-card,
    .feature-card,
    .trust-card {
        margin: 0;
        padding: 1.5rem;
        width: 100%;
    }
    
    /* Contact section mobile */
    .contact-wrapper {
        padding: 2rem;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Fix pour inputs iOS */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        gap: 8px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text-main,
    .logo-text-end {
        font-size: 1.2rem;
    }
    
    .logo-text-dot {
        font-size: 1.4rem;
    }
    
    /* Cacher le texte du logo sur très petits écrans */
    .logo-text {
        display: none;
    }
    
    .section {
        padding: 50px 15px;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .contact-wrapper {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .slider-container {
        min-height: 180px;
    }
    
    .slider-controls {
        bottom: -30px;
        gap: 15px;
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* =================================
   UTILITY STYLES
================================= */

/* Empêcher le défilement horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix pour les images */
img {
    max-width: 100%;
    height: auto;
}

/* Fix pour le texte */
h1, h2, h3, h4, p, span, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Animation pour les slides */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

.slide.active {
    animation: slideIn 0.8s ease-out forwards;
}

.slide.exiting {
    animation: slideOut 0.8s ease-out forwards;
}