/* ===========================================
   POULO'ARTS — CSS Principal
   Design inspiré des arts peuls : 
   terres cuites, or chaud, vert profond
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ========== RESET & VARIABLES ========== */
:root {
    --terracotta: #e45a4f;
    --terracotta-dark: #b63127;
    --terracotta-light: #ff675b;
    --gold: #facd33;
    --gold-dark: #e5c000;
    --gold-light: #f4e800;
    --deep-green: #224b2d;
    --deep-green-light: #166a45;
    --cream: #fff4e7;
    --sand: #EEE4D5;
    --brown: #b19070;
    --charcoal: #2C2825;
    --warm-gray: #8A7E72;
    --white: #FFFFFF;
    --font-display: 'Poppins', serif;
    --font-body: 'Poppins', system-ui, sans-serif;
    --shadow-sm: 0 2px 8px rgba(44, 40, 37, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 40, 37, 0.12);
    --shadow-lg: 0 12px 40px rgba(44, 40, 37, 0.18);
    --radius: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
}
.section-label.light { color: var(--gold-light); }

/* ========== LAYOUT ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-footer { text-align: center; margin-top: 3rem; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200, 92, 56, 0.35); }
.btn-outline { background: transparent; color: var(--terracotta); border-color: var(--terracotta); }
.btn-outline:hover { background: var(--terracotta); color: var(--white); }
.btn-light { background: var(--white); color: var(--deep-green); }
.btn-light:hover { background: var(--cream); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }
.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--cream);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 92, 56, 0.1);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}
.logo-icon { font-size: 1.3rem; }
.logo-text { color: var(--brown); }
.logo-accent { color: var(--deep-green); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-menu li a {
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: var(--transition);
}
.nav-menu li a:hover,
.nav-menu li a.active { color: var(--terracotta); background: rgba(200, 92, 56, 0.08); }
.nav-menu li a.nav-cta {
    background: var(--terracotta);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    margin-left: 0.5rem;
}
.nav-menu li a.nav-cta:hover { background: var(--terracotta-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); transition: var(--transition); border-radius: 2px; }

/* ========== FLASH MESSAGES ========== */
.flash { position: fixed; top: 80px; right: 1rem; z-index: 9999; max-width: 400px; }
.flash-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: 0.9rem; box-shadow: var(--shadow-md); }
.flash-success .flash-container { background: #dcfce7; color: #166534; border-left: 4px solid #16a34a; }
.flash-error .flash-container { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.flash-close { background: none; border: none; cursor: pointer; font-size: 1.2rem; line-height: 1; opacity: 0.6; }
.flash-close:hover { opacity: 1; }

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--deep-green-light) 50%, #2D5A3D 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-size: cover;
    /* Geometric Peul-inspired pattern via CSS */
    background-image:
        url("/images/bg/home-bg-header2.jpg"),
        radial-gradient(circle at 20% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(200, 92, 56, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    background: rgba(212, 168, 67, 0.08);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    max-width: 700px;
}
.hero-title em { color: var(--gold-light); font-style: italic; }

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 550px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ========== ABOUT STRIP ========== */
.about-strip {
    background: var(--sand);
    padding: 3rem 0;
}
.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.strip-item .strip-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.strip-item h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--deep-green); }
.strip-item p { font-size: 0.85rem; color: var(--warm-gray); }

/* ========== MISSION SECTION ========== */
.mission-section { background: var(--white); }
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.mission-image { position: relative; }
.mission-image img, .mission-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
}
.mission-image-placeholder {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mission-badge-floating {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--deep-green);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}
.mission-badge-floating span { font-size: 1.5rem; }
.mission-text h2 { margin-bottom: 1.5rem; }
.mission-text p { color: var(--warm-gray); line-height: 1.8; margin-bottom: 2rem; }

