/* =====================================================
   1. VARIABLES GLOBALES & CHARTE GRAPHIQUE
   ===================================================== */
:root {
    --primary: #0b2545;         
    --primary-light: #134074;   
    --accent: #0077b6;          
    --accent-hover: #005f94;    
    --whatsapp: #25d366;        
    --whatsapp-hover: #20ba5a;
    
    --text-main: #1e293b;       
    --text-muted: #64748b;      
    --bg-light: #f8fafc;        
    --bg-white: #ffffff;
    --border-color: #e2e8f0;    
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(11, 37, 69, 0.08);
    --shadow-lg: 0 20px 30px -10px rgba(11, 37, 69, 0.12);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* =====================================================
   2. RESET CSS & BASES
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

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

/* =====================================================
   3. TYPOGRAPHIE ET BOUTONS GLOBAUX
   ===================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary);
}

.btn-light {
    background-color: #ffffff;
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-primary:hover {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   4. BARRE SUPÉRIEURE (TOP-BAR)
   ===================================================== */
.top-bar {
    background-color: var(--primary);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info span i, .top-hours span i {
    color: var(--accent);
    margin-right: 6px;
}

/* =====================================================
   5. NAVIGATION PRINCIPALE (HEADER)
   ===================================================== */
.main-header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    overflow: visible !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10002;
}

.brand-logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    color: var(--primary);
}

