/* ====================================
   PASSE TES SAVOIRS
   Aesthetic: intergenerational, warm paper,
   woven threads, hand-passed knowledge.
   ==================================== */

:root {
    /* Colors - warm paper, terracotta warmth, teal wisdom */
    --paper: #FBF6EE;
    --paper-dark: #F2EADD;
    --paper-grain: #E8DDCC;
    --ink: #2B2419;
    --ink-soft: #574A3A;
    --ink-muted: #8A7A66;

    --terracotta: #C2583F;
    --terracotta-dark: #9F4530;
    --terracotta-soft: #E8B5A8;

    --teal: #2C5F5D;
    --teal-dark: #1E4341;
    --teal-soft: #BCD1D0;

    --gold: #D4A24C;
    --gold-soft: #F2DDB1;

    --sage: #BDC8A3;
    --sage-dark: #5A7355;

    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-hand: 'Caveat', cursive;
    --font-body: 'Atkinson Hyperlegible', system-ui, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --space-4xl: 7rem;

    /* Radii & Shadows */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-soft: 0 2px 10px rgba(43, 36, 25, 0.06);
    --shadow-card: 0 6px 24px rgba(43, 36, 25, 0.10);
    --shadow-lifted: 0 14px 40px rgba(43, 36, 25, 0.16);
}

/* ====================================
   BASE
   ==================================== */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(212, 162, 76, 0.08) 0, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(44, 95, 93, 0.07) 0, transparent 55%),
        radial-gradient(circle at 50% 90%, rgba(194, 88, 63, 0.05) 0, transparent 40%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Subtle paper grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.14 0 0 0 0 0.10 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
    opacity: 0.9;
    z-index: 1;
}

body > * { position: relative; z-index: 2; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

a { color: var(--terracotta-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--terracotta); }

.link-subtle { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.link-subtle:hover { color: var(--ink); }

em { font-style: italic; color: var(--terracotta-dark); font-weight: 500; }

/* ====================================
   DECORATIVE THREADS
   ==================================== */

.threads {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

.thread {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 3 8;
}

.thread-1 { stroke: var(--terracotta); }
.thread-2 { stroke: var(--teal); }
.thread-3 { stroke: var(--gold); }

/* ====================================
   NAV
   ==================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(251, 246, 238, 0.75);
    border-bottom: 1px solid rgba(43, 36, 25, 0.08);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    font-variation-settings: "opsz" 14;
}

.logo-mark {
    width: 36px;
    height: 36px;
    color: var(--terracotta);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 400;
    padding: 4px 2px;
    border-bottom: 1.5px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
    color: var(--terracotta);
    border-bottom-color: var(--terracotta);
}

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

/* ====================================
   HERO
   ==================================== */

.hero {
    padding: var(--space-3xl) 0 var(--space-4xl);
}

.hero-grid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    background: var(--paper-dark);
    border: 1px solid rgba(43, 36, 25, 0.12);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xl);
}

.eyebrow-dot {
    width: 7px; height: 7px;
    background: var(--terracotta);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(194, 88, 63, 0.2);
}

.hero-title {
    font-family: var(--font-display);
    margin: 0 0 var(--space-xl);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.title-script {
    display: block;
    font-family: var(--font-hand);
    font-weight: 500;
    font-size: clamp(3.5rem, 7vw, 6rem);
    color: var(--terracotta);
    line-height: 0.9;
    transform: translateX(-6px) rotate(-2deg);
    margin-bottom: -0.3em;
}

.title-main {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3.6rem, 8vw, 6.8rem);
    font-variation-settings: "opsz" 144;
    color: var(--ink);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 36ch;
    margin: 0 0 var(--space-2xl);
}

.hand-arrow {
    display: inline-block;
    font-family: var(--font-hand);
    color: var(--terracotta);
    font-weight: 700;
    font-size: 1.4em;
    transform: translateY(0.1em);
    padding: 0 0.1em;
}

/* Meta */
.hero-meta {
    display: flex;
    gap: var(--space-lg);
    align-items: stretch;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(43, 36, 25, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.meta-item { flex: 1; }

.meta-label {
    font-family: var(--font-hand);
    color: var(--teal);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 4px;
}

.meta-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.2;
}

.meta-sub {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

.meta-divider {
    width: 1px;
    background: rgba(43, 36, 25, 0.12);
}

/* CTA */
.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    text-align: left;
    line-height: 1.2;
}

.btn-emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.btn-primary {
    background: var(--terracotta);
    color: white;
    box-shadow: 0 4px 14px rgba(194, 88, 63, 0.35);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 88, 63, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--teal-dark);
    border: 1.5px solid var(--teal);
}

.btn-secondary:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-2px);
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: center;
    justify-items: center;
    padding: var(--space-lg);
}

