/*
 * Îles Bermond · Habiter l’Île v2.1
 * CSS entièrement restructuré.
 * Une seule cascade : base → composants → sections → responsive.
 */

/* =========================================================
   1. TOKENS + ISOLATION WORDPRESS
   ========================================================= */

body.iba-ambassade-page{
    --iba-blue:#1592D0;
    --iba-blue-dark:#0878B7;
    --iba-ink:#111111;
    --iba-muted:#62676D;
    --iba-paper:#FFFFFF;
    --iba-soft:#F5F7F8;
    --iba-soft-blue:#EEF7FC;
    --iba-line:#D8DDE1;
    --iba-max:1240px;
    --iba-gutter:24px;
    --iba-serif:Georgia, "Times New Roman", serif;
    --iba-sans:Arial, Helvetica, sans-serif;
    --iba-heavy:"Arial Black", Arial, Helvetica, sans-serif;
    --iba-mono:"Courier New", Courier, monospace;
    margin:0;
    background:var(--iba-paper);
    color:var(--iba-ink);
}

/* Le rendu standalone inclut wp_head(), donc on neutralise les styles du thème. */
body.iba-ambassade-page header.entry-header,
body.iba-ambassade-page .entry-header,
body.iba-ambassade-page .page-header,
body.iba-ambassade-page .archive-header,
body.iba-ambassade-page .site-header,
body.iba-ambassade-page #masthead,
body.iba-ambassade-page .site-branding,
body.iba-ambassade-page .main-navigation,
body.iba-ambassade-page .entry-title,
body.iba-ambassade-page .page-title,
body.iba-ambassade-page .wp-block-post-title,
body.iba-ambassade-page #secondary,
body.iba-ambassade-page .widget-area,
body.iba-ambassade-page .site-sidebar,
body.iba-ambassade-page aside.sidebar{
    display:none !important;
}

body.iba-ambassade-page #content,
body.iba-ambassade-page .site-content,
body.iba-ambassade-page .content-area,
body.iba-ambassade-page .site-main,
body.iba-ambassade-page main.site-main,
body.iba-ambassade-page article.page,
body.iba-ambassade-page .entry-content,
body.iba-ambassade-page .wp-block-post-content,
body.iba-ambassade-page .wp-site-blocks > main,
body.iba-ambassade-page .content-wrapper,
body.iba-ambassade-page .main-content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}

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

.iba-page{
    width:100%;
    margin:0;
    overflow-x:hidden;
    background:var(--iba-paper);
    color:var(--iba-ink);
    font-family:var(--iba-sans);
    font-size:16px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
}

.iba-page h1,
.iba-page h2,
.iba-page h3,
.iba-page p,
.iba-page figure,
.iba-page blockquote{
    margin-top:0;
}

.iba-page a{
    color:inherit;
}

.iba-page [id]{
    scroll-margin-top:24px;
}

/* =========================================================
   2. TYPOGRAPHIE + COMPOSANTS COMMUNS
   ========================================================= */

