/* ==========================================================================
   Sonetto — feuille de style commune à toutes les pages publiques
   Bootstrap gère la grille/flexbox, ce fichier gère tout le design
   (couleurs, typographie, cartes, navbar, footer, hero, animations).
   ========================================================================== */

:root {
    /* Palette */
    --color-dark: #0b1e3d;
    /* bleu marine très foncé — hero, footer, bandeau CTA */
    --color-dark-2: #13294b;
    /* variante un peu plus claire (dégradés, hover) */
    --color-primary: #2563eb;
    /* bleu confiance — navbar, boutons, icônes, liens */
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #60a5fa;
    --color-accent: #22c55e;
    /* vert — garantie / validation / badges de confiance */
    --color-whatsapp: #1677FF;
    ;
    /* vert officiel WhatsApp — CTA du bandeau final */
    --color-whatsapp-dark: #1ebe5d;
    --color-bg: #ffffff;
    /* fond général des pages */
    --color-surface: #ffffff;
    /* fond des cartes */
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-border: #e2e8f0;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 16px rgba(11, 30, 61, 0.07);
    --shadow-md: 0 14px 34px rgba(11, 30, 61, 0.12);
    --transition: all 0.2s ease-in-out;
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

.section {
    padding: 5rem 0;
}

.section-eyebrow {
    display: block;
    text-align: center;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.1rem;
}

.section-title p {
    color: var(--color-muted);
    max-width: 600px;
    margin: 0.6rem auto 0;
}

.bg-alt {
    background-color: #eef3fc;
}

.bg-white {
    background-color: #ffffff;
}

/* ---------- Boutons ---------- */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-pill:hover {
    background-color: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-pill svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-pill--lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-pill--sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
}

.btn-pill--block {
    width: 100%;
    justify-content: center;
}

/* Variante verte, réservée au bandeau CTA final (comme sur la maquette) */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-whatsapp);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-whatsapp--lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-whatsapp--sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-outline-light-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-light-custom:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-dark);
}

/* ---------- Navbar ---------- */
.navbar-sonetto {
    background-color: white;
    padding: 0.9rem 0;
}

.navbar-sonetto .navbar-brand {
    color: #0B1E3D;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.navbar-sonetto .nav-link {
    color: #0B1E3D;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.navbar-sonetto .nav-link:hover,
.navbar-sonetto .nav-link.active {
    color: #1677FF;
}

.navbar-sonetto .dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    margin-top: 0.5rem;
}

.navbar-sonetto .dropdown-item:active,
.navbar-sonetto .dropdown-item.active {
    background-color: var(--color-primary);
}

.navbar-sonetto .navbar-toggler {
    border: none;
    color: #fff;
}

.navbar-sonetto .navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Sélecteur de langue (navbar) ---------- */
.language-switcher .dropdown {
    position: relative;
}

.language-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: 50px;
    transition: var(--transition);
}

.language-switcher__toggle:hover {
    background-color: rgba(11, 30, 61, 0.06);
}

.language-switcher .fi {
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    background-size: cover;
    box-shadow: 0 0 0 1px rgba(11, 30, 61, 0.1);
}

.language-switcher .toggle-dropdown {
    font-size: 0.7rem;
    color: #0B1E3D;
    transition: transform 0.2s ease;
}

.language-switcher .dropdown:hover .toggle-dropdown,
.language-switcher .dropdown:focus-within .toggle-dropdown {
    transform: rotate(180deg);
}

.language-switcher .dropdown > ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 3rem;
    z-index: 1000;
}

.language-switcher .dropdown:hover > ul,
.language-switcher .dropdown:focus-within > ul {
    display: flex;
}

.language-switcher .dropdown > ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
}

.language-switcher .dropdown > ul li a:hover,
.language-switcher .dropdown > ul li a.active {
    background-color: rgba(22, 119, 255, 0.1);
}