.exchange-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 320px;
    border: 1px solid rgba(43, 36, 25, 0.08);
    position: relative;
}

.card-giver {
    transform: rotate(-2deg);
    border-top: 4px solid var(--terracotta);
}

.card-taker {
    transform: rotate(2deg);
    border-top: 4px solid var(--teal);
}

.card-tag {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.card-giver .card-tag {
    background: var(--terracotta-soft);
    color: var(--terracotta-dark);
}

.card-taker .card-tag {
    background: var(--teal-soft);
    color: var(--teal-dark);
}

.card-name {
    font-size: 0.95rem;
    color: var(--ink-muted);
    margin-bottom: 4px;
}

.card-skill {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.25;
}

.exchange-arrow {
    width: 100px;
    height: 65px;
    color: var(--gold);
}

.exchange-arrow svg {
    width: 100%;
    height: 100%;
}

.visual-note {
    margin-top: var(--space-md);
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--teal);
    transform: rotate(-1deg);
}

/* ====================================
   SECTIONS GENERIC
   ==================================== */

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 var(--space-md);
    letter-spacing: -0.015em;
    font-variation-settings: "opsz" 60;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 1.4rem;
    color: var(--terracotta);
    margin-bottom: var(--space-xs);
    transform: rotate(-1deg);
}

.section-intro {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 55ch;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

/* ====================================
   CONCEPT
   ==================================== */

.concept-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.5) 100%);
}

.concept-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.concept-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
}

.concept-card {
    position: relative;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid rgba(43, 36, 25, 0.08);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s, box-shadow 0.2s;
}

.concept-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.concept-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--terracotta);
    line-height: 1;
    opacity: 0.6;
    margin-bottom: var(--space-md);
    font-variation-settings: "opsz" 100;
}

.concept-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 var(--space-md);
    color: var(--ink);
}

.concept-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.55;
}

/* ====================================
   SAVOIRS GRID
   ==================================== */

.savoirs-section {
    padding: var(--space-3xl) 0;
}

.savoirs-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.skill-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    border: 1px solid rgba(43, 36, 25, 0.08);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.skill-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--terracotta);
}

.skill-card[data-direction="jeune-vers-senior"]::before { background: var(--teal); }
.skill-card[data-direction="senior-vers-jeune"]::before { background: var(--terracotta); }
.skill-card[data-direction="bidirectionnel"]::before {
    background: linear-gradient(90deg, var(--terracotta) 0%, var(--gold) 50%, var(--teal) 100%);
}

.skill-card-wide { grid-column: span 2; }
@media (max-width: 900px) { .skill-card-wide { grid-column: span 1; } }

.skill-top {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.skill-emoji {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dark);
    border-radius: 14px;
    line-height: 1;
}

.skill-category {
    font-family: var(--font-hand);
    color: var(--ink-muted);
    font-size: 1.1rem;
}

.skill-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 0 0 var(--space-sm);
    color: var(--ink);
}

.skill-desc {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 var(--space-lg);
    flex: 1;
}

.skill-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px dashed rgba(43, 36, 25, 0.15);
    gap: var(--space-md);
}

.skill-giver {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.giver-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.giver-avatar-double {
    width: auto;
    gap: -4px;
    background: none;
    display: inline-flex;
}

.giver-avatar-double span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: white;
    font-size: 0.85rem;
    border: 2px solid white;
}

.giver-avatar-double span:not(:first-child) {
    margin-left: -10px;
}