.iba-eyebrow,
.iba-kicker,
.iba-event__date,
.iba-event__subtitle,
.iba-more-label{
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:11px;
    line-height:1.35;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.iba-btn,
.iba-event-cta,
.iba-text-cta{
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:50px;
    padding:13px 17px;
    border:2px solid var(--iba-blue-dark);
    background:var(--iba-paper);
    color:var(--iba-blue-dark) !important;
    font-family:var(--iba-mono);
    font-size:11px;
    line-height:1.15;
    font-weight:900;
    letter-spacing:.04em;
    text-decoration:none !important;
    text-transform:uppercase;
    transition:background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.iba-btn:hover,
.iba-btn:focus-visible,
.iba-event-cta:hover,
.iba-event-cta:focus-visible,
.iba-text-cta:hover,
.iba-text-cta:focus-visible{
    border-color:var(--iba-ink);
    background:var(--iba-ink);
    color:#fff !important;
    transform:translateY(-1px);
}

.iba-btn--dark,
.iba-event-cta{
    background:var(--iba-blue-dark);
    color:#fff !important;
}

.iba-section-head{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
    gap:48px;
    align-items:end;
    margin-bottom:34px;
}

.iba-section-head--compact{
    margin-bottom:28px;
}

.iba-section-head h2,
.iba-practical h2,
.iba-support h2,
.iba-islands h2{
    margin:7px 0 0;
    color:var(--iba-ink);
    font-family:var(--iba-heavy);
    font-size:clamp(42px,5.5vw,78px);
    line-height:.92;
    letter-spacing:-.045em;
    text-transform:uppercase;
}

.iba-section-head > p{
    margin:0;
    color:var(--iba-muted);
    font-family:var(--iba-mono);
    font-size:11px;
    line-height:1.55;
    text-align:right;
}

.iba-section-head > p a{
    color:var(--iba-blue-dark);
    font-weight:900;
}

/* =========================================================
   3. TOPBAR
   ========================================================= */

.iba-topbar{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:18px;
    align-items:center;
    width:100%;
    min-height:42px;
    padding:10px max(var(--iba-gutter), calc((100vw - var(--iba-max))/2 + var(--iba-gutter)));
    border-bottom:1px solid var(--iba-line);
    color:var(--iba-muted);
    font-family:var(--iba-mono);
    font-size:10px;
    line-height:1.35;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.iba-topbar > :last-child{
    text-align:right;
}

.iba-back-site{
    color:var(--iba-muted) !important;
    text-decoration:none !important;
}

.iba-back-site:hover,
.iba-back-site:focus-visible{
    color:var(--iba-blue-dark) !important;
}

/* =========================================================
   4. HERO
   ========================================================= */

.iba-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:clamp(42px,7vw,96px);
    align-items:start;
    width:min(100%, var(--iba-max));
    margin:0 auto;
    padding:52px var(--iba-gutter) 50px;
    border-bottom:1px solid var(--iba-line);
}

.iba-hero__copy{
    min-width:0;
}

.iba-title{
    max-width:760px;
    margin:12px 0 24px;
    color:var(--iba-ink);
    font-family:var(--iba-heavy);
    font-size:clamp(48px,6.2vw,84px);
    line-height:.88;
    letter-spacing:-.055em;
    text-transform:uppercase;
}

.iba-title span{
    display:block;
}

.iba-title span + span{
    margin-top:.06em;
}

.iba-lead{
    max-width:790px;
    margin:0 0 22px;
    font-size:clamp(18px,1.55vw,22px);
    line-height:1.52;
}

.iba-question{
    max-width:820px;
    margin:0;
    padding-top:18px;
    border-top:2px solid var(--iba-ink);
    font-family:var(--iba-serif);
    font-size:clamp(21px,2.25vw,32px);
    line-height:1.3;
}

.iba-hero__actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:26px;
}

.iba-signature{
    display:flex;
    flex-direction:column;
    gap:3px;
    max-width:650px;
    margin-top:32px;
    padding-top:15px;
    border-top:1px solid var(--iba-line);
}

.iba-signature span{
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
}

.iba-signature strong{
    font-family:var(--iba-serif);
    font-size:23px;
    font-weight:400;
}

.iba-hero__visual{
    padding-top:4px;
}

.iba-flag{
    display:block;
    width:100%;
    max-width:300px;
    height:auto;
    border:1px solid var(--iba-line);
}

.iba-flag-caption{
    display:flex;
    flex-direction:column;
    gap:3px;
    margin-top:14px;
    padding-top:12px;
    border-top:2px solid var(--iba-blue-dark);
}

.iba-flag-caption strong{
    font-family:var(--iba-mono);
    font-size:10px;
    letter-spacing:.12em;
}

.iba-flag-caption span{
    color:var(--iba-muted);
    font-family:var(--iba-serif);
    font-size:15px;
}

/* =========================================================
   5. ROUTE
   ========================================================= */

.iba-route{
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    width:min(100%, var(--iba-max));
    margin:0 auto;
    padding:0 var(--iba-gutter);
    border-bottom:1px solid var(--iba-line);
}

.iba-route a{
    min-width:0;
    min-height:84px;
    padding:16px 10px;
    border-right:1px solid var(--iba-line);
    text-decoration:none !important;
    transition:background .16s ease, color .16s ease;
}

.iba-route a:first-child{
    border-left:1px solid var(--iba-line);
}

.iba-route span{
    display:block;
    margin-bottom:7px;
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:9px;
    font-weight:900;
    letter-spacing:.05em;
}

.iba-route strong{
    display:block;
    font-size:11px;
    line-height:1.18;
    overflow-wrap:anywhere;
}

.iba-route a:hover,
.iba-route a:focus-visible,
.iba-route a.is-active{
    background:var(--iba-blue-dark);
    color:#fff !important;
}

.iba-route a:hover span,
.iba-route a:focus-visible span,
.iba-route a.is-active span{
    color:#fff;
}

/* =========================================================
   6. BON À SAVOIR
   ========================================================= */

.iba-quickfacts{
    width:min(100%, var(--iba-max));
    margin:0 auto;
    padding:44px var(--iba-gutter) 58px;
    border-bottom:1px solid var(--iba-line);
}

.iba-quickfacts-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border-top:1px solid var(--iba-line);
    border-left:1px solid var(--iba-line);
}

