/* --- Oasis des voisins radins --- */

:root {
    --oasis-green: #1e6b4f;
    --oasis-green-deep: #113d2d;
    --oasis-green-soft: #d4ead8;
    --terra: #d16b3f;
    --terra-deep: #a74b22;
    --sand: #f5e9d4;
    --sand-deep: #e9d6b5;
    --cream: #fdf8ee;
    --sky: #a8cfe0;
    --rose: #e07b94;
    --ink: #2a2a24;
    --ink-soft: #5a564a;
    --shadow: 0 10px 30px rgba(17, 61, 45, 0.08);
    --shadow-hard: 0 4px 0 var(--oasis-green-deep);
    --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}

a { color: var(--terra-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oasis-green); }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; color: var(--oasis-green-deep); line-height: 1.1; letter-spacing: -0.01em; }

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

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 1rem;
    padding: 0.3rem 0.7rem;
    background: var(--sand);
    border-radius: 999px;
}
.eyebrow-light { background: rgba(255,255,255,0.18); color: var(--sand); }

.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.6rem; }
.section-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 55ch; margin-bottom: 2.5rem; }

/* --- Nav --- */
.nav {
    position: sticky; top: 0; z-index: 10;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.9rem 1.5rem;
    background: rgba(253, 248, 238, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-deep);
}
.nav-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'Fraunces', serif; font-weight: 700; color: var(--oasis-green-deep);
    text-decoration: none;
}
.nav-icon { font-size: 1.3rem; }
.nav-text { font-size: 1.05rem; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
    color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--oasis-green); }
@media (max-width: 720px) {
    .nav-links { display: none; }
}

/* --- Hero --- */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at top right, rgba(208, 107, 63, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(168, 207, 224, 0.2), transparent 50%),
        linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
    padding: 4rem 1.5rem 6rem;
    overflow: hidden;
    text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.palm { position: absolute; font-size: 6rem; opacity: 0.18; }
.palm-1 { top: 10%; left: 5%; transform: rotate(-12deg); }
.palm-2 { top: 20%; right: 8%; font-size: 4rem; transform: rotate(8deg); }
.palm-3 { bottom: 5%; left: 15%; font-size: 3rem; transform: rotate(-20deg); }

.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-wink {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--terra);
    transform: rotate(-2deg);
    margin-bottom: 0.5rem;
}
.hero-title { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1.5rem; }
.title-small {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 500;
    font-style: italic;
    color: var(--oasis-green);
}
.title-big {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--oasis-green-deep);
    letter-spacing: -0.03em;
}
.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 55ch;
    margin: 0 auto 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-chips {
    display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap;
    list-style: none;
}
.hero-chips li {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--oasis-green-deep);
    font-weight: 500;
    box-shadow: var(--shadow);
    border: 1px solid var(--sand-deep);
}

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.9rem 1.7rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
    background: var(--oasis-green);
    color: white;
    box-shadow: var(--shadow-hard);
}
.btn-primary:hover { transform: translateY(-2px); color: white; box-shadow: 0 6px 0 var(--oasis-green-deep); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--oasis-green-deep); }
.btn-ghost {
    background: transparent;
    color: var(--oasis-green-deep);
    border: 2px solid var(--oasis-green-deep);
}
.btn-ghost:hover { background: var(--oasis-green-deep); color: white; }
.btn-full { width: 100%; }

/* --- Idea section --- */
.idea { padding: 5rem 0; }
.idea-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.idea-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.idea-text p { margin-bottom: 1rem; color: var(--ink-soft); font-size: 1.05rem; }