.giver-info { min-width: 0; }

.giver-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.2;
}

.giver-note {
    font-size: 0.85rem;
    color: var(--ink-muted);
    line-height: 1.2;
}

.skill-flow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    text-transform: lowercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.flow-tag {
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--paper-dark);
    color: var(--ink-soft);
    font-weight: 700;
}

.flow-arrow { color: var(--ink-muted); font-weight: 700; }

.flow-both {
    background: linear-gradient(90deg, var(--terracotta-soft), var(--gold-soft), var(--teal-soft));
    color: var(--ink);
}

.savoirs-footer {
    text-align: center;
    margin-top: var(--space-2xl);
    font-size: 1.1rem;
    color: var(--ink-soft);
}

.hand-pen {
    font-family: var(--font-hand);
    color: var(--terracotta);
    font-size: 1.5rem;
    margin-right: 4px;
}

/* ====================================
   PARTICIPATE
   ==================================== */

.participate-section {
    padding: var(--space-3xl) 0;
    background: var(--paper-dark);
    border-top: 1px solid rgba(43, 36, 25, 0.06);
    border-bottom: 1px solid rgba(43, 36, 25, 0.06);
}

.participate-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    max-width: 720px;
    margin: 0 auto var(--space-xl);
}

@media (max-width: 600px) {
    .mode-toggle { grid-template-columns: 1fr; }
}

.mode-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: white;
    border: 2px solid rgba(43, 36, 25, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
    transition: border-color 0.2s, transform 0.15s, background 0.2s;
}

.mode-btn:hover { border-color: var(--terracotta-soft); transform: translateY(-1px); }

.mode-btn.active {
    border-color: var(--terracotta);
    background: white;
    box-shadow: 0 4px 14px rgba(194, 88, 63, 0.15);
}

.mode-emoji { font-size: 1.8rem; }

.mode-text { display: flex; flex-direction: column; gap: 2px; }

.mode-label {
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
}

.mode-sub {
    font-size: 0.9rem;
    color: var(--ink-muted);
}

/* Form */
.participate-form {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(43, 36, 25, 0.08);
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--ink-muted);
    margin-top: 4px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid rgba(43, 36, 25, 0.15);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, background 0.2s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: white;
}

.form-input-big {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 14px 16px;
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.5;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    cursor: pointer;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-block;
    padding: 7px 14px;
    background: var(--paper);
    border: 1.5px solid rgba(43, 36, 25, 0.15);
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--ink-soft);
    transition: all 0.15s;
}

.chip:hover span {
    border-color: var(--terracotta);
    color: var(--ink);
}

.chip input:checked + span {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: white;
    font-weight: 700;
}

.form-note {
    padding: var(--space-md);
    background: var(--gold-soft);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0 0 var(--space-lg);
    display: flex;
    gap: 8px;
}

.note-emoji { flex-shrink: 0; }

.form-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: var(--space-lg);
}

.form-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(43, 36, 25, 0.3);
    border-radius: 5px;
    background: white;
    position: relative;
    margin-top: 2px;
    transition: all 0.15s;
}

.form-check input:checked + .check-box {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.form-check input:checked + .check-box::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 15px;
}

.check-text {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1.1rem;
}

[data-mode-active="offre"] .btn-label-demande,
[data-mode-active="demande"] .btn-label-offre { display: none; }

.form-reassurance {
    margin-top: var(--space-md);
    text-align: center;
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--teal);
    line-height: 1.3;
    transform: rotate(-0.5deg);
}

/* ====================================
   QUESTIONS
   ==================================== */

.questions-section {
    padding: var(--space-3xl) 0;
}

.questions-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 820px) {
    .questions-grid { grid-template-columns: 1fr; }
}

.faq {
    margin-top: var(--space-xl);
}

