/* ============================================================
   FRAPP - Styles Principaux — Design conforme bokfrapp.sn
   ============================================================ */

/* Variables CSS */
:root {
    --frapp-red:       #E30613;
    --frapp-red-dark:  #B8000F;
    --frapp-red-light: #FF3D2E;
    --frapp-black:     #111111;
    --frapp-dark:      #1A1A1A;
    --frapp-dark2:     #242424;
    --frapp-green:     #1B7A2E;
    --frapp-gold:      #F5A623;
    --frapp-white:     #FFFFFF;
    --frapp-gray:      #6B7280;
    --frapp-light:     #F7F7F7;
    --frapp-border:    #E5E5E5;

    --font-display: 'Oswald', sans-serif;
    --font-body:    'Source Sans 3', sans-serif;

    --shadow-card:  0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 6px 24px rgba(227,6,19,0.18);
    --radius:       8px;
    --radius-lg:    16px;
    --transition:   all 0.3s ease;
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    color: var(--frapp-dark);
    background: var(--frapp-white);
    line-height: 1.6;
    padding-top: 76px;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }
a { text-decoration: none; }

/* ============================================================
   NAVBAR — fond blanc comme bokfrapp.sn
   ============================================================ */
.frapp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    height: 76px;
    min-height: 76px;
    overflow: hidden;
    background: var(--frapp-white) !important;
    border-bottom: 2px solid var(--frapp-red);
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.frapp-navbar .navbar-toggler {
    color: var(--frapp-black);
    border: 1px solid rgba(17,17,17,0.3);
    padding: 0.35rem 0.5rem;
}
.frapp-navbar .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-image:
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor);
    background-position: center 5px, center 11px, center 17px;
    background-size: 24px 2px;
    background-repeat: no-repeat;
}
.frapp-navbar .navbar-toggler:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(227,6,19,0.25);
}

/* Réserve l'espace occupé par le header fixe */
.frapp-navbar .navbar-brand { font-family: var(--font-display); }
.brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--frapp-black);
    letter-spacing: 2px;
}
.logo-img { filter: none; }
.frapp-navbar .nav-link {
    color: var(--frapp-dark) !important;
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.6rem !important;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}
.frapp-navbar .nav-link:hover,
.frapp-navbar .nav-link.active {
    color: var(--frapp-red) !important;
    background: rgba(227,6,19,0.06);
}
.btn-contribuer {
    background: var(--frapp-red);
    color: white !important;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    border: 2px solid var(--frapp-red);
    transition: var(--transition);
    font-size: 0.82rem;
    white-space: nowrap;
}
.btn-contribuer:hover { background: var(--frapp-red-dark); border-color: var(--frapp-red-dark); }
.btn-contribuer-outline {
    color: var(--frapp-red) !important;
    border: 2px solid var(--frapp-red);
    font-family: var(--font-display);
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.82rem;
    white-space: nowrap;
    background: transparent;
}
.btn-contribuer-outline:hover { background: var(--frapp-red); color: white !important; }

