/* ==========================================================================
   Renaître Ensemble — feuille de style
   Identité : papier crème, vert sauge, ocre doré, écriture manuscrite,
   coups de pinceau et feuillages (d'après les visuels de l'association).
   ========================================================================== */

:root {
    /* Couleurs */
    --cream: #F8F1E7;
    --cream-2: #F3E8D8;
    --cream-3: #EADBC4;
    --paper: #FCF8F2;
    --white: #FFFFFF;

    --sage: #6C7057;
    --sage-dark: #565A44;
    --sage-deep: #3E4231;
    --sage-night: #2F3226;
    --sage-soft: #A3A68C;
    --sage-pale: #E6E4D4;

    --ochre: #B98A35;
    --ochre-light: #D3AC62;
    --ochre-pale: #F2E2BF;
    --ochre-btn: #9C6E20;
    --ochre-btn-hover: #855C17;
    --ochre-text: #855B16;

    --ink: #3D3329;
    --text: #4A4239;
    --muted: #6F665A;

    --danger: #A33A2C;
    --danger-pale: #F8E6E1;
    --warning: #C77B1C;
    --ok: #4F7A4A;

    /* Typographies */
    --f-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --f-sans: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
    --f-script: 'Dancing Script', 'Brush Script MT', cursive;
    --f-hand: 'Caveat', 'Segoe Print', cursive;

    /* Formes */
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(61, 51, 41, 0.06);
    --shadow: 0 14px 40px rgba(61, 51, 41, 0.10);
    --shadow-lg: 0 30px 80px rgba(61, 51, 41, 0.16);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --container: 1200px;
    --gutter: 24px;
    --header-h: 84px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--cream);
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(255, 255, 255, 0.65) 0%, transparent 45%),
        radial-gradient(ellipse at 100% 30%, rgba(234, 219, 196, 0.45) 0%, transparent 40%);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Grain papier très léger */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

/* Les longues adresses e-mail passent à la ligne au lieu de déborder */
a[href^="mailto:"],
.aside-card,
.dir-card,
.form-card {
    overflow-wrap: anywhere;
}

.btn {
    max-width: 100%;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: none;
    border: none;
}

h1, h2, h3, h4 {
    font-family: var(--f-serif);
    color: var(--ink);
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -0.005em;
}

p a,
.prose li a:not([class]),
.legal li a:not([class]) {
    color: var(--sage-dark);
    text-decoration: underline;
    text-decoration-color: rgba(108, 112, 87, 0.45);
    text-underline-offset: 3px;
    transition: color 0.25s, text-decoration-color 0.25s;
}

p a:hover,
.prose li a:not([class]):hover,
.legal li a:not([class]):hover {
    color: var(--ochre-text);
    text-decoration-color: var(--ochre);
}

strong {
    color: var(--ink);
    font-weight: 700;
}

::selection {
    background: var(--ochre-pale);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid var(--ochre);
    outline-offset: 3px;
    border-radius: 6px;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--sage-deep);
    color: var(--cream);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

.script {
    font-family: var(--f-script);
    font-weight: 600;
    letter-spacing: 0;
}

.hand {
    font-family: var(--f-hand);
    font-weight: 500;
}

.caps {
    font-family: var(--f-sans);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* ---------- Bandeau d'urgence ---------- */
.topbar {
    background: var(--sage-night);
    color: rgba(248, 241, 231, 0.85);
    font-size: 0.85rem;
    z-index: 60;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
}

.topbar-help {
    display: flex;
    align-items: center;
    gap: 6px 18px;
    flex-wrap: wrap;
}

.topbar-help .icon {
    color: var(--ochre-light);
}

.topbar-help a {
    color: var(--cream);
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px dotted rgba(248, 241, 231, 0.45);
}

.topbar-help a:hover {
    color: var(--ochre-light);
}

.topbar-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar-exit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(248, 241, 231, 0.1);
    border: 1px solid rgba(248, 241, 231, 0.25);
    color: var(--cream);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: background 0.25s;
}

.topbar-exit:hover {
    background: var(--danger);
    border-color: var(--danger);
}

.topbar-exit kbd {
    font-family: var(--f-sans);
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(248, 241, 231, 0.18);
}

/* ---------- En-tête ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 241, 231, 0.86);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    border-bottom: 1px solid rgba(185, 138, 53, 0.14);
    transition: box-shadow 0.4s var(--ease), background 0.4s;
}

.site-header.is-scrolled {
    background: rgba(250, 245, 237, 0.96);
    box-shadow: 0 8px 30px rgba(61, 51, 41, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img {
    width: 54px;
    height: 53px;
    transition: transform 0.6s var(--ease);
}

.brand:hover img {
    transform: rotate(-4deg) scale(1.04);
}

.brand-name {
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: 1.32rem;
    line-height: 1.02;
    color: var(--ink);
}

.brand-name small {
    display: block;
    font-family: var(--f-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-top: 5px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-list a {
    position: relative;
    display: block;
    padding: 10px 12px;
    font-size: 0.94rem;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text);
    border-radius: 10px;
    transition: color 0.25s, background 0.25s;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 18px;
    height: 8px;
    margin-left: -9px;
    background: url("../assets/brand/coeur.svg") center / contain no-repeat;
    opacity: 0;
    transform: translateY(4px) scale(0.6);
    transition: opacity 0.3s, transform 0.3s var(--ease);
}

.nav-list a:hover {
    color: var(--ink);
    background: rgba(185, 138, 53, 0.08);
}

.nav-list a[aria-current="page"] {
    color: var(--ink);
}

.nav-list a[aria-current="page"]::after,
.nav-list a:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(108, 112, 87, 0.25);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 50px;
    font-family: var(--f-sans);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.btn .icon {
    width: 1.15em;
    height: 1.15em;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--ochre-btn);
    color: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(156, 110, 32, 0.28);
}

.btn-gold:hover {
    background: var(--ochre-btn-hover);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 32px rgba(156, 110, 32, 0.34);
}

.btn-sage {
    background: var(--sage-dark);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(86, 90, 68, 0.25);
}

.btn-sage:hover {
    background: var(--sage-deep);
}

.btn-ghost {
    background: transparent;
    color: var(--sage-deep);
    border: 1.5px solid rgba(86, 90, 68, 0.4);
}

.btn-ghost:hover {
    border-color: var(--ochre);
    color: var(--ochre-text);
    background: rgba(255, 255, 255, 0.5);
}

.btn-light {
    background: var(--cream);
    color: var(--sage-deep);
}

.btn-light:hover {
    background: var(--white);
}

.btn-small {
    padding: 11px 20px;
    font-size: 0.8rem;
}

.header-cta {
    margin-left: 10px;
}

/* Bouton façon coup de pinceau */
.brush {
    position: relative;
    isolation: isolate;
}

.brush::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--brush-color, var(--sage));
    -webkit-mask: url("../assets/brand/brush-band.svg") center / 100% 100% no-repeat;
    mask: url("../assets/brand/brush-band.svg") center / 100% 100% no-repeat;
}

