/* === RESET ET STYLES DE BASE === */
:root {
    --primary: #1e477a; /* Bleu des services */
    --secondary: #1e477a;
    --accent: #b08b59; /* Accent doré */
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --grey: #6c757d;
    --light-grey: #e9ecef;
}

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

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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



/* === HEADER ET NAVIGATION === */
header {
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 80px;
    overflow: visible;
}

/* Nouveaux styles pour le logo PNG */
.logo img {
    max-width: 200px;
    height: auto;
    transition: all 0.3s ease;
    
}

header.scrolled .logo img {
    max-width: 220px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

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

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

nav a:hover:after {
    width: 100%;
}

.contact-btn {
    padding: 10px 10px;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background-color: transparent;
    color: var(--grey);
    border: 2px solid var(--grey);
    transform: translateY(-2px);
}

.contact-btn:hover {
    color: var(--primary);
    background-color: transparent;
    border: 2px solid var(--primary);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}





/* === HERO SECTION === */
.hero {
    height: 100vh;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url('/images/bkaccueil.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(1.6);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 strong {
    font-weight: 700;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* === SECTION SERVICES === */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 300;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--grey);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-img {
    height: 200px;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-img img {
    height: 250px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-img:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30,71,122,0.2) 0%, rgba(30,71,122,0.3) 100%);
    top: 0;
    left: 0;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}
.cta-quote-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    
}

.cta-quote1 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 300;
    text-align: center;
    max-width: 1000px;
    line-height: 1.4;
}
.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 500;
}

.service-content p {
    color: var(--grey);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}
.cta-with-logo {
    display: flex;
    align-items: center;
    gap: 90px; /* Increased space between link and logo */
    margin-top: 10px;
}

.logo-text-combo {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: flex-start; /* let children align independently */
}

.logo-text-combo .unifi-expert-text {
    align-self: flex-end; /* ⬅️ force “Expert” to bottom of logo */
    font-size: 13px;
    color: var(--secondary);
    font-weight: 500;
    line-height: 1;
}

.unifi-inline-logo {
    height: 24px;
    width: auto;
}


.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.read-more:hover {
    gap: 10px;
}

/* === SECTION CARACTÉRISTIQUES === */
.features {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.features:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
}

.features-container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.features-content h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.2;
}

.features-content p {
    color: var(--grey);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(30, 71, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.feature-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}
.features-image img {
    width: 50%;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.features-image p {
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1;
}

.features-image q {
    color: var(--grey);
    font-size: 1.1rem;
    line-height: 1;
}

/* === SECTION TÉMOIGNAGES === */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: auto; /* remplace 400px */
    padding-bottom: 80px; /* espace pour les boutons */
}

.testimonial-card {
    height: 250px;
    position: relative;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background-color: var(--light);
}

.testimonial-card:before {
    content: "“"; /* guillemet typographique ouvrant */
    font-size: 120px;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: -30px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    min-height: 100px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px; /* augmente si besoin */
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.arrow-btn, .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 24px;
    transition: transform 0.2s ease;
    color: var(--primary);
}

/* Lecture + pause en background */
.icon-btn {
    width: 48px;
    height: 48px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Lecture + Pause (▶❚❚) — propre et lisible */
.icon-btn.playing {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48c3R5bGU+LnN0MHtmaWxsOmJsYWNrO308L3N0eWxlPjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMTIsMTIgMTIsNTIgMzIsMzIiLz48cmVjdCBjbGFzcz0ic3QwIiB4PSIzNiIgeT0iMTIiIHdpZHRoPSI0IiBoZWlnaHQ9IjQwIi8+PHJlY3QgY2xhc3M9InN0MCIgeD0iNDgiIHk9IjEyIiB3aWR0aD0iNCIgaGVpZ2h0PSI0MCIvPjwvc3ZnPg==");
}

/* Lecture seule (▶) — net et centré */
.icon-btn.paused {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48c3R5bGU+LnN0MHtmaWxsOmJsYWNrO308L3N0eWxlPjxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMTIsMTIgMTIsNTIgNDgsMzIiLz48L3N2Zz4=");
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-info h4 {
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.author-info p {
    color: var(--grey);
    font-size: 0.9rem;
}

/* === SECTION CTA === */
.cta {
    padding: 80px 0;
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(30,71,122,0.2) 0%, rgba(30,71,122,0) 100%);
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

.cta .contact-btn:hover {
    background-color: white;
    color: var(--secondary);
    border: 2px solid white;
}

.cta-quote {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: white;
    text-align: center;
    font-style: italic;
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

/* === SECTION CONTACT === */
.contact {
    position: relative;
    z-index: 20;
    padding: 100px 0;
    background-color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 300;
}

.contact-info p {
    color: var(--grey);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.info-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    transition: background-color 0.2s ease;
}

.info-link:hover {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
}
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    scroll-margin-top: 120px;
    
}


.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(30, 71, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.info-text h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.info-text p, .info-text a {
    font-size: 1rem;
    color: var(--grey);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0;
}

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



.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 71, 122, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}
.best-time-select {
    font-size: 1rem;
    border: 2px solid var(--primary);
    border-radius: 6px;
    padding: 12px 14px;
    background-color: #fff;
    color: var(--dark);
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%231e477a" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

.best-time-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 71, 122, 0.15);
}

.best-time-select option.urgent-option {
    font-weight: 600;
    color: #b30000;
    background-color: #fff3f3;
}


.submit-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--secondary);
}

/* === APPEL À L'ACTION TÉLÉPHONE === */
.phone-cta {
    text-align: center;
    background-color: var(--light);
    padding: 60px 0;
    position: relative;
}

.phone-cta h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 300;
}

