@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Syne:wght@600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=DM+Sans:wght@400;500;700&family=Syne:wght@600;700;800&display=swap');

:root {
    --kalfu: #0033a0; /* bleu profond Kalfü */
    --deep: #0d2836; /* ancien vert foncé -> bleu très sombre */
    --ink: #111613;
    --paper: #f5f2ea;
    --cream: #ebe7dc;
    --orange: #dc6b3d;
    --line: #c4cdd0; /* ligne légèrement bleutée */
    --serif: Georgia,serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans',sans-serif;
    font-size: 16px;
    line-height: 1.55
}

a {
    color: inherit
}

.shell {
    max-width: 1240px;
    margin: auto;
    padding-left: clamp(22px,5vw,72px);
    padding-right: clamp(22px,5vw,72px)
}

.site-header {
    height: 76px;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 clamp(22px,5vw,72px);
    background: rgba(250,249,245,.96);
    border-bottom: 2px solid var(--kalfu)
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none
}

.brand-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: var(--kalfu);
    color: #fff;
    border-radius: 50%;
    font-family: 'Bodoni Moda', serif; /*Syne tout court*/
    font-weight: 700;
    font-size: 21px
}

.brand-name {
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: .02em;
    text-transform: uppercase; /* font: 700 25px Syne;     letter-spacing: -1px*/
}

.mastodon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--paper)
    /* Optionnel : si vous voulez que l'icône prenne la couleur actuelle (comme .instagram-icon) */
    fill: currentColor; /* Pour SVG ou si vous utilisez une police d'icônes */
}

.mastodon-icon-tail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #000
    /* Optionnel : si vous voulez que l'icône prenne la couleur actuelle (comme .instagram-icon) */
    fill: currentColor; /* Pour SVG ou si vous utilisez une police d'icônes */
}

/* Style pour le logo Instagram */
.instagram-link, .mail-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--kalfu);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .instagram-link:hover, .mail-link:hover {
        background: #e1306c;
    }

.instagram-icon, .mail-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


.org-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--kalfu);
    padding-left: 16px;
    border-left: 1px solid var(--line)
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px
}

.language-toggle {
    border: 1px solid var(--kalfu);
    border-radius: 99px;
    padding: 3px;
    display: flex
}

.lang-btn {
    border: 0;
    background: transparent;
    border-radius: 99px;
    padding: 5px 10px;
    color: var(--kalfu);
    font: 700 11px 'DM Sans';
    cursor: pointer
}

    .lang-btn.is-active {
        background: var(--kalfu);
        color: #fff
    }

.support-link {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center
}

    .support-link:hover, .link-list a:hover {
        color: var(--orange)
    }

.hero {
    min-height: 590px;
    padding-top: 90px;
    padding-bottom: 92px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,.75fr) minmax(0,1.15fr);
    gap: clamp(34px,6vw,88px);
    align-items: center
}

.kicker, .section-index {
    color: var(--kalfu);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 18px
}

.caminar {
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 18px
}

/* Hero Title */
#hero-title {
    margin: 1.5rem 0 1rem 0;
}

    #hero-title span {
        font-family: 'Bodoni Moda', serif;
        font-weight: 700;
        font-size: clamp(48px, 6vw, 84px);
        text-transform: uppercase;
        letter-spacing: -.01em;
        display: block;
        line-height: .95;
    }

    #hero-title em {
        font-family: 'Bodoni Moda', serif;
        font-style: normal;
        font-weight: 650;
        font-size: 0.48em;
        color: var(--kalfu);
        letter-spacing: .01em;
        display: block;
        margin-top: .3em;
        text-transform: none;
    }

.hero h1 {
    font: 800 clamp(62px,8vw,126px)/.82 Syne;
    margin: 0 0 28px;
    letter-spacing: -.075em
}

    .hero h1 span {
        display: block
    }

    .hero h1 em {
        display: block;
        color: var(--kalfu);
        font: 700 clamp(37px,5vw,72px)/1.05 var(--serif);
        letter-spacing: -.06em
    }

.hero-intro {
    max-width: 380px;
    font-size: 17px;
    line-height: 1.58
}

    .hero-intro p {
        margin: 0
    }

.hero-rule {
    width: 70px;
    border-top: 3px solid var(--orange);
    margin: 30px 0 14px
}

.hero-note {
    font-size: 12px;
    color: #4b514b;
    margin: 0
}