.iba-quickfacts-grid > div{
    min-height:116px;
    padding:19px;
    border-right:1px solid var(--iba-line);
    border-bottom:1px solid var(--iba-line);
}

.iba-quickfacts-grid strong{
    display:block;
    margin-bottom:8px;
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:11px;
    font-weight:900;
    letter-spacing:.06em;
}

.iba-quickfacts-grid span{
    display:block;
    font-size:15px;
    line-height:1.45;
}

/* =========================================================
   7. PROGRAMME
   ========================================================= */

.iba-programme,
.iba-people,
.iba-practical,
.iba-editorial{
    width:min(100%, var(--iba-max));
    margin:0 auto;
    padding:72px var(--iba-gutter);
}

.iba-programme-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-top:1px solid var(--iba-line);
    border-left:1px solid var(--iba-line);
}

.iba-event{
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:100%;
    padding:26px;
    border-right:1px solid var(--iba-line);
    border-bottom:1px solid var(--iba-line);
    background:var(--iba-paper);
}

.iba-event--feature{
    background:var(--iba-soft);
}

.iba-event__date{
    margin-bottom:10px;
}

.iba-event h3{
    margin:0 0 12px;
    color:var(--iba-ink);
    font-family:var(--iba-heavy);
    font-size:clamp(28px,3.2vw,46px);
    line-height:.98;
    letter-spacing:-.035em;
    text-transform:uppercase;
    overflow-wrap:anywhere;
    word-break:normal;
}

.iba-event__subtitle{
    margin:-2px 0 12px;
}

.iba-event__time{
    align-self:flex-start;
    margin:0 0 16px;
    padding:6px 9px;
    border:2px solid var(--iba-blue-dark);
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:10px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:.04em;
}

.iba-event p,
.iba-event li{
    font-size:14px;
    line-height:1.55;
}

.iba-event p{
    margin:0 0 12px;
}

.iba-event ul{
    margin:8px 0 16px;
    padding-left:1.15em;
}

.iba-event li{
    margin-bottom:5px;
}

.iba-event li::marker{
    color:var(--iba-blue-dark);
}

.iba-event blockquote{
    margin:12px 0 16px;
    padding:14px 16px;
    border-left:4px solid var(--iba-blue-dark);
    background:var(--iba-paper);
    font-family:var(--iba-serif);
    font-size:20px;
    line-height:1.35;
}

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

.iba-tags span{
    padding:6px 9px;
    border:2px solid var(--iba-blue-dark);
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:9px;
    line-height:1.1;
    font-weight:900;
    letter-spacing:.03em;
    text-transform:uppercase;
}

.iba-event-cta{
    width:100%;
    margin-top:16px;
}