/* NAVBAR MOBILE */
@media (max-width: 991px) {
    .frapp-navbar .navbar-collapse.show,
    .frapp-navbar .navbar-collapse.collapsing {
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--frapp-white);
    }
    .frapp-navbar .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        background: white;
        padding: 0.5rem 0;
        border-top: 1px solid var(--frapp-border);
    }
    .frapp-navbar .nav-link {
        width: 100%;
        padding: 0.6rem 1rem !important;
        font-size: 0.95rem !important;
        border-bottom: 1px solid var(--frapp-border);
    }
    .frapp-navbar .navbar-collapse > .d-flex.align-items-center {
        flex-direction: column !important;
        width: 100%;
        gap: 8px !important;
        margin-top: 8px;
        margin-left: 0 !important;
        padding: 0 1rem 0.5rem;
    }
    .frapp-navbar .navbar-collapse > .btn {
        margin: 0.4rem 1rem 0 !important;
        width: calc(100% - 2rem);
    }
    .btn-contribuer, .btn-contribuer-outline {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* ============================================================
   HERO SECTION — fond sombre conservé (image de marque)
   ============================================================ */
.hero-section {
    background: #111111; /* filet de sécurité tant que la vidéo charge */
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-video-bg {
        object-position: center center;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.55);
    }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.35); /* assombrit légèrement la vidéo pour garder le texte lisible */
    z-index: 1;
}
.hero-section .container { z-index: 2; }
.min-vh-85 { min-height: 85vh; }
.badge-pill-frapp {
    background: rgba(227,6,19,0.15);
    border: 1px solid rgba(227,6,19,0.4);
    color: #FF3D2E;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--frapp-white);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.text-frapp-red { color: var(--frapp-red); }
.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 550px;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.btn-frapp-primary {
    background: var(--frapp-red);
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    border: 2px solid var(--frapp-red);
    transition: var(--transition);
}
.btn-frapp-primary:hover {
    background: var(--frapp-red-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.btn-frapp-outline {
    background: transparent;
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}
.btn-frapp-outline:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }
.stat-item { text-align: left; }
.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--frapp-red);
}
.stat-label {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    margin-top: -4px;
}
.hero-logo-big {
    width: 280px;
    filter: drop-shadow(0 0 40px rgba(227,6,19,0.3));
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    animation: bounce 2s infinite; font-size: 1.5rem;
    z-index: 2;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   LIVE TICKER
   ============================================================ */
.live-ticker-bar {
    background: var(--frapp-red);
    color: white;
    padding: 0.6rem 0;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.ticker-label {
    background: rgba(0,0,0,0.2);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap; font-size: 0.75rem;
    font-weight: 600; letter-spacing: 1px;
}
.ticker-content { display: flex; gap: 3rem; overflow: hidden; flex: 1; }
.ticker-item { white-space: nowrap; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--frapp-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex; align-items: center;
    justify-content: center; gap: 1rem;
}
.title-line {
    flex: 1; height: 2px;
    background: linear-gradient(90deg, transparent, var(--frapp-red));
    max-width: 80px;
}
.title-line:last-child { background: linear-gradient(270deg, transparent, var(--frapp-red)); }
.section-subtitle {
    color: var(--frapp-gray);
    font-size: 1.05rem;
    max-width: 600px; margin: 0 auto;
}

/* ============================================================
   SIGNALEMENT SECTION — fond blanc
   ============================================================ */
.signalement-section { background: var(--frapp-white); }
.signalement-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--frapp-border);
    border-top: 4px solid var(--frapp-red);
}
.frapp-input {
    border: 1.5px solid #E0E0E0;
    border-radius: var(--radius);
    padding: 0.65rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}
.frapp-input:focus {
    border-color: var(--frapp-red);
    box-shadow: 0 0 0 3px rgba(227,6,19,0.1);
    outline: none;
}
.btn-geo {
    background: var(--frapp-dark);
    color: white; border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    transition: var(--transition);
}
.btn-geo:hover { background: var(--frapp-red); color: white; }
.signalement-map {
    height: 220px; border-radius: var(--radius);
    border: 1.5px solid #E0E0E0; margin-top: 0.5rem;
}
.upload-zone {
    border: 2px dashed #D0D0D0; border-radius: var(--radius);
    padding: 2rem; text-align: center;
    cursor: pointer; transition: var(--transition);
    background: #FAFAFA;
}
.upload-zone:hover { border-color: var(--frapp-red); background: rgba(227,6,19,0.02); }

/* ============================================================
   SIGNALEMENTS PUBLICS — fond clair
   ============================================================ */