.phone-cta .subtitle {
    font-size: 1.5rem;
    color: var(--grey);
    margin-bottom: 25px;
}

.phone-number {
    font-size: 2.5rem;
    color: #1e477a;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.toll-free {
    font-size: 1.2rem;
    color: var(--grey);
    margin-top: 15px;
    display: block;
}

/* === FOOTER === */
footer {
    background-color: var(--dark);
    color: #adb5bd;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 500;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 0.95rem;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

#nom {
  scroll-margin-top: 180px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-subtext {
    font-size: 0.95rem;
    color: #adb5bd;
    text-align: center;
    line-height: 1.7;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding: 20px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
}
.footer-highlight {
    color: var(--white);
    font-weight: 500;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
   
    /* Header fixe en haut de la page */
    header {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.90);
        backdrop-filter: blur(5px);
        padding: 1px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        height:100px
    }
    .testimonial-container {
       
        padding-bottom: 380px;
    }
    .testimonial-content {
    font-size: 1rem;
    line-height: 1.5;
  }

 

    
    /* Réorganisation du header en grille à 3 colonnes */
    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo . menu";
        align-items: center;
        gap: 10px;
        padding: 0 15px;
        position: relative; /* Pour permettre le positionnement absolu du bouton contact */
        min-height: 80px; /* Adjust based on your header height */
    }
    
    /* Styles du logo */
    .logo {
        grid-area: logo;
        justify-content: flex-start;
     
    }
    
    /* Ajustements pour le logo PNG en mode tablette */
    .logo img {
        max-width: 140px !important;
        height: auto;
        
    }
    
    /* Masquer le texte "Premium Apple Expertise" */
    .logo-text {
        display: none;
    }
    
    /* Style du bouton de contact en mode tablette */
    .header-container .contact-btn {
        grid-area: contact;
        display: block;
        padding: 13px 13px;
        font-size: 1rem;
        white-space: nowrap;
        text-align: center;
        margin: 0 auto;
        background-color: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
        border-radius: 4px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        min-width: 120px;
    }
    
    .header-container .contact-btn:hover {
        background-color: var(--primary);
        color: white;
    }
    
    /* Styles de navigation */
    nav {
        display: none;
        grid-area: nav;
        grid-column: 1 / -1;
    }
    
    /* Style du bouton menu */
    .mobile-menu-btn {
        grid-area: menu;
        display: block;
        font-size: 4rem;
        color: var(--primary);
        justify-self: end;
        background: none;
        border: none;
        cursor: pointer;
        margin-left: auto; /* Force à droite */
        
    }
    
    /* Style du menu mobile déployé */
    nav.mobile-active {
        display: block;
        position: absolute;
        left: 0;
        top: 70px;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    nav.mobile-active ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    nav.mobile-active ul li {
        text-align: center;
    }
    
    nav.mobile-active ul li a {
        font-size: 1.1rem;
        padding: 8px 0;
        display: block;
    }
    
    /* Ajustements pour la section Hero */
    .hero {
        margin-top: 80px;
        padding-top: 20px;
    }
    
    /* Styles des services et du footer à 992px */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    /* Ajustement pour les sections avec ancre */
    #services, #expertise, #temoignages, #contact {
        scroll-margin-top: 140px;
    }
}

@media (max-width: 768px) {
    /* Ajustements supplémentaires pour les mobiles */
     header {

        height:100px
    }
    
    /* Ajustements pour le logo PNG en mode mobile */
    .logo img {
        max-width: 140px !important;
       
    }
    
    /* Style du bouton de contact en mobile - MODIFIÉ */
   
    
    /* Style du bouton menu - MODIFIÉ pour mobile */
    .mobile-menu-btn {
        font-size: 3.3rem; /* Agrandi de 1.5x (2.2rem * 1.5) */
        padding: 0 8px;
       
    }
    
    /* Autres ajustements pour mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-content h2, .contact-info h2, .cta h2 {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    /* Ajustements pour très petits écrans */
    header {

        height:100px
    }
    
    .header-container {
        padding: 5px 10px;
    }
    
    .logo img {
        max-width: 120px !important;
    }
    
    .mobile-menu-btn {
        font-size: 3rem; /* Maintien de la proportion augmentée */
    }
    
    .header-container .contact-btn {
        padding: 2px 5px; /* Encore plus petit pour les très petits écrans */
        font-size: 0.6rem;
       
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2, .features-content h2, .contact-info h2, .cta h2 {
        font-size: 1.8rem;
    }
    
    .section-header p, .features-content p, .contact-info p, .cta p {
        font-size: 0.95rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .phone-number {
        font-size: 2rem;
    }
}

