/* RESET GENERAL */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- VARIABLES DE COULEURS --- */
:root {
    --bleu: #1470AF;
    --orange: #FF914D;
    --gris: #4B5563;
    --fond: #F8F9FA;
    --blanc: #FFFFFF;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #111827;
    background-color: #FFFFFF;
    line-height: 1.5;
}

/* ---------------------------------- */
/* EN-TÊTE / NAVBAR                  */
/* ---------------------------------- */
header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #F3F4F6;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #6B7280;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

nav a:hover {
    color: #1470AF;
}

nav a.active {
    color: #FF914D;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1470AF;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #E5E7EB;
    padding: 10px 16px;
    border-radius: 6px;
}

.phone-number img {
    width: 16px;
}

/* BOUTONS */
.btn-diagnostic {
    background-color: #1470AF;
    color: #FFFFFF;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-diagnostic a {
    color: #FFFFFF;
    text-decoration: none;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #6B7280;
    padding: 12px 24px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* Menu déroulant */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    top: 100%;
    left: 0;
    flex-direction: column;
    gap: 0;
}
.dropdown:hover .dropdown-content {
    display: flex;
}
.dropdown-content li {
    width: 100%;
}
.dropdown-content li a {
    padding: 15px 20px;
    display: block;
    text-transform: none;
}
.dropdown-content li a:hover {
    background-color: #f4f4f4;
}

/* ---------------------------------- */
/* SECTION HERO (Mise en page Diagonale) */
/* ---------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 75px);
    display: flex;
    background-color: #F9FAFB;
    overflow: hidden;
}

/* Arrière-plan Maison (À droite) */
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
}

/* Bloc blanc découpé (À gauche) */
.hero-left-panel {
    width: 60%;
    background-color: #FFFFFF;
    padding: 60px 120px 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* C'est ici que se crée la diagonale parfaite ! */
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
}

.expert-tag {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    color: #6B7280;
}

.hero-left-panel h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1470AF;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #6B7280;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* ---------------------------------- */
/* PETITS INDICATEURS (Sous le texte) */
/* ---------------------------------- */
.features-row {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-top: 70px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.feature-text {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    color: #6B7280;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
}

.feature-text strong {
    font-size: 13px;
    color: #1470AF;
    line-height: 1;
    margin-bottom: 2px;
}

.feature-text .blue-text {
    color: #1470AF;
    font-size: 15px;
    text-transform: none;
}

.feature-text .small-label {
    font-size: 8px;
    margin-bottom: 2px;
}

/* ---------------------------------- */
/* CARTE FLOTTANTE (Sur la maison)    */
/* ---------------------------------- */
.floating-card {
    position: absolute;
    bottom: 40px;
    right: 24px;
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 260px;
}

.floating-card .count {
    font-size: 28px;
    font-weight: 700;
    color: #1470AF;
    margin: 0 0 4px 0;
    line-height: 1;
}

.floating-card .sub-text {
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 16px 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F3F4F6;
    padding-top: 16px;
}

.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    margin-right: -8px;
    object-fit: cover;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 11px;
    font-weight: 700;
    color: #6B7280;
}

.rating .stars {
    display: flex;
    gap: 1px;
    margin-bottom: 2px;
}

.rating img {
    width: 10px;
    height: 10px;
}

/* ---------------------------------- */
/* SECTION COMMENT ÇA MARCHE ?       */
/* ---------------------------------- */
.how-it-works {
    background-color: #FFFFFF;
    padding: 80px 24px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    color: #1470AF;
    font-size: 25px;
    font-weight: 140;
    text-align: center;
    margin-bottom: 30px;
}

.section-subtitle {
    color: #1470AF;
    font-size: 35px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
}

/* On restreint la largeur pour rapprocher les cartes */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px; /* Rapproche les éléments au centre */
    margin: 0 auto;    /* Centre la grille */
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ajustement de la ligne pointillée pour les grands cercles */
.step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 75px; /* Exactement au milieu des cercles de 150px */
    left: calc(50% + 90px); /* Démarre juste après le bord droit du cercle */
    width: calc(100% - 160px); /* Relie jusqu'au bord gauche du cercle suivant */
    border-top: 2px dashed #E5E7EB;
    z-index: 1;
}

/* Cercles agrandis */
.icon-wrapper {
    width: 150px;
    height: 150px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.318);
    position: relative;
    z-index: 2;
}

/* Icônes agrandies proportionnellement */
.icon-wrapper img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.step-heading {
    color: #1470AF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-description {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
    max-width: 220px;
}