/* ========== ACTIVITIES PREVIEW ========== */
.activities-preview { background: var(--cream); }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}
.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: fadeUp 0.5s ease both;
    animation-delay: var(--delay, 0s);
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.activity-card:hover .card-image img { transform: scale(1.05); }
.card-image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.card-badge-activite { background: var(--gold); color: var(--deep-green); }
.card-badge-projet { background: var(--terracotta); color: var(--white); }
.card-badge-status-active { background: #dcfce7; color: #166534; }
.card-badge-status-upcoming { background: #dbeafe; color: #1e40af; }
.card-badge-status-completed { background: var(--sand); color: var(--warm-gray); }

.card-body { padding: 1.5rem; }
.card-date { font-size: 0.8rem; color: var(--terracotta); font-weight: 600; display: block; margin-bottom: 0.5rem; }
.card-body h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.card-body p { font-size: 0.9rem; color: var(--warm-gray); line-height: 1.6; margin-bottom: 1rem; }
.card-location { font-size: 0.85rem; color: var(--warm-gray); }
.card-location i { color: var(--terracotta); margin-right: 0.3rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--terracotta); font-weight: 600; font-size: 0.875rem; }
.card-link i { font-size: 0.75rem; transition: transform 0.2s; }
.card-link:hover i { transform: translateX(4px); }

/* ========== GALLERY PREVIEW ========== */
.gallery-preview { background: var(--white); }
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 0.75rem;
}
.gallery-mosaic > :nth-child(1) { grid-row: span 2; }
.gallery-mosaic > :nth-child(4) { grid-row: span 2; }

.gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    animation: fadeIn 0.5s ease both;
    animation-delay: var(--delay, 0s);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 64, 53, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
}
.gallery-thumb:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.85rem; font-weight: 500; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--deep-green-light) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-pattern {
    position: absolute;
    inset: 0;
}
.cta-content { position: relative; z-index: 1; color: var(--white); }
.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.75); max-width: 550px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ========== PAGE HERO ========== */
.page-hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--deep-green-light) 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}
.page-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40Z' fill='none' stroke='rgba(212,168,67,0.07)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 550px; margin: 0 auto; }

/* ========== PRESENTATION ========== */
.presentation-section { background: var(--white); }
.presentation-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}
.presentation-block.reverse { direction: rtl; }
.presentation-block.reverse > * { direction: ltr; }
.presentation-text h2 { margin-bottom: 1.5rem; }
.rich-content { color: var(--warm-gray); line-height: 1.8; }
.rich-content p { margin-bottom: 1rem; }
.rich-content em { font-style: italic; color: var(--charcoal); }
.visual-block {
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.visual-terracotta { background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%); }
.visual-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); }
.geometric-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30Z' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}
.visual-label { position: relative; z-index: 1; color: var(--white); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.05em; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: var(--transition);
}
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.value-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: 0.5rem; color: var(--deep-green); }
.value-card p { font-size: 0.9rem; color: var(--warm-gray); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.team-card {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid var(--sand);
    border-radius: var(--radius);
}
.team-avatar { width: 64px; height: 64px; background: var(--sand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; }
.team-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; color: var(--warm-gray); }
.culture-section { background: var(--cream); border-radius: var(--radius); padding: 3rem; margin: 3rem 0; }

/* ========== ACTIVITIES SECTION ========== */
.activities-section { background: var(--white); }
.filter-tabs { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 2px solid var(--sand);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--charcoal);
}
.filter-tab.active, .filter-tab:hover { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
.activities-group { margin-bottom: 4rem; }
.group-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; color: var(--deep-green); }
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--warm-gray); }
.empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--charcoal); }

/* ========== ACTIVITY DETAIL ========== */
.activity-detail { padding-top: 70px; }
.activity-hero { position: relative; padding: 5rem 0 4rem; background: var(--deep-green); color: var(--white); overflow: hidden; }
.activity-hero-image { position: absolute; inset: 0; }
.activity-hero-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.activity-hero-content { position: relative; z-index: 2; }
.activity-hero-content h1 { color: var(--white); margin: 1rem 0; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-bottom: 1rem; transition: color 0.2s; }
.back-link:hover { color: var(--white); }
.activity-meta { display: flex; gap: 1.5rem; color: rgba(255,255,255,0.7); font-size: 0.9rem; flex-wrap: wrap; margin-top: 0.75rem; }
.activity-meta span { display: flex; align-items: center; gap: 0.4rem; }
.activity-meta i { color: var(--gold-light); }
.activity-content { max-width: 750px; padding: 3rem 0; }
.activity-lead p { font-size: 1.15rem; color: var(--charcoal); line-height: 1.8; margin-bottom: 2rem; font-weight: 500; }
.activity-cta { display: flex; gap: 1rem; padding-bottom: 4rem; }