.brush-2::before {
    -webkit-mask-image: url("../assets/brand/brush-band-2.svg");
    mask-image: url("../assets/brand/brush-band-2.svg");
}

.brush-box::before {
    -webkit-mask-image: url("../assets/brand/brush-box.svg");
    mask-image: url("../assets/brand/brush-box.svg");
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(72px, 9vw, 120px) 0;
    position: relative;
}

.section-tight {
    padding: clamp(56px, 7vw, 88px) 0;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    position: relative;
}

.section-head .eyebrow {
    display: block;
    font-family: var(--f-script);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--ochre);
    line-height: 1.1;
    margin-bottom: 6px;
}

.section-head h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
}

.section-head .lead {
    margin-top: 16px;
    font-size: 1.12rem;
    color: var(--muted);
}

.section-head .ornament {
    display: block;
    width: 120px;
    margin: 18px auto 0;
}

.values {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.values span {
    color: var(--ochre);
    margin: 0 0.45em;
}

/* Note manuscrite scotchée */
.note {
    position: relative;
    display: inline-block;
    padding: 22px 26px 18px;
    background: #FBF5E8;
    font-family: var(--f-hand);
    font-size: 1.55rem;
    line-height: 1.15;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(61, 51, 41, 0.14), 0 1px 0 rgba(61, 51, 41, 0.05);
    transform: rotate(-3.5deg);
}

.note::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 86px;
    height: 24px;
    margin-left: -43px;
    background: rgba(226, 210, 178, 0.75);
    box-shadow: 0 1px 2px rgba(61, 51, 41, 0.08);
    transform: rotate(2deg);
}

.note .icon {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    color: var(--ochre);
    vertical-align: -0.05em;
}

/* ---------- Accueil : hero ---------- */
.hero {
    position: relative;
    padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px);
    overflow: hidden;
}

.hero .deco-l {
    left: -40px;
    top: 40px;
    width: 150px;
    transform: rotate(-12deg);
    opacity: 0.9;
}

.hero .deco-r {
    right: -36px;
    bottom: 30px;
    width: 140px;
    transform: rotate(14deg) scaleX(-1);
    opacity: 0.85;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) 1.45fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
}

.medallion {
    position: relative;
    text-align: center;
    padding: 36px 24px 30px;
    max-width: 380px;
    margin: 0 auto;
}

.medallion-arc {
    position: absolute;
    inset: -6px -10px auto;
    width: calc(100% + 20px);
    height: auto;
    color: var(--ochre);
    opacity: 0.75;
    z-index: -1;
}

.medallion-sprig {
    position: absolute;
    right: -34px;
    top: 44%;
    width: 74px;
    transform: rotate(12deg);
}

.medallion-emblem {
    width: clamp(120px, 14vw, 156px);
    margin: 0 auto 14px;
    animation: rise 1.2s var(--ease) both;
}

.wordmark {
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: clamp(2.6rem, 4.8vw, 3.5rem);
    line-height: 0.98;
    color: var(--ink);
    letter-spacing: -0.01em;
    animation: rise 1.2s 0.1s var(--ease) both;
}

.wordmark > span:not(.sr-only) {
    display: block;
}

.medallion-heart {
    width: 22px;
    margin: 12px auto 10px;
    color: var(--ochre);
}

.motto {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.9;
}

.motto span {
    color: var(--ochre);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 26px;
}

.hero-perm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-perm .icon {
    color: var(--sage);
}

.hero-perm a {
    color: var(--sage-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(108, 112, 87, 0.4);
    text-underline-offset: 3px;
}

.hero-main {
    position: relative;
}

.hero-title {
    text-align: center;
    margin-bottom: 18px;
    animation: rise 1.2s 0.2s var(--ease) both;
}

.hero-title .script {
    display: inline-block;
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    color: var(--sage-dark);
    line-height: 1.1;
    position: relative;
}

.hero-title .swirl {
    position: absolute;
    right: -76px;
    top: -6px;
    width: 92px;
}

.hero-title .values {
    display: block;
    margin-top: 8px;
}

.hero-photo {
    position: relative;
    border-radius: 46% 46% var(--radius-lg) var(--radius-lg) / 22% 22% var(--radius-lg) var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: rise 1.4s 0.3s var(--ease) both;
    aspect-ratio: 592 / 340;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slow-zoom 18s ease-in-out infinite alternate;
}

.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(248, 241, 231, 0.18) 0%, transparent 30%),
        radial-gradient(ellipse at 92% 70%, rgba(255, 214, 150, 0.35) 0%, transparent 40%);
    pointer-events: none;
}

.butterfly {
    position: absolute;
    width: 26px;
    z-index: 2;
    animation: flutter 6s ease-in-out infinite;
}

.butterfly.b1 { right: 13%; top: 18%; }
.butterfly.b2 { left: 9%; top: 9%; width: 20px; animation-delay: -2.4s; }

.hero-under {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin: -64px 0 0 -6%;
}

.hero-mission {
    --brush-color: var(--sage);
    position: relative;
    flex: 0 1 400px;
    padding: 46px 62px 40px;
    color: var(--cream);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.55;
    z-index: 3;
    animation: rise 1.2s 0.6s var(--ease) both;
}

.hero-mission strong {
    color: var(--white);
}

.hero-mission .icon {
    margin: 10px auto 0;
    width: 22px;
    height: 22px;
    color: var(--cream);
}

.hero-band {
    --brush-color: var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 40px);
    margin: 26px auto 0;
    padding: 20px 64px;
    max-width: 580px;
    color: var(--cream);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    list-style: none;
}

.hero-band li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.hero-band .icon {
    width: 22px;
    height: 22px;
    color: var(--ochre-pale);
}

.hero-note {
    position: relative;
    flex-shrink: 0;
    margin: 92px 4px 0 0;
    font-size: 1.45rem;
}

/* ---------- Aide immédiate ---------- */
.help {
    padding: 0 0 clamp(64px, 8vw, 96px);
}

.help-panel {
    position: relative;
    background: var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(185, 138, 53, 0.16);
}

.help-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.help-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.help-head p {
    color: var(--muted);
    max-width: 460px;
}

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

.help-card {
    position: relative;
    padding: 26px 24px 24px;
    border-radius: var(--radius);
    background: var(--cream);
    border: 1px solid rgba(108, 112, 87, 0.14);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-card-urgent {
    background: linear-gradient(160deg, #FBEDE8 0%, #F6E1DA 100%);
    border-color: rgba(163, 58, 44, 0.2);
}

.help-card h3 {
    font-family: var(--f-sans);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-card-urgent h3 {
    color: var(--danger);
}

.help-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: baseline;
}

.help-number {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--f-serif);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    transition: color 0.2s;
}

.help-number small {
    font-family: var(--f-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.help-number:hover {
    color: var(--danger);
}

.help-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.55;
}

.help-card .help-more {
    margin-top: auto;
    font-size: 0.88rem;
    color: var(--muted);
}

.help-safety {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: var(--sage-pale);
    color: var(--sage-deep);
    font-size: 0.95rem;
}

.help-safety .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ---------- Piliers ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pillar {
    position: relative;
    text-align: center;
    padding: 36px 24px 30px;
    background: rgba(252, 248, 242, 0.75);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(185, 138, 53, 0.14);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s;
}

.pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    background: var(--paper);
}

.pillar-num {
    position: absolute;
    top: 14px;
    right: 20px;
    font-family: var(--f-script);
    font-size: 1.6rem;
    color: var(--ochre);
    opacity: 0.6;
}

.icon-disc {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--sage-dark);
    color: var(--cream);
    box-shadow: 0 10px 24px rgba(86, 90, 68, 0.25);
}