.public-signalements-section { background: var(--frapp-light); }
.signalement-card-public {
    background: white; border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--shadow-card);
    border: 1px solid var(--frapp-border);
    border-left: 4px solid #E0E0E0;
    height: 100%; transition: var(--transition);
}
.signalement-card-public:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.signalement-card-public.urgent { border-left-color: var(--frapp-red); }
.card-ref { font-size: 0.75rem; color: var(--frapp-gray); font-family: monospace; margin-bottom: 0.5rem; }
.card-title-sig { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.card-cat-sig, .card-loc-sig { color: var(--frapp-gray); font-size: 0.85rem; margin-bottom: 0.25rem; }
.card-footer-sig {
    display: flex; justify-content: space-between;
    align-items: center; margin-top: 1rem;
    padding-top: 1rem; border-top: 1px solid var(--frapp-border);
}
.time-sig { font-size: 0.8rem; color: var(--frapp-gray); }
.btn-soutien {
    background: transparent; border: 1px solid #E0E0E0;
    border-radius: 50px; font-size: 0.78rem;
    color: var(--frapp-dark); transition: var(--transition);
}
.btn-soutien:hover { background: var(--frapp-red); color: white; border-color: var(--frapp-red); }

/* Badges */
.badge { padding: 0.35em 0.75em; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-new      { background: rgba(227,6,19,0.1);   color: var(--frapp-red); }
.badge-progress { background: rgba(245,166,35,0.15); color: #E65100; }
.badge-done     { background: rgba(27,122,46,0.1);   color: var(--frapp-green); }
.badge-archived { background: rgba(107,114,128,0.1); color: var(--frapp-gray); }
.badge-rejected { background: rgba(0,0,0,0.07);     color: var(--frapp-dark); }
.badge-urgence  { font-size: 0.7rem; padding: 0.2em 0.6em; border-radius: 4px; }
.badge-urgence.normale  { background: #E3F2FD; color: #1565C0; }
.badge-urgence.urgente  { background: #FFF3E0; color: #E65100; }
.badge-urgence.critique { background: #FFEBEE; color: var(--frapp-red); }

/* Filtres */
.filter-btn {
    background: transparent; border: 1.5px solid #E0E0E0;
    color: var(--frapp-dark); border-radius: 50px;
    padding: 0.4rem 1.2rem; font-size: 0.85rem; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--frapp-red); color: white; border-color: var(--frapp-red);
}

/* ============================================================
   CAMPAGNES — fond gris clair
   ============================================================ */
.campagnes-section { background: var(--frapp-light); }
.campagne-card {
    background: white; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-card);
    transition: var(--transition); height: 100%;
}
.campagne-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.campagne-img-wrapper { position: relative; height: 180px; overflow: hidden; }
.campagne-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 0.4s ease;
}
.campagne-card:hover .campagne-bg { transform: scale(1.05); }
.campagne-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex; align-items: flex-start;
    justify-content: space-between; padding: 1rem;
}
.campagne-year {
    background: rgba(0,0,0,0.6); color: white;
    padding: 0.25rem 0.6rem; border-radius: 4px;
    font-size: 0.8rem; font-family: var(--font-display);
}
.campagne-status.active  { background: var(--frapp-green); color: white; padding: 0.25rem 0.6rem; border-radius: 4px; font-size: 0.75rem; }
.campagne-status.ended   { background: var(--frapp-gray);  color: white; padding: 0.25rem 0.6rem; border-radius: 4px; font-size: 0.75rem; }
.campagne-body    { padding: 1.5rem; }
.campagne-hashtag { color: var(--frapp-red); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; }
.campagne-title   { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--frapp-dark); }
.campagne-desc    { color: var(--frapp-gray); font-size: 0.9rem; margin-bottom: 1rem; }
.btn-campagne {
    color: var(--frapp-red); font-weight: 600; font-size: 0.9rem;
    border: none; background: none; padding: 0;
    display: inline-flex; align-items: center; gap: 0.25rem; transition: var(--transition);
}
.btn-campagne:hover { color: var(--frapp-red-dark); transform: translateX(4px); }

/* ============================================================
   RDV SECTION — fond gris clair (plus blanc que sombre)
   ============================================================ */
.rdv-section { background: var(--frapp-light); color: var(--frapp-dark); }
.rdv-icon-big { font-size: 3rem; color: var(--frapp-red); margin-bottom: 1rem; }
.rdv-title {
    font-family: var(--font-display); font-size: 2rem;
    font-weight: 700; text-transform: uppercase;
    color: var(--frapp-dark); margin-bottom: 1rem;
}
.rdv-desc { color: var(--frapp-gray); line-height: 1.7; }
.contact-item {
    display: flex; align-items: center; gap: 0.75rem;
    color: var(--frapp-dark); padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: white;
    border: 1px solid var(--frapp-border);
    transition: var(--transition);
}
.contact-item:hover { background: rgba(227,6,19,0.06); color: var(--frapp-red); border-color: rgba(227,6,19,0.2); }
.contact-item.whatsapp:hover { background: rgba(37,211,102,0.08); border-color: rgba(37,211,102,0.3); color: #128C7E; }
.contact-item i { font-size: 1.2rem; color: var(--frapp-red); }
.contact-item.whatsapp i { color: #25D366; }
.rdv-form-card {
    background: white; border-radius: var(--radius-lg);
    padding: 2.5rem; color: var(--frapp-dark);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--frapp-border);
}

/* ============================================================
   CONTRIBUER SECTION — conserve fond sombre
   ============================================================ */
.contribuer-section {
    background: linear-gradient(135deg, #1a0808 0%, #111111 100%);
    border-top: 3px solid var(--frapp-red);
}
.contribuer-inner { max-width: 700px; margin: 0 auto; }
.contrib-icon { font-size: 3rem; margin-bottom: 1rem; }
.contrib-title {
    font-family: var(--font-display); font-size: 2rem;
    color: white; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
}
.contrib-desc { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 550px; margin: 0 auto; }

/* ============================================================
   FOOTER — sobre comme bokfrapp.sn
   ============================================================ */
.frapp-footer {
    background: #111111;
    color: rgba(255,255,255,0.75);
    padding-top: 3.5rem;
    border-top: 3px solid var(--frapp-red);
}
.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    color: white; letter-spacing: 3px;
}
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; }
.footer-heading {
    font-family: var(--font-display);
    font-size: 0.88rem; font-weight: 600;
    color: white; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--frapp-red);
    display: inline-block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.55); transition: var(--transition); font-size: 0.88rem; }