/* ========== GALLERY ========== */
.gallery-section { background: var(--white); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}
.gallery-item { border-radius: 8px; overflow: hidden; cursor: pointer; animation: fadeIn 0.4s ease both; animation-delay: var(--delay, 0s); }
.gallery-item-inner { position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 64, 53, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay i { font-size: 1.5rem; margin-bottom: 0.5rem; }
.gallery-item .gallery-overlay span { font-size: 0.85rem; text-align: center; }

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 85vh; text-align: center; }
.lightbox-content img { max-height: 75vh; max-width: 90vw; border-radius: 8px; }
.lightbox-caption { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 1rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 1rem;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ========== ADHESION ========== */
.adhesion-section { background: var(--white); }
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.membership-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 2px solid var(--sand);
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}
.membership-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.membership-card.featured { border-color: var(--gold); background: linear-gradient(to bottom, #fffdf0, var(--white)); }
.membership-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--deep-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
}
.membership-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.membership-card h3 { margin-bottom: 0.75rem; color: var(--deep-green); }
.membership-price { font-family: var(--font-display); font-size: 2.5rem; color: var(--terracotta); font-weight: 700; margin-bottom: 1.5rem; }
.membership-price span { font-size: 1rem; color: var(--warm-gray); }
.membership-card ul { text-align: left; }
.membership-card li { padding: 0.4rem 0; font-size: 0.9rem; color: var(--charcoal); border-bottom: 1px solid var(--sand); }
.membership-card li:last-child { border: none; }

/* ========== FORMS ========== */
.form-section { background: var(--cream); border-radius: var(--radius); padding: 3rem; margin-bottom: 3rem; }
.form-header { margin-bottom: 2rem; }
.form-header h2 { margin-bottom: 0.5rem; }
.form-header p { color: var(--warm-gray); }
.pouloarts-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row.two-cols { flex-direction: row; gap: 1rem; }
.form-row.two-cols > * { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--sand);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color 0.2s;
    outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--terracotta); }
textarea { resize: vertical; min-height: 120px; }
.bank-info {
    background: var(--deep-green);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
}
.bank-info h3 { color: var(--white); margin-bottom: 1rem; }
.bank-info a { color: var(--gold-light); }

/* ========== CONTACT SECTION ========== */
.contact-section { background: var(--white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--warm-gray); margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.875rem; margin-bottom: 0.25rem; }
.contact-item p { font-size: 0.9rem; color: var(--warm-gray); }
.contact-item a { color: var(--terracotta); }
.contact-social h4 { margin-bottom: 0.75rem; font-size: 0.875rem; }
.social-links { display: flex; gap: 0.5rem; }
.social-link {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    transition: var(--transition);
}
.social-link:hover { background: var(--terracotta); color: var(--white); }
.contact-form-wrapper { background: var(--cream); padding: 2.5rem; border-radius: var(--radius); }

/* ========== FOOTER ========== */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
}
.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--terracotta), var(--gold), var(--terracotta));
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 2rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
    color: rgba(255,255,255,0.6);
}
.footer-social a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--white); }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.875rem; font-weight: 600; margin-bottom: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p { font-size: 0.875rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-contact i { color: var(--gold-light); width: 16px; }
.footer-contact a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; display: flex; align-items: center; gap: 0.4rem; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mission-badge-floating { right: 1rem; }
    .presentation-block { grid-template-columns: 1fr; gap: 2rem; }
    .presentation-block.reverse { direction: ltr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; position: fixed; inset: 70px 0 0 0; background: var(--white); flex-direction: column; padding: 2rem; gap: 0.5rem; z-index: 999; }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .membership-grid { grid-template-columns: 1fr; }
    .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
    .gallery-mosaic > :nth-child(1), .gallery-mosaic > :nth-child(4) { grid-row: span 1; }
    .cards-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .form-row.two-cols { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; text-align: center; }
    section { padding: 3rem 0; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .cta-actions { flex-direction: column; align-items: center; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .strip-grid { grid-template-columns: 1fr; }
}