.iba-price{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    align-items:baseline;
    margin:7px 0 6px;
    color:var(--iba-ink);
    font-family:var(--iba-heavy);
    font-size:30px;
    line-height:1;
}

.iba-price span{
    color:var(--iba-muted);
    font-family:var(--iba-mono);
    font-size:10px;
    line-height:1.35;
    font-weight:900;
    letter-spacing:.03em;
    text-transform:uppercase;
}

.iba-event__note{
    margin-top:15px;
    padding-top:12px;
    border-top:1px solid var(--iba-line);
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:11px;
}

.iba-dj-line{
    overflow-wrap:anywhere;
}

/* =========================================================
   8. EXPOSITION
   ========================================================= */

.iba-exhibition-strip{
    width:min(100%, var(--iba-max));
    margin:0 auto;
    padding:48px var(--iba-gutter);
    border-top:1px solid var(--iba-line);
    border-bottom:1px solid var(--iba-line);
}

.iba-exhibition-strip h2{
    margin:7px 0 13px;
    font-family:var(--iba-heavy);
    font-size:clamp(34px,4.3vw,58px);
    line-height:.94;
    letter-spacing:-.04em;
}

.iba-exhibition-strip p{
    max-width:850px;
    margin:0;
    font-size:17px;
    line-height:1.55;
}

.iba-exhibition-strip a{
    color:var(--iba-blue-dark);
    font-weight:800;
}

/* =========================================================
   9. PERSONNES
   ========================================================= */

.iba-people{
    border-bottom:1px solid var(--iba-line);
}

.iba-people-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border-top:1px solid var(--iba-line);
    border-left:1px solid var(--iba-line);
}

.iba-people-grid > div{
    min-width:0;
    min-height:104px;
    padding:18px;
    border-right:1px solid var(--iba-line);
    border-bottom:1px solid var(--iba-line);
}

.iba-people-grid strong{
    display:block;
    margin-bottom:6px;
    font-size:15px;
    line-height:1.3;
}

.iba-people-grid span{
    display:block;
    color:var(--iba-muted);
    font-family:var(--iba-mono);
    font-size:10px;
    line-height:1.45;
    text-transform:uppercase;
}

/* =========================================================
   10. INFOS PRATIQUES
   ========================================================= */

.iba-practical{
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
    gap:56px;
    align-items:start;
    border-bottom:1px solid var(--iba-line);
}

.iba-address{
    margin:20px 0 3px;
    font-size:20px;
    font-weight:800;
}

.iba-practical__main > p{
    margin-bottom:0;
}

.iba-practical__main > p > a{
    color:var(--iba-blue-dark);
    font-size:18px;
    font-weight:800;
    text-decoration:none;
}

.iba-practical__buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.iba-practical__plaque{
    margin:0;
}

.iba-practical__plaque img{
    display:block;
    width:100%;
    max-width:520px;
    height:auto;
    border:1px solid var(--iba-line);
}

.iba-practical__plaque figcaption{
    margin-top:8px;
    color:var(--iba-muted);
    font-family:var(--iba-mono);
    font-size:9px;
    line-height:1.4;
    text-transform:uppercase;
}

/* =========================================================
   11. LES ÎLES BERMOND
   ========================================================= */

.iba-islands{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
    gap:56px;
    width:min(100%, var(--iba-max));
    margin:0 auto;
    padding:72px var(--iba-gutter);
    border-bottom:1px solid var(--iba-line);
}

.iba-islands__lead{
    max-width:760px;
    margin:20px 0 12px;
    font-family:var(--iba-serif);
    font-size:22px;
    line-height:1.42;
}

.iba-islands__copy > p:not(.iba-islands__lead){
    max-width:760px;
    margin:0;
    font-size:17px;
    line-height:1.55;
}

.iba-islands__actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
}

.iba-islands__links{
    border-top:1px solid var(--iba-line);
}

.iba-islands__links a{
    display:block;
    padding:19px 0;
    border-bottom:1px solid var(--iba-line);
    color:var(--iba-ink);
    text-decoration:none;
}

