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

:root {
    --bg: hsl(40, 33%, 96%);
    --fg: hsl(150, 30%, 12%);
    --primary: hsl(145, 45%, 28%);
    --primary-fg: hsl(40, 33%, 96%);
    --card: hsl(40, 30%, 93%);
    --muted: hsl(150, 10%, 40%);
    --border: hsl(40, 20%, 85%);
    --accent: hsl(30, 50%, 45%);
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── NAV ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: hsla(40, 33%, 96%, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
}

.logo-icon {
    color: var(--primary);
    object-fit: contain;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-fg);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 1px solid hsla(40, 33%, 96%, 0.3);
    color: var(--primary-fg);
}

.btn-outline:hover {
    background: hsla(40, 33%, 96%, 0.1);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.nav-cta {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--fg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 0.5rem;
    padding-left: 8px;
    color: var(--primary-fg);
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(150, 30%, 15%), hsl(145, 40%, 20%), hsl(80, 25%, 25%));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, hsla(150, 30%, 12%, 0.6), hsla(150, 30%, 12%, 0.4), var(--bg));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 8rem 1rem 4rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid hsla(145, 45%, 28%, 0.3);
    background: hsla(145, 45%, 28%, 0.1);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-fg);
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-fg);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: hsla(40, 33%, 96%, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.chevron-down {
    display: inline-block;
    margin-top: 3rem;
    animation: bounce 2s infinite;
    color: hsla(40, 33%, 96%, 0.6);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ── SECTIONS ── */
section {
    padding: 6rem 0;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--fg);
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

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

/* ── À PROPOS ── */
.about-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-intro p {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.8;
}

.about-intro strong {
    color: var(--fg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-item {
    text-align: center;
    padding: 1.5rem;
}

.about-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-item p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── SERVICES ── */
.services {
    background: var(--card);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 30px -10px hsla(150, 30%, 12%, 0.15);
    transform: translateY(-4px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: hsla(145, 45%, 28%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: hsla(145, 45%, 28%, 0.2);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── PARTENAIRES ── */
.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.partenaire-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.partenaire-card:hover {
    box-shadow: 0 8px 20px -8px hsla(150, 30%, 12%, 0.12);
    transform: translateY(-4px);
}

.partenaire-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    background: hsla(145, 45%, 28%, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.partenaire-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg);
}

/* ── DONS ── */
.dons {
    background: var(--card);
}

.dons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.don-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.don-card:hover {
    box-shadow: 0 10px 30px -10px hsla(150, 30%, 12%, 0.15);
    transform: translateY(-4px);
}

.don-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: hsla(145, 45%, 28%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.don-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--fg);
}

.don-numero {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.don-description {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 0.75rem;
    background: var(--card);
    border: 1px solid var(--border);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsla(145, 45%, 28%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.contact-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.875rem;
    color: var(--muted);
    white-space: pre-line;
}

/* ── FOOTER ── */
footer {
    background: var(--fg);
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-fg);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: hsla(40, 33%, 96%, 0.7);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-fg);
}

.footer-bottom {
    border-top: 1px solid hsla(40, 33%, 96%, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: hsla(40, 33%, 96%, 0.5);
}

/* ── RESPONSIVE ── */
@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu.open {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .dons-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}