﻿:root {
    --green: #073e33;
    --dark: #052b26;
    --gold: #d6b46d;
    --cream: #faf8f2;
    --text: #183d33;
    --muted: #72817a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--cream);
}

a {
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

.header {
    background: var(--dark);
    border-bottom: 1px solid #ffffff20;
    position: relative;
    z-index: 2;
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .3px;
}

.brand strong {
    color: var(--gold);
}

.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 5px;
    color: #d1dad5;
}

.brand-symbol {
    color: var(--gold);
    font-size: 45px;
}

nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

nav a {
    color: #f0f4ef;
    font-size: 13px;
}

nav a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: var(--dark);
    padding: 13px 19px;
    border-radius: 6px;
    font-weight: 700;
}

nav .nav-cta {
    color: var(--dark);
}

.hero {
    background:
        radial-gradient(circle at 80% 35%, #17624b70, transparent 45%),
        linear-gradient(130deg, #052b26, #084739);
    color: white;
    overflow: hidden;
}

.hero-grid {
    min-height: 630px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 65px;
    padding-top: 65px;
    padding-bottom: 85px;
}

.eyebrow, .section-label {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(39px, 4.4vw, 64px);
    line-height: 1.14;
    font-weight: 500;
    margin: 26px 0;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero-content > p {
    color: #d0e0d9;
    max-width: 530px;
    font-size: 17px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 33px;
}

.btn {
    padding: 17px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
}

.btn-gold {
    color: #19372e;
    background: var(--gold);
}

.btn-outline {
    border: 1px solid #ffffff60;
    color: white;
}

.hero-note {
    margin-top: 36px;
    color: #c4d7cd;
    font-size: 13px;
}

.note-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 8px;
}

.hero-visual {
    height: 440px;
    background: linear-gradient(155deg, #1d6555, #063328);
    border: 1px solid #d6b46d55;
    border-radius: 180px 180px 12px 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px #001b1755;
}

.visual-stars {
    position: absolute;
    top: 65px;
    left: 40px;
    color: #e4c889;
    font-size: 20px;
    letter-spacing: 36px;
}

.crescent {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gold);
    position: absolute;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 75px #d6b46d55;
}

.crescent::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #195b4d;
    left: 41px;
    top: -25px;
}

.mosque {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 190px;
}

.building {
    position: absolute;
    width: 60%;
    height: 90px;
    left: 20%;
    bottom: 0;
    background: #052e28;
    border: 1px solid #c8a563;
}

.dome {
    position: absolute;
    width: 42%;
    height: 105px;
    left: 29%;
    bottom: 89px;
    border-radius: 120px 120px 0 0;
    background: #052e28;
    border: 1px solid #c8a563;
}

.minaret {
    position: absolute;
    width: 28px;
    height: 174px;
    bottom: 0;
    background: #052e28;
    border: 1px solid #c8a563;
}

.minaret::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: -7px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 49px solid #052e28;
}

.minaret.left { left: 13%; }
.minaret.right { right: 13%; }

.visual-caption {
    position: absolute;
    bottom: 17px;
    width: 100%;
    text-align: center;
    color: var(--gold);
    font-size: 21px;
}

.intro, .transparency {
    text-align: center;
    padding: 95px 20px;
}

.intro h2, .transparency h2,
.section-header h2, .donate-intro h2 {
    font: 500 clamp(30px, 3vw, 43px)/1.3 Georgia, serif;
}

.intro p, .transparency p {
    max-width: 700px;
    line-height: 1.9;
    color: var(--muted);
    margin: auto;
}

.steps {
    background: #eef2ea;
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step {
    background: white;
    border: 1px solid #e4e8df;
    padding: 35px;
    border-radius: 13px;
}

.step-number {
    color: #b68b40;
    font: 34px Georgia, serif;
}

.step h3 {
    margin-top: 25px;
}

.step p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.donate-section {
    padding: 105px 0;
    background: white;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.donate-intro > p {
    line-height: 1.85;
    color: var(--muted);
}

.security-info {
    margin-top: 27px;
    font-size: 13px;
    color: #3e6859;
}

.security-info span {
    color: #278461;
    font-weight: bold;
    margin-right: 8px;
}

.donate-card {
    border: 1px solid #e6e8e2;
    border-radius: 16px;
    background: #fff;
    padding: 35px;
    box-shadow: 0 25px 75px #113d2b12;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.card-icon {
    background: #edf3ea;
    color: var(--green);
    padding: 15px;
    font-size: 28px;
    border-radius: 12px;
}

.card-header h3 {
    margin: 0;
    font-size: 22px;
}

.card-header p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.amount {
    border: 1px solid #dbe4dc;
    background: #f8faf7;
    padding: 15px 5px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text);
}

.amount.selected {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.amount:hover {
    border-color: var(--gold);
}

.donate-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.donate-card input {
    width: 100%;
    padding: 15px;
    border: 1px solid #dbe4dc;
    border-radius: 7px;
    font: inherit;
}

.donate-total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 28px 0;
    font-size: 14px;
}

.donate-total strong {
    color: var(--green);
    font-size: 18px;
}

.pay-button {
    background: var(--green);
    color: white;
    border: none;
    border-radius: 7px;
    width: 100%;
    padding: 19px;
    font-weight: bold;
}

.pay-button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.donate-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    text-align: center;
    margin-bottom: 0;
}