.hero-art {
    position: relative;
    background: var(--blue, #0033a0);
    min-height: 410px;
    border-radius: 46% 46% 8px 8px;
    overflow: hidden
}

    .hero-art svg {
        width: 100%;
        height: 100%;
        display: block
    }

.star-eight {
    fill: #ffffff
}

.art-label {
    fill: #fff;
    font: 800 26px 'DM Sans';
    letter-spacing: .06em
}

.art-caption {
    position: absolute;
    right: 24px;
    bottom: 18px;
    margin: 0;
    text-align: right;
    color: #fff;
    font-size: 14px;
    line-height: 1.3
}


.stair-lines {
    font: 700 clamp(31px, 4vw, 57px)/1.02 Syne;
    color: var(--kalfu);
    letter-spacing: -.055em;
}

    /* Réduction ciblée pour l'espagnol si la 5e ligne dépasse */
    .stair-lines:lang(es),
    [lang="es"] .stair-lines {
        font-size: clamp(26px, 3.4vw, 48px);
    }

.line {
    display: block
}

    .line:nth-child(2) {
        margin-left: 8%
    }

    .line:nth-child(3) {
        margin-left: 20%
    }

    .line:nth-child(4) {
        margin-left: 8%
    }

    .line:nth-child(5) {
        margin-left: 22%
    }

    .line:nth-child(6) {
        margin-left: 32%
    }

.section {
    padding-top: 88px;
    padding-bottom: 88px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 38px
}

    .section-head h2 {
        font: 700 clamp(32px,4.5vw,57px)/1.02 Syne;
        letter-spacing: -.055em;
        max-width: 720px;
        margin: 0
    }

    .section-head h3 {
        font: 600 clamp(26px,4.5vw,48px)/1.08 Syne;
        letter-spacing: -.04em;
        max-width: 620px;
        margin: 0
    }

.section-index {
    margin: 0;
    white-space: nowrap
}

.path-grid, .resource-grid, .alliance-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px
}

.path-card, .resource-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
    min-height: 275px;
    display: flex;
    flex-direction: column
}

.card-top {
    display: flex;
    justify-content: space-between;
    color: var(--kalfu);
    font-size: 13px;
    font-weight: 700
}

.card-icon {
    font-size: 25px
}

.path-card h3, .resource-card h3 {
    font: 700 clamp(20px,2vw,26px)/1.08 Syne;
    margin: 35px 0 12px;
    letter-spacing: -.035em
}

.path-card p, .resource-card p {
    color: #303832;
    margin: 0;
    font-size: 15px
}

.card-arrow {
    margin-top: auto;
    align-self: end;
    font-size: 28px;
    color: var(--orange)
}

.about {
    background: var(--cream)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(35px,8vw,130px)
}

.about-copy {
    padding-top: 30px;
    font-size: 20px;
    line-height: 1.55;
    max-width: 530px
}

    .subhead {
        border-top: 1px solid #aeb7aa;
        padding-top: 20px;
        margin-bottom: 20px
    }


/* ===== STYLE POUR LES FONDATRICES - VERSION CORRIGÉE ===== */
.shell.founders {
    background: #f8f9fa;
    padding-bottom: 88px;
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* Carte Marilin C. mise en avant */
.resource-card.founder-card.highlighted {
    border: 2px solid var(--kalfu-deep);
    transform: scale(1.02);
}

/* Conteneur spécifique pour l'image 1:2 avec hauteur minimale */
.founder-image-container {
    width: 100%;
    aspect-ratio: 1 / 2; /* Ratio 1:2 (hauteur = 2x largeur) */
    min-height: 250px; /* Hauteur minimale pour éviter l'écrabouillement */
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #e0e0e0; /* Fond neutre si image pas chargée */
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Découpe automatique pour remplir le conteneur */
    object-position: center top; /* Découpe depuis le haut (pour garder le visage) */
    display: block;
}

/* Style des cartes fondatrices */
.resource-card.founder-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    min-height: 320px; /* Hauteur minimale pour la carte */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #c2ccd0;
    color: #5c6b72;
    font-size: 31px;
    margin-bottom: 16px;
}

.founder-card h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--ink);
}

.founder-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 12px;
}

.founder-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.founder-card li {
    margin-bottom: 4px;
}

/* Responsive - 1 colonne sur mobile */
@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .founder-image-container {
        aspect-ratio: 1 / 1.8; /* Ratio légèrement ajusté pour mobile */
        min-height: 150px;
    }

    .resource-card.founder-card {
        min-height: 280px;
    }
}

/* Conteneurs de niveaux - Structure flexible */
.founder-level-1,
.founder-level-2,
.founder-level-3 {
    width: 100%;
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
}

.founder-bio-ultra-short,
.founder-bio-short,
.founder-bio-full {
    margin-bottom: 12px;
}

.founder-bullets {
    margin-top: 12px;
    padding-left: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
}

    .founder-bullets li {
        margin-bottom: 4px;
    }