.idea-card {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 2rem;
    border: 2px dashed var(--terra);
    position: relative;
}
.idea-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--terra-deep); }
.checklist { list-style: none; }
.checklist li {
    display: flex; gap: 0.8rem; align-items: start;
    padding: 0.6rem 0;
    border-bottom: 1px dotted var(--sand-deep);
    font-size: 0.98rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist span {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
    background: var(--terra);
    color: white;
    border-radius: 50%;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 0.9rem;
}
@media (max-width: 760px) {
    .idea-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Kit (poles) section --- */
.kit {
    background: var(--oasis-green-deep);
    color: var(--sand);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.kit::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(208, 107, 63, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 207, 224, 0.1), transparent 40%);
    pointer-events: none;
}
.kit .container { position: relative; }
.kit .section-title { color: var(--cream); }
.kit .section-sub { color: var(--sand); opacity: 0.8; }

.pole-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.pole {
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 2rem 1.5rem 1.5rem;
    position: relative;
    box-shadow: 0 8px 0 rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.pole:hover { transform: translateY(-4px); }
.pole-sticker {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
    background: #c8a3e0;
    color: var(--ink);
    padding: 0.3rem 1rem;
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
}
.pole-icons { font-size: 2.5rem; text-align: center; margin: 1rem 0 0.5rem; }
.pole h3 { font-size: 1.3rem; margin-bottom: 0.5rem; text-align: center; color: var(--oasis-green-deep); }
.pole p { font-size: 0.95rem; color: var(--ink-soft); text-align: center; }

.pole-laverie .pole-sticker { background: var(--sky); }
.pole-bicyclerie .pole-sticker { background: var(--rose); }
.pole-ludo .pole-sticker { background: #f7d774; }
.pole-outillage .pole-sticker { background: #b6d897; }
.pole-talents .pole-sticker { background: #d4a7e0; }
.pole-plus { border: 2px dashed var(--sand-deep); background: transparent; color: var(--sand); box-shadow: none; }
.pole-plus h3 { color: var(--cream); }
.pole-plus p { color: var(--sand); opacity: 0.85; }
.pole-plus .pole-sticker { background: var(--terra); color: var(--cream); }

/* --- Steps --- */
.steps { padding: 5rem 0; background: var(--cream); }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.step {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    position: relative;
    border: 1px solid var(--sand-deep);
    box-shadow: var(--shadow);
}
.step-featured {
    background: var(--oasis-green);
    color: var(--cream);
    border-color: var(--oasis-green-deep);
}
.step-featured h3 { color: var(--cream); }
.step-featured .step-list li { color: var(--sand); }
.step-featured .step-num { background: var(--terra); color: white; }
.step-num {
    position: absolute; top: -20px; left: 2rem;
    width: 48px; height: 48px;
    background: var(--oasis-green);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif; font-weight: 900; font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 3px 0 var(--oasis-green-deep);
}
.step h3 { font-size: 1.5rem; margin-bottom: 0.8rem; margin-top: 0.5rem; }
.step > p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.step-featured > p { color: var(--sand); opacity: 0.9; }
.step-list { list-style: none; }
.step-list li {
    padding: 0.4rem 0 0.4rem 1.8rem;
    position: relative;
    color: var(--ink-soft);
    font-size: 0.98rem;
}
.step-list li::before {
    content: '🌱';
    position: absolute; left: 0; top: 0.4rem;
    font-size: 0.9rem;
}
.step-featured .step-list li::before { content: '🏡'; }
@media (max-width: 760px) {
    .steps-grid { grid-template-columns: 1fr; }
}

/* --- Member card section --- */
.card-section { padding: 5rem 0; background: var(--sand); }
.card-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 3rem; align-items: center;
}
.member-card {
    aspect-ratio: 1.6 / 1;
    perspective: 1000px;
}
.member-card-inner {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--oasis-green) 0%, var(--oasis-green-deep) 100%);
    border-radius: 18px;
    padding: 1.8rem;
    color: var(--sand);
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 20px 40px rgba(17, 61, 45, 0.3);
    transform: rotate(-3deg);
    transition: transform 0.4s;
    position: relative;
    overflow: hidden;
}
.member-card-inner::before {
    content: '🌴';
    position: absolute;
    font-size: 10rem;
    opacity: 0.08;
    right: -1.5rem; bottom: -2rem;
    transform: rotate(-15deg);
}
.member-card:hover .member-card-inner { transform: rotate(0deg) scale(1.02); }
.member-card-top, .member-card-bot { display: flex; justify-content: space-between; align-items: center; }
.member-logo { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.1rem; }
.member-year { font-family: 'Caveat', cursive; font-size: 1.3rem; color: var(--terra); background: var(--sand); padding: 0.1rem 0.6rem; border-radius: 4px; }
.member-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; display: block; }
.member-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; display: block; margin-top: 0.2rem; color: var(--cream); }
.member-oasis { font-size: 0.85rem; opacity: 0.85; }
.member-no { font-family: monospace; font-size: 0.85rem; opacity: 0.7; }

.card-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.card-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.card-text .small { font-size: 0.9rem; font-style: italic; }
@media (max-width: 760px) {
    .card-grid { grid-template-columns: 1fr; }
}

/* --- Request / form section --- */
.request {
    background:
        radial-gradient(ellipse at top, rgba(208, 107, 63, 0.15), transparent 40%),
        var(--oasis-green-deep);
    color: var(--sand);
    padding: 5rem 0;
}
.request-inner { max-width: 760px; margin: 0 auto; }
.request .section-title { color: var(--cream); }
.request .section-sub { color: var(--sand); opacity: 0.85; }

.form {
    background: var(--cream);
    color: var(--ink);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    margin-top: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
    .form { padding: 1.5rem; }
}
.field { margin-bottom: 1.5rem; }
.field label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--oasis-green-deep);
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--sand-deep);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--oasis-green);
}
.field textarea { resize: vertical; min-height: 100px; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-block;
    padding: 0.55rem 1rem;
    background: white;
    border: 2px solid var(--sand-deep);
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}
.chip:hover span { border-color: var(--oasis-green); }
.chip input:checked + span {
    background: var(--oasis-green);
    color: white;
    border-color: var(--oasis-green);
}
.chip input:focus-visible + span {
    outline: 2px solid var(--terra);
    outline-offset: 2px;
}

.consent {
    display: flex; gap: 0.7rem; align-items: start;
    padding: 1rem;
    background: var(--sand);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    cursor: pointer;
}
.consent input { margin-top: 0.3rem; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--oasis-green); }

/* --- Success state --- */
.success {
    background: var(--cream);
    color: var(--ink);
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    margin-top: 2rem;
    border: 3px solid var(--oasis-green);
}
.success-emoji { font-size: 3rem; margin-bottom: 1rem; }
.success h2 { color: var(--oasis-green-deep); margin-bottom: 1rem; }
.success p { color: var(--ink-soft); margin-bottom: 0.8rem; max-width: 50ch; margin-left: auto; margin-right: auto; }
.error { border-color: var(--terra); }
.error h2 { color: var(--terra-deep); }

/* --- Footer --- */
.footer {
    background: var(--ink);
    color: var(--sand);
    padding: 3rem 0 2rem;
}
.footer-top {
    display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(245, 233, 212, 0.15);
}
.footer-logo { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; display: block; margin-bottom: 0.5rem; }
.footer p { color: var(--sand); opacity: 0.8; font-size: 0.95rem; }
.footer a { color: var(--sand); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-smol { text-align: center; font-size: 0.85rem; opacity: 0.6; }