.transparency {
    background: var(--cream);
}

.footer {
    background: var(--dark);
    padding: 45px 0;
    color: white;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer p, .footer span {
    color: #b8cbc3;
    font-size: 13px;
}

@media(max-width: 800px) {
    .header-inner {
        flex-direction: column;
        padding: 20px 0;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 13px;
    }

    .hero-grid, .donate-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-grid {
        padding-top: 65px;
    }

    .hero-visual {
        width: min(100%, 420px);
        margin: auto;
    }

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

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

@media(max-width: 420px) {
    .container {
        width: calc(100% - 30px);
    }

    .hero-visual {
        height: 330px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .donate-card {
        padding: 20px;
    }

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

    .brand {
        font-size: 16px;
    }
}

/* SECTION PARCOURS DES DONS */

.steps {
    background: #f8f7f2;
    padding: 0;
    border-top: 1px solid #e5e7de;
    border-bottom: 1px solid #e5e7de;
}

.process-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
    padding-top: 100px;
    padding-bottom: 100px;
}

.process-aside {
    max-width: 430px;
}

.process-aside h2 {
    font-family: Georgia, serif;
    font-size: clamp(32px, 3.5vw, 49px);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -1.5px;
    color: #123d30;
    margin: 24px 0;
}

.process-aside h2 em {
    color: #ab873f;
    font-style: normal;
}

.process-aside p {
    font-size: 15px;
    line-height: 1.85;
    color: #62746b;
    max-width: 370px;
}

.process-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 25px;
    padding: 15px 20px;
    background: #073e33;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

.process-link:hover {
    background: #125c49;
}

.process-list {
    border-top: 1px solid #d9dfd6;
}

.process-row {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 24px;
    padding: 31px 0;
    border-bottom: 1px solid #d9dfd6;
}

.process-number {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6bf8c;
    color: #9f7a35;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 17px;
}

.process-row h3 {
    margin: 0 0 10px;
    color: #123d30;
    font-size: 19px;
    font-weight: 600;
}

.process-row p {
    margin: 0;
    color: #687a70;
    font-size: 14px;
    line-height: 1.75;
    max-width: 420px;
}

@media (max-width: 800px) {
    .process-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .process-row {
        grid-template-columns: 46px 1fr;
        gap: 16px;
        padding: 25px 0;
    }

    .process-row h3 {
        font-size: 17px;
    }

    .process-aside h2 {
        letter-spacing: -0.5px;
    }
}


/* DONATEURS ET COLLECTE */

.collection-stats {
    background: #073e33;
    color: white;
    padding: 35px 0;
}

.collection-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.collection-stats-grid > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.collection-stats-grid span {
    color: #d5dfd9;
    font-size: 14px;
}

.collection-stats-grid strong {
    font-size: clamp(24px, 3vw, 34px);
}

.donor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.donate-card label {
    margin-top: 16px;
}

.donate-card input {
    margin-bottom: 5px;
}

.form-separator {
    height: 1px;
    background: #e4e8e1;
    margin: 27px 0;
}

.payment-methods {
    border: 0;
    padding: 0;
    margin: 20px 0 25px;
    min-width: 0;
}

.payment-methods legend {
    font-weight: 600;
    font-size: 14px;
    padding: 0;
}

.operator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.operator-option {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border: 1px solid #dbe4dc;
    border-radius: 8px;
    cursor: pointer;
}

.operator-option:has(input:checked) {
    border-color: #073e33;
    background: #edf4ee;
}

.operator-option input {
    width: auto;
    margin: 0;
    accent-color: #073e33;
}

.pay-button:not(:disabled) {
    cursor: pointer;
}

.form-error {
    color: #ad3131;
    font-size: 14px;
}

@media(max-width: 600px) {
    .donor-grid,
    .collection-stats-grid,
    .operator-grid {
        grid-template-columns: 1fr;
    }
}

.collection-stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
}

.collection-stats-grid > div {
    align-items: center;
}