.icon-disc .icon {
    width: 34px;
    height: 34px;
}

.icon-disc .badge-heart {
    position: absolute;
    right: -2px;
    bottom: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ochre);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--paper);
}

.icon-disc .badge-heart .icon {
    width: 13px;
    height: 13px;
}

.pillar h3 {
    margin: 20px 0 10px;
    font-family: var(--f-sans);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}

.pillar p {
    font-size: 0.96rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ---------- Permanence (reprise du visuel) ---------- */
.permanence {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 64px) clamp(20px, 6vw, 80px);
    text-align: center;
    border-radius: 40px;
    background: #FBF3E6;
    overflow: hidden;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.permanence-blob {
    position: absolute;
    z-index: -1;
    width: 46%;
    height: 70%;
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
}

.permanence-blob.l {
    left: -18%;
    top: -12%;
    background: rgba(234, 215, 184, 0.75);
}

.permanence-blob.r {
    right: -20%;
    bottom: -18%;
    background: rgba(210, 205, 178, 0.6);
}

.permanence-blob.r2 {
    right: -14%;
    top: -22%;
    width: 30%;
    background: rgba(234, 215, 184, 0.55);
}

.permanence .deco-l {
    left: -6px;
    top: 12%;
    width: 96px;
    transform: rotate(-18deg);
}

.permanence .deco-r {
    right: -10px;
    top: 16%;
    width: 96px;
    transform: rotate(18deg) scaleX(-1);
}

.permanence-emblem {
    width: 118px;
    margin: 0 auto 12px;
}

.permanence-name {
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    line-height: 1;
    color: #6B4A26;
}

.permanence-title {
    margin-top: 16px;
    font-family: var(--f-sans);
    font-weight: 800;
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage-dark);
}

.permanence-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 10px auto 22px;
    max-width: 380px;
    color: var(--sage);
}

.permanence-divider::before,
.permanence-divider::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: var(--ochre);
    opacity: 0.7;
}

.permanence-divider .icon {
    width: 30px;
    height: 30px;
}

.permanence-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
    max-width: 680px;
    margin: 0 auto;
    padding: 26px clamp(18px, 3vw, 34px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    box-shadow: 0 6px 22px rgba(61, 51, 41, 0.06);
    text-align: center;
}

.permanence-sep {
    width: 1.5px;
    background: var(--ochre);
    opacity: 0.55;
}

.permanence-col .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 6px;
    color: var(--sage-dark);
}

.permanence-label {
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.86rem;
    color: var(--sage-dark);
    padding-bottom: 10px;
    border-bottom: 2px dotted rgba(108, 112, 87, 0.45);
    margin-bottom: 12px;
}

.permanence-when {
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.permanence-where {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

.permanence-address {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px dotted rgba(108, 112, 87, 0.45);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
}

.permanence-text {
    margin: 22px auto 4px;
    max-width: 520px;
    font-size: 1.04rem;
    color: var(--text);
}

.permanence-script {
    font-family: var(--f-script);
    font-size: 1.7rem;
    color: var(--sage-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.permanence-script .icon {
    color: var(--ochre);
    width: 24px;
    height: 24px;
}

.permanence-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

/* ---------- Boîte à outils (aperçu) ---------- */
.tools-teaser {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(185, 138, 53, 0.18) 0%, transparent 45%),
        linear-gradient(160deg, var(--sage-deep) 0%, var(--sage-night) 100%);
    color: var(--cream);
    overflow: hidden;
}

.tools-teaser .section-head h2,
.tools-teaser h3 {
    color: var(--cream);
}

.tools-teaser .section-head .lead {
    color: rgba(248, 241, 231, 0.75);
}

.tools-teaser .eyebrow {
    color: var(--ochre-light) !important;
}

.tools-teaser .deco-r {
    right: -30px;
    top: -20px;
    width: 160px;
    opacity: 0.35;
    transform: rotate(160deg);
}

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

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 28px;
    border-radius: var(--radius-lg);
    background: rgba(248, 241, 231, 0.06);
    border: 1px solid rgba(248, 241, 231, 0.14);
    transition: background 0.4s, transform 0.5s var(--ease), border-color 0.4s;
}

.tool-card:hover {
    background: rgba(248, 241, 231, 0.11);
    border-color: rgba(211, 172, 98, 0.5);
    transform: translateY(-6px);
}

.tool-card h3 {
    font-size: 1.45rem;
}

.tool-card p {
    color: rgba(248, 241, 231, 0.78);
    font-size: 0.98rem;
    flex: 1;
}

.tool-card .tool-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ochre-light);
}

.tool-card:hover .tool-link .icon {
    transform: translateX(4px);
}

.tool-link .icon {
    transition: transform 0.3s var(--ease);
}

.tool-visual {
    height: 92px;
    display: flex;
    align-items: center;
}

.mini-gauge {
    width: 100%;
    height: 18px;
    border-radius: 20px;
    background: linear-gradient(90deg, #6E9A5C 0%, #A4B05A 22%, #E3B24A 45%, #E08A3C 62%, #CF5A3A 80%, #A33A2C 100%);
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.mini-gauge::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 64%;
    width: 4px;
    height: 36px;
    border-radius: 3px;
    background: var(--cream);
    box-shadow: 0 0 0 3px rgba(248, 241, 231, 0.2);
    animation: needle 4s ease-in-out infinite alternate;
}

.mini-wheel {
    width: 92px;
    height: 92px;
}

.mini-dir {
    display: flex;
    gap: 8px;
}

.mini-dir span {
    font-family: var(--f-serif);
    font-weight: 700;
    font-size: 1.35rem;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(248, 241, 231, 0.1);
    color: var(--cream);
}

/* ---------- Soutenir (reprise du flyer) ---------- */
.support {
    overflow: hidden;
}

.support .deco-l {
    left: -30px;
    top: 30%;
    width: 120px;
    transform: rotate(-8deg);
}

.support .deco-r {
    right: -30px;
    top: 34%;
    width: 120px;
    transform: rotate(10deg) scaleX(-1);
}

.open-title {
    text-align: center;
    line-height: 0.95;
    margin-bottom: 8px;
}

.open-title .l1 {
    display: block;
    font-family: var(--f-script);
    font-weight: 600;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    color: var(--sage-dark);
}

.open-title .l2 {
    display: inline-block;
    font-family: var(--f-script);
    font-weight: 700;
    font-size: clamp(3.4rem, 8vw, 6rem);
    color: var(--ochre);
    position: relative;
}

.open-title .l2 .icon-swirl {
    position: absolute;
    right: -110px;
    bottom: 6px;
    width: 120px;
}

.support-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    max-width: 820px;
    margin: 36px auto 0;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(185, 138, 53, 0.3);
}

