/* =======================
   MOBILE STYLE - PAGE ACCUEIL
   ======================= */


body {
    font-size: 10px;
    padding: 0;
    margin: 0;
}

/* === NAVBAR === */
nav {
    position: relative;
    padding: 15px 20px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.logo img {
    height: 50px;
}
.nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 20px;
    border-top: 1px solid #ddd;
}
.nav-links.active {
    display: flex;
    gap: 15px;
}



/* Cacher le menu horizontal sur mobile */
.nav-links {
    display: none !important;
}


/* === HERO SECTION - MOBILE === */
.hero {
    padding: 40px 15px;
    text-align: center;
    background-color: white;
}

.hero h1 {
    font-size: clamp(1.2rem, 5vw, 1.4rem); 
    /* min 0.9rem - max 1.2rem selon la largeur */
    line-height: 1.2;
    white-space: normal; /* Autorise à s’adapter si trop long */
    margin-bottom: 15px;
}

.hero p {
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.hero .btn-group a {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 8px;
}
.hero {
    padding: 50px 20px;
    text-align: center;
}
.hero img {
    display: block;
    max-width: 90%;
    margin: 20px auto;
}




/* === SECTIONS (Problématique, Solution) === */
/* === SECTION PROBLÉMATIQUE - MOBILE === */
.problem-section {
    padding: 30px 15px;
    text-align: center;
}

.problem-section .section-title {
    font-size: 1.4rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.problem-section .section-intro {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 95%;
    margin: 0 auto 20px auto;
    color: #555;
}

.problem-accordions {
    margin-top: 20px;
}

/* === Accordéons style “cartes” === */
.acc-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}

.acc-header {
    width: 100%;
    background: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.acc-header .acc-icon {
    font-size: 1.3rem;
    color: #555;
}

.acc-body {
    display: none;
    padding: 15px;
    background: #f9f9f9;
    text-align: left;
    font-size: 0.9rem;
}

.acc-body img {
    max-width: 70%;
    border-radius: 6px;
    margin-bottom: 8px;
}

/* === Bouton CTA === */
.cta-button {
    display: block;
    width: 100%;
    background: #2E8BC0;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
    text-decoration: none;
    transition: background 0.3s;
}
.cta-button:hover {
    background: #1A6BA0;
}

/* === Réorganisation mobile === */
.problem-grid {
    display: block !important;  /* On annule la grille desktop */
    text-align: center;
}

.problem-image {
    margin-bottom: 20px;
}
.problem-image img {
    max-width: 90%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* Centrer le texte */
.problem-accordions {
    text-align: center;
}
.problem-section .section-intro {
    max-width: 95%;
    margin: 0 auto 20px auto;
}


/* === GRILLES (features, etc.) === */
.features-grid,
.certif-content,
.mission-cards,
.steps-grid {
    flex-direction: column;
    gap: 20px;
}
.features-grid > div,
.mission-cards > div,
.certif-content > div {
    width: 100%;
    text-align: center;
}

/* === IMAGES === */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* === CERTIFICATIONS === */
.certification-card {
    width: 100%;
    padding: 20px;
    text-align: center;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 20px 10px;
    font-size: 0.9rem;
}

/* === BOUTONS GÉNÉRAUX === */
.btn, .btn-primary, .btn-commander, .btn-whatsapp {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 8px;
}

.nav-links {
    display: none; /* On cache le menu horizontal sur mobile */
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 20px;
}

/* Cacher le menu horizontal sur mobile */
/*.nav-links { display: none !important; }*/

/* === NOUVEAU MENU OFF-CANVAS === */
.burger-btn {
    display: block;
    font-size: 40px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    z-index: 5000;
    color: #1A3E5F;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 6000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 80px 20px;
    text-align: center;
}
.offcanvas-menu.active {
    transform: translateX(0);
}
.offcanvas-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    cursor: pointer;
    color: #1A3E5F;
}
.offcanvas-menu ul {
    list-style: none;
    margin-top: 100px;
    padding: 0;
}
.offcanvas-menu ul li {
    margin: 25px 0;
}
.offcanvas-menu ul li a {
    text-decoration: none;
    font-size: 1.8rem;
    color: #1A3E5F;
    font-weight: 600;
}
/* === OFF-CANVAS MENU MODERNE === */
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #eaf4fb); /* Dégradé moderne */
    z-index: 6000;
    transform: translateX(100%);
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 100px 30px 80px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}
.offcanvas-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.offcanvas-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    cursor: pointer;
    color: #1A3E5F;
    background: #fff;
    border-radius: 50%;
    padding: 8px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.offcanvas-menu .close-btn:hover {
    transform: scale(1.1);
}

/* Liens principaux */
.offcanvas-menu ul {
    list-style: none;
    margin-top: 80px;
    padding: 0;
}
.offcanvas-menu ul li {
    margin: 25px 0;
}
.offcanvas-menu ul li a {
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: bold;
    color: #1A3E5F;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}
.offcanvas-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #2E8BC0;
    transition: width 0.3s ease;
}
.offcanvas-menu ul li a:hover {
    color: #2E8BC0;
}
.offcanvas-menu ul li a:hover::after {
    width: 100%;
}

.menu-slogan {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A3E5F;
    padding: 0 20px;
    line-height: 1.4;
}
.menu-slogan p {
    margin: 0;
    font-style: italic;
}

/* === SECTION AVANT / APRÈS - MOBILE === */
.before-after-section .section-title {
    font-size: 1.4rem;   /* Taille réduite */
    line-height: 1.3;    /* Moins d'espace entre lignes */
    text-align: center;
    max-width: 95%;
    margin: 0 auto 15px auto;
    word-break: normal;
}
.before-after-section .section-title .highlight {
    display: block; /* Met la deuxième partie sur une nouvelle ligne */
    font-size: 1.4rem;
}

/* === SECTION PEAU HEUREUSE - MOBILE === */
.skin-section {
    padding: 30px 15px;
    text-align: center;
}

.skin-section .section-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.skin-section .section-slogan {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

/* On casse la grille desktop */
.skin-grid {
    display: block !important;
}

/* Image bien centrée */
.skin-image img {
    max-width: 90%;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

/* Blocs centrés avec largeur réduite */
.skin-details p {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 0 auto 15px auto;   /* Centre horizontalement */
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    max-width: 90%;             /* Limite la largeur */
    margin-right: 0%;
}


/* === SECTION CERTIFICATIONS - MOBILE === */
@media only screen and (max-width: 768px) {
    #certifications {
        padding: 40px 20px;
        text-align: center;
        background: #f9fafc;
    }

    /* Titre */
    #certifications .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    /* Sous-titre */
    #certifications .certif-subtitle {
        font-size: 1rem;
        color: #555;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* Conteneur des certifications */
    #certifications .certif-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px;
    }

    /* Chaque certification (style carte moderne) */
    #certifications .certif-item {
        background: #fff;
        border-left: 5px solid #2E8BC0;  /* Bordure bleue à gauche */
        border-radius: 12px;
        padding: 20px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        text-align: center;
    }

    /* Logo */
    #certifications .certif-item img {
        max-width: 80px;
        margin-bottom: 15px;
    }

    /* Titre de chaque certification */
    #certifications .certif-item h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: #1A3E5F;
        margin-bottom: 10px;
    }

    /* Texte */
    #certifications .certif-item p {
        font-size: 1rem;
        line-height: 1.5;
        color: #444;
    }

    /* Bouton CTA */
    #certifications .cta-center {
        margin-top: 30px;
    }
    #certifications .cta-button {
        display: inline-block;
        background: #2E8BC0;
        color: #fff;
        padding: 14px 28px;
        font-size: 1.1rem;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    }
    #certifications .cta-button:hover {
        background: #1A3E5F;
    }
}

