/* ============================================================
   ARTISANSCI — FEUILLE UNIQUE DES PAGES PUBLIQUES
   (accueil + page-web/* + connexion + inscription)
   VERSION ORANGE (#F59E0B) + VERT LOGO (#10B981)
   Version 23 : images services EN HAUT (SVG) + illustrations
   « Comment ça marche » (sv1-sv4). Desktop = état validé.
   ============================================================ */

/* ============================================================
   0. OVERRIDES GLOBAUX — topbar + logo (écrase app.css)
   ============================================================ */
.pub-topbar { background: #F59E0B !important; }
.pub-logo-part1 { background-color: #F59E0B !important; }
.pub-logo-part2 { background-color: #10B981 !important; }

/* ============================================================
   1. RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   2. BOUTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary { background-color: #F59E0B; color: #fff; }
.btn-primary:hover { background-color: #10B981; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-secondary { background-color: #10B981; color: #fff; }
.btn-secondary:hover { background-color: #F59E0B; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-block { display: block; width: 100%; }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }

/* ============================================================
   2bis. BOUTONS DU MENU & SURVOLS
   ============================================================ */
.btn-green { background-color: #10B981; color: #fff; border: 2px solid #10B981; }
.btn-green:hover {
    background-color: #F59E0B;
    border-color: #F59E0B;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn-outline { background-color: transparent; color: #F59E0B; border: 2px solid #F59E0B; }
.btn-outline:hover {
    background-color: #10B981;
    border-color: #10B981;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ----- SUPPRESSION DE L'ANCIEN SOULIGNEMENT ----- */
.pub-header-desktop .pub-nav-item a {
    border-bottom: none !important;
    box-shadow: none !important;
}
.pub-header-desktop .pub-nav-item a::after,
.pub-header-desktop .pub-nav-item a::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

/* ----- LIENS NAV : survol TEXTE VERT + UN SEUL SOULIGNEMENT VERT ----- */
.pub-header-desktop .pub-nav-item a:hover,
.pub-header-desktop .pub-nav-item a.active {
    color: #10B981 !important;
    text-decoration: underline !important;
    text-decoration-color: #10B981 !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 8px !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

/* ----- CONNEXION / DASHBOARD : survol vert clair + texte vert ----- */
.pub-nav-actions .btn-green:hover {
    background-color: #D1FAE5 !important;
    border-color: #D1FAE5 !important;
    color: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.25);
}
.pub-nav-actions .btn-green:hover i { color: #059669 !important; }

/* ----- INSCRIPTION : survol orange clair + texte orange ----- */
.pub-nav-actions .btn-primary:hover {
    background-color: #FFFBEB !important;
    border-color: #FFFBEB !important;
    color: #D97706 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.25);
}
.pub-nav-actions .btn-primary:hover i { color: #D97706 !important; }

/* ----- BOUTON UTILISATEUR CONNECTÉ = style INSCRIPTION ----- */
.pub-user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 12px 5px 5px;
    border-radius: 8px;
    background: #F59E0B;
    transition: all 0.3s;
    height: 40px;
}
.pub-user-dropdown:hover {
    background: #FFFBEB;
    box-shadow: 0 4px 12px rgba(245,158,11,0.25);
}
.pub-user-dropdown:hover .pub-user-name,
.pub-user-dropdown:hover .pub-dropdown-arrow { color: #D97706; }

/* ----- CERCLE INITIALES = ORANGE, bordure blanche ----- */
.pub-user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 12px;
    flex-shrink: 0;
}
.pub-user-name { font-size: 13px; font-weight: 600; color: #fff; font-family: 'Poppins', sans-serif; white-space: nowrap; }
.pub-dropdown-arrow { color: #fff; font-size: 11px; transition: transform 0.3s; }
.pub-user-dropdown.open .pub-dropdown-arrow { transform: rotate(180deg); }

/* Menu déroulant : fond blanc */
.pub-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px); right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.12);
    padding: 6px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.3s;
    z-index: 200;
    overflow: hidden;
}
.pub-user-dropdown.open .pub-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.pub-dropdown-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 18px;
    font-size: 14px; color: #495057;
    cursor: pointer; transition: all 0.25s;
    width: 100%; background: none; border: none;
    text-align: left; text-decoration: none;
    font-family: 'Poppins', sans-serif; font-weight: 500;
}
.pub-dropdown-item:hover { background: #FFFBEB; color: #D97706; }
.pub-dropdown-item i { width: 20px; text-align: center; color: #F59E0B; font-size: 15px; }
.pub-dropdown-item.logout { color: #ef4444; }
.pub-dropdown-item.logout:hover { background: #FEE2E2; color: #dc2626; }
.pub-dropdown-item.logout i { color: #ef4444; }
.pub-dropdown-divider { height: 1px; background: #e9ecef; margin: 4px 12px; }
.pub-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px; right: 24px;
    width: 12px; height: 12px;
    background: #fff;
    border-left: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
    transform: rotate(45deg);
    z-index: -1;
}

@media (max-width: 768px) {
    .pub-user-name { display: none; }
    .pub-dropdown-arrow { display: none; }
    .pub-dropdown-menu { right: -10px; }
    .pub-dropdown-menu::before { right: 16px; }
}

/* ============================================================
   3. SECTION HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
    font-size: 2.5rem;
    color: #F59E0B;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 3px;
    background-color: #10B981;
}
.section-subtitle { font-size: 1.1rem; color: #707070; max-width: 700px; margin: 0 auto; }

/* ============================================================
   4. HERO SLIDER — desktop : margin-top 100px + hauteur -25px
   ============================================================ */
.hero {
    height: calc(100vh - 105px);
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    margin-bottom: 0;
}
.hero-slider { height: 100%; position: relative; }
.slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease;
    background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }
.slide:nth-child(2) { background: linear-gradient(135deg, #F59E0B, #FCD34D); }
.slide:nth-child(3) { background: linear-gradient(135deg, #451A03, #78350F, #92400E); }
.slide-content {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; z-index: 2;
    width: 90%; max-width: 800px; color: #fff;
}
.slide-title { font-size: 3.5rem; margin-bottom: 20px; animation: fadeInDown 1s ease; }
.slide-text { font-size: 1.2rem; margin-bottom: 30px; animation: fadeInUp 1s ease; }
.slide-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4); z-index: 1;
}

.hero-slide-content { width: 90%; max-width: 900px; padding: 20px 0 40px; }
.hero-badge {
    display: inline-block; padding: 10px 25px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px; color: white;
    font-weight: 600; font-size: 14px;
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-title { font-size: 3.5rem !important; margin-bottom: 20px; }
.hero-title span { color: #fcd34d; position: relative; display: inline-block; }
.hero-title span::after {
    content: ''; position: absolute;
    bottom: 5px; left: 0;
    width: 100%; height: 4px;
    background: #fcd34d; border-radius: 2px; opacity: 0.5;
}
.hero-text { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 50px; justify-content: center; flex-wrap: wrap; color: white; }
.stat { text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 4px; }
.stat-label { font-size: 0.9rem; opacity: 0.8; margin-top: 4px; }

/* ----- BOUTONS DU SLIDER : mêmes survols que le menu ----- */
.hero .btn-secondary:hover,
.hero .btn-green:hover {
    background-color: #D1FAE5 !important;
    border-color: #D1FAE5 !important;
    color: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.25);
}
.hero .btn-secondary:hover i,
.hero .btn-green:hover i { color: #059669 !important; }
.hero .btn-primary:hover,
.hero .btn-outline:hover {
    background-color: #FFFBEB !important;
    border-color: #FFFBEB !important;
    color: #D97706 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.25);
}
.hero .btn-primary:hover i,
.hero .btn-outline:hover i { color: #D97706 !important; }
.hero .btn[style*="#059669"]:hover {
    background-color: #ECFDF5 !important;
    color: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.25);
}
.hero .btn[style*="#D97706"]:hover {
    background-color: #FFFBEB !important;
    color: #D97706 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.25);
}

/* Contrôles du slider */
.slider-controls {
    position: absolute; bottom: 40px; left: 0; width: 100%;
    display: flex; justify-content: center; align-items: center; z-index: 10;
}
.slider-prev, .slider-next {
    background: rgba(255,255,255,0.2); border: none;
    width: 50px; height: 50px; border-radius: 50%;
    color: #fff; font-size: 1.2rem; cursor: pointer;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
}
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,0.3); }
.slider-dots { display: flex; margin: 0 20px; }
.dot {
    width: 12px; height: 12px; border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 8px; cursor: pointer; transition: all 0.3s ease;
}
.dot.active { background-color: #fff; transform: scale(1.2); }

/* ============================================================
   5. SERVICES — IMAGE SVG EN HAUT DE CHAQUE CARTE, 4 PAR LIGNE
   ============================================================ */
.services { padding: 100px 0; background-color: #f5f5f5; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 0 0 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 5px; height: 0;
    background-color: #10B981;
    transition: all 0.3s ease;
    z-index: 5;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-visual {
    height: 160px;
    width: 100%;
    margin-bottom: 18px;
    overflow: hidden;
    position: relative;
    background: #F8FAFC;
}
.service-visual svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.service-card:hover .service-visual svg { transform: scale(1.07); }
.service-title { font-size: 1.2rem; margin-bottom: 10px; color: #F59E0B; padding: 0 18px; }
.service-description { color: #707070; margin-bottom: 0; padding: 0 18px; font-size: 0.92rem; }

/* ============================================================
   6. COMMENT ÇA MARCHE + ILLUSTRATIONS CSS (sv1 → sv4)
   ============================================================ */
.how-it-works { padding: 100px 0; background-color: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.step {
    text-align: center; padding: 30px 20px 24px;
    background: #f5f5f5; border-radius: 8px;
    transition: all 0.3s ease;
}
.step:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.step-number {
    width: 60px; height: 60px;
    background-color: #F59E0B; color: #fff;
    font-size: 1.8rem; font-weight: 700; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; color: #F59E0B; }
.step p { color: #707070; }

/* ----- Zone illustration sous chaque étape ----- */
.step-visual {
    position: relative;
    width: 150px;
    height: 120px;
    margin: 20px auto 0;
}
.step-visual span { position: absolute; display: block; }

/* SV1 : INSCRIPTION (carte + avatar + crayon) */
.sv1 .v-card { left: 28px; top: 8px; width: 94px; height: 104px; background: #fff; border: 3px solid #E2E8F0; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.sv1 .v-avatar { left: 57px; top: -6px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #F59E0B, #D97706); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); z-index: 2; }
.sv1 .v-line { height: 6px; border-radius: 3px; background: #E2E8F0; }
.sv1 .l1 { left: 40px; top: 48px; width: 70px; }
.sv1 .l2 { left: 40px; top: 62px; width: 54px; }
.sv1 .l3 { left: 40px; top: 76px; width: 62px; }
.sv1 .v-mini { left: 52px; top: 92px; width: 46px; height: 14px; border-radius: 7px; background: #10B981; }
.sv1 .v-pencil { right: 2px; bottom: 0; width: 52px; height: 10px; background: #F59E0B; border-radius: 2px; transform: rotate(-35deg); }
.sv1 .v-pencil::before { content: ''; position: absolute; left: -9px; top: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 9px solid #B45309; }
.sv1 .v-pencil::after { content: ''; position: absolute; right: -6px; top: 0; width: 6px; height: 10px; background: #334155; border-radius: 0 2px 2px 0; }

/* SV2 : BESOIN (feuille + bulle + crayon) */
.sv2 .v-paper { left: 18px; top: 14px; width: 80px; height: 98px; background: #fff; border: 3px solid #E2E8F0; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.sv2 .v-line { height: 6px; border-radius: 3px; background: #E2E8F0; }
.sv2 .p1 { left: 30px; top: 36px; width: 56px; }
.sv2 .p2 { left: 30px; top: 50px; width: 44px; }
.sv2 .p3 { left: 30px; top: 64px; width: 50px; }
.sv2 .p4 { left: 30px; top: 78px; width: 38px; }
.sv2 .v-bubble { right: 4px; top: 0; width: 64px; height: 40px; background: #FFFBEB; border: 3px solid #F59E0B; border-radius: 10px; }
.sv2 .v-bubble::after { content: ''; position: absolute; left: 12px; bottom: -10px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 11px solid #F59E0B; }
.sv2 .v-bline { height: 5px; border-radius: 3px; background: #F59E0B; }
.sv2 .b1 { right: 14px; top: 10px; width: 40px; }
.sv2 .b2 { right: 14px; top: 21px; width: 28px; }
.sv2 .v-pencil2 { right: 0; bottom: 4px; width: 48px; height: 9px; background: #10B981; border-radius: 2px; transform: rotate(30deg); }
.sv2 .v-pencil2::before { content: ''; position: absolute; right: -8px; top: 0; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; border-left: 8px solid #047857; }

/* SV3 : MISE EN RELATION (2 personnages + poignée de main) */
.sv3 .v-p1head { left: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: #F59E0B; }
.sv3 .v-p1body { left: 8px; top: 50px; width: 46px; height: 36px; border-radius: 23px 23px 6px 6px; background: #FDE68A; }
.sv3 .v-p2head { right: 18px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: #10B981; }
.sv3 .v-p2body { right: 8px; top: 50px; width: 46px; height: 36px; border-radius: 23px 23px 6px 6px; background: #A7F3D0; }
.sv3 .v-arm1 { left: 46px; top: 58px; width: 34px; height: 9px; border-radius: 5px; background: #F59E0B; transform: rotate(12deg); }
.sv3 .v-arm2 { right: 46px; top: 58px; width: 34px; height: 9px; border-radius: 5px; background: #10B981; transform: rotate(-12deg); }
.sv3 .v-hand1 { left: 62px; top: 60px; width: 16px; height: 10px; border-radius: 5px; background: #FCD34D; transform: rotate(12deg); }
.sv3 .v-hand2 { left: 70px; top: 60px; width: 16px; height: 10px; border-radius: 5px; background: #6EE7B7; transform: rotate(-12deg); }
.sv3 .v-spark { background: #FCD34D; transform: rotate(45deg); }
.sv3 .s1 { left: 68px; top: 4px; width: 10px; height: 10px; }
.sv3 .s2 { left: 82px; top: 14px; width: 7px; height: 7px; }

/* SV4 : PAIEMENT SÉCURISÉ (téléphone + bouclier + pièces) */
.sv4 .v-phone { left: 32px; top: 6px; width: 56px; height: 102px; background: #1E293B; border-radius: 10px; }
.sv4 .v-screen { left: 37px; top: 14px; width: 46px; height: 78px; background: #F8FAFC; border-radius: 5px; }
.sv4 .v-check-circle { left: 45px; top: 34px; width: 30px; height: 30px; border-radius: 50%; background: #10B981; }
.sv4 .v-check { left: 53px; top: 42px; width: 14px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
.sv4 .v-home { left: 56px; top: 98px; width: 8px; height: 8px; border-radius: 50%; background: #475569; }
.sv4 .v-shield { right: 14px; top: 16px; width: 44px; height: 50px; background: #F59E0B; clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); }
.sv4 .v-shield::before { content: ''; position: absolute; left: 15px; top: 14px; width: 14px; height: 10px; border: 3px solid #fff; border-bottom: none; border-radius: 7px 7px 0 0; }
.sv4 .v-shield::after { content: ''; position: absolute; left: 12px; top: 22px; width: 20px; height: 15px; background: #fff; border-radius: 3px; }
.sv4 .v-coin1 { right: 18px; bottom: 4px; width: 22px; height: 22px; border-radius: 50%; background: #FCD34D; border: 3px solid #D97706; }
.sv4 .v-coin2 { right: 34px; bottom: 0; width: 18px; height: 18px; border-radius: 50%; background: #FDE68A; border: 3px solid #D97706; }

/* ============================================================
   7. MISSIONS DISPONIBLES (section de l'accueil)
   ============================================================ */
.missions-disponibles { padding: 100px 0; background-color: #FFFBEB; }
.missions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.mission-card {
    background: #fff; border-radius: 10px; padding: 26px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border-left: 5px solid #F59E0B;
    display: flex; flex-direction: column;
    transition: all 0.3s ease;
}
.mission-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(245,158,11,0.15); }
.mission-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.mission-domaine { background: rgba(245,158,11,0.1); color: #D97706; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.mission-urgence { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.urgence-faible    { background: #D1FAE5; color: #059669; }
.urgence-moyen     { background: #FEF3C7; color: #B45309; }
.urgence-eleve     { background: #FFEDD5; color: #C2410C; }
.urgence-critique  { background: #FEE2E2; color: #DC2626; }
.mission-titre { font-size: 1.25rem; color: #F59E0B; margin-bottom: 10px; }
.mission-description { color: #707070; font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.mission-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: #555; margin-bottom: 18px; }
.mission-meta i { color: #10B981; width: 16px; margin-right: 6px; }
.mission-footer { margin-top: auto; }
.mission-footer form { display: inline-block; }
.mission-empty { text-align: center; padding: 60px 20px; color: #707070; }
.mission-empty i { font-size: 3rem; color: #F59E0B; margin-bottom: 16px; display: block; }

/* ============================================================
   8. PAGE MISSIONS WEB (mission-web-page.blade.php)
   ============================================================ */
.missions-web { padding: 20px 0 100px; background: #F5F7FA; min-height: 80vh; }
.mwp-page-head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: #fff; border-radius: 14px; padding: 18px 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    border-left: 5px solid #F59E0B;
    margin-bottom: 30px; flex-wrap: wrap;
}
.mwp-page-head-left { display: flex; align-items: center; gap: 14px; }
.mwp-page-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(245,158,11,0.1); color: #F59E0B;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.mwp-page-head h1 { font-size: 22px; font-weight: 700; color: #212529; font-family: 'Poppins', sans-serif; margin: 0; }
.mwp-count { background: #D1FAE5; color: #059669; padding: 7px 18px; border-radius: 20px; font-weight: 600; font-size: 13px; }
.mwp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mwp-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    display: flex; flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #EEF2F7;
}
.mwp-card:hover { transform: translateY(-8px); box-shadow: 0 18px 35px rgba(245,158,11,0.15); }
.mwp-card-head {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; background: #F8FAFC;
    border-bottom: 1px solid #EEF2F7;
}
.mwp-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: rgba(245,158,11,0.1); color: #F59E0B;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.mwp-head-title {
    flex: 1; font-weight: 700; font-size: 15px; color: #212529;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mwp-badge {
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: .4px; flex-shrink: 0;
}
.mwp-card-body { padding: 18px; flex: 1; }
.mwp-titre { font-size: 16px; font-weight: 700; color: #F59E0B; margin: 0 0 8px; font-family: 'Poppins', sans-serif; line-height: 1.3; }
.mwp-desc { font-size: 13px; color: #707070; line-height: 1.55; margin: 0 0 14px; }
.mwp-infos {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}
.mwp-infos li {
    display: flex; align-items: center; gap: 9px;
    font-size: 13px; color: #495057; line-height: 1.4;
    min-width: 0; background: none; border: none; padding: 0; border-radius: 0;
}
.mwp-infos i { color: #10B981; font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.mwp-infos span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mwp-card-foot {
    padding: 14px 18px; border-top: 1px solid #EEF2F7; background: #FCFDFE;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mwp-btn-full { flex: 1; }
.mwp-btn-full .btn, .mwp-btn-full.btn { width: 100%; justify-content: center; }
.mwp-candidat {
    display: inline-flex; align-items: center; gap: 6px;
    background: #D1FAE5; color: #059669;
    font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px;
    flex: 1; justify-content: center;
}
.mwp-btn-annuler { background: transparent; color: #EF4444; border: 1.5px solid #FECACA; }
.mwp-btn-annuler:hover { background: #FEE2E2; color: #DC2626; }
.mwp-empty {
    text-align: center; padding: 80px 20px; background: #fff;
    border-radius: 14px; box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}
.mwp-empty i { font-size: 3.5rem; color: #F59E0B; margin-bottom: 18px; }
.mwp-empty h3 { font-size: 20px; color: #212529; margin-bottom: 8px; }
.mwp-empty p { color: #707070; margin-bottom: 20px; }

/* ============================================================
   9. CONTACT
   ============================================================ */
.contact { padding: 100px 0; background-color: #f5f5f5; }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { display: grid; grid-template-columns: 1fr; gap: 30px; }
.info-item { display: flex; align-items: flex-start; }
.info-icon {
    width: 60px; height: 60px; background-color: #F59E0B; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem; margin-right: 20px; flex-shrink: 0;
}
.info-content h3 { font-size: 1.3rem; margin-bottom: 10px; color: #F59E0B; }
.info-content p { color: #707070; margin-bottom: 5px; }
.contact-form .form-group { margin-bottom: 25px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px;
    border: 1px solid #ddd; border-radius: 4px;
    font-family: 'Roboto', sans-serif; font-size: 1rem;
    transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: #F59E0B;
    box-shadow: 0 0 0 2px rgba(245,158,11,0.2);
}

/* ============================================================
   10. ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   11. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-content { grid-template-columns: 1fr; gap: 40px; }
    .missions-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
    .mwp-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-title { font-size: 2.8rem; }
    .hero-title { font-size: 2.8rem !important; }
}
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .slide-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.2rem !important; }
    .hero { height: calc(80vh - 85px); margin-top: 0; margin-bottom: 0; }
    .services, .how-it-works, .contact, .missions-disponibles { padding: 70px 0; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn-large { width: 100%; justify-content: center; }
    .hero-stats { gap: 30px; }
    .stat-number { font-size: 1.8rem; }
    .hero-text { font-size: 1rem; }
}
@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .missions-grid { grid-template-columns: 1fr; }
    .mwp-grid { grid-template-columns: 1fr; }
    .mwp-infos { grid-template-columns: 1fr; }
    .missions-web { padding: 20px 0 70px; }
    .slide-title { font-size: 1.8rem; }
    .hero-title { font-size: 1.8rem !important; }
    .hero { height: calc(70vh - 85px); }
}

/* ----- Barre de recherche ----- */
.mwp-search {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
    border: 1px solid #E3E8EF; border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.10);
    margin-bottom: 26px;
}
.mwp-search-field { position: relative; display: flex; align-items: center; flex: 1 1 0; min-width: 0; }
.mwp-search-field.grow { flex: 1.6 1 0; }
.mwp-search-field.date { flex: 0 0 132px; }
.mwp-search-field i { position: absolute; left: 10px; color: #F59E0B; font-size: 13px; pointer-events: none; }
.mwp-search-field input,
.mwp-search-field select {
    width: 100%; padding: 9px 10px 9px 30px;
    border: 1.5px solid #E3E8EF; border-radius: 9px;
    font-size: 12.5px; font-family: inherit; color: #343A40;
    background: #fff; transition: all 0.25s;
}
.mwp-search-field input:focus,
.mwp-search-field select:focus {
    outline: none; border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
.mwp-search-actions { display: flex; gap: 8px; flex-shrink: 0; }
.mwp-search-actions .btn { padding: 9px 14px; }
@media (max-width: 1200px) {
    .mwp-search { flex-wrap: wrap; }
    .mwp-search-field { min-width: calc(33.33% - 10px); }
    .mwp-search-field.grow { min-width: 100%; }
    .mwp-search-field.date { flex: 1 1 0; min-width: calc(33.33% - 10px); }
}
@media (max-width: 768px) {
    .mwp-search-field { min-width: calc(50% - 10px); }
    .mwp-search-field.date { min-width: calc(50% - 10px); }
}
@media (max-width: 576px) {
    .mwp-search-field,
    .mwp-search-field.date,
    .mwp-search-field.grow { min-width: 100%; }
    .mwp-search-actions { width: 100%; }
    .mwp-search-actions .btn { flex: 1; justify-content: center; }
}






/* ============================================================
   12. MOBILE UNIQUEMENT (<=768px) — AJOUTÉ SANS TOUCHER LA V23
   - Menu mobile : Connexion/Dashboard = VERT choisi,
     Inscription/bouton nom = ORANGE choisi, hamburger = VERT
   - Boutons mobiles : taille MOYENNE
   - Slider : visible, jamais caché sous le menu, contenu harmonisé
   - Sections & footer : tout lisible et bien disposé
   ============================================================ */
@media (max-width: 768px) {

    /* ----- Menu mobile : couleurs charte ----- */
    .phm-actions .btn-green { background: #10B981 !important; border-color: #10B981 !important; }
    .phm-actions .btn-primary { background: #F59E0B !important; }
    .phm-toggle { background: #10B981 !important; color: #fff !important; }
    .phm-toggle.active { background: #059669 !important; }
    /* Connecté : Dashboard = vert (comme Connexion), bouton nom = orange (comme Inscription) */
    .phm-actions .pub-user-dropdown {
        background: #F59E0B !important;
        padding: 4px 10px 4px 4px !important;
        border-radius: 8px !important;
        height: 40px;
    }
    .phm-actions .pub-user-dropdown:hover { background: #FFFBEB !important; }
    .phm-actions .pub-user-avatar {
        width: 32px; height: 32px;
        background: linear-gradient(135deg, #F59E0B, #D97706) !important;
        border: 2px solid #fff;
    }
    .phm-nav a:hover, .phm-nav a:active { background: #ECFDF5 !important; color: #059669 !important; }

    /* ----- Boutons mobile : taille MOYENNE ----- */
    .phm-actions .btn { height: 40px; padding: 0 12px; font-size: 11px; gap: 5px; }
    .phm-actions .btn i { font-size: 12px; }
    .btn { padding: 10px 22px; font-size: 0.95rem; }
    .btn-large { padding: 12px 26px; font-size: 1rem; }
    .btn-sm { padding: 7px 14px; font-size: 0.85rem; }

    /* ----- Slider : visible, non caché sous le menu, contenu harmonisé ----- */
    .hero {
        height: auto !important;
        min-height: 540px;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
        position: relative;
        z-index: 1;
    }
    .hero-slider { height: 100%; min-height: 540px; position: relative; }
    .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    .slide-content[style] {
        left: 50% !important; right: auto !important; top: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        width: 92% !important; max-width: 540px !important;
    }
    .slide-content .hero-badge { padding: 6px 14px; font-size: 10px; letter-spacing: 1px; margin-bottom: 12px; }
    .slide-content .slide-title,
    .slide-content .hero-title { font-size: 1.6rem !important; margin-bottom: 10px; }
    .slide-content .slide-text,
    .slide-content .hero-text { font-size: 0.9rem !important; margin: 0 auto 14px !important; max-width: 95%; }
    .slide-content .hero-buttons { justify-content: center !important; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
    .slide-content .hero-buttons .btn,
    .slide-content .hero-buttons .btn-large { width: auto; max-width: 260px; padding: 10px 20px; font-size: 0.9rem; }
    .slide-content .hero-stats { justify-content: center !important; gap: 16px; }
    .slide-content .stat-number { font-size: 1.25rem; }
    .slide-content .stat-label { font-size: 0.7rem; }
    .slider-controls { bottom: 12px; }
    .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 0.95rem; }
    .slider-dots { margin: 0 10px; }
    .dot { width: 8px; height: 8px; margin: 0 4px; }

    /* ----- Sections : tout visible et lisible ----- */
    .services, .how-it-works, .contact, .missions-disponibles { padding: 60px 0; }
    .section-header { margin-bottom: 32px; }
    .section-title { font-size: 1.55rem; }
    .section-subtitle { font-size: 0.92rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-card { padding: 20px 12px; }
    .service-icon { width: 54px; height: 54px; font-size: 1.3rem; margin-bottom: 12px; }
    .service-title { font-size: 1rem; margin-bottom: 8px; }
    .service-description { font-size: 0.8rem; margin-bottom: 0; }
    .steps { gap: 14px; }
    .step { padding: 20px 12px; }
    .step-number { width: 46px; height: 46px; font-size: 1.3rem; margin-bottom: 12px; }
    .step h3 { font-size: 1rem; }
    .step p { font-size: 0.83rem; }
    .missions-grid { grid-template-columns: 1fr; gap: 14px; }
    .mission-card { padding: 18px; }
    .mission-titre { font-size: 1.05rem; }
    .mission-description { font-size: 0.85rem; }
    .mission-meta { font-size: 0.8rem; }
    .contact-content { gap: 28px; }
    .info-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-right: 12px; }
    .info-content h3 { font-size: 1rem; }
    .info-content p { font-size: 0.85rem; }
    .contact-form input, .contact-form textarea { padding: 11px; font-size: 0.9rem; }
    .missions-web { padding: 16px 0 60px; }
    .mwp-page-head { padding: 14px 16px; }
    .mwp-page-head h1 { font-size: 17px; }
    .mwp-grid { grid-template-columns: 1fr; }
    .mwp-card-body { padding: 14px; }
    .mwp-infos { grid-template-columns: 1fr; gap: 8px; }
    .mwp-search { flex-wrap: wrap; }
    .mwp-search-field, .mwp-search-field.date, .mwp-search-field.grow { min-width: 100%; }
    .mwp-search-actions { width: 100%; }
    .mwp-search-actions .btn { flex: 1; justify-content: center; }

    /* ----- Footer : 1 colonne + espace pour le menu flottant ----- */
    .pub-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .pub-footer { padding-bottom: 90px; }
    .pub-footer-services { grid-template-columns: 1fr 1fr !important; }
}

/* ----- Très petits écrans ----- */
@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .missions-grid { grid-template-columns: 1fr; }
    .mwp-grid { grid-template-columns: 1fr; }
    .mwp-infos { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .hero { min-height: 500px; }
    .hero-slider { min-height: 500px; }
    .slide-content .slide-title,
    .slide-content .hero-title { font-size: 1.4rem !important; }
    .slide-content .hero-buttons .btn,
    .slide-content .hero-buttons .btn-large { width: 100%; max-width: 100%; }
    .phm-actions .btn { padding: 0 9px; font-size: 10px; }
}