.gold-heart {
    width: 112px;
    filter: drop-shadow(0 10px 18px rgba(156, 110, 32, 0.25));
}

.support-intro h3 {
    font-family: var(--f-sans);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.support-intro p {
    color: var(--text);
    font-size: 1.05rem;
}

.support-intro .price {
    color: var(--ochre-text);
    font-weight: 800;
}

.support-title {
    text-align: center;
    font-size: clamp(1.7rem, 3.4vw, 2.35rem);
    margin: 40px 0 34px;
}

.support-title img {
    display: inline-block;
    width: 70px;
    vertical-align: middle;
    margin-left: 8px;
}

.support-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
    margin: 0 auto;
}

.support-col {
    text-align: center;
    padding: 6px clamp(16px, 3vw, 36px) 10px;
    position: relative;
}

.support-col + .support-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6%;
    bottom: 6%;
    width: 1.5px;
    background: linear-gradient(transparent, var(--ochre), transparent);
    opacity: 0.6;
}

.support-col h3 {
    margin: 18px 0 8px;
    font-family: var(--f-sans);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.support-col p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.price-tag {
    display: inline-block;
    margin: 14px 0 12px;
    padding: 6px 18px;
    border-radius: 6px;
    background: var(--ochre-btn);
    color: var(--white);
    font-weight: 800;
    font-size: 1.15rem;
}

.support-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--muted);
}

.support-plus .icon {
    color: var(--ochre);
}

.support-or {
    display: block;
    font-family: var(--f-script);
    font-size: 1.3rem;
    color: var(--ochre-text);
    margin: 4px 0 0;
}

.support-honor {
    display: block;
    font-family: var(--f-script);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ochre);
    line-height: 1.1;
}

.support-each {
    display: block;
    margin-top: 12px;
    font-family: var(--f-script);
    font-size: 1.55rem;
    color: var(--sage-dark);
}

.support-each .icon {
    display: block;
    width: 24px;
    margin: 0 auto 4px;
    color: var(--ochre);
}

.support-bottom {
    display: grid;
    grid-template-columns: 1fr 1.15fr auto;
    gap: 28px;
    align-items: center;
    margin-top: 56px;
}

.support-quote {
    --brush-color: var(--sage);
    padding: 34px 64px;
    color: var(--cream);
    text-align: center;
}

.support-quote p {
    font-family: var(--f-serif);
    font-size: 1.12rem;
    line-height: 1.35;
    color: var(--white);
}

.support-quote .script {
    display: block;
    margin-top: 6px;
    font-size: 1.45rem;
    color: var(--ochre-pale);
    line-height: 1.15;
}

.join-cta {
    --brush-color: var(--ochre);
    display: block;
    padding: 32px 68px;
    text-align: center;
    color: var(--white);
    transition: transform 0.4s var(--ease), filter 0.3s;
}

.join-cta:hover {
    transform: translateY(-3px) rotate(-0.6deg);
    filter: brightness(1.04) saturate(1.05);
}

.join-cta strong {
    display: block;
    font-family: var(--f-serif);
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(110, 70, 10, 0.35);
}

.join-cta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(110, 70, 10, 0.4);
}

.join-cta .icon {
    width: 26px;
    height: 26px;
}

.thanks-note {
    font-size: 1.5rem;
    transform: rotate(4deg);
    max-width: 210px;
}

/* ---------- Fondatrice ---------- */
.founder > *,
.split > *,
.contact-layout > *,
.hero-grid > * {
    min-width: 0;
}

.founder {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.founder-photo {
    position: relative;
    max-width: 440px;
}

.founder-photo img:not(.deco) {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.founder-photo .deco {
    left: -46px;
    bottom: 40px;
    width: 110px;
    transform: rotate(-20deg);
    z-index: 2;
}

.founder-photo .note {
    position: absolute;
    right: -26px;
    bottom: -22px;
    font-size: 1.35rem;
    z-index: 3;
}

.founder-text .eyebrow {
    font-family: var(--f-script);
    font-size: 1.9rem;
    color: var(--ochre);
    line-height: 1;
}

.founder-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 6px 0 18px;
}

.founder-text p {
    margin-bottom: 16px;
}

.founder-text blockquote {
    margin: 22px 0 26px;
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--ochre);
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--ink);
}

/* ---------- Presse ---------- */
.press-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 30px 34px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(185, 138, 53, 0.18);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s, transform 0.4s var(--ease);
}

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

.press-logo {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: var(--sage-dark);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.press-logo .icon {
    width: 40px;
    height: 40px;
}

.press-meta {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ochre-text);
}

.press-card h3 {
    font-size: 1.4rem;
    margin: 4px 0 6px;
}

.press-card p {
    color: var(--muted);
    font-size: 0.98rem;
}

/* ---------- Partenaires ---------- */
.partners {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 132px;
    padding: 18px 14px;
    text-align: center;
    border-radius: var(--radius);
    background: rgba(252, 248, 242, 0.8);
    border: 1px solid rgba(108, 112, 87, 0.15);
    transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}

.partner:hover {
    border-color: var(--ochre);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.partner-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-pale);
    color: var(--sage-dark);
}

.partner-mark .icon {
    width: 22px;
    height: 22px;
}

.partner strong {
    font-family: var(--f-serif);
    font-size: 1rem;
    line-height: 1.25;
}