.iba-islands__links span{
    display:block;
    margin-bottom:5px;
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:10px;
    font-weight:900;
    letter-spacing:.06em;
}

.iba-islands__links strong{
    display:block;
    font-size:17px;
    line-height:1.35;
}

.iba-islands__links a:hover strong,
.iba-islands__links a:focus-visible strong{
    text-decoration:underline;
}

/* =========================================================
   12. DÉMARCHE ÉDITORIALE RÉINTÉGRÉE
   ========================================================= */

.iba-editorial{
    border-bottom:1px solid var(--iba-line);
}

.iba-editorial-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    border-top:1px solid var(--iba-line);
    border-left:1px solid var(--iba-line);
}

.iba-editorial-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:26px;
    border-right:1px solid var(--iba-line);
    border-bottom:1px solid var(--iba-line);
    background:var(--iba-paper);
}

.iba-editorial-card--blue{
    background:var(--iba-soft-blue);
}

.iba-editorial-card__num{
    margin-bottom:18px;
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:11px;
    font-weight:900;
    letter-spacing:.1em;
}

.iba-editorial-card h3{
    margin:0 0 18px;
    font-family:var(--iba-heavy);
    font-size:clamp(29px,3.2vw,44px);
    line-height:.96;
    letter-spacing:-.035em;
    text-transform:uppercase;
    overflow-wrap:anywhere;
}

.iba-editorial-card p{
    margin:0 0 13px;
    font-size:14px;
    line-height:1.58;
}

.iba-editorial-card__lead,
.iba-editorial-card__question{
    font-family:var(--iba-serif);
    font-size:19px !important;
    line-height:1.43 !important;
}

.iba-editorial-card__question{
    color:var(--iba-blue-dark);
}

.iba-editorial-card .iba-small{
    color:var(--iba-muted);
    font-size:12px;
}

.iba-editorial-card .iba-text-cta{
    width:100%;
    margin-top:auto;
    padding-top:13px;
}

/* =========================================================
   13. SOUTENIR + FOOTER
   ========================================================= */

.iba-support{
    width:100%;
    padding:68px max(var(--iba-gutter), calc((100vw - var(--iba-max))/2 + var(--iba-gutter)));
    border-top:0;
    background:var(--iba-soft);
}

.iba-support__lead{
    max-width:850px;
    margin:22px 0 28px;
    font-family:var(--iba-serif);
    font-size:clamp(19px,2vw,26px);
    line-height:1.48;
}

.iba-footer{
    display:flex;
    justify-content:space-between;
    gap:30px;
    padding:27px max(var(--iba-gutter), calc((100vw - var(--iba-max))/2 + var(--iba-gutter)));
    border-top:1px solid var(--iba-line);
    background:var(--iba-paper);
}

.iba-footer > div{
    display:flex;
    flex-direction:column;
}

.iba-footer strong{
    color:var(--iba-blue-dark);
    font-family:var(--iba-mono);
    font-size:10px;
    letter-spacing:.12em;
}

.iba-footer span{
    font-family:var(--iba-serif);
    font-size:20px;
}

.iba-footer a{
    color:var(--iba-blue-dark) !important;
    font-family:var(--iba-mono);
    font-size:10px;
    font-weight:900;
    text-decoration:none !important;
}

/* =========================================================
   14. TABLETTE
   ========================================================= */

@media(max-width:1024px){
    body.iba-ambassade-page{
        --iba-gutter:20px;
    }

    .iba-hero{
        grid-template-columns:minmax(0,1fr) 220px;
        gap:44px;
    }

    .iba-route{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }

    .iba-programme-grid{
        grid-template-columns:1fr;
    }

    .iba-quickfacts-grid,
    .iba-people-grid,
    .iba-editorial-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .iba-islands{
        grid-template-columns:1fr;
        gap:38px;
    }
}

/* =========================================================
   15. MOBILE
   ========================================================= */