.faq-item {
    border-bottom: 1px solid rgba(43, 36, 25, 0.12);
    padding: var(--space-md) 0;
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.5);
    padding: var(--space-md);
    margin: 0 -16px;
    border-radius: var(--radius-sm);
    border-bottom-color: transparent;
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    list-style: none;
    position: relative;
    padding-right: 32px;
    line-height: 1.3;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.6rem;
    color: var(--terracotta);
    line-height: 1;
    transition: transform 0.2s;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    margin: var(--space-md) 0 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.questions-side { display: grid; gap: var(--space-md); margin-top: var(--space-xl); }

.side-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid rgba(43, 36, 25, 0.08);
    box-shadow: var(--shadow-soft);
}

.side-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--ink);
}

.side-card p {
    margin: 0 0 var(--space-md);
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.side-mail {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--terracotta);
    font-size: 1rem;
    text-decoration: none;
    padding: 8px 14px;
    background: var(--terracotta-soft);
    border-radius: var(--radius-sm);
    word-break: break-all;
}

.side-mail:hover { background: var(--terracotta); color: white; }

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-list li {
    padding: 6px 0;
    font-size: 0.98rem;
    color: var(--ink-soft);
    border-bottom: 1px dotted rgba(43, 36, 25, 0.12);
}

.side-list li:last-child { border-bottom: none; }

.side-list strong {
    display: inline-block;
    width: 80px;
    color: var(--ink);
    font-weight: 700;
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
    padding: var(--space-xl) 0;
    background: var(--ink);
    color: var(--paper);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-brand .logo-mark {
    color: var(--gold);
    width: 40px;
    height: 40px;
}

.footer-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-tag {
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.footer-note {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin: 0;
}

.footer-note .link-subtle {
    color: var(--paper);
    opacity: 0.8;
}

.footer-note .link-subtle:hover { opacity: 1; color: var(--gold); }

/* ====================================
   TOAST
   ==================================== */

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--teal-dark);
    color: white;
    padding: 14px 24px;
    border-radius: 999px;
    box-shadow: var(--shadow-lifted);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    font-weight: 700;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-error {
    background: var(--terracotta-dark);
}

/* ====================================
   LIVE BOARD
   ==================================== */

.board {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(43, 36, 25, 0.1);
    box-shadow: var(--shadow-soft);
}

.board-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.board-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    color: var(--ink);
}

.board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

@media (max-width: 720px) {
    .board-grid { grid-template-columns: 1fr; }
}

.board-col-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px dashed rgba(43, 36, 25, 0.15);
    color: var(--ink);
}

.board-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}

.board-item {
    padding: var(--space-md);
    background: var(--paper);
    border-left: 3px solid var(--terracotta);
    border-radius: var(--radius-sm);
}

.board-item-demande {
    border-left-color: var(--teal);
}

.board-item-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.board-emoji {
    font-size: 1.2rem;
    line-height: 1;
}

.board-item-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.3;
}

.board-desc {
    margin: 4px 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.45;
}

.board-item-by {
    font-size: 0.85rem;
    color: var(--ink-muted);
    font-style: italic;
}

.board-empty {
    padding: var(--space-md);
    color: var(--ink-muted);
    font-style: italic;
    text-align: center;
    background: var(--paper);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(43, 36, 25, 0.15);
}

/* ====================================
   UTILITY PAGES (privacy, unsubscribe)
   ==================================== */

.utility-page {
    padding: var(--space-3xl) 0;
    min-height: 70vh;
}

.utility-page .section-title {
    margin-bottom: var(--space-md);
}

.privacy-section {
    margin-bottom: var(--space-xl);
}

.privacy-section h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ink);
    margin: 0 0 var(--space-sm);
}

.privacy-section ul {
    padding-left: 1.4em;
}

.privacy-section li {
    margin-bottom: 6px;
    color: var(--ink-soft);
}

.privacy-section p {
    color: var(--ink-soft);
    margin: 0 0 var(--space-sm);
}

.util-alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    font-weight: 700;
    border: 1.5px solid;
    max-width: 540px;
}

.util-success { background: #E8F3E6; border-color: var(--sage-dark); color: var(--sage-dark); }
.util-error   { background: #FBE8E3; border-color: var(--terracotta-dark); color: var(--terracotta-dark); }
.util-info    { background: var(--gold-soft); border-color: var(--gold); color: var(--ink-soft); }