.partner small {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Communauté (groupe Facebook) ---------- */
.community {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: clamp(32px, 5vw, 52px) clamp(28px, 5vw, 60px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(211, 172, 98, 0.25) 0%, transparent 50%),
        linear-gradient(140deg, var(--sage-dark) 0%, var(--sage-deep) 100%);
    color: var(--cream);
    overflow: hidden;
}

.community h2 {
    color: var(--cream);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.community .script {
    display: block;
    font-size: 1.7rem;
    color: var(--ochre-light);
    margin-bottom: 4px;
}

.community p {
    color: rgba(248, 241, 231, 0.82);
    margin-top: 10px;
    max-width: 560px;
}

.community .deco {
    right: 30%;
    bottom: -60px;
    width: 120px;
    opacity: 0.25;
    transform: rotate(80deg);
}

/* ---------- Pages intérieures ---------- */
.page-hero {
    position: relative;
    padding: clamp(48px, 7vw, 92px) 0 clamp(44px, 6vw, 72px);
    text-align: center;
    overflow: hidden;
}

.page-hero .deco-l {
    left: -20px;
    top: 10px;
    width: 120px;
    transform: rotate(-16deg);
}

.page-hero .deco-r {
    right: -24px;
    bottom: -10px;
    width: 120px;
    transform: rotate(16deg) scaleX(-1);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumb li + li::before {
    content: '›';
    margin-right: 8px;
    color: var(--ochre);
}

.breadcrumb a {
    color: var(--sage-dark);
    font-weight: 700;
}

.page-hero .eyebrow {
    display: block;
    font-family: var(--f-script);
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    color: var(--ochre);
    line-height: 1;
}

.page-hero h1 {
    font-size: clamp(2.3rem, 5.4vw, 3.8rem);
    margin: 8px auto 0;
    max-width: 860px;
}

.page-hero .lead {
    max-width: 680px;
    margin: 20px auto 0;
    font-size: 1.15rem;
    color: var(--muted);
}

.page-hero .ornament {
    width: 130px;
    margin: 22px auto 0;
}

/* Blocs de contenu */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.split-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.prose h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    margin-bottom: 18px;
}

.prose h3 {
    font-size: 1.4rem;
    margin: 28px 0 10px;
}

.prose p {
    margin-bottom: 16px;
}

.prose ul {
    margin: 0 0 18px;
    padding-left: 0;
    list-style: none;
}

.prose ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 14px;
    height: 12px;
    background: url("../assets/brand/coeur.svg") center / contain no-repeat;
}

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

.card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(185, 138, 53, 0.15);
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

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

.card h3 {
    font-size: 1.35rem;
    margin: 18px 0 10px;
}

.card p {
    color: var(--muted);
    font-size: 0.98rem;
}

.card .icon-disc {
    width: 62px;
    height: 62px;
}

.card .icon-disc .icon {
    width: 28px;
    height: 28px;
}

.id-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(185, 138, 53, 0.18);
    overflow: hidden;
}

.id-card div {
    padding: 24px 22px;
}

.id-card div + div {
    border-left: 1px dashed rgba(185, 138, 53, 0.35);
}

.id-card dt {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ochre-text);
    margin-bottom: 6px;
}

.id-card dd {
    font-family: var(--f-serif);
    font-size: 1.08rem;
    color: var(--ink);
    line-height: 1.4;
}

/* Étapes */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    counter-reset: step;
    position: relative;
}

.step {
    position: relative;
    padding: 30px 26px 26px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(108, 112, 87, 0.16);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ochre-pale);
    color: var(--ochre-text);
    font-family: var(--f-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 0.98rem;
}

/* FAQ */
.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq details {
    border-bottom: 1px solid rgba(185, 138, 53, 0.25);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    cursor: pointer;
    list-style: none;
    font-family: var(--f-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
}

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

.faq summary .icon {
    width: 22px;
    height: 22px;
    color: var(--ochre);
    transition: transform 0.35s var(--ease);
}

.faq details[open] summary .icon {
    transform: rotate(180deg);
}

.faq details p {
    padding: 0 4px 22px;
    color: var(--text);
}

/* ---------- Boîte à outils ---------- */
.toolbox-nav {
    position: sticky;
    top: calc(var(--header-h) + 8px);
    z-index: 20;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
    margin: 0 auto 8px;
    max-width: max-content;
    border-radius: 50px;
    background: rgba(252, 248, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(185, 138, 53, 0.18);
}

.toolbox-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--sage-deep);
    transition: background 0.25s, color 0.25s;
}

.toolbox-nav a:hover,
.toolbox-nav a.is-active {
    background: var(--sage-dark);
    color: var(--cream);
}

.toolbox-nav .icon {
    width: 17px;
    height: 17px;
}

.tool-section {
    scroll-margin-top: calc(var(--header-h) + 90px);
}

.tool-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tool-head .eyebrow {
    font-family: var(--f-script);
    font-size: 1.8rem;
    color: var(--ochre);
    line-height: 1;
}

.tool-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin-top: 4px;
}

.tool-head p {
    color: var(--muted);
    max-width: 520px;
}

.disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--sage-pale);
    color: var(--sage-deep);
    font-size: 0.92rem;
}

.disclaimer .icon {
    margin-top: 2px;
    color: var(--sage-dark);
}

/* Violentomètre */
.violento {
    display: grid;
    grid-template-columns: 120px 1fr minmax(260px, 340px);
    gap: 28px;
    align-items: start;
}

.v-ruler {
    position: sticky;
    top: calc(var(--header-h) + 100px);
    height: 520px;
    border-radius: 60px;
    padding: 10px;
    background: var(--paper);
    border: 1px solid rgba(61, 51, 41, 0.1);
    box-shadow: var(--shadow-sm);
}

