/* --- RESET & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&display=swap');

:root {
    --c-blue: #010101;
    --c-orange: #f7802e;
    --c-green: #868a8b;
    --c-light-green: #a0a4a5;
    --c-text: #1a1a1a;
    --c-grey-text: #555;
    --c-bg-beige: #faece1;
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--c-text); overflow-x: hidden; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* --- BOUTONS ET TAGS --- */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 14px; text-align: center; transition: 0.3s; border: none; cursor: pointer; }
.btn-orange { background-color: var(--c-orange); color: white; }
.btn-orange:hover { background-color: #8f4f32; }
.btn-blue { background-color: var(--c-blue); color: white; }
.btn-blue:hover { background-color: #333; }
.btn-outline { border: 2px solid var(--c-blue); color: var(--c-blue); border-radius: 50px; padding: 12px 28px; font-weight: 800; font-size: 14px; display: inline-block; }
.btn-full { width: 100%; }

.tag { display: inline-block; padding: 5px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; border-radius: 3px; letter-spacing: 0.5px; }
.tag-green { background-color: var(--c-green); color: white; }
.tag-light-green { background-color: var(--c-light-green); color: white; }
.tag-grey { background-color: #e0e0e0; color: #333; }
.tag-text { font-size: 12px; font-weight: 800; text-transform: uppercase; color: #666; margin-bottom: 10px; display: inline-block; }
.dot-orange { color: var(--c-orange); }
.credit { font-size: 10px; color: #888; text-align: right; margin-top: 5px; }

/* --- TOP BAR & HEADER --- */
.top-bar { border-bottom: 1px solid #eee; padding: 10px 0; }
.top-bar-content { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-size: 12px; font-weight: 800; }
.search-icon { background: var(--c-orange); color: white; border-radius: 50%; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; }
.main-header { padding: 20px 0; border-bottom: 1px solid #eee; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 55px; }
.logo-text { font-size: 1rem; font-weight: 900; color: var(--c-blue); line-height: 1.2; }
.logo-text span { color: var(--c-orange); display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; }
.main-nav ul { display: flex; gap: 25px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.main-nav a { transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--c-orange); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--c-text); border-radius: 3px; }

/* --- OFFCANVAS --- */
.offcanvas-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; }
.offcanvas-overlay.active { display: block; }
.offcanvas-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100%; background: #fff; z-index: 300; padding: 60px 30px 30px; transition: right 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: -4px 0 20px rgba(0,0,0,0.15); overflow-y: auto; }
.offcanvas-menu.open { right: 0; }
.offcanvas-close { position: absolute; top: 18px; right: 18px; background: none; border: none; font-size: 22px; cursor: pointer; }
.offcanvas-nav ul li { border-bottom: 1px solid #eee; }
.offcanvas-nav ul li a { display: block; padding: 16px 0; font-size: 14px; font-weight: 800; text-transform: uppercase; transition: color 0.2s; }
.offcanvas-nav ul li a:hover { color: var(--c-orange); }

/* --- HERO SLIDER --- */
.hero-slider { position: relative; width: 100%; height: 90vh; min-height: 520px; overflow: hidden; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.68) 40%, rgba(0,0,0,0.15) 100%); }
.slide-content { position: relative; z-index: 2; max-width: 1250px; margin: 0 auto; padding: 0 60px; width: 100%; }
.slide-content h1 { font-size: 4rem; font-weight: 900; line-height: 1.05; margin-bottom: 24px; letter-spacing: -1px; color: #fff; }
.slide-content p { font-size: 18px; color: rgba(255,255,255,0.88); margin-bottom: 36px; max-width: 520px; font-weight: 400; line-height: 1.6; }
.slide-credit { position: absolute; bottom: 16px; right: 20px; z-index: 2; color: rgba(255,255,255,0.55); margin: 0; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); color: white; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.slider-btn:hover { background: var(--c-orange); border-color: var(--c-orange); }
.prev { left: 20px; }
.next { right: 20px; }
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.dot.active { background: var(--c-orange); transform: scale(1.3); }

/* --- PAGE BANNER (pages internes) --- */
.page-banner { background: linear-gradient(135deg, #1a1a1a 60%, #333 100%); color: white; padding: 90px 20px; text-align: center; }
.page-banner h1 { font-size: 3rem; font-weight: 900; margin-bottom: 15px; }
.page-banner p { font-size: 18px; opacity: 0.78; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.breadcrumb { font-size: 12px; opacity: 0.55; margin-top: 18px; }
.breadcrumb a { color: var(--c-orange); }

/* --- ACTUALITÉS --- */
.news-section { padding: 60px 20px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.section-header h2 { font-size: 3rem; font-weight: 900; margin-bottom: 15px; letter-spacing: -1px; }
.section-header p { color: var(--c-grey-text); font-size: 16px; max-width: 600px; }
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.card { position: relative; border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.icon-badge { position: absolute; top: 20px; left: 20px; background: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2; }
.card-main { height: 100%; min-height: 480px; }
.card-main img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.card-main .card-content { position: absolute; bottom: 20px; left: 20px; right: 20px; background: white; padding: 25px 30px; border-radius: 8px; z-index: 2; }
.card-main h3 { font-size: 1.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 10px; }
.news-sidebar { display: grid; grid-template-rows: auto auto; gap: 30px; }
.card-small img { height: 200px; width: 100%; object-fit: cover; border-radius: 8px; }
.card-small .card-content { padding: 15px 0; }
.card-small h3 { font-size: 1rem; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.padding-top-0 { padding-top: 0 !important; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.date { font-size: 13px; color: #888; }

/* --- SPLIT SECTIONS --- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 20px; align-items: center; }
.split-section h2 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; line-height: 1.05; letter-spacing: -1px; }
.split-section p { font-size: 17px; color: var(--c-grey-text); margin-bottom: 25px; line-height: 1.7; }
.img-container img { border-radius: 8px; width: 100%; }

/* --- VALEURS --- */
.values-section { padding: 80px 20px; background: #f9f9f9; }
.values-section h2 { font-size: 3rem; font-weight: 900; text-align: center; margin-bottom: 50px; letter-spacing: -1px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value-card { text-align: center; padding: 40px 20px; background: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
.value-icon { font-size: 3rem; margin-bottom: 20px; }
.value-card h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--c-grey-text); line-height: 1.6; }

/* --- PROJETS --- */
.projects-section { padding: 80px 20px; }
.projects-section > .section-intro { max-width: 800px; }
.projects-section > .section-intro h2 { font-size: 3rem; font-weight: 900; margin-bottom: 15px; letter-spacing: -1px; }
.projects-section > .section-intro p { color: var(--c-grey-text); font-size: 17px; margin-bottom: 50px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.09); transition: transform 0.3s; }
.project-card:hover { transform: translateY(-4px); }
.project-card img { width: 100%; height: 240px; object-fit: cover; }
.project-card-body { padding: 30px; }
.project-card-body h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 12px; }
.project-card-body p { font-size: 14px; color: var(--c-grey-text); line-height: 1.75; margin-bottom: 20px; }

/* --- STATS --- */
.stats-section { background: var(--c-orange); color: white; padding: 70px 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 3.5rem; font-weight: 900; letter-spacing: -2px; }
.stat-item p { font-size: 14px; font-weight: 700; opacity: 0.85; margin-top: 8px; }

/* --- PRÉSIDENT --- */
.president-section { padding: 80px 20px; }
.president-section h2 { font-size: 3rem; font-weight: 900; margin-bottom: 5px; letter-spacing: -1px; }
.president-section .subtitle { color: var(--c-orange); font-weight: 800; font-size: 14px; text-transform: uppercase; margin-bottom: 25px; display: block; }
.president-quote { background: var(--c-bg-beige); border-left: 5px solid var(--c-orange); padding: 30px 40px; border-radius: 0 8px 8px 0; font-size: 16px; line-height: 1.85; color: var(--c-grey-text); font-style: italic; margin: 30px 0; }

/* --- S'ENGAGER --- */
.engage-section { padding: 80px 20px; }
.engage-header { margin-bottom: 40px; }
.engage-header h2 { font-size: 3rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -1px; }
.engage-header p { color: var(--c-grey-text); font-size: 18px; }
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.engage-card img { border-radius: 8px; margin-bottom: 20px; height: 260px; object-fit: cover; width: 100%; }
.engage-card h3 { font-size: 1.4rem; font-weight: 900; margin: 12px 0; line-height: 1.2; }
.link-arrow { font-weight: 800; text-decoration: underline; font-size: 15px; color: var(--c-orange); }

/* --- DONS (home) --- */
.donations-wrapper { background-color: var(--c-bg-beige); padding: 80px 0; }
.donations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.don-card { background: white; padding: 40px 30px; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.don-card h3 { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -1px; }
.don-card p { font-size: 15px; margin-bottom: 20px; font-weight: 800; line-height: 1.3; }
.don-info { font-size: 12px; color: #666; margin-bottom: 15px; display: flex; align-items: center; gap: 5px; background: #f9f9f9; padding: 10px; border-radius: 5px; }
.icon-heart { width: 50px; height: 50px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 15px; }

/* --- PAGE DON --- */
.don-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 50px 0; }
.don-method { background: white; border-radius: 8px; padding: 40px 30px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.07); }
.don-method .icon { font-size: 3rem; margin-bottom: 20px; }
.don-method h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 12px; }
.don-method p { font-size: 14px; color: var(--c-grey-text); line-height: 1.7; }
.don-method .method-detail { margin-top: 15px; font-weight: 800; font-size: 14px; background: var(--c-bg-beige); padding: 10px 15px; border-radius: 5px; }

/* --- CONTACT --- */
.contact-section { padding: 80px 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 30px; }
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.contact-icon { font-size: 1.8rem; min-width: 40px; }
.contact-item h4 { font-size: 13px; font-weight: 900; text-transform: uppercase; margin-bottom: 5px; color: var(--c-orange); }
.contact-item p { font-size: 15px; color: var(--c-grey-text); }
.contact-form { background: #f9f9f9; padding: 40px; border-radius: 8px; }
.contact-form h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-family: var(--font-main); font-size: 14px; outline: none; transition: border 0.2s; background: white; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--c-orange); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* --- PARTENAIRES --- */
.partners-section { padding: 80px 20px; }
.partners-intro { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.partners-intro h2 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; }
.partners-intro p { font-size: 18px; color: var(--c-grey-text); }
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.partner-card { background: #f9f9f9; border-radius: 8px; padding: 40px 20px; text-align: center; }
.partner-logo { font-size: 3rem; margin-bottom: 15px; }
.partner-card h4 { font-size: 14px; font-weight: 900; margin-bottom: 8px; }
.partner-card p { font-size: 12px; color: var(--c-grey-text); }
.cta-partner { background: var(--c-bg-beige); border-radius: 8px; padding: 60px; text-align: center; margin-top: 60px; }
.cta-partner h3 { font-size: 2rem; font-weight: 900; margin-bottom: 15px; }
.cta-partner p { font-size: 16px; color: var(--c-grey-text); margin-bottom: 30px; }

/* --- QUI SOMMES-NOUS page --- */
.about-section { padding: 80px 20px; }
.about-section h2 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; }
.about-section p { font-size: 17px; color: var(--c-grey-text); line-height: 1.8; margin-bottom: 20px; }
.about-list { margin: 20px 0 30px 0; }
.about-list li { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.about-list li::before { content: '→'; color: var(--c-orange); font-weight: 900; }

/* --- NEWSLETTER --- */
.newsletter { background-color: #e6f0fa; padding: 50px 0; }
.newsletter-content { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.newsletter-text { display: flex; align-items: center; gap: 20px; }
.icon-mail { width: 60px; height: 60px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); flex-shrink: 0; }
.newsletter-text h3 { font-weight: 900; font-size: 1.2rem; margin-bottom: 5px; }
.newsletter-text p { font-size: 14px; color: var(--c-grey-text); }

/* --- FOOTER --- */
.footer { background-color: var(--c-blue); color: white; padding: 80px 0 30px; font-size: 13px; }
.footer-top { text-align: center; margin-bottom: 60px; }
.footer-top img { height: 70px; margin: 0 auto 15px; }
.footer-logo-text { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; }
.footer-logo-text span { color: var(--c-orange); }
.footer-top p { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 20px; line-height: 1.7; }
.social-icons { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.social-icons span { width: 35px; height: 35px; background: white; color: var(--c-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; cursor: pointer; font-size: 13px; transition: background 0.2s; }
.social-icons span:hover { background: var(--c-orange); color: white; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-links h4 { font-size: 13px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; color: var(--c-orange); }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.65); flex-wrap: wrap; gap: 10px; }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-links a:hover { color: white; text-decoration: underline; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .main-nav, .desktop-don { display: none !important; }
    .hamburger { display: flex; }
    .hero-slider { height: 70vh; min-height: 400px; }
    .slide-content { padding: 0 24px; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 15px; }
    .slider-btn { width: 40px; height: 40px; font-size: 20px; }
    .news-grid { grid-template-columns: 1fr; }
    .card-main { min-height: 340px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .section-header h2 { font-size: 2.2rem; }
    .split-section { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px; }
    .split-section h2, .projects-section > .section-intro h2, .engage-header h2, .values-section h2,
    .president-section h2, .about-section h2, .partners-intro h2, .contact-info h2 { font-size: 2rem; }
    .engage-grid, .projects-grid, .don-methods { grid-template-columns: 1fr; }
    .donations-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 2rem; }
    .newsletter-content { flex-direction: column; text-align: center; }
    .newsletter-text { flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
    .donations-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-links { justify-content: center; }
}