/* Liens de dépliage - Design minimaliste et aligné à droite */
.expand-bio-link {
    display: block;
    text-align: right;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--kalfu);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 2px 0;
}

    .expand-bio-link:hover {
        color: #2d5a3d;
        text-decoration: underline;
    }

/* Masquage correct des niveaux */
.hidden {
    display: none !important;
}

/* Responsive - Adaptation mobile */
@media (max-width: 768px) {
    .expand-bio-link {
        text-align: left;
        font-size: 0.9rem;
    }
}

.action-list {
    border-top: 1px solid var(--line)
}

    .action-list > div {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 20px;
        padding: 21px 0;
        border-bottom: 1px solid var(--line);
        align-items: center
    }

    .action-list span {
        color: var(--orange);
        font-weight: 700
    }

    .action-list p {
        margin: 0;
        font-size: 19px
    }

.commitment-title {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.resources {
    background: var(--deep);
    color: #fff
}

    .resources .section-index {
        color: #d6bd87
    }

    .resources .resource-card {
        background: transparent;
        border-color: #55715c
    }

        .resources .resource-card p {
            color: #dce3da
        }

.resource-card.featured {
    background: var(--kalfu);
    border-color: var(--kalfu)
}

.link-list {
    list-style: none;
    margin: auto 0 0;
    padding: 22px 0 0
}

    .link-list li {
        border-top: 1px solid rgba(255,255,255,.28);
        padding: 9px 0
    }


    .link-list a {
        text-decoration: none;
        font-size: 13px
    }

.resource-card:not(.featured) .link-list {
    border-color: var(--line)
}

    .resource-card:not(.featured) .link-list li {
        border-color: var(--line)
    }

.small-note {
    font-size: 12px !important;
    color: var(--orange) !important;
    margin-top: -5px !important
}

.alliance-grid .resource-card {
    min-height: 210px
}

.alliance-symbol {
    font-size: 34px;
    color: var(--orange)
}

.alliance-grid h3 {
    margin-top: 22px
}

.donation {
    background: var(--orange);
    color: #fff
}

.donation-inner {
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px
}

.donation .section-index {
    color: #ffe1a9
}

.donation h2 {
    font: 700 clamp(40px,6vw,76px)/.95 Syne;
    letter-spacing: -.06em;
    margin: 0 0 15px
}

.donation p:not(.section-index) {
    max-width: 520px;
    margin: 0;
    font-size: 18px
}

.donate-button {
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 18px 24px;
    min-width: 205px;
    display: flex;
    justify-content: space-between;
    gap: 25px
}

    .donate-button:hover {
        background: var(--deep)
    }

.site-footer {
    background: var(--ink);
    color: #fff;
    padding: 23px 0;
    font-size: 12px
}

    .site-footer .shell {
        display: flex;
        justify-content: space-between;
        gap: 20px
    }

    .site-footer span:first-child {
        font: 700 18px Syne
    }

@media(max-width:767px) {
    .site-header {
        height: 68px;
        gap: 10px
    }

    .org-tag {
        display: none
    }

    .header-actions {
        gap: 8px
    }

    .support-link {
        font-size: 12px
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 58px;
        padding-bottom: 62px;
        gap: 48px
    }

        .hero h1 {
            font-size: 70px
        }

    .stairs {
        padding-top: 0
    }

    .hero-art {
        min-height: 290px;
        background: #cddce2; /* était #d5dfcb, bleu pâle glacier */
    }

    .section {
        padding-top: 62px;
        padding-bottom: 62px
    }

    .section-head, .donation-inner {
        display: block
    }

        .section-head h2 {
            margin-top: 18px
        }

    .path-grid, .resource-grid, .alliance-grid {
        grid-template-columns: 1fr
    }

    .path-card {
        min-height: 230px
    }

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

    .about-copy {
        padding-top: 0;
        font-size: 18px
    }


    .action-list > div {
        grid-template-columns: 46px 1fr
    }

    .action-list p {
        font-size: 16px
    }

    .donation-inner {
        padding-top: 60px;
        padding-bottom: 60px
    }

    .donate-button {
        margin-top: 30px;
        width: 100%
    }

    .site-footer .shell {
        flex-wrap: wrap
    }

    .site-footer span:last-child {
        margin-left: auto
    }
}


@media(min-width:768px) and (max-width:1050px) {
    .hero {
        gap: 28px
    }

        .hero h1 {
            font-size: 70px
        }

    .hero-art {
        min-height: 340px
    }

    .section-head {
        display: block
    }

        .section-head h2 {
            margin-top: 18px
        }
}
/* Compensation pour le header fixe lors du scroll vers les anchors */
#accion-01,
#accion-02,
#accion-03 {
    scroll-margin-top: 90px; /* header +14px*/
}

