/* ========================================
   HEADER & FOOTER - Against Stones
   Design professionnel avec effets dorés
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ========================================
   HEADER
   ======================================== */
.header {
    top: 0;
    z-index: 1000;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px 20px 24px;
    background: #1a1d26;
    position: relative;
    text-align: center;
}

/* LOGO */
.logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

.logo-image {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.6));
    transform: scale(1.05) rotate(-2deg);
}

/* Titre du site (si vous voulez l'ajouter) */
.site-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.05em;
    text-align: center;
}

/* NAVIGATION DESKTOP */
.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px 32px;
    background: #000000;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 12px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #D4AF37);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FFD700;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    transform: scaleX(1);
}

/* Bouton "Soutenir" avec style CTA */
.nav-menu a[href*="soutenir"] {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000000;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.nav-menu a[href*="soutenir"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

.nav-menu a[href*="soutenir"]::before {
    display: none;
}

/* HEADER RIGHT (langues + hamburger) */
.header-right {
    position: absolute;
    top: 32px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* LANGUAGE SELECTOR */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #b0b0b0;
    cursor: pointer;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: #FFD700;
    color: #FFD700;
}

.lang-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #1a1d26;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 1001;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #b0b0b0;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.lang-dropdown a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

/* HAMBURGER (mobile uniquement) */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: #FFD700;
}

.hamburger svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

/* ========================================
   TITLE SECTION & HERO - Against Stones
   Version unifiée pour toutes les pages
   ======================================== */

/* ====================== HERO BACKGROUND ====================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero:hover .hero-bg-image {
    transform: scale(1.04);
}

/* ====================== TITLE SECTION (utilisée sur TOUTES les pages) ====================== */
.title-section {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1100px;
    margin: 0px auto 48px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6.8vw, 78px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1.4px;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.85);
    background: linear-gradient(135deg, #ffffff, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(21px, 3.2vw, 28px);
    font-weight: 400;
    color: #FFD700;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(15.5px, 2.1vw, 19px);
    color: #cbd5e1;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.55;
    font-weight: 300;
}

/* ====================== HEADER INNER ADJUSTMENTS ====================== */
.header-inner {
    padding: 28px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ====================== BASE CONTENT ====================== */
.content {
    position: relative;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        #1a1d26 0%,
        #14171f 35%,
        #0d0f16 65%,
        #000000 100%
    );
    min-height: calc(100vh - 180px);
        position: relative;
    padding: 28px 32px 20px 32px;
    color: whitesmoke;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    
    .hero-title {
        font-size: clamp(36px, 8.5vw, 52px);
    }
    
    .hero-subtitle {
        font-size: clamp(19px, 4.5vw, 24px);
    }
    
    .header-inner {
        padding: 24px 20px 16px;
    }
}

@media (max-width: 480px) {
    .title-section {
        margin: 16px auto 28px;
    }
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1d26;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-close {
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 32px;
    cursor: pointer;
    float: right;
    padding: 8px;
    transition: color 0.3s ease;
}

.mobile-close:hover {
    color: #FFD700;
}

.mobile-nav {
    clear: both;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #b0b0b0;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

.mobile-nav a[href*="soutenir"] {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000000;
    font-weight: 700;
    margin-top: 16px;
}

.mobile-nav a[href*="soutenir"]:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 32px 32px;
    font-family: 'Montserrat', sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* Colonne logo */
.footer-col-logo .footer-logo {
    margin-bottom: 16px;
}

.footer-col-logo{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.footer-logo{
    margin-right: 20px;
}

.footer-logo-image {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
}

.footer-logo-image:hover {
    filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.5));
    transform: scale(1.05);
}

.footer-desc {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.7;
    margin: 0;
}

/* Colonnes standards */
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    padding: 6px 0;
}

.footer-col a svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.footer-col a:hover {
    color: #FFD700;
    transform: translateX(4px);
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.social-pill {
    width: 48px;
    height: 48px;
    background: #1a1d26;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-pill:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000000;
    border-color: #FFD700;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

/* FOOTER BOTTOM */
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #64748B;
}

.footer-copyright {
    font-size: 14px;
    color: #64748B;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    /* Masquer la navigation desktop */
    .nav-menu {
        display: none !important;
    }

    /* Afficher le hamburger */
    .hamburger {
        display: block;
    }

    /* Header */
    .header-inner {
        padding: 24px 20px;
    }

    .logo-image {
        width: 80px;
    }

    /* Footer */
    .footer {
        padding: 48px 20px 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 32px;
    }

    .logo-image {
        width: 70px;
    }
}

/* ========================================
   PAGE 404
   ======================================== */
.warning-zone {
    max-width: 820px;
    margin: 0 auto;
}

.official-signs {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-bottom: 50px;
}

.warning-sign {
    background: #FFD700;
    color: #000;
    border: 8px solid #000;
    padding: 20px 28px;
    width: 280px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    font-weight: 700;
    transform: rotate(-3deg);
    transition: transform 0.4s;
}

.warning-sign:hover {
    transform: rotate(3deg) scale(1.05);
}

.sign-header {
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    border-bottom: 3px solid #000;
    padding-bottom: 8px;
}

.sign-body {
    font-size: 1.25rem;
    line-height: 1.4;
}

.error-code {
    font-size: 9rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    margin: 30px 0 20px;
}

.main-message {
    font-size: 1.6rem;
    color: #CBD5E1;
    margin-bottom: 50px;
}