.footer-links a:hover { color: var(--frapp-red); padding-left: 4px; }
.footer-contacts { list-style: none; }
.footer-contacts li { color: rgba(255,255,255,0.55); margin-bottom: 0.6rem; font-size: 0.88rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-contacts i { color: var(--frapp-red); }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 0.95rem; transition: var(--transition);
}
.social-link:hover { background: var(--frapp-red); border-color: var(--frapp-red); color: white; }
.social-link.whatsapp:hover { background: #25D366; border-color: #25D366; }
.btn-whatsapp {
    background: #25D366; color: white; font-weight: 600;
    padding: 0.5rem 1rem; border-radius: 50px;
    font-size: 0.9rem; transition: var(--transition);
}
.btn-whatsapp:hover { background: #128C7E; color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.25rem 0;
    color: rgba(255,255,255,0.35); font-size: 0.82rem;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000; transition: var(--transition);
    animation: pulse-wa 3s infinite;
}
.whatsapp-float:hover { background: #128C7E; color: white; transform: scale(1.1); }
@keyframes pulse-wa {
    0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4)}
    50%{box-shadow:0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1)}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .signalement-card { padding: 1.5rem; }
    .rdv-form-card { padding: 1.5rem; }
    .stat-number { font-size: 1.8rem; }
}

/* ============================================================
   IMAGES CAMPAGNES
   ============================================================ */