/* RESPONSIVE DESIGN - TABLETTES ET MOBILES */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 700px;
    }
    .step-card:not(:last-child)::after {
        display: none; /* Retire la ligne pointillée si le quadrillage change */
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}


/* ---------------------------------- */
/* SECTION POURQUOI CHOISIR SUNTEST   */
/* ---------------------------------- */
.why-suntest {
    background-color: #1470AF;
    padding: 100px 24px;
    color: #FFFFFF;
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Texte à gauche */
.why-content {
    flex: 1;
}

.why-tagline {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    display: block;
}

.why-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.why-title span {
    color: #FF914D; /* On peut mettre une partie en orange */
}

.why-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 450px;
    line-height: 1.6;
}

.btn-white {
    display: inline-block;
    padding: 14px 32px;
    background-color: #FFFFFF;
    color: #163552;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-white:hover {
    transform: translateY(-3px);
}

/* Grille à droite */
.why-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    gap: 20px;
}

.why-card {
    background-color: #163552; /* Fond très légèrement blanc transparent */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: background-color 0.3s;
}

.why-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.why-card img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.card-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.card-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .why-container {
        flex-direction: column;
        text-align: center;
    }
    .why-description {
        margin: 0 auto 40px;
    }
    .why-grid {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
    }
    .why-title {
        font-size: 32px;
    }
}

/* ---------------------------------- */
/* SECTION AVIS CLIENTS               */
/* ---------------------------------- */
.reviews-section {
    padding: 100px 24px;
    background-color: #F9FAFB;
}

/* Le conteneur principal qui force les 3 colonnes contenues */
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* --- Colonne 1 : Titre et flèches --- */
.reviews-header {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
}

.reviews-tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #FF914D;
    margin-bottom: 16px;
    display: block;
    text-transform: uppercase;
}

.reviews-title {
    font-size: 38px;
    color: #1470AF;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
}

.slider-arrows {
    display: flex;
    gap: 16px;
}

.arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    color: #1470AF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.arrow-btn:hover {
    background-color: #1470AF;
    color: #FFFFFF;
    border-color: #1470AF;
}

/* --- Colonne 2 : Carte Avis --- */
.review-card {
    flex: 0 0 35%;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.review-time {
    font-size: 12px;
    color: #9CA3AF;
}

.google-logo svg {
    width: 24px;
    height: 24px;
}

.review-text {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 24px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #F3F4F6;
    padding-top: 16px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background-color: #F3F4F6;
    color: #6B7280;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.review-date {
    font-size: 12px;
    color: #9CA3AF;
}

/* --- Colonne 3 : Carte CTA --- */
.cta-card {
    flex: 0 0 25%;
    background-color: #163552;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cta-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.cta-icon-wrapper img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.cta-title {
    font-size: 20px;
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.btn-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
}

.incitation {
    justify-content: center;
    font-size: 10px;
    color: #FFFFFF;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .reviews-container {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .reviews-header {
        flex: 0 0 100%;
        text-align: center;
        align-items: center;
    }

    .review-card, .cta-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 500px;
    }
}

/* --- BANNIERE DE CONFIANCE --- */
.trust-banner {
    background-color: var(--blanc);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    border-bottom: 1px solid #E5E7EB;
    flex-wrap: wrap;
    gap: 40px;
}

.stats-container {
    display: flex;
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    color: var(--bleu);
    font-size: 1.5rem;
    margin: 10px 0 5px;
}

.stat-item p {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #9CA3AF;
    font-weight: 600;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #F0F7FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle img {
    width: 30px;
    height: auto;
}

.divider {
    width: 1px;
    height: 80px;
    background-color: #E5E7EB;
}