/* Cacher la case à cocher sur TOUS les écrans (Hack CSS) */
.nav-toggle {
    display: none !important;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Bouton Burger caché sur bureau */
.burger-menu {
    display: none;
}

/* =====================================================
   6. SECTION HERO (Page d'accueil)
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 70px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 119, 182, 0.35);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    max-width: 100%;
}

.hero-title {
    color: #ffffff;
    font-size: 2.7rem;
    margin-bottom: 20px;
    line-height: 1.22;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =====================================================
   7. EN-TÊTE DES SOUS-PAGES (Page Header)
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 55px 0;
    color: #ffffff;
}

.page-category {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.page-title {
    color: #ffffff;
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.page-breadcrumb {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.page-breadcrumb a:hover {
    color: var(--accent);
}

.page-breadcrumb span {
    margin: 0 8px;
}

/* =====================================================
   8. STYLES DE SECTION GÉNÉRAUX
   ===================================================== */
.section {
    padding: 70px 0;
    width: 100%;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    max-width: 650px;
    margin: 0 auto 45px auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

.section-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 30px;
}

.section-desc-catalog {
    max-width: 480px;
    color: var(--text-muted);
}

/* =====================================================
   9. GRILLES ET CARTES (Accueil & Services)
   ===================================================== */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.card-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: rgba(0, 119, 182, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.category-img-box {
    height: 190px;
    overflow: hidden;
}

.category-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-img-box img {
    transform: scale(1.04);
}

.category-body {
    padding: 22px;
}

.category-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.category-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
}

.link-arrow:hover {
    gap: 12px;
}

/* =====================================================
   10. STYLE E-COMMERCE : BOUTIQUE (Grille Produits)
   ===================================================== */
.shop-category-title {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.mt-4 { margin-top: 50px; }

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

.shop-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.shop-item h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.shop-item .product-image {
    height: 180px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-add-cart {
    background-color: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--border-color);
    width: 100%;
    padding: 10px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.btn-add-cart:hover {
    background-color: var(--primary);
    color: #fff;
}

/* =====================================================
   11. STYLE E-COMMERCE : PANIER ET CHECKOUT LOGOS
   ===================================================== */
.boutique-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.boutique-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.cart-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.cart-item-info strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
}

.cart-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-actions button {
    width: 30px;
    height: 30px;
    background: var(--border-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cart-item-actions button:hover {
    background: var(--accent);
    color: #fff;
}

.btn-del {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.btn-del:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

.cart-empty-msg {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.checkout-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* =====================================================
   GRILLE DES MOYENS DE PAIEMENT (STACK VERTICAL)
   ===================================================== */
.payment-title {
    margin: 25px 0 15px 0;
    font-size: 1.1rem;
}

/* Disposition en liste verticale pour reproduire le design exact */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-option {
    cursor: pointer;
    position: relative;
    display: block;
}

.payment-option input {
    display: none; 
}

/* Le faux bouton (la carte) */
.payment-card {
    position: relative;
    height: 60px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Limiter la taille des logos locaux */
.payment-logo {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}

/* L'icône de paiement générique (Cash) */
.payment-card .logo-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Icône de validation invisible par défaut */
.payment-card .check-icon {
    position: absolute;
    left: 15px; /* On met la coche à gauche pour équilibrer avec le logo au centre */
    color: inherit;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

/* Animation et style quand on clique sur le bouton (Input:checked) */
.payment-option input:checked + .payment-card {
    background: #ffffff;
    border-width: 2px;
}

.payment-option input:checked + .payment-card .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Couleurs spécifiques pour chaque marque */
.payment-option input:checked + .mpesa { border-color: #4CAF50; color: #2E7D32; background: #e8f5e9; }
.payment-option input:checked + .airtel { border-color: #f44336; color: #c62828; background: #ffebee; }
.payment-option input:checked + .orange { border-color: #ff9800; color: #e65100; background: #fff3e0; }
.payment-option input:checked + .afrimoney { border-color: #9c27b0; color: #6a1b9a; background: #f3e5f5; }
.payment-option input:checked + .cash { border-color: var(--primary); color: var(--primary); background: var(--bg-light); }
.payment-option input:checked + .cash .logo-icon { color: var(--primary); }

.payment-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* =====================================================
   12. SECTION CONFIANCE & STATS
   ===================================================== */
.trust-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.trust-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.trust-list {
    margin: 20px 0;
    padding: 0;
}

.trust-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-main);
    text-align: left;
}

.trust-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent);
    font-size: 1.15rem;
}

.trust-list li strong {
    color: var(--primary);
    font-weight: 700;
    margin-right: 4px;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.stat-card {
    background: var(--bg-white);
    padding: 20px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.3;
}

/* =====================================================
   13. ÉTAPES D'INTERVENTION
   ===================================================== */
.service-points {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.service-points li {
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.service-points li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.step-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.step-card h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
   14. PAGE CONTACT & FORMULAIRE
   ===================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.info-block-header h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.info-block-header p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.contact-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 119, 182, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item a:hover {
    color: var(--accent);
}

.whatsapp-card-box {
    background: #eafaf1;
    border: 1px solid #b7ebd1;
    padding: 20px;
    border-radius: var(--radius-md);
}

.whatsapp-box-content {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.whatsapp-big-icon {
    font-size: 2rem;
    color: var(--whatsapp);
}

.whatsapp-box-content h4 {
    color: #1b6338;
    font-size: 1rem;
}

.whatsapp-box-content p {
    font-size: 0.82rem;
    color: #2e7d4d;
}

.btn-whatsapp-card {
    display: block;
    text-align: center;
    background: var(--whatsapp);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.btn-whatsapp-card:hover {
    background: var(--whatsapp-hover);
}

.form-wrapper {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.required {
    color: #e63946;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.map-section {
    line-height: 0;
}

/* =====================================================
   15. BANDEAU D'APPEL À L'ACTION (CTA) & FOOTER
   ===================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    padding: 50px 0;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-text h2 {
    color: #ffffff;
    font-size: 1.85rem;
    margin-bottom: 6px;
}

.cta-text p {
    color: #cbd5e1;
    font-size: 1rem;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.main-footer {
    background-color: #06162a;
    color: #94a3b8;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-logo .logo-text .highlight {
    color: #ffffff;
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 15px 0;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
}

.footer-socials a:hover {
    background-color: var(--accent);
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
}

/* =====================================================
   16. RESPONSIVE MOBILE & MENU 100% CSS PUR
   ===================================================== */
@media (max-width: 992px) {
    .cards-grid-3, .product-grid, .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .contact-layout, .boutique-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .top-bar {
        display: none;
    }

    .header-actions {
        display: none !important;
    }

    .burger-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 100002 !important;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .burger-menu span {
        display: block;
        height: 3px;
        width: 26px;
        background-color: var(--primary);
        border-radius: 2px;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-toggle:checked ~ .burger-menu span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle:checked ~ .burger-menu span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked ~ .burger-menu span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar {
        display: none !important;
        position: fixed !important;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: #ffffff !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
        border-top: 2px solid var(--accent);
        border-bottom: 2px solid var(--border-color);
        z-index: 100001 !important;
        padding: 20px 0;
    }

    .nav-toggle:checked ~ .navbar {
        display: block !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100%;
        padding: 0 20px;
        margin: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        text-align: center;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 14px 10px;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary) !important;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--accent) !important;
        background-color: #f8fafc;
    }

    .nav-link::after {
        display: none;
    }

    .hero-section {
        padding: 40px 0 50px 0;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 15px;
        line-height: 1.3;
        white-space: normal;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 0.98rem;
    }

    .section {
        padding: 45px 0;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .section-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 25px;
    }

    .cards-grid-3, .product-grid, .cards-grid-4, .shop-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .boutique-layout {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 22px 18px;
    }

    .trust-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 25px;
    }

    .stat-card {
        padding: 14px 8px;
        min-height: 85px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .form-wrapper {
        padding: 24px 16px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-text {
        display: none;
    }
}
/* =====================================================
   AJOUT : BOÎTE DE QUANTITÉ POUR LA BOUTIQUE
   ===================================================== */
.product-action {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.cart-qty-input {
    width: 60px;
    height: 42px;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
}

.cart-qty-input:focus {
    outline: none;
    border-color: var(--accent);
}

.shop-item .btn-add-cart {
    flex-grow: 1; /* Le bouton prend toute la place restante à côté de la case quantité */
    height: 42px;
    margin: 0;
}
/* =====================================================
   PAGE PRODUIT INDIVIDUELLE (STYLE AMAZON)
   ===================================================== */
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 30px;
}

.single-product-image {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.single-product-image img {
    width: 100%;
    max-width: 450px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.single-product-info h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.stock-badge {
    display: inline-block;
    background: #eafaf1;
    color: #25d366;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.single-product-price {
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 25px;
}

.single-product-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.single-product-features {
    margin-bottom: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.single-product-features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-main);
}

.single-product-features li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent);
    font-size: 1.1rem;
}

.order-box {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
:root {
    --primary: #0b2545;         
    --primary-light: #134074;   
    --accent: #0077b6;          
    --accent-hover: #005f94;    
    --text-main: #1e293b;       
    --text-muted: #64748b;      
    --bg-light: #f8fafc;        
    --bg-white: #ffffff;
    --border-color: #e2e8f0;    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(11, 37, 69, 0.08);
    --radius-sm: 6px;
    --radius-md: 10px;
    --transition: all 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-main); background-color: var(--bg-white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.btn-primary { background-color: var(--accent); color: #ffffff; }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--bg-light); }

/* HEADER i60 */
.top-bar { background-color: var(--primary); color: #cbd5e1; font-size: 0.85rem; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-info { display: flex; gap: 20px; flex-wrap: wrap; }
.top-info span i { color: var(--accent); margin-right: 6px; }
.main-header { background-color: var(--bg-white); position: sticky; top: 0; left: 0; width: 100%; z-index: 10000; box-shadow: var(--shadow-sm); padding: 12px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.brand-logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.logo-text .highlight { color: var(--primary); }
.nav-links { display: flex; gap: 28px; }
.nav-link { font-weight: 500; font-size: 0.95rem; color: var(--text-main); position: relative; padding: 6px 0; }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background-color: var(--accent); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 15px; }

.page-header { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 55px 0; color: #ffffff; }
.page-title { color: #ffffff; font-size: 2.3rem; margin-bottom: 10px; }
.page-breadcrumb { font-size: 0.9rem; color: #cbd5e1; }
.page-breadcrumb a { color: #fff; }

/* CATALOGUE GLOBAL */
.amz-catalog { display: flex; gap: 40px; align-items: flex-start; margin: 50px auto; }
.amz-sidebar { width: 260px; border-right: 1px solid var(--border-color); padding-right: 20px; flex-shrink: 0; }
.amz-sidebar h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 10px; display: inline-block; }
.amz-sidebar ul li { margin-bottom: 15px; }
.amz-sidebar ul li a { color: var(--text-main); font-size: 0.95rem; transition: var(--transition); }
.amz-sidebar ul li a:hover { color: var(--accent); font-weight: 600; padding-left: 5px; }
.amz-content { flex: 1; min-width: 0; }
.shop-category-title { font-size: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin: 0 0 25px 0; color: var(--primary); }
.amz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; margin-bottom: 50px; }
.amz-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; text-align: center; transition: var(--transition); display: flex; flex-direction: column; justify-content: space-between; }
.amz-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.amz-card img { height: 160px; object-fit: contain; margin-bottom: 20px; width: 100%; }
.amz-card h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--primary); height: 50px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.amz-card a { display: block; background: var(--bg-light); border: 1px solid var(--border-color); padding: 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; color: var(--primary); transition: var(--transition); }
.amz-card a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* PAGE PRODUIT INDIVIDUEL (AMAZON STYLE 3 COLONNES) */
.amz-product-page { display: grid; grid-template-columns: 1fr 1.3fr 320px; gap: 50px; margin: 50px auto; align-items: start; }
.amz-img-col { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; display: flex; justify-content: center; align-items: center; }
.amz-img-col img { width: 100%; max-width: 400px; object-fit: contain; mix-blend-mode: multiply; }
.amz-info-col h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 10px; color: var(--primary); }
.amz-brand { color: var(--accent); font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.amz-price-big { font-size: 1.8rem; color: var(--primary); font-weight: 800; margin: 20px 0; }
.amz-features { margin-top: 30px; border-top: 1px solid var(--border-color); padding-top: 25px; }
.amz-features li { margin-bottom: 15px; font-size: 1rem; padding-left: 30px; position: relative; color: var(--text-main); }
.amz-features li i { position: absolute; left: 0; top: 3px; color: var(--accent); font-size: 1.2rem; }

/* LA BUY BOX (A droite) */
.amz-buybox { border: 2px solid var(--border-color); border-radius: var(--radius-md); padding: 25px; background: var(--bg-white); box-shadow: var(--shadow-sm); }
.amz-buybox .stock { color: #25d366; font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.amz-buybox label { font-size: 0.95rem; font-weight: 600; display: block; margin-bottom: 8px; color: var(--primary); }
.amz-buybox input[type="number"], .amz-buybox input[type="text"] { width: 100%; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); margin-bottom: 25px; background: var(--bg-light); font-family: inherit; font-size: 1rem; }
.amz-buy-btn { background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); padding: 16px; width: 100%; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.1rem; transition: var(--transition); margin-bottom: 15px;}
.amz-buy-btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 119, 182, 0.25); }

/* BOUTIQUE CAISSE & PANIER (boutique.html) */
.checkout-box { max-width: 900px; margin: 50px auto; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; background: var(--bg-white); box-shadow: var(--shadow-md); }
.cart-items-wrapper { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; margin-bottom: 30px; background: #fdfdfd; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid var(--border-color); background: #fff; border-radius: var(--radius-sm); margin-bottom: 10px; box-shadow: var(--shadow-sm);}
.cart-item:last-child { margin-bottom: 0; }
.cart-item-info strong { display: block; font-size: 1.1rem; color: var(--primary); }
.cart-cat { font-size: 0.8rem; color: var(--text-muted); background: var(--bg-light); padding: 3px 8px; border-radius: 4px; display: inline-block; margin-top: 5px;}
.cart-item-actions { display: flex; align-items: center; gap: 10px; }
.cart-item-actions button { width: 32px; height: 32px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 4px; cursor: pointer; font-weight: bold; color: var(--primary); }
.cart-item-actions button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cart-item-actions .btn-del { background: #fee2e2; color: #ef4444; border-color: #fca5a5; margin-left: 10px; }
.cart-item-actions .btn-del:hover { background: #ef4444; color: #fff; }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--primary); }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-family: inherit; background: var(--bg-light); font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15); }

/* LOGOS DE PAIEMENT */
.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 30px; }
.payment-option { cursor: pointer; display: block; position: relative; }
.payment-option input { display: none; }
.payment-card { position: relative; height: 65px; padding: 10px; border: 2px solid var(--border-color); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--bg-white); color: var(--text-main); font-weight: 600; font-size: 1rem; transition: var(--transition); overflow: hidden; box-shadow: var(--shadow-sm); }
.payment-logo { max-height: 35px; width: auto; object-fit: contain; }
.payment-option input:checked + .payment-card { background: #ffffff; transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); border-width: 2px; }
.payment-option input:checked + .mpesa { border-color: #4CAF50; color: #2E7D32; background: #e8f5e9; }
.payment-option input:checked + .airtel { border-color: #f44336; color: #c62828; background: #ffebee; }
.payment-option input:checked + .orange { border-color: #ff9800; color: #e65100; background: #fff3e0; }
.payment-option input:checked + .afrimoney { border-color: #9c27b0; color: #6a1b9a; background: #f3e5f5; }
.payment-option input:checked + .cash { border-color: var(--primary); color: var(--primary); background: var(--bg-light); }
.cash-option { grid-column: 1 / -1; }

.main-footer { background-color: #06162a; color: #94a3b8; padding: 60px 0 20px 0; margin-top: 60px; text-align: center; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .amz-product-page { grid-template-columns: 1fr; gap: 30px; }
    .amz-catalog { flex-direction: column; }
    .amz-sidebar { width: 100%; border-right: none; border-bottom: 2px solid var(--border-color); padding-bottom: 30px; margin-bottom: 10px; }
    .payment-methods { grid-template-columns: 1fr; }
}
            

/* =====================================================
   PANIER & COMMANDE (boutique.html) - design moderne
   Toutes les classes commencent par "pn-" : aucune autre
   page du site n'est affectée. Couleurs = charte existante.
   ===================================================== */
.pn-empty[hidden], .pn-success[hidden], .pn-layout[hidden], .pn-error[hidden] { display: none !important; }

.pn-main { padding-top: 36px; padding-bottom: 10px; }

/* Étapes */
.pn-steps { list-style: none; display: flex; align-items: center; justify-content: center; max-width: 680px; margin: 0 auto 34px; padding: 0; }
.pn-steps li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.pn-steps li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--border-color); font-size: 0.88rem; color: var(--text-muted); flex-shrink: 0; transition: var(--transition); }
.pn-steps li + li::before { content: ''; display: block; flex: 1; width: 48px; min-width: 24px; height: 2px; background: var(--border-color); margin-right: 2px; transition: var(--transition); }
.pn-steps li.is-active { color: var(--primary); }
.pn-steps li.is-active span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.15); }
.pn-steps li.is-done { color: var(--primary); }
.pn-steps li.is-done span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pn-steps li.is-active::before, .pn-steps li.is-done::before { background: var(--accent); }

/* Mise en page */
.pn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; }
.pn-col-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.pn-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.pn-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.pn-card h2 { font-size: 1.25rem; color: var(--primary); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pn-card h2 > i { color: var(--accent); font-size: 1.05rem; }
.pn-badge { background: var(--bg-light); border: 1px solid var(--border-color); color: var(--text-muted); font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; padding: 3px 11px; border-radius: 999px; }
.pn-link-btn { white-space: nowrap; flex-shrink: 0; background: none; border: none; color: var(--text-muted); font: inherit; font-size: 0.88rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 7px 10px; border-radius: var(--radius-sm); transition: var(--transition); }
.pn-link-btn:hover { color: #dc2626; background: #fef2f2; }

/* Liste des articles */
.pn-list { list-style: none; margin: 0; padding: 0; }
.pn-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border-color); }
.pn-item:first-child { border-top: none; padding-top: 4px; }
.pn-thumb { width: 84px; height: 84px; border-radius: var(--radius-md); background: var(--bg-light); border: 1px solid var(--border-color); overflow: hidden; display: grid; place-items: center; color: var(--accent); font-size: 1.6rem; }
.pn-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pn-item-info { min-width: 0; }
.pn-item-name { display: block; font-weight: 700; color: var(--primary); font-size: 1.03rem; line-height: 1.35; overflow-wrap: anywhere; }
a.pn-item-name:hover { color: var(--accent); }
.pn-item-cat { display: inline-block; margin-top: 7px; font-size: 0.75rem; font-weight: 600; color: var(--accent); background: rgba(0, 119, 182, 0.08); padding: 3px 10px; border-radius: 999px; }
.pn-item-price { display: block; margin-top: 7px; font-size: 0.82rem; color: var(--text-muted); }

.pn-qty { display: inline-flex; align-items: center; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.pn-qty button { width: 38px; height: 40px; border: none; background: var(--bg-light); color: var(--primary); cursor: pointer; font-size: 0.75rem; transition: var(--transition); }
.pn-qty button:hover { background: var(--accent); color: #fff; }
.pn-qty input { width: 50px; height: 40px; border: none; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); text-align: center; font-weight: 700; font-size: 1rem; color: var(--primary); font-family: inherit; background: #fff; border-radius: 0; padding: 0; }
.pn-qty input:focus { outline: none; background: #f0f9ff; }
.pn-remove { width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid transparent; background: transparent; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.pn-remove:hover { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.pn-continue { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--border-color); width: 100%; color: var(--accent); font-weight: 600; font-size: 0.93rem; }
.pn-continue:hover { color: var(--accent-hover); }

/* Formulaire */
.pn-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.pn-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pn-field.full { grid-column: 1 / -1; }
.pn-field label { font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.pn-field label em { color: #dc2626; font-style: normal; }
.pn-field label small { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }
.pn-input-wrap { position: relative; }
.pn-input-wrap > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem; pointer-events: none; }
.pn-field .pn-input-wrap input { padding-left: 42px; }
.pn-field input, .pn-field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-light); font-family: inherit; font-size: 0.98rem; color: var(--text-main); transition: var(--transition); }
.pn-field textarea { resize: vertical; min-height: 84px; }
.pn-field input::placeholder, .pn-field textarea::placeholder { color: #94a3b8; }
.pn-field input:focus, .pn-field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15); }
.pn-field input:user-invalid { border-color: #dc2626; background: #fffafa; }

/* Moyens de paiement */
.pn-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pn-pay label { position: relative; cursor: pointer; display: block; }
.pn-pay-wide { grid-column: 1 / -1; }
.pn-pay input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pn-pay-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 70px; border: 2px solid var(--border-color); border-radius: var(--radius-md); background: #fff; font-weight: 600; color: var(--text-main); transition: var(--transition); }
.pn-pay-card img { width: 46px; height: 38px; object-fit: contain; flex-shrink: 0; border-radius: 4px; }
.pn-pay-ico { width: 46px; height: 38px; display: grid; place-items: center; color: var(--primary); font-size: 1.45rem; flex-shrink: 0; }
.pn-pay-dot { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; flex-shrink: 0; transition: var(--transition); }
.pn-pay label:hover .pn-pay-card { border-color: #bfdbfe; box-shadow: var(--shadow-sm); }
.pn-pay input:checked + .pn-pay-card { border-color: var(--accent); background: rgba(0, 119, 182, 0.05); box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12); }
.pn-pay input:checked + .pn-pay-card .pn-pay-dot { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.pn-pay input:focus-visible + .pn-pay-card { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Récapitulatif */
.pn-summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.pn-summary-head { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; padding: 18px 24px; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pn-summary-body { padding: 20px 24px 24px; }
.pn-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.95rem; color: var(--text-main); }
.pn-row > span:first-child { color: var(--text-muted); }
.pn-row.total { border-top: 1px dashed var(--border-color); margin-top: 8px; padding-top: 16px; font-size: 1.12rem; font-weight: 700; color: var(--primary); }
.pn-row.total > span:first-child { color: var(--primary); }
.pn-note { display: flex; gap: 10px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 12px 14px; font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; margin: 16px 0 18px; }
.pn-note > i { color: var(--accent); margin-top: 3px; }
.pn-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: var(--radius-md); padding: 12px 14px; font-size: 0.88rem; line-height: 1.5; margin-bottom: 14px; }
.pn-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border: none; border-radius: var(--radius-md); background: var(--accent); color: #fff; font-family: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.pn-submit:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 119, 182, 0.25); }
.pn-submit:disabled { opacity: 0.7; cursor: wait; }
.pn-trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border-color); display: grid; gap: 12px; font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }
.pn-trust li { display: flex; gap: 10px; align-items: flex-start; }
.pn-trust i { color: var(--accent); width: 16px; margin-top: 3px; text-align: center; }

/* Panier vide + confirmation */
.pn-empty, .pn-success { max-width: 660px; margin: 6px auto 0; text-align: center; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 54px 38px; }
.pn-round-ico { width: 96px; height: 96px; border-radius: 50%; background: var(--bg-light); border: 1px solid var(--border-color); display: grid; place-items: center; margin: 0 auto 24px; color: var(--accent); font-size: 2.3rem; }
.pn-round-ico.ok { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.15); }
.pn-empty h2, .pn-success h2 { color: var(--primary); font-size: 1.7rem; margin-bottom: 12px; line-height: 1.25; }
.pn-empty p, .pn-success p { color: var(--text-muted); max-width: 480px; margin: 0 auto 26px; line-height: 1.7; }
.pn-order-id { display: inline-block; background: var(--bg-light); border: 1px dashed var(--accent); border-radius: 999px; padding: 8px 20px; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; margin-bottom: 20px; }
.pn-recap { list-style: none; text-align: left; border-top: 1px solid var(--border-color); margin: 30px 0 0; padding: 8px 0 0; }
.pn-recap li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; color: var(--text-main); }
.pn-recap li strong { color: var(--primary); white-space: nowrap; }
.pn-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* Responsive */
@media (max-width: 992px) {
    .pn-layout { grid-template-columns: 1fr; }
    .pn-summary { position: static; }
    .pn-col-side { order: 2; }
}
@media (max-width: 640px) {
    .pn-main { padding-top: 24px; }
    .pn-steps li { font-size: 0; gap: 0; }
    .pn-steps li span { font-size: 0.88rem; }
    .pn-steps li.is-active { font-size: 0.88rem; gap: 8px; }
    .pn-steps li + li::before { width: 100%; min-width: 16px; margin: 0 6px; }
    .pn-card { padding: 20px 18px; }
    .pn-item { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px 14px; }
    .pn-thumb { width: 68px; height: 68px; }
    .pn-item .pn-qty { grid-column: 2 / 3; justify-self: start; }
    .pn-item .pn-remove { grid-column: 3 / 4; grid-row: 2; }
    .pn-fields, .pn-pay { grid-template-columns: 1fr; }
    .pn-empty, .pn-success { padding: 40px 22px; }
}


/* "BUSINESS" de l'en-tête en bleu du logo i60 (#006cfc) - modifiable ici */
.main-header .logo-text .highlight { color: #006cfc; }


/* =====================================================
   VISIONNEUSE PRODUIT : image + vue 360° (pages produit-*.html)
   Classes préfixées "pv-" : aucune autre page n'est affectée.
   ===================================================== */
.amz-img-col.pv { flex-direction: column; gap: 18px; padding: 28px 24px 22px; }
.pv-stage { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pv-stage .pv-photo, .pv-stage .pv-canvas { width: 100%; height: 100%; max-width: 420px; object-fit: contain; display: block; }
.amz-img-col.pv .pv-photo { mix-blend-mode: multiply; }
.pv-canvas { touch-action: pan-y; border-radius: var(--radius-md); }
.pv-canvas:focus-visible { outline: 3px solid rgba(0, 119, 182, 0.4); outline-offset: 2px; }
.pv-photo[hidden], .pv-canvas[hidden], .pv-hint[hidden] { display: none !important; }
.pv-tabs { display: inline-flex; background: #fff; border: 1px solid var(--border-color); border-radius: 999px; padding: 4px; gap: 4px; box-shadow: var(--shadow-sm); }
.pv-tabs button { display: inline-flex; align-items: center; gap: 8px; border: none; background: transparent; color: var(--text-muted); font: inherit; font-weight: 600; font-size: 0.9rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: var(--transition); }
.pv-tabs button:hover { color: var(--primary); }
.pv-tabs button.is-active { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(0, 119, 182, 0.3); }
.pv-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pv-hint { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.85rem; text-align: center; margin: 0; }
.pv-hint > i { color: var(--accent); }
.pv-pause { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-color); background: #fff; color: var(--primary); cursor: pointer; font-size: 0.7rem; transition: var(--transition); }
.pv-pause:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.amz-card img { aspect-ratio: 1 / 1; height: 160px; }
@media (max-width: 640px) {
    .amz-img-col.pv { padding: 20px 14px 18px; }
    .pv-tabs button { padding: 9px 14px; font-size: 0.85rem; }
}


/* =====================================================
   CATALOGUE (produits.html) : version téléphone + cartes cliquables
   Portée limitée à <body class="page-catalogue"> et à .amz-catalog :
   aucune autre page du site n'est affectée. Couleurs inchangées.
   ===================================================== */

/* Les titres de catégorie ne passent plus sous l'en-tête fixe quand on clique sur un lien du menu de gauche */
.amz-content .shop-category-title { scroll-margin-top: 96px; }

/* Toute la carte (image, nom, cadre) ouvre la page de l'article : le lien "Voir les détails" est étendu à la carte entière */
.amz-catalog .amz-card { position: relative; cursor: pointer; }
.amz-catalog .amz-card a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.amz-catalog .amz-card:hover a { background: var(--primary); color: #fff; border-color: var(--primary); }
.amz-catalog .amz-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Tablette : les catégories restent à gauche, comme sur ordinateur */
@media (max-width: 992px) {
    .amz-catalog { flex-direction: row; gap: 24px; }
    .amz-catalog .amz-sidebar { width: 190px; border-right: 1px solid var(--border-color); border-bottom: none; padding: 0 16px 0 0; margin: 0; }
}

/* Téléphone */
@media (max-width: 768px) {

    /* En-tête : logo à gauche, panier + menu à droite (le panier reste visible) */
    .page-catalogue .header-actions { display: flex !important; order: 2; margin-left: auto; margin-right: 6px; }
    .page-catalogue .burger-menu { order: 3; }
    .page-catalogue .header-actions .btn { padding: 8px 12px; font-size: 0.86rem; gap: 4px; border-radius: 8px; white-space: nowrap; }

    /* Bandeau de titre plus compact */
    .page-catalogue .page-header { padding: 26px 0; }

    /* Catalogue : catégories à gauche (fixes pendant le défilement), articles à droite */
    .amz-catalog { gap: 12px; margin: 20px auto 30px auto; }
    .amz-catalog .amz-sidebar { width: 100px; padding: 0 8px 0 0; position: sticky; top: 84px; align-self: flex-start; }
    .amz-sidebar h3 { display: block; font-size: 0.8rem; line-height: 1.25; margin-bottom: 10px; padding-bottom: 8px; }
    .amz-sidebar ul li { margin-bottom: 4px; }
    .amz-sidebar ul li a { display: block; padding: 8px 6px; font-size: 0.76rem; line-height: 1.3; border-radius: 6px; overflow-wrap: anywhere; hyphens: auto; }
    .amz-sidebar ul li a:hover { padding-left: 6px; font-weight: 500; }
    .amz-sidebar ul li a.is-active { background: var(--bg-light); color: var(--accent); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }

    .amz-catalog .amz-content { min-width: 0; }
    .shop-category-title { font-size: 1.1rem; margin-bottom: 14px; padding-bottom: 8px; }
    .amz-content .shop-category-title { scroll-margin-top: 84px; }

    /* Cartes compactes : 2 par ligne quand la place le permet */
    .amz-catalog .amz-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 30px; }
    .amz-catalog .amz-card { padding: 10px 8px; border-radius: 12px; }
    .amz-catalog .amz-card:hover { transform: none; }
    .amz-catalog .amz-card img { height: auto; aspect-ratio: 1 / 1; margin-bottom: 8px; }
    .amz-catalog .amz-card h4 { font-size: 0.8rem; line-height: 1.25; height: 2.5em; margin-bottom: 8px; overflow-wrap: anywhere; hyphens: auto; }
    .amz-catalog .amz-card a { padding: 8px 4px; font-size: 0.7rem; white-space: nowrap; }
}

/* Téléphones : 2 articles par ligne à côté du menu des catégories */
@media (max-width: 480px) {
    .amz-catalog .amz-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
    .amz-catalog .amz-card { padding: 10px 6px; }
    .amz-catalog .amz-card h4 { font-size: 0.78rem; }
    .amz-catalog .amz-card a { font-size: 0.68rem; padding: 8px 2px; }
}
@media (max-width: 400px) {
    .amz-catalog { gap: 8px; }
    .amz-catalog .amz-grid { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); }
}
@media (max-width: 380px) {
    .amz-catalog .amz-card a { font-size: 0.64rem; }
    .amz-catalog .amz-card h4 { font-size: 0.74rem; }
}

/* Très petits téléphones (320 à 360 px) : le panier devient une icône avec le nombre d'articles dans une pastille */
@media (max-width: 360px) {
    .page-catalogue .header-actions .cart-word,
    .page-catalogue .header-actions .cart-lbl,
    .page-catalogue .header-actions .cart-end { display: none; }
    .page-catalogue .header-actions .btn { padding: 8px 10px; gap: 6px; }
    .page-catalogue .header-actions #cart-count { background: #fff; color: var(--accent); border-radius: 999px; min-width: 20px; padding: 0 6px; font-size: 0.78rem; line-height: 20px; font-weight: 700; text-align: center; }
    .amz-catalog .amz-sidebar { width: 92px; padding-right: 10px; }
    .page-catalogue .brand-logo { gap: 6px; }
    .page-catalogue .logo-text { font-size: 1.2rem; }
    .amz-sidebar ul li a { padding: 8px 4px; font-size: 0.72rem; }
    .amz-catalog .amz-card h4 { font-size: 0.74rem; }
    .amz-catalog .amz-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .amz-catalog .amz-card { padding: 8px 6px; }
    .amz-catalog .amz-card a { font-size: 0.66rem; padding: 8px 2px; }
}


/* =====================================================
   BANDEAU D'ACCUEIL : texte centré + diaporama de photos (10 s) + barre de chargement
   Portée limitée à <section class="hero-section hero-slider"> (page d'accueil).
   Mêmes couleurs, mêmes polices.
   ===================================================== */
.hero-slider { overflow: hidden; justify-content: center; }

/* Photos de fond : fondu enchaîné */
.hero-slider .hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slider .hero-slide { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.hero-slider .hero-slide.is-active { opacity: 1; }
.hero-slider .hero-overlay { z-index: 1; background: linear-gradient(180deg, rgba(11, 37, 69, 0.80) 0%, rgba(11, 37, 69, 0.86) 55%, rgba(11, 37, 69, 0.94) 100%); }

/* Texte et boutons au centre */
.hero-slider .hero-content { max-width: 920px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-slider .hero-title { text-wrap: balance; }
.hero-slider .hero-subtitle { max-width: 780px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.hero-slider .hero-buttons { justify-content: center; }

/* Barre de chargement : un segment par photo, il se remplit pendant que la photo est affichée */
.hero-progress { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.hero-progress > * { pointer-events: auto; }
.hero-segs { display: flex; align-items: center; gap: 8px; margin-left: 44px; } /* décalage = largeur du bouton pause + espace : les segments restent bien centrés */
.hero-seg { position: relative; width: 64px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-seg::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); transition: background 0.2s ease; }
.hero-seg:hover::before { background: rgba(255, 255, 255, 0.45); }
.hero-seg-fill { position: absolute; left: 0; top: 50%; width: 100%; height: 4px; margin-top: -2px; border-radius: 4px; background: #ffffff; transform: scaleX(0); transform-origin: left center; }
.hero-seg.is-done .hero-seg-fill { transform: scaleX(1); }
.hero-seg.is-active .hero-seg-fill { animation: heroRecharge var(--hero-duree, 10s) linear forwards; }
@keyframes heroRecharge { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-slider.is-paused .hero-seg.is-active .hero-seg-fill { animation-play-state: paused; }
.hero-seg:focus-visible, .hero-pause:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

.hero-pause { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.12); color: #ffffff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s ease; }
.hero-pause:hover { background: rgba(255, 255, 255, 0.26); }
.hero-pause svg { fill: currentColor; }
.hero-pause .ico-play { display: none; }
.hero-pause.is-on .ico-pause { display: none; }
.hero-pause.is-on .ico-play { display: block; }

@media (max-width: 768px) {
    .hero-slider .hero-content { text-align: center; }
    .hero-progress { bottom: 12px; gap: 10px; }
    .hero-segs { margin-left: 40px; }
    .hero-seg { width: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slider .hero-slide { transition-duration: 0.4s; }
}


/* =====================================================
   ACCUEIL : le bandeau photo occupe toute la hauteur visible de l'écran
   (sous la barre du haut, sans passer dessous). --hero-top est mesuré par hero-slider.js
   (hauteur de la barre d'info + de l'en-tête) ; les valeurs ci-dessous servent de repli.
   ===================================================== */
.hero-slider { min-height: max(540px, calc(100vh - var(--hero-top, 116px))); }
@supports (height: 100svh) {
    .hero-slider { min-height: max(540px, calc(100svh - var(--hero-top, 116px))); }
}
@media (max-width: 768px) {
    .hero-slider { min-height: max(480px, calc(100vh - var(--hero-top, 72px))); }
}
@supports (height: 100svh) {
    @media (max-width: 768px) {
        .hero-slider { min-height: max(480px, calc(100svh - var(--hero-top, 72px))); }
    }
}


/* =====================================================
   PAGE PRODUITS : le menu « Nos catégories » reste visible quand on défile (haut et bas de page)
   ===================================================== */
.amz-catalog .amz-sidebar { position: sticky; top: 96px; align-self: flex-start; max-height: calc(100vh - 116px); overflow-y: auto; }
.amz-sidebar ul li a.is-active { color: var(--accent); font-weight: 600; }
@media (max-width: 768px) {
    .amz-catalog .amz-sidebar { top: 84px; max-height: calc(100vh - 96px); }
}


/* =====================================================
   CONTACT (contact.html) : message d'erreur + confirmation après « Transmettre ma demande »
   Classes préfixées "cf-" : aucune autre page n'est affectée.
   ===================================================== */
.btn.is-loading { opacity: 0.85; cursor: wait; }
.cf-error { scroll-margin-top: 120px; display: flex; gap: 12px; align-items: flex-start; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-size: 0.92rem; line-height: 1.55; }
.cf-error[hidden] { display: none; }
.cf-error i { color: #dc2626; margin-top: 3px; }
.cf-error a { color: inherit; text-decoration: underline; font-weight: 600; }

.form-wrapper.is-sent > .form-title,
.form-wrapper.is-sent > .form-subtitle,
.form-wrapper.is-sent > form { display: none; }

.cf-success { text-align: center; outline: none; animation: cfIn 0.5s ease both; scroll-margin-top: 100px; }
.cf-check { width: 84px; height: 84px; border-radius: 50%; background: var(--whatsapp); margin: 4px auto 20px auto; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.15); }
.cf-check svg { width: 52px; height: 52px; }
.cf-check-path { fill: none; stroke: #ffffff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: cfDraw 0.5s 0.25s ease forwards; }
.cf-title { color: var(--primary); font-size: 1.45rem; line-height: 1.3; margin-bottom: 10px; }
.cf-lead { color: var(--text-muted); line-height: 1.7; max-width: 480px; margin: 0 auto 22px auto; }

.cf-recap { text-align: left; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 22px; }
.cf-recap-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.cf-recap dl { margin: 0; }
.cf-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-color); font-size: 0.92rem; }
.cf-row:first-child { border-top: 0; }
.cf-row dt { color: var(--text-muted); }
.cf-row dd { margin: 0; color: var(--primary); font-weight: 600; word-break: break-word; }

.cf-steps { list-style: none; margin: 0 0 22px 0; padding: 0; text-align: left; display: grid; gap: 14px; }
.cf-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.92rem; color: var(--text-main); line-height: 1.5; }
.cf-steps li > span { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #ffffff; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; }
.cf-steps strong { color: var(--primary); }

.cf-urgent { display: flex; gap: 14px; text-align: left; background: rgba(0, 119, 182, 0.07); border: 1px solid rgba(0, 119, 182, 0.25); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 24px; font-size: 0.9rem; line-height: 1.6; color: var(--text-main); }
.cf-urgent i { color: var(--accent); font-size: 1.4rem; margin-top: 2px; }
.cf-urgent a { color: var(--accent); font-weight: 600; white-space: nowrap; }

.cf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cf-again { background: none; border: 0; padding: 4px; margin-top: 16px; color: var(--text-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.9rem; }
.cf-again:hover { color: var(--accent); }

@keyframes cfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cfDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 480px) {
    .cf-row { grid-template-columns: 88px 1fr; }
    .cf-actions .btn { width: 100%; }
    .cf-title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cf-success { animation: none; }
    .cf-check-path { animation: none; stroke-dashoffset: 0; }
}


/* =====================================================
   BARRE D'INFORMATION DU HAUT : avec le 2e numéro, on resserre légèrement
   sur écrans moyens pour que tout reste sur une ligne.
   ===================================================== */
@media (max-width: 1100px) and (min-width: 769px) {
    .top-bar { font-size: 0.78rem; }
    .top-info { gap: 12px; }
    .top-info span i, .top-hours span i { margin-right: 4px; }
}


/* Exemples affichés en gris clair dans les champs du formulaire de contact */
#contactForm input::placeholder, #contactForm textarea::placeholder { color: #94a3b8; opacity: 1; }