.v-ruler-track {
    position: relative;
    height: 100%;
    width: 46px;
    margin: 0 auto;
    border-radius: 40px;
    background: linear-gradient(180deg, #5F9150 0%, #94AC52 20%, #E2B44A 34%, #E5953D 50%, #DA6B39 66%, #C04A33 82%, #962F24 100%);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

.v-ruler-ticks {
    position: absolute;
    inset: 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.v-ruler-ticks i {
    display: block;
    height: 2px;
    width: 14px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 2px;
}

.v-ruler-ticks i:nth-child(5n+1) {
    width: 24px;
}

.v-needle {
    position: absolute;
    left: -14px;
    right: -14px;
    top: calc(var(--pos, 0%) - 3px);
    height: 6px;
    border-radius: 6px;
    background: var(--ink);
    box-shadow: 0 0 0 3px rgba(252, 248, 242, 0.9), 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: top 0.8s var(--ease), opacity 0.4s;
    opacity: 0;
}

.v-needle.is-on {
    opacity: 1;
}

.v-zone-labels {
    position: absolute;
    left: calc(100% + 6px);
    top: 0;
    bottom: 0;
    display: none;
}

.v-list {
    display: grid;
    gap: 26px;
}

.v-group {
    border-radius: var(--radius-lg);
    padding: 22px 22px 18px;
    background: var(--paper);
    border: 1px solid rgba(61, 51, 41, 0.08);
}

.v-group h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-sans);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.v-group h3 .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.v-group-green h3 { color: #3F6B33; }
.v-group-green .dot { background: #5F9150; }
.v-group-orange h3 { color: #9A5A12; }
.v-group-orange .dot { background: #E5953D; }
.v-group-red h3 { color: var(--danger); }
.v-group-red .dot { background: #C04A33; }

.v-group > p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 14px;
}

.v-items {
    display: grid;
    gap: 8px;
    list-style: none;
}

.v-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--cream);
    border: 1.5px solid transparent;
    font-size: 0.98rem;
    line-height: 1.4;
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.v-item:hover {
    transform: translateX(3px);
    border-color: rgba(108, 112, 87, 0.3);
}

.v-item .v-check {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 2px solid rgba(61, 51, 41, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    transition: background 0.2s, border-color 0.2s;
}

.v-item .v-check .icon {
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.25s var(--ease);
}

.v-item[aria-pressed="true"] .v-check .icon {
    opacity: 1;
    transform: scale(1);
}

.v-group-green .v-item[aria-pressed="true"] { background: #E8F0E2; border-color: #8DB07E; }
.v-group-green .v-item[aria-pressed="true"] .v-check { background: #5F9150; border-color: #5F9150; }
.v-group-orange .v-item[aria-pressed="true"] { background: #FBEBD6; border-color: #E5A35A; }
.v-group-orange .v-item[aria-pressed="true"] .v-check { background: #D9822F; border-color: #D9822F; }
.v-group-red .v-item[aria-pressed="true"] { background: #F8E1DB; border-color: #D47A66; }
.v-group-red .v-item[aria-pressed="true"] .v-check { background: #B83E2C; border-color: #B83E2C; }

.v-result {
    position: sticky;
    top: calc(var(--header-h) + 100px);
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(61, 51, 41, 0.1);
    box-shadow: var(--shadow);
    transition: background 0.5s, border-color 0.5s;
}

.v-result[data-level="green"] { background: #EEF4E9; border-color: #A9C79B; }
.v-result[data-level="orange"] { background: #FCF0DF; border-color: #EBB678; }
.v-result[data-level="red"] { background: #FAE6E0; border-color: #DA907E; }

.v-result-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.v-result h3 {
    font-size: 1.55rem;
    margin: 8px 0 10px;
}

.v-result[data-level="green"] h3 { color: #3F6B33; }
.v-result[data-level="orange"] h3 { color: #9A5A12; }
.v-result[data-level="red"] h3 { color: var(--danger); }

.v-result p {
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.v-result-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.v-result-actions .btn {
    width: 100%;
}

.v-reset {
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sage-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Roue de l'emprise */
.wheel-wrap {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.9fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.wheel {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(61, 51, 41, 0.15));
}

.wheel .seg path {
    transition: fill 0.35s, transform 0.45s var(--ease);
    transform-origin: 300px 300px;
    cursor: pointer;
}

.wheel .seg:hover path,
.wheel .seg:focus path,
.wheel .seg.is-active path {
    fill: var(--sage-dark);
}

.wheel .seg.is-active path {
    transform: scale(1.035);
}

.wheel .seg text {
    font-family: var(--f-sans);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    fill: var(--ink);
    pointer-events: none;
    transition: fill 0.3s;
}

.wheel .seg:hover text,
.wheel .seg:focus text,
.wheel .seg.is-active text {
    fill: var(--cream);
}

.wheel .seg:focus {
    outline: none;
}

.wheel .seg:focus-visible path {
    stroke: var(--ochre);
    stroke-width: 4;
}

.wheel-panel {
    padding: 32px 30px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(185, 138, 53, 0.2);
    box-shadow: var(--shadow);
    min-height: 360px;
}

.wheel-panel .num {
    font-family: var(--f-script);
    font-size: 2rem;
    color: var(--ochre);
    line-height: 1;
}

.wheel-panel h3 {
    font-size: 1.7rem;
    margin: 6px 0 8px;
}

.wheel-panel .def {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--sage-dark);
    margin-bottom: 14px;
}

.wheel-panel ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.wheel-panel li {
    position: relative;
    padding-left: 24px;
}

.wheel-panel li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ochre);
}

.wheel-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

.wheel-list {
    display: none;
}

.no-js .wheel-list {
    display: grid;
    gap: 18px;
    list-style: none;
    margin-top: 28px;
}

.no-js .wheel-panel {
    display: none;
}

.wheel-panel:focus {
    outline: none;
}

.wheel-panel-body.is-entering {
    animation: rise 0.5s var(--ease) both;
}

.wheel-outer-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: #F6E4DE;
    color: #7A2E22;
    font-size: 0.95rem;
}

/* Cycle de la violence */
.cycle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}

.cycle-step {
    position: relative;
    padding: 26px 22px 22px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border-top: 5px solid var(--c);
    box-shadow: var(--shadow-sm);
}

.cycle-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 2.5px solid var(--ochre);
    border-right: 2.5px solid var(--ochre);
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
}

.cycle-step .phase {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.cycle-step h3 {
    font-size: 1.3rem;
    margin: 6px 0 10px;
}

.cycle-step p {
    font-size: 0.95rem;
    color: var(--text);
}

.cycle-step p + p {
    margin-top: 8px;
    color: var(--muted);
}

.cycle-note {
    margin-top: 22px;
    text-align: center;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.12rem;
    color: var(--ink);
}

/* Annuaire */
.dir-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.dir-filter {
    padding: 10px 18px;
    border-radius: 50px;
    border: 1.5px solid rgba(108, 112, 87, 0.3);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sage-deep);
    transition: all 0.25s;
}

.dir-filter:hover {
    border-color: var(--ochre);
}

.dir-filter[aria-pressed="true"] {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    color: var(--cream);
}

.dir-group + .dir-group {
    margin-top: 40px;
}

.dir-group[hidden] {
    display: none;
}

.dir-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-serif);
    font-size: 1.45rem;
    margin-bottom: 16px;
}

.dir-group-title .icon {
    width: 28px;
    height: 28px;
    color: var(--ochre);
}

.dir-group-source {
    font-size: 0.82rem;
    color: var(--muted);
    margin: -8px 0 16px;
}

.dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
    gap: 16px;
}

.dir-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 22px 20px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid rgba(61, 51, 41, 0.08);
    box-shadow: var(--shadow-sm);
}

.dir-card-urgent {
    border-color: rgba(163, 58, 44, 0.22);
    background: #FDF5F2;
}

.dir-card h4 {
    font-family: var(--f-serif);
    font-size: 1.12rem;
    line-height: 1.3;
}

.dir-card .dir-desc {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.5;
}

.dir-card address {
    font-style: normal;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
}

.dir-card .dir-hours {
    font-size: 0.86rem;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.dir-card .dir-hours .icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--sage);
}

.dir-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.dir-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 800;
    background: var(--sage-pale);
    color: var(--sage-deep);
    transition: background 0.25s, color 0.25s;
    word-break: break-word;
}

.dir-btn:hover {
    background: var(--sage-dark);
    color: var(--cream);
}

.dir-btn-call {
    background: var(--sage-dark);
    color: var(--cream);
}

.dir-btn-call:hover {
    background: var(--sage-deep);
}

.dir-card-urgent .dir-btn-call {
    background: var(--danger);
}

.dir-btn .icon {
    width: 16px;
    height: 16px;
}

.big-num {
    font-family: var(--f-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.dir-card-urgent .big-num {
    color: var(--danger);
}

/* Sécurité numérique */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.safety-item {
    padding: 24px 22px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid rgba(108, 112, 87, 0.15);
}

.safety-item .icon {
    width: 30px;
    height: 30px;
    color: var(--sage-dark);
    margin-bottom: 12px;
}

.safety-item h3 {
    font-size: 1.12rem;
    margin-bottom: 6px;
}

.safety-item p {
    font-size: 0.94rem;
    color: var(--muted);
}

kbd {
    font-family: var(--f-sans);
    font-size: 0.82em;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 5px;
    background: var(--cream-2);
    border: 1px solid rgba(61, 51, 41, 0.15);
    color: var(--ink);
    white-space: nowrap;
}

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

.doc-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid rgba(185, 138, 53, 0.2);
    transition: border-color 0.3s, transform 0.4s var(--ease);
}

.doc-link:hover {
    border-color: var(--ochre);
    transform: translateY(-3px);
}

.doc-link .icon {
    width: 32px;
    height: 32px;
    color: var(--ochre);
}

.doc-link strong {
    display: block;
    font-family: var(--f-serif);
    font-size: 1.04rem;
    line-height: 1.3;
}

.doc-link span {
    font-size: 0.84rem;
    color: var(--muted);
}

/* ---------- Formulaire ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.form-card {
    padding: clamp(26px, 4vw, 44px);
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(185, 138, 53, 0.18);
    box-shadow: var(--shadow);
}

.form-card h2 {
    font-size: 1.9rem;
}

.form-card > p {
    color: var(--muted);
    margin: 8px 0 22px;
}

.form-safety {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--sage-pale);
    color: var(--sage-deep);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 22px;
}

.form-safety .icon {
    margin-top: 2px;
}

.form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field label,
.field legend {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sage-deep);
}

.field .hint {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid rgba(61, 51, 41, 0.15);
    border-radius: 12px;
    padding: 13px 15px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23565A44' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(108, 112, 87, 0.16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--danger);
    background: #FFF8F6;
}

fieldset.field {
    border: none;
}

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

.choice {
    position: relative;
}

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

.choice span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1.5px solid rgba(61, 51, 41, 0.15);
    background: var(--white);
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.choice input:checked + span {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    color: var(--cream);
}

.choice input:focus-visible + span {
    outline: 3px solid var(--ochre);
    outline-offset: 2px;
}

.form-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
    cursor: pointer;
}

.consent input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--sage-dark);
    flex-shrink: 0;
}

.consent.has-error span {
    color: var(--danger);
}

.form-submit {
    justify-self: start;
}

.form-submit[disabled] {
    opacity: 0.7;
    cursor: progress;
    transform: none;
}

.form-status:empty {
    display: none;
}

.form-status {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.96rem;
}

.form-status.is-success {
    background: #EAF2E6;
    color: #335B2D;
}

.form-status.is-error {
    background: var(--danger-pale);
    color: var(--danger);
}

.aside-stack {
    display: grid;
    gap: 18px;
}

.aside-card {
    padding: 26px 24px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid rgba(108, 112, 87, 0.16);
}

.aside-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aside-card h3 .icon {
    color: var(--ochre);
}

.aside-card p {
    font-size: 0.97rem;
    color: var(--text);
}

.aside-card .btn {
    margin-top: 14px;
}

.aside-card-urgent {
    background: #FBEDE8;
    border-color: rgba(163, 58, 44, 0.2);
}

.aside-card-urgent h3 .icon {
    color: var(--danger);
}

/* Mentions légales */
.legal {
    max-width: 820px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 1.6rem;
    margin: 40px 0 12px;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal p,
.legal li {
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 22px;
}

/* ---------- Pied de page ---------- */
.site-footer {
    position: relative;
    margin-top: clamp(40px, 6vw, 80px);
    padding: 80px 0 0;
    background:
        radial-gradient(ellipse at 85% 0%, rgba(185, 138, 53, 0.16) 0%, transparent 45%),
        var(--sage-night);
    color: rgba(248, 241, 231, 0.78);
    overflow: hidden;
}

.site-footer .deco {
    left: -30px;
    top: -10px;
    width: 140px;
    opacity: 0.2;
    transform: rotate(200deg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 54px;
}

.footer-brand .brand-name {
    color: var(--cream);
    font-size: 1.5rem;
}

.footer-brand .brand-name small {
    color: var(--ochre-light);
}

.footer-brand img {
    width: 64px;
    height: 63px;
    background: var(--cream);
    border-radius: 50%;
    padding: 7px;
}

.footer-brand p {
    margin-top: 18px;
    font-size: 0.95rem;
    max-width: 330px;
}

.footer-brand .script {
    display: block;
    margin-top: 14px;
    font-size: 1.5rem;
    color: var(--ochre-light);
}

.site-footer .footer-title {
    font-family: var(--f-sans);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ochre-light);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(248, 241, 231, 0.82);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--ochre-light);
}

.footer-links a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    word-break: break-word;
}

.footer-links .icon {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
    color: var(--ochre-light);
}

.footer-perm {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-perm strong {
    color: var(--cream);
}

.footer-emergency {
    border-top: 1px solid rgba(248, 241, 231, 0.1);
    padding: 18px 0;
    font-size: 0.92rem;
    text-align: center;
    color: rgba(248, 241, 231, 0.75);
}

.footer-emergency a {
    color: var(--ochre-light);
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 241, 231, 0.1);
    padding: 18px 0 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: rgba(248, 241, 231, 0.62);
}

.footer-bottom a {
    color: rgba(248, 241, 231, 0.8);
}

.footer-bottom a:hover {
    color: var(--ochre-light);
}

/* ---------- Sortie rapide ---------- */
.quick-exit {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px 14px 18px;
    border-radius: 50px;
    background: var(--danger);
    color: var(--white);
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 30px rgba(163, 58, 44, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.85);
    transition: transform 0.3s var(--ease), background 0.25s;
}

.quick-exit:hover {
    background: #8A2E22;
    transform: translateY(-2px);
}

.quick-exit .icon {
    width: 20px;
    height: 20px;
}

.quick-exit small {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.85;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.mobile-bar {
    display: none;
}

/* ---------- Remonter en haut ---------- */
.to-top {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 890;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-dark);
    color: var(--cream);
    box-shadow: 0 10px 26px rgba(61, 51, 41, 0.28), 0 0 0 4px rgba(252, 248, 242, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease), background 0.25s;
}

.to-top.is-shown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: var(--ochre-btn);
    transform: translateY(-3px);
}

.to-top .icon {
    width: 22px;
    height: 22px;
}

/* ---------- Apparition au défilement ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.no-js .reveal {
    opacity: 1;
    transform: none;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@keyframes slow-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes flutter {
    0%, 100% { transform: translate(0, 0) rotate(-6deg); }
    50% { transform: translate(8px, -10px) rotate(8deg); }
}

@keyframes needle {
    from { left: 18%; }
    to { left: 78%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
    .nav-list a {
        padding: 10px 10px;
        font-size: 0.9rem;
    }
    .partners {
        grid-template-columns: repeat(3, 1fr);
    }
    .violento {
        grid-template-columns: 96px 1fr;
    }
    .v-result {
        grid-column: 1 / -1;
        position: static;
    }
}

@media (max-width: 1180px) {
    :root {
        --header-h: 74px;
    }
    /* Le flou d'arrière-plan enfermerait le menu dans l'en-tête : fond plein sur mobile */
    .site-header,
    .site-header.is-scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(250, 245, 237, 0.98);
    }
    .nav-toggle {
        display: inline-flex;
    }
    .nav {
        position: fixed;
        inset: var(--nav-top, var(--header-h)) 0 0 0;
        z-index: 49;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 18px;
        padding: 28px var(--gutter) 120px;
        background: var(--cream);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    }
    .nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
    }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nav-list a {
        font-family: var(--f-serif);
        font-size: 1.45rem;
        padding: 12px 8px;
        border-bottom: 1px solid rgba(185, 138, 53, 0.18);
        border-radius: 0;
    }
    .nav-list a::after {
        left: auto;
        right: 8px;
        top: 50%;
        bottom: auto;
        margin: -4px 0 0;
    }
    .header-cta {
        margin: 8px 0 0;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-main {
        max-width: 720px;
        margin: 0 auto;
        width: 100%;
    }
    .hero-under {
        flex-direction: column;
        align-items: center;
        margin: -24px 0 0;
    }
    .hero-mission {
        flex-basis: auto;
        width: min(480px, 100%);
    }
    .hero-band {
        margin-top: 26px;
    }
    .hero-note {
        margin: 6px auto 0;
    }
    .help-grid,
    .tool-cards,
    .cards-3,
    .steps,
    .docs,
    .safety-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pillars {
        grid-template-columns: 1fr 1fr;
    }
    /* 3 cartes sur 2 colonnes : la dernière occupe toute la largeur */
    .help-grid > :last-child:nth-child(odd),
    .tool-cards > :last-child:nth-child(odd),
    .cards-3 > :last-child:nth-child(odd),
    .steps > :last-child:nth-child(odd),
    .docs > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .support-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
    .founder,
    .split,
    .wheel-wrap,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .founder-photo {
        margin: 0 auto;
    }
    .cycle {
        grid-template-columns: 1fr 1fr;
    }
    .cycle-step:nth-child(2)::after {
        display: none;
    }
    .id-card {
        grid-template-columns: 1fr 1fr;
    }
    .id-card div:nth-child(3) {
        border-left: none;
    }
    .id-card div:nth-child(n+3) {
        border-top: 1px dashed rgba(185, 138, 53, 0.35);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --gutter: 16px;
    }
    body {
        font-size: 1rem;
        padding-bottom: 72px;
    }
    .topbar .container {
        min-height: 38px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .topbar-label-text,
    .topbar-exit {
        display: none;
    }
    .topbar-help {
        font-size: 0.8rem;
        justify-content: center;
        width: 100%;
        gap: 4px 14px;
    }
    .brand img {
        width: 46px;
        height: 45px;
    }
    .brand-name {
        font-size: 1.15rem;
    }
    .brand-name small {
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }
    .medallion-sprig {
        right: -6px;
        width: 54px;
    }
    .hero .deco-l,
    .hero .deco-r {
        width: 90px;
        opacity: 0.5;
    }
    .hero-title .swirl {
        display: none;
    }
    .hero-band {
        flex-direction: column;
        gap: 8px;
        padding: 24px 40px;
        max-width: 300px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .btn {
        white-space: normal;
    }
    .medallion-arc {
        inset: -18px 8% auto;
        width: 84%;
    }
    .support .deco,
    .founder-photo .deco {
        display: none;
    }
    .founder-photo .note {
        right: 8px;
        bottom: -18px;
        font-size: 1.2rem;
    }
    .hero-mission {
        padding: 40px 48px 34px;
    }
    .help-grid,
    .tool-cards,
    .pillars,
    .cards-3,
    .steps,
    .docs,
    .safety-grid,
    .cycle {
        grid-template-columns: 1fr;
    }
    .cycle-step::after {
        display: none;
    }
    .permanence {
        border-radius: 28px;
    }
    .permanence .deco-l,
    .permanence .deco-r {
        width: 56px;
        opacity: 0.6;
    }
    .permanence-box {
        grid-template-columns: 1fr;
    }
    .permanence-sep {
        width: 60%;
        height: 1.5px;
        margin: 0 auto;
    }
    .support-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gold-heart {
        margin: 0 auto;
        width: 88px;
    }
    .open-title .l2 .icon-swirl {
        display: none;
    }
    .support-cols {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .support-col + .support-col::before {
        left: 20%;
        right: 20%;
        top: -18px;
        bottom: auto;
        width: auto;
        height: 1.5px;
        background: linear-gradient(90deg, transparent, var(--ochre), transparent);
    }
    .join-cta {
        padding: 26px 34px;
    }
    .press-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .partners {
        grid-template-columns: 1fr 1fr;
    }
    .community {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .community p {
        margin-left: auto;
        margin-right: auto;
    }
    .id-card {
        grid-template-columns: 1fr;
    }
    .id-card div + div {
        border-left: none;
        border-top: 1px dashed rgba(185, 138, 53, 0.35);
    }
    .violento {
        grid-template-columns: 1fr;
    }
    .v-ruler {
        position: sticky;
        top: calc(var(--header-h) + 6px);
        z-index: 5;
        height: 54px;
        border-radius: 30px;
        padding: 8px;
    }
    .v-ruler-track {
        width: 100%;
        height: 38px;
        background: linear-gradient(90deg, #5F9150 0%, #94AC52 20%, #E2B44A 34%, #E5953D 50%, #DA6B39 66%, #C04A33 82%, #962F24 100%);
    }
    .v-ruler-ticks {
        inset: 0 14px;
        flex-direction: row;
    }
    .v-ruler-ticks i {
        width: 2px;
        height: 12px;
        margin: auto 0 0;
    }
    .v-ruler-ticks i:nth-child(5n+1) {
        width: 2px;
        height: 20px;
    }
    .v-needle {
        left: calc(var(--pos, 0%) - 3px);
        top: -10px;
        bottom: -10px;
        right: auto;
        width: 6px;
        height: auto;
        transition: left 0.8s var(--ease), opacity 0.4s;
    }
    .toolbox-nav {
        position: static;
        border-radius: var(--radius);
    }
    .wheel .seg text {
        font-size: 19px;
    }
    .wheel .ring-text {
        font-size: 15px;
        letter-spacing: 2px;
    }
    .wheel-panel {
        min-height: 0;
        padding: 26px 22px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-submit {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .quick-exit {
        display: none;
    }
    .to-top {
        left: auto;
        right: 14px;
        bottom: calc(84px + env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
    }
    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(47, 50, 38, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    }
    .mobile-bar a,
    .mobile-bar button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        border-radius: 14px;
        font-weight: 800;
        font-size: 0.92rem;
    }
    .mobile-bar a {
        background: rgba(248, 241, 231, 0.12);
        color: var(--cream);
    }
    .mobile-bar button {
        background: var(--danger);
        color: var(--white);
    }
    .mobile-bar .icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 380px) {
    .site-header .container {
        gap: 10px;
    }
    .brand {
        gap: 8px;
        min-width: 0;
    }
    .brand img {
        width: 40px;
        height: 39px;
    }
    .brand-name {
        font-size: 1.02rem;
    }
    .brand-name small {
        font-size: 0.5rem;
        letter-spacing: 0.08em;
    }
    .nav-toggle {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
    .topbar-help {
        font-size: 0.74rem;
        gap: 2px 10px;
    }
    .btn {
        padding: 14px 18px;
        letter-spacing: 0.03em;
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .topbar,
    .site-header,
    .quick-exit,
    .mobile-bar,
    .site-footer,
    .deco {
        display: none !important;
    }
    body::before {
        display: none;
    }
}