@media(max-width:720px){
    body.iba-ambassade-page{
        --iba-gutter:18px;
    }

    .iba-topbar{
        grid-template-columns:1fr;
        gap:3px;
        padding:9px var(--iba-gutter);
        font-size:9px;
    }

    .iba-topbar > :last-child{
        text-align:left;
    }

    .iba-hero{
        position:relative;
        display:block;
        padding:28px var(--iba-gutter) 34px;
    }

    .iba-hero__visual{
        position:absolute;
        top:28px;
        right:var(--iba-gutter);
        width:100px;
        padding:0;
    }

    .iba-flag{
        width:100px;
    }

    .iba-flag-caption{
        display:none;
    }

    .iba-eyebrow{
        width:calc(100% - 118px);
        min-height:58px;
        font-size:9px;
    }

    .iba-title{
        width:100%;
        max-width:100%;
        margin:3px 0 18px;
        font-size:clamp(40px,12vw,52px);
        line-height:.91;
    }

    .iba-lead{
        margin-bottom:18px;
        font-size:17px;
    }

    .iba-question{
        padding-top:15px;
        font-size:20px;
    }

    .iba-hero__actions{
        display:grid;
        grid-template-columns:1fr;
        gap:8px;
        margin-top:20px;
    }

    .iba-hero__actions .iba-btn{
        width:100%;
    }

    .iba-signature{
        margin-top:24px;
    }

    .iba-signature strong{
        font-size:20px;
    }

    .iba-route{
        grid-template-columns:repeat(2,minmax(0,1fr));
        padding:0 var(--iba-gutter);
    }

    .iba-route a{
        min-height:68px;
        padding:13px 9px;
    }

    .iba-quickfacts,
    .iba-programme,
    .iba-people,
    .iba-practical,
    .iba-editorial,
    .iba-islands{
        padding:46px var(--iba-gutter);
    }

    .iba-exhibition-strip{
        padding:36px var(--iba-gutter);
    }

    .iba-section-head{
        grid-template-columns:1fr;
        gap:14px;
        margin-bottom:24px;
    }

    .iba-section-head > p{
        text-align:left;
    }

    .iba-section-head h2,
    .iba-practical h2,
    .iba-support h2,
    .iba-islands h2{
        font-size:clamp(36px,11vw,48px);
        line-height:.94;
        overflow-wrap:anywhere;
    }

    .iba-quickfacts-grid,
    .iba-people-grid,
    .iba-editorial-grid{
        grid-template-columns:1fr;
    }

    .iba-quickfacts-grid > div{
        min-height:0;
        padding:16px;
    }

    .iba-event{
        padding:21px 18px 24px;
    }

    .iba-event h3{
        font-size:clamp(30px,9.4vw,38px);
        line-height:.98;
    }

    .iba-event blockquote{
        font-size:18px;
    }

    .iba-event-cta,
    .iba-btn,
    .iba-text-cta{
        width:100%;
    }

    .iba-price{
        font-size:27px;
    }

    .iba-people-grid > div{
        min-height:0;
        padding:16px;
    }

    .iba-practical{
        grid-template-columns:1fr;
        gap:28px;
    }

    .iba-practical__buttons{
        display:grid;
        grid-template-columns:1fr;
    }

    .iba-islands{
        gap:30px;
    }

    .iba-islands__lead{
        font-size:19px;
    }

    .iba-islands__actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .iba-editorial-card{
        padding:22px 18px 24px;
    }

    .iba-editorial-card h3{
        font-size:clamp(30px,9.5vw,40px);
    }

    .iba-support{
        padding:50px var(--iba-gutter);
    }

    .iba-footer{
        flex-direction:column;
        align-items:flex-start;
        padding:24px var(--iba-gutter);
    }
}

/* =========================================================
   16. PETITS MOBILES
   ========================================================= */