.certifications-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-title {
    color: var(--bleu);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cert-logos {
    display: flex;
    gap: 40px;
    text-align: center;
}

.cert-item img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.cert-item p {
    font-size: 0.65rem;
    color: #9CA3AF;
}

/* --- CONTENU PRINCIPAL --- */
.main-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* --- SECTION FAQ --- */
.faq-item {
    border-bottom: 1px solid #E5E7EB;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 0.95rem;
    color: var(--gris);
    cursor: pointer;
    text-align: left;
    margin-bottom: 30px;
}

.faq-question .icon {
    color: #9CA3AF;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Quand la question est ouverte, on tourne le "+" en "x" */
.faq-question.active .icon {
    transform: rotate(45deg);
    color: var(--bleu);
}

.faq-answer {
    max-height: 0; /* Caché par défaut */
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Animation fluide */
}

.faq-answer p {
    padding-bottom: 20px;
    color: #6B7280; /* Gris un peu plus clair pour le texte */
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- CARTE DIAGNOSTIC --- */
.promo-card {
    flex: 1.2;
    background-color: var(--blanc);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.promo-image {
    flex: 1;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-details {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-details h2 {
    color: var(--bleu);
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--gris);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--bleu);
    font-weight: bold;
}

.cta-button {
    background-color: var(--orange);
    color: var(--blanc);
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.cta-button a{
    text-decoration: none;
    color: #FFFFFF;
}

.cta-button:hover {
    background-color: #e67d3b;
}

/* --- RESPONSIVE DESIGN (Mobiles & Tablettes) --- */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .trust-banner {
        flex-direction: column;
    }

    .divider {
        width: 80%;
        height: 1px;
    }

    .stats-container, .cert-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .promo-card {
        flex-direction: column;
    }
    .promo-image img {
        height: 250px;
    }
}

/* --- FOOTER --- */
.site-footer {
    background-color: #2D2D2D;
    color: #FFFFFF;
    padding: 60px 20px 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- LOGO --- */
.footer-logo {
    margin-bottom: 60px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* --- GRILLE DE LIENS --- */
.footer-links-grid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px; /* Espace entre le bloc du haut et du bas de la même colonne */
}

.footer-block h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-block li {
    margin-bottom: 12px;
}

.footer-block a {
    color: #D1D5DB; /* Gris clair */
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-block a:hover {
    color: #FFFFFF;
}

/* --- BAS DU FOOTER --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 20px;
}

.copyright {
    color: #D1D5DB;
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* --- RESPONSIVE DESIGN (Mobiles & Tablettes) --- */
@media (max-width: 800px) {
    .footer-links-grid {
        flex-direction: column;
        gap: 60px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


/* ========================================================= */
/* --- CORRECTIONS RESPONSIVES (MOBILES ET TABLETTES) --- */
/* ========================================================= */

/* --- TABLETTES ET ÉCRANS MOYENS (jusqu'à 1024px) --- */
@media (max-width: 1024px) {
    /* 1. Header et Navigation */
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    nav ul {
        display: flex; /* 👈 Cette ligne force le menu à apparaître ! */
        flex-direction: column;
        gap: 10px;
    }

    /* Le sous-menu s'affiche en dessous au lieu de flotter par-dessus */
    .dropdown-content {
        position: relative;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        margin-top: 10px;
        background-color: var(--bg-light);
    }

    /* 3. Boutons et appels à l'action en pleine largeur */
    .header-ctas {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-diagnostic, .phone-number {
        width: 100%;
        justify-content: center;
    } 

    /* 2. Section Hero (On annule la diagonale qui casse le design sur petit écran) */
    .hero-section {
        flex-direction: column; /* L'image restera en haut, le contenu en bas */
        min-height: auto;
    }
    .hero-bg {
        position: relative;
        width: 100%;
        height: 350px; /* Donne une hauteur fixe à l'image sur mobile */
    }
    .hero-container {
        flex-direction: column;
    }
    .hero-left-panel {
        width: 100%;
        clip-path: none; /* Supprime la diagonale */
        padding: 40px 20px;
        align-items: center;
        text-align: center;
    }
    .hero-desc {
        margin: 0 auto 30px;
    }

    /* 3. Carte flottante (On la recentre) */
    .floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        order: -1; /* Magique : ça force la carte à s'afficher AVANT le texte blanc */
        margin: -70px auto 30px auto; /* Le -70px en haut la fait chevaucher l'image */
        z-index: 10;
        width: 80%; /* Optionnel : évite qu'elle touche les bords sur petit écran */
        max-width: 260px;
    }

    /* 4. Ligne des caractéristiques (+50 points, etc.) */
    .features-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
    }
}

/* --- TÉLÉPHONES PORTABLES (jusqu'à 768px) --- */
@media (max-width: 768px) {
    /* 1. Ajustement des textes du Hero */
    .hero-left-panel h1 {
        font-size: 32px;
    }

    /* 2. Boutons du Hero (Ils prennent toute la largeur) */
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-btns button {
        width: 100%;
        justify-content: center;
    }

    /* 3. Bannière de confiance (Statistiques et Certifications) */
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    .cert-logos {
        flex-direction: column;
        gap: 30px;
    }
    .divider {
        display: none; /* On cache la barre de séparation verticale qui ne sert plus sur mobile */
    }

    /* 4. Section Promo (Image + Check-list) */
    .promo-card {
        flex-direction: column;
    }
    .promo-details {
        padding: 30px 20px;
    }
    .cta-button {
        width: 100%;
        text-align: center;
    }
}