.campagne-real-img {
    width: 100%; height: 200px;
    object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.campagne-card:hover .campagne-real-img { transform: scale(1.06); }
.campagne-bg-fallback {
    height: 200px; display: flex;
    align-items: center; justify-content: center;
}

/* ============================================================
   MANIFESTE
   ============================================================ */
.manifeste-section { background: var(--frapp-light); }

.about-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    color: var(--frapp-white);
    background:
        radial-gradient(ellipse at 80% 20%, rgba(227,6,19,0.18), transparent 42%),
        linear-gradient(135deg, #0D0D0D, #1a0a0a);
    border-bottom: 3px solid var(--frapp-red);
}
.about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff777d;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.about-title {
    margin: 1rem 0;
    color: var(--frapp-white);
    font-size: clamp(2.25rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.015em;
}
.about-intro {
    max-width: 42rem;
    color: rgba(255,255,255,0.78);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}
.about-photo {
    position: relative;
    max-width: 27rem;
    margin: 0 auto;
    padding: 0.65rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,0.35);
}
.about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 0.4rem);
}
.about-photo figcaption {
    padding: 0.8rem 0.45rem 0.25rem;
    color: rgba(255,255,255,0.78);
    font-size: 0.88rem;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.18);
}
.about-stat {
    padding: 0.5rem 1rem;
    text-align: center;
}
.about-stat + .about-stat { border-left: 1px solid rgba(255,255,255,0.18); }
.about-stat-value {
    display: block;
    color: #ff4b53;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.1;
}
.about-stat-label {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
}
.about-manifesto {
    padding: clamp(2rem, 5vw, 4rem) 0;
}
.about-manifesto .manifeste-card {
    max-width: 62rem;
    margin: 0 auto;
}
.about-manifesto .manifeste-content {
    max-width: 52rem;
    margin: 0 auto;
}
.about-join {
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0, rgba(227,6,19,0.17), transparent 60%),
        linear-gradient(135deg, #0D0D0D, #1a0a0a);
    border: 1px solid rgba(227,6,19,0.35);
    border-radius: var(--radius-lg);
}
.about-join .about-kicker { justify-content: center; }
.about-join-title {
    margin: 0.8rem 0;
    color: var(--frapp-white);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.about-join-text {
    max-width: 38rem;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.72);
}
.btn-frapp-gold {
    padding: 0.75rem 1.75rem;
    color: var(--frapp-black);
    background: var(--frapp-gold);
    border: 2px solid var(--frapp-gold);
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    transition: var(--transition);
}
.btn-frapp-gold:hover {
    color: var(--frapp-black);
    background: #ffc14d;
    border-color: #ffc14d;
    transform: translateY(-2px);
}

.manifeste-card {
    background: #fff; border-radius: 20px;
    padding: 50px; box-shadow: 0 10px 35px rgba(0,0,0,0.07);
    border-top: 5px solid var(--frapp-red);
}
.manifeste-badge {
    display: inline-block; background: var(--frapp-red);
    color: #fff; padding: 8px 18px; border-radius: 50px;
    font-size: .85rem; font-weight: 600; letter-spacing: 1px;
}
.manifeste-title {
    font-family: 'Oswald', sans-serif; font-size: 2.3rem;
    font-weight: 700; text-transform: uppercase;
    color: #222; letter-spacing: 2px;
}
.manifeste-divider {
    width: 90px; height: 4px;
    background: var(--frapp-gold);
    margin: 18px auto; border-radius: 10px;
}
.manifeste-subtitle { color: var(--frapp-red); font-weight: 700; text-transform: uppercase; }
.manifeste-content p {
    text-align: left; font-size: 1.05rem;
    line-height: 1.85; color: #444; margin-bottom: 1.35rem;
}
.manifeste-content p::first-letter { font-size: inherit; font-weight: inherit; color: inherit; }
.manifeste-signature {
    margin-top: 50px; text-align: right;
    font-size: 1.1rem; color: #222;
    border-top: 2px solid #eee; padding-top: 25px;
}
@media(max-width:768px) {
    .manifeste-card { padding: 25px; }
    .manifeste-title { font-size: 1.8rem; }
    .manifeste-content p { font-size: 1rem; }
    
    .about-photo { max-width: 22rem; }
    .about-stats { margin-top: 2.5rem; padding: 0.9rem 0; }
    .about-stat { padding: 0.5rem 0.35rem; }
    .about-stat-label { font-size: 0.78rem; }
    .about-manifesto .manifeste-card { padding: 1.5rem; }
    .about-manifesto .manifeste-subtitle { font-size: 1rem; line-height: 1.5; }
}
@media(max-width:420px) {
    .about-stats { grid-template-columns: 1fr; }
    .about-stat + .about-stat {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.18);
    }
}


/* ============================================================
   RESPONSIVE GLOBAL — TELEPHONES ET TABLETTES
   ============================================================ */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

.container {
    width: 100%;
}