@media(max-width:390px){
    .iba-title{
        font-size:39px;
    }

    .iba-hero__visual{
        width:88px;
    }

    .iba-flag{
        width:88px;
    }

    .iba-eyebrow{
        width:calc(100% - 103px);
    }

    .iba-event h3,
    .iba-editorial-card h3{
        font-size:29px;
    }

    .iba-section-head h2,
    .iba-practical h2,
    .iba-support h2,
    .iba-islands h2{
        font-size:34px;
    }
}


/* =========================================================
   v2.2 · POPUP REJOINDRE L’ARCHIPEL
   ========================================================= */

button.iba-text-cta{
    appearance:none;
    -webkit-appearance:none;
    width:100%;
    margin-top:auto;
    font:inherit;
    cursor:pointer;
}

.iba-contact-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    place-items:center;
    padding:24px;
}

.iba-contact-modal.is-open{
    display:grid;
}

.iba-contact-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(8, 15, 20, .72);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}

.iba-contact-modal__dialog{
    position:relative;
    z-index:1;
    width:min(100%, 760px);
    padding:clamp(30px,5vw,58px);
    border:2px solid var(--iba-blue-dark);
    background:var(--iba-paper);
    box-shadow:0 26px 80px rgba(0,0,0,.28);
    text-align:center;
}

.iba-contact-modal__dialog h2{
    margin:14px 0 16px;
    color:var(--iba-ink);
    font-family:var(--iba-heavy);
    font-size:clamp(44px,8vw,82px);
    line-height:.95;
    letter-spacing:-.045em;
}

.iba-contact-modal__dialog p{
    margin:0 auto 28px;
    max-width:620px;
    font-family:var(--iba-serif);
    font-size:clamp(20px,2.4vw,30px);
    line-height:1.35;
}

.iba-contact-modal__close{
    position:absolute;
    top:14px;
    right:16px;
    width:44px;
    height:44px;
    border:0;
    background:transparent;
    color:var(--iba-ink);
    font-family:var(--iba-sans);
    font-size:34px;
    line-height:1;
    cursor:pointer;
}

.iba-contact-modal__close:hover,
.iba-contact-modal__close:focus-visible{
    color:var(--iba-blue-dark);
}

.iba-contact-modal__actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
}

.iba-contact-modal__actions .iba-btn{
    min-width:210px;
}

body.iba-contact-modal-open{
    overflow:hidden;
}

@media(max-width:720px){
    .iba-contact-modal{
        padding:14px;
    }

    .iba-contact-modal__dialog{
        padding:42px 18px 24px;
    }

    .iba-contact-modal__dialog h2{
        font-size:clamp(38px,12vw,54px);
    }

    .iba-contact-modal__dialog p{
        font-size:20px;
    }

    .iba-contact-modal__actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .iba-contact-modal__actions .iba-btn{
        width:100%;
        min-width:0;
    }
}

/* v2.3 · équilibre des cartes programme */
.iba-programme-grid{align-items:stretch;}
.iba-event{min-height:520px;}
.iba-event__subtitle{min-height:2.7em;display:flex;align-items:flex-start;}
.iba-event__practical{
    margin-top:auto !important;
    padding-top:14px;
    border-top:1px solid var(--iba-line);
    color:var(--iba-muted);
    font-family:var(--iba-mono);
    font-size:11px !important;
    line-height:1.5 !important;
}
.iba-event__practical a{color:var(--iba-blue-dark);font-weight:900;text-decoration:none;}
.iba-event__practical + .iba-tags{margin-top:14px;}
#citoyens h3{font-size:clamp(27px,2.9vw,41px);}
#diner h3{font-size:clamp(30px,3vw,43px);}
#ile h3{font-size:clamp(31px,3vw,44px);}
.iba-people-grid{grid-auto-rows:1fr;}
@media(max-width:1024px){
    .iba-event{min-height:0;}
    .iba-event__subtitle{min-height:0;}
}
@media(max-width:720px){
    .iba-event{min-height:0;}
    .iba-event__subtitle{min-height:0;}
    .iba-event__practical{margin-top:10px !important;}
    #citoyens h3,#diner h3,#ile h3{font-size:clamp(29px,9vw,37px);}
}