/* === SECTION FILTRATION - MOBILE === */
@media only screen and (max-width: 768px) {
    #filtration {
        padding: 40px 20px;
        background: #f9fafc;
        text-align: center;
    }

    /* Titre */
    #filtration .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    /* Intro */
    #filtration .section-intro {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
        color: #555;
    }

    /* Image : centrée et bien dimensionnée */
    #filtration .filter-image img {
        max-width: 90%;
        margin: 0 auto 25px auto;
        display: block;
    }

    /* Étapes : style carte moderne */
    #filtration .filter-steps {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    #filtration .step {
        background: #fff;
        border-left: 5px solid #2E8BC0;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        text-align: left;
    }
    #filtration .step h4 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1A3E5F;
        margin-bottom: 8px;
    }
    #filtration .step p {
        font-size: 1rem;
        line-height: 1.5;
        color: #444;
    }

    /* Bouton centré */
    #filtration .cta-button {
        display: inline-block;
        margin-top: 30px;
        background: #2E8BC0;
        color: #fff;
        padding: 14px 28px;
        font-size: 1.1rem;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    }
    #filtration .cta-button:hover {
        background: #1A3E5F;
    }
}
@media only screen and (max-width: 768px) {
    #filtration .filter-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Image centrée */
    #filtration .filter-image img {
        max-width: 95%;
        margin: 0 auto 25px auto;
        display: block;
    }

    /* Les étapes (cartes) centrées et largeur adaptée */
    #filtration .filter-steps {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    #filtration .step {
        width: 90%;
        background: #fff;
        border-left: 5px solid #2E8BC0;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        text-align: left;
    }
}