/* Videos utilisées comme backgrounds */
.hero-video-bg,
.auth-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Page d'accueil */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .min-vh-85 {
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
        letter-spacing: 1px;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-cta {
        margin-top: 2rem !important;
    }

    .hero-stats {
        gap: 1rem !important;
        justify-content: space-between;
    }

    .stat-item {
        flex: 1 1 30%;
        min-width: 85px;
        text-align: center;
    }

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

    .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .signalement-card,
    .rdv-form-card {
        padding: 1.25rem;
    }

    .section-title {
        gap: 0.5rem;
        font-size: 1.65rem;
    }

    .title-line {
        max-width: 35px;
    }

    .campagne-body {
        padding: 1.15rem;
    }

    .rdv-title {
        font-size: 1.7rem;
    }

    .footer-brand {
        align-items: flex-start !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section {
        padding: 3rem 0 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem !important;
    }

    .stat-item {
        min-width: 0;
    }

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

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

    .live-ticker-bar .container {
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .ticker-content {
        order: 3;
        flex-basis: 100%;
        width: 100%;
    }

    .live-ticker-bar .btn {
        margin-left: auto !important;
    }

    .signalement-card,
    .rdv-form-card {
        border-radius: 10px;
        padding: 1rem;
    }

    .upload-zone {
        padding: 1.25rem 0.75rem;
    }

    .whatsapp-float {
        width: 46px;
        height: 46px;
        right: 1rem;
        bottom: 1rem;
        font-size: 1.35rem;
    }

    .frapp-footer {
        padding-top: 2.5rem;
    }

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


/* Image de la page Qui Sommes-Nous */
.qui-sommes-nous-image {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.qui-sommes-nous-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .qui-sommes-nous-image img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .manifeste-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .manifeste-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .manifeste-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    .manifeste-content p {
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }

    .manifeste-signature {
        margin-top: 2rem;
        font-size: 0.95rem;
    }
}

.actualites-search-input {
    max-width: 240px;
}

.actualites-category-input {
    max-width: 180px;
}

@media (max-width: 576px) {
    .actualites-search-input,
    .actualites-category-input,
    .actualites-search-input + .btn {
        width: 100%;
        max-width: none;
    }

    .page-link {
        padding: 0.35rem 0.65rem;
    }
}


.stat-suffix {
    display: inline-block;
    margin-left: 2px;
    color: var(--frapp-red);
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .stat-suffix {
        font-size: 1.8rem;
    }
}
img {
    height: auto;
}

/* Évite qu'une section soit cachée sous le header fixe */
section[id],
div[id] {
    scroll-margin-top: 90px;
}

/* Correction du logo dans le header */
.frapp-navbar .navbar-brand {
    display: flex;
    align-items: center;
    height: 76px;
    overflow: hidden;
}

.frapp-navbar .logo-img,
.frapp-navbar .navbar-brand img {
    display: block;
    width: auto;
    height: 58px !important;
    max-width: 230px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .frapp-navbar .navbar-brand {
        height: 70px;
    }

    .frapp-navbar .logo-img,
    .frapp-navbar .navbar-brand img {
        height: 52px !important;
        max-width: 190px;
    }
}


@media (max-width: 991px) { .frapp-navbar { height: auto; min-height: 76px; overflow: visible; } .frapp-navbar .navbar-collapse.show, .frapp-navbar .navbar-collapse.collapsing { max-height: calc(100vh - 76px); overflow-y: auto; background: #fff; } }


/* ===== Recherche dans la barre de navigation ===== */
/* La barre a overflow:hidden : on sort le menu de la barre avec position:fixed */
@media (min-width: 992px) {
    .frapp-navbar .dropdown-menu.show {
        position: fixed !important;
        top: 84px !important;
        right: 1rem !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: none !important;
        min-width: 320px;
        border: 2px solid var(--frapp-red);
        box-shadow: 0 8px 24px rgba(0,0,0,.15);
    }
}
@media (max-width: 991px) {
    .frapp-navbar .dropdown { width: 100%; }
    .frapp-navbar .dropdown-menu.show {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: .5rem !important;
    }
}