/* ---------- Hero (page d'accueil) ---------- */
/* La photo (sonnette + téléphone) sert de fond à toute la section : un dégradé
   sombre par-dessus garde le texte lisible côté gauche et laisse apparaître
   la photo côté droit, comme sur la maquette. */
.hero {
    position: relative;
    background-image:
        url('/images/hero-img.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #fff;
    padding: 5.5rem 0;
    overflow: hidden;
}

.hero h1 {
    color: #fff;
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--color-primary-light);
}

.hero p.lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Mini-fonctionnalités affichées dans le hero (icône + titre + sous-titre) */
.hero-features {
    margin: 2rem 0 2.25rem;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-feature .icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-feature strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
}

.hero-feature span {
    color: white;
    font-size: 0.8rem;
}

/* Petites pages (about, produits, contact) : bandeau plus court */
.page-header {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Cartes "Pourquoi nous choisir" ---------- */
.feature-plain {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-plain:hover {
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-plain .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.feature-plain h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.feature-plain p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ---------- Cartes produits ---------- */
.produit-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.produit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.produit-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: var(--color-dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.produit-card__badge--venir {
    background: #f97316;
}

/* Sur la fiche détail, le badge n'est pas positionné en absolu sur une image :
   il s'affiche en ligne, juste à côté du badge de catégorie. */
.produit-card__badge--inline {
    position: static;
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.produit-card__image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: white;
}

.produit-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.produit-card__categorie {
    display: inline-block;
    align-self: flex-start;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.produit-card__body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.produit-card__titre-lien {
    color: var(--color-dark);
    transition: var(--transition);
}

.produit-card__titre-lien:hover {
    color: var(--color-primary);
}

.produit-card__sous-titre {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.produit-card__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.87rem;
    color: var(--color-text);
}

.produit-card__specs li {
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.produit-card__specs li i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.produit-card__footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.produit-card__prix {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.15rem;
}

.produit-card__prix-note {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

/* ---------- Filtres produits (page catalogue) ---------- */
.filtres-bar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2.5rem;
}

.filtre-btn {
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.filtre-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filtre-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ---------- Étapes "Comment ça marche" ---------- */
.etape {
    position: relative;
    text-align: center;
    padding: 1.5rem;
}

/* Ligne pointillée reliant les étapes entre elles (masquée sur mobile, cf. media query) */
.etape:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 34px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-image: repeating-linear-gradient(to right, var(--color-border) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.etape__numero {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.etape h3 {
    font-size: 1.1rem;
}

.etape p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* ---------- Section "Notre engagement" (image + texte + badges) ---------- */
.engagement-image {
    position: relative;
}

/* Halo décoratif flouté derrière l'illustration, pour donner du relief */
.engagement-image::before {
    content: '';
    position: absolute;
    inset: -20px 10% -20px -10%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(34, 197, 94, 0.16) 100%);
    border-radius: calc(var(--radius) * 1.6);
    filter: blur(30px);
    z-index: 0;
}

.engagement-image img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.engagement-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.engagement-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-dark);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    box-shadow: var(--shadow-sm);
}

.engagement-badge .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ---------- Bandeau CTA final ---------- */
.cta-banner {
    position: relative;
    background: linear-gradient(120deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
    border-radius: var(--radius);
    padding: 4rem 3.5rem;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

/* Halos lumineux décoratifs, comme un fond "glow" de SaaS moderne */
.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(10px);
}

.cta-banner::before {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.5) 0%, transparent 70%);
    top: -140px;
    left: -80px;
}

.cta-banner::after {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.35) 0%, transparent 70%);
    bottom: -120px;
    right: -60px;
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Newsletter ---------- */
.newsletter {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius);
    padding: 3rem;
    color: #fff;
    text-align: center;
}

.newsletter h2 {
    color: #fff;
}

/* Champ + bouton regroupés dans une seule pilule blanche */
.newsletter-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border-radius: 50px;
    padding: 0.4rem;
    max-width: 460px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.65rem 1.1rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 50px;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    background: var(--color-dark);
    border: none;
    color: #fff;
    white-space: nowrap;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #000;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 0.75rem;
    }

    .newsletter-form input {
        width: 100%;
        background: #fff;
        border-radius: 50px;
        padding: 0.75rem 1.25rem;
    }

    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Footer ---------- */
/* Photo (technicien installant une sonnette) en fond, avec un voile bleu marine
   par-dessus pour garder tout le texte du footer lisible. */
.footer {
    position: relative;
    background-image:
        url('/images/image-footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 3.5rem;
}

.footer h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer a:hover {
    color: #fff;
}

.footer .footer-badges {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
   
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #fff;
    font-size: 0.92rem;
}

.footer-badge .icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1d4ed8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    margin-bottom: 0;
}

.footer-social a:hover {
    background: var(--color-primary);
}

/* ---------- Fiche produit détaillée ---------- */
.page-header__retour {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.page-header__retour:hover {
    color: #fff;
}

.produit-carousel {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.produit-carousel .carousel-item img,
.produit-carousel--simple img {
    width: 100%;
    height: 420px;
    object-fit:contain;
    background-color: white;
}

.produit-carousel .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid rgba(11, 30, 61, 0.3);
}

/* Fond rond sur les flèches précédent/suivant : sans ça elles sont blanches
   et invisibles sur le fond blanc du carrousel. */
.produit-carousel .carousel-control-prev,
.produit-carousel .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    background-color: var(--color-dark);
    border-radius: 50%;
    opacity: 0.85;
    transition: var(--transition);
}

.produit-carousel .carousel-control-prev {
    left: 16px;
}

.produit-carousel .carousel-control-next {
    right: 16px;
}

.produit-carousel .carousel-control-prev:hover,
.produit-carousel .carousel-control-next:hover {
    background-color: var(--color-primary);
    opacity: 1;
}

.produit-carousel .carousel-control-prev-icon,
.produit-carousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

/* Encart d'avertissement sur la fiche détail (ex: fonctionnalité manquante,
   accessoire nécessaire en plus). Volontairement distinct des points forts
   (fond orange pâle) pour ne pas être confondu avec un argument positif. */
.produit-avertissement {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-left: 4px solid #f97316;
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    color: #9a3412;
}

.produit-avertissement i {
    color: #f97316;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.produit-avertissement a {
    color: #9a3412;
    font-weight: 700;
    text-decoration: underline;
}

.produit-avertissement a:hover {
    color: #7c2d12;
}

.detail-specs {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
}

.detail-specs li {
    padding: 0.35rem 0;
}

.detail-prix-bloc {
    margin-bottom: 1.5rem;
}

/* ---------- Page Contact ---------- */
.contact-hero-btn {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 3rem;
    text-align: center;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-info-item .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-info-item h4 {
    margin-bottom: 0.15rem;
    font-size: 1rem;
}

.contact-info-item p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

/* ---------- Bouton WhatsApp flottant (mobile) ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1050;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover {
    background: #1ebe5d;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero {
        padding: 3.5rem 0;
        text-align: center;
    }

    .hero p.lead,
    .hero-features {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-feature {
        text-align: left;
    }

    /* Sur petit écran le texte est centré sur toute la largeur : l'overlay
       doit couvrir toute la photo pour rester lisible. */
    .hero {
        background-image:
            linear-gradient(rgba(11, 30, 61, 0.93), rgba(11, 30, 61, 0.93)),
            url('/images/hero-photo.jpg');
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .newsletter,
    .cta-banner {
        padding: 2rem 1.25rem;
    }

    /* Footer mobile : grille 2 colonnes (gauche/droite) au lieu d'un
       empilement des 4 blocs en une seule colonne, pour réduire la hauteur.
       Le HTML passe déjà en col-6 ; ici on ajuste juste les détails visuels. */
    .footer-brand,
    .footer-social {
        display: flex;
    }

    .footer-social a {
        margin-right: 0.5rem;
    }
}