@media only screen and (max-width: 768px) {

    /* Cacher l'ancien footer */
    .footer-grid,
    .footer-links,
    .footer-contact,
    .footer-cta {
        display: none !important;
    }

    /* Nouveau footer */
    .site-footer {
        background: #fff;
        padding: 30px 15px;
        text-align: center;
        border-top: 1px solid #ddd;
    }

    /* Logo */
    .site-footer .footer-logo img {
        max-width: 130px;
        margin: 0 auto 20px;
        display: block;
    }

    /* Icônes sociales - style WaterDoctor */
    .footer-socials {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin: 20px 0;
    }
    .footer-socials a {
        background: #fff;
        padding: 14px;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease, transform 0.2s ease;
    }
    .footer-socials a:hover {
        background: #f2f2f2;
        transform: scale(1.1);
    }
    .footer-socials img {
        width: 32px;
        height: 32px;
    }

    /* Titre aide */
    .footer-help-title {
        font-size: 0.85rem;
        color: #666;
        margin: 20px 0 10px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Bouton Contact */
    .footer-help-btn {
        display: block;
        background: #2E8BC0;
        color: #fff;
        padding: 14px;
        border-radius: 25px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
        margin: 10px auto 25px;
        width: 80%;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }
    .footer-help-btn:hover {
        background: #145DA0;
    }

    /* Liens bas */
    .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    .footer-bottom-links a {
        text-decoration: none;
        color: #333;
        font-size: 0.9rem;
    }
    .footer-bottom-links a:hover {
        color: #2E8BC0;
    }

    /* Mentions */
    .footer-bottom {
        font-size: 0.8rem;
        color: #888;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
}

/* Cacher le menu plein écran et le footer mobile sur desktop */
@media (min-width: 769px) {
    .mobile-menu, 
    .footer-logo, 
    .footer-socials, 
    .footer-help-title, 
    .footer-help-btn, 
    .footer-bottom-links {
        display: none !important;
    }
}

/* === PAGE PRODUIT - VERSION MOBILE === */
@media (max-width: 768px) {

  /* Conteneur principal */
  .product-container {
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
  }

  /* Galerie produit */
  .product-gallery img#main-image {
    max-width: 100%;
    border-radius: 12px;
  }

  .thumbnails {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .thumbnails img {
    width: 65px;
    height: 65px;
    border-radius: 8px;
  }

  /* Bloc formulaire */
  .product-form {
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
  }

  .product-form h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-align: center;
  }

  .product-form p {
    text-align: center;
    font-size: 1rem;
  }

  /* Prix */
  .new-price span {
    font-size: 1.8rem;
    color: #1A3E5F;
  }

  .old-price span {
    font-size: 0.9rem;
  }

  /* Champs formulaire */
  .product-form label {
    font-size: 0.95rem;
    font-weight: 600;
  }

  .product-form input,
  .product-form select,
  .product-form textarea {
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
  }

  /* Boutons */
  .btn-commander,
  .btn-whatsapp {
    padding: 14px;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 700;
  }

  .btn-commander {
    background: #1E63D1;
  }

  .btn-commander:hover {
    background: #004EA8;
  }

  .btn-whatsapp {
    background: #25D366;
  }

  /* Texte promo */
  .remise-info,
  .economie-info {
    text-align: center;
    font-size: 0.95rem;
  }

}

/* === HERO SECTION - Mobile === */
@media (max-width: 768px) {
    /* === HERO NOTRE HISTOIRE === */
    .hero-history {
        position: relative;
        width: 100%;
        height: 280px;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 25px;
    }

    .hero-history .hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-history .overlay {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.5); /* assombrit l'image */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        text-align: center;
    }

    .hero-history .overlay h1 {
        font-size: 2rem;
        color: #fff;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .hero-history .overlay p {
        font-size: 1.1rem;
        color: #f1f1f1;
        line-height: 1.5;
        max-width: 90%;
    }
}
@media (max-width: 768px) {
    /* === SECTION POURQUOI EL BARAKA WATER === */
    .why-baraka {
        padding: 30px 20px;
        background: #f9f9f9;
        border-radius: 12px;
        margin-bottom: 25px;
    }

    .why-baraka .container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .why-baraka h2 {
        font-size: 1.8rem;
        color: #1A3E5F;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .why-baraka p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: #555;
    }

    .why-baraka p strong {
        color: #2E8BC0;
    }

    .why-baraka .why-image img {
        max-width: 90%;
        margin: 0 auto;
        display: block;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }
}

@media (max-width: 768px) {
    /* === SECTION NOTRE MISSION === */
    .our-mission {
        padding: 35px 20px;
        background: #fff;
        border-radius: 12px;
        margin-bottom: 25px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .our-mission h2 {
        font-size: 1.5rem;
        text-align: center;
        color: #1A3E5F;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .our-mission .mission-intro {
        font-size: 1rem;
        text-align: center;
        line-height: 1.6;
        color: #555;
        margin-bottom: 25px;
    }

    .our-mission .mission-intro strong {
        color: #2E8BC0;
    }

    /* Cartes */
    .mission-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mission-cards .card {
        background: #f9f9f9;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 3px 6px rgba(0,0,0,0.05);
        transition: transform 0.2s ease;
        width: 90%;               /* Largeur contrôlée */
        max-width: 350px;         /* Largeur max pour éviter d'être trop large */
        margin: 0 auto;           /* Centrer horizontalement */
    }

    .mission-cards .card:hover {
        transform: scale(1.02);
    }

    .mission-cards .card img {
        width: 60px;
        margin-bottom: 12px;
    }

    .mission-cards .card h3 {
        font-size: 1.3rem;
        color: #1A3E5F;
        margin-bottom: 10px;
    }

    .mission-cards .card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .cta-history {
        background: linear-gradient(135deg, #2E8BC0, #145DA0); /* Dégradé moderne */
        text-align: center;
        padding: 40px 20px;
        border-radius: 15px;
        margin: 30px 15px;
        color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .cta-history h2 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .cta-history .btn-primary {
        display: inline-block;
        background: #fff;
        color: #145DA0;
        font-weight: 600;
        padding: 14px 28px;
        border-radius: 50px;
        text-decoration: none;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .cta-history .btn-primary:hover {
        background: #f1f1f1;
        color: #0b3c5d;
    }
}

@media (max-width: 768px) {
  /* === SECTION HÉROS (STYLE MODERNE) === */
  .install-hero {
    position: relative;
    width: 100%;
    padding: 60px 10px;
    border-radius: 12px;
    background-color: #1A3E5F;
    overflow: hidden;
    text-align: center;
    margin-bottom: 25px;
  }

  .install-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 1;
  }

  /* Bloc texte avec fond semi-transparent */
  .install-hero .overlay {
    position: relative;
    z-index: 2;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    display: inline-block;
    max-width: 90%;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  /* Titre avec effet moderne */
  .install-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00b4d8, #0077b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  /* Paragraphe modernisé */
  .install-hero p {
    font-size: 1rem;
    color: #e6e6e6;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* === SECTION VIDÉO === */
  .install-video {
    padding: 40px 20px;
    text-align: center;
    background: #f9f9f9;
  }

  /* Titre moderne */
  .install-video h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A3E5F;
    margin-bottom: 20px;
  }

  /* Conteneur vidéo stylé */
  .install-video .video-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  .install-video iframe {
    width: 100%;
    height: 450px;
    border: none;
  }

  /* Bouton TikTok stylé */
  .install-video .btn {
    display: inline-block;
    padding: 14px 20px;
    background: #2E8BC0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }

  .install-video .btn:hover {
    background: #1A3E5F;
  }
}

@media (max-width: 768px) {
  /* SECTION ÉTAPES */
  .install-steps {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
  }

  .install-steps h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A3E5F;
    margin-bottom: 30px;
  }

  /* Grille des étapes */
  .steps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Carte étape */
  .step-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: left;
    position: relative;
    transition: transform 0.2s ease;
  }

  .step-card:hover {
    transform: translateY(-3px);
  }

  /* Numéro dans un cercle */
  .step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #2E8BC0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-bottom: 10px;
  }

  .step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A3E5F;
    margin-bottom: 8px;
  }

  .step-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  /* SECTION ASTUCES */
  .install-tips {
    padding: 20px 20px;
    background: #fff;
    text-align: center;
  }

  .install-tips h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A3E5F;
    margin-bottom: 25px;
  }

  /* Liste stylisée */
  .install-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* SECTION ASTUCES */
  .install-tips ul li {
    background: #F4F9FC;
    border-radius: 10px;
    padding: 15px 15px 15px 45px; /* plus de place à gauche */
    font-size: 1rem;
    color: #333;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative; /* nécessaire pour positionner l'icône */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  /* Icône devant chaque astuce */
  .install-tips ul li::before {
    content: "💡";
    font-size: 1.3rem;
    position: absolute;
    left: 15px; /* place l'icône correctement dans le cadre */
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 768px) {
  /* SECTION PDF */
  .install-pdf {
    background: #F4F9FC;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 20px 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  }

  .install-pdf h2 {
    font-size: 1.4rem;
    color: #1A3E5F;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .install-pdf p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }

  .install-pdf .btn-download {
    display: inline-block;
    background: #2E8BC0;
    color: #fff;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
  }

  .install-pdf .btn-download:hover {
    background: #1A6FA0;
  }

  /* SECTION CTA */
  .install-cta {
    text-align: center;
    padding: 30px 20px;
  }

  .install-cta .btn-primary {
    display: inline-block;
    background: #1A3E5F;
    color: #fff;
    font-weight: 700;
    padding: 16px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.3s;
  }

  .install-cta .btn-primary:hover {
    background: #16324A;
  }
}

@media (max-width: 768px) {

  /* === HERO CONTACT === */
  .contact-hero {
    background: linear-gradient(135deg, #2E8BC0, #1A3E5F);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .contact-hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
  }

  .contact-hero p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
  }

  /* === SECTION CONTACT === */
  .contact-section {
    padding: 40px 20px;
  }

  .contact-description h2 {
    font-size: 1.5rem;
    color: #1A3E5F;
    margin-bottom: 15px;
  }

  .contact-description p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
  }

  /* === FORMULAIRE === */
  .contact-form {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  }

  .contact-form h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: #1A3E5F;
  }

  .contact-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #2E8BC0;
    outline: none;
  }

  /* BOUTON */
  .contact-form .btn-submit {
    width: 100%;
    padding: 14px;
    background: #2E8BC0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .contact-form .btn-submit:hover {
    background: #1A6FA0;
  }

  .response-time {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
  }
}
/* === STYLE GÉNÉRAL DES MESSAGES D'ERREUR (FORMULAIRES) === */

.error-message {
    display: block;
    font-size: 0.75rem;
    color: #e63946;
    margin-top: 5px;
    font-weight: 600;
}

/* Sur mobile : agrandir et espacer */
@media (max-width: 768px) {
    .error-message {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Style spécial mobile */
@media (max-width: 767px) {
  .video-wrapper {
    max-width: 100% !important;  /* prend toute la largeur de l'écran */
    max-width: 360px;
  }

  .video-wrapper video {
    width: 80% !important;      /* la vidéo s'adapte */
    height: auto !important;
    border-radius: 8px;
  }
}


