/* ══════════════════════════════════════════════
   roadbook-blocs.css v3
   Design validé — 2 blocs bicolores dans conteneur ombre
   
   Structure HTML attendue :
   .blocs-wrapper          ← fond beige, padding, ombre
     .res-card             ← bloc Ressources (crème + dashed orange)
       .res-grid           ← grille 2 colonnes (contenu + QR)
       .imm-inner          ← section Immersion intégrée
     .jnl-card             ← bloc Journal (blanc)
       .jnl-grid           ← grille 3 vignettes
       .jnl-cta            ← bandeau CTA orange
   ══════════════════════════════════════════════ */

/* ─── CONTENEUR ENGLOBANT (fond + ombre) ─────── */
.blocs-wrapper {
    background: var(--alt, #f0ede8);
    border-radius: 24px;
    padding: 2rem;
    margin: 2.5rem auto;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ─── KICKER COMMUN ─────────────────────────── */
.bloc-kicker {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange, #e67e22);
    margin-bottom: .5rem;
}

/* ─── BOUTONS ────────────────────────────────── */
.btn.btn-orange {
    background: var(--orange, #e67e22);
    color: #fff;
    border: none;
}
.btn.btn-orange:hover {
    background: var(--orange-dark, #d35400);
}
.btn.btn-outline {
    background: transparent;
    border: 1.5px solid #bbb;
    color: #333;
}
.btn.btn-outline:hover {
    border-color: #555;
    color: #111;
}
.btn.btn-white {
    background: #fff;
    color: var(--orange-dark, #d35400);
    border: none;
    font-weight: 700;
}
.btn.btn-white:hover {
    background: #f5f5f5;
}


/* ══════════════════════════════════════════════
   BLOC 1 : RESSOURCES DU VOYAGE (crème + dashed orange)
   ══════════════════════════════════════════════ */
.res-card {
    background: #fffaf5;
    border: 1.5px dashed var(--orange, #e67e22);
    border-radius: 18px;
    padding: 2rem 2.2rem 1.6rem;
    position: relative;
}
.res-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 1.8rem;
    align-items: start;
}
.res-left h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .4rem;
    color: #1a1a1a;
}
.res-left > p {
    font-size: .92rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.res-btns {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1rem;
}
.res-btns .btn {
    font-size: .85rem;
    padding: .65rem 1.3rem;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.res-note {
    font-size: .8rem;
    color: #999;
    font-style: italic;
    line-height: 1.5;
}

/* QR box */
.qr-box {
    border: 1.5px dashed var(--orange, #e67e22);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.qr-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .6rem;
}
.qr-img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    margin-bottom: .5rem;
}
.qr-caption {
    font-size: .72rem;
    color: #999;
}

@media (max-width: 700px) {
    .res-grid {
        grid-template-columns: 1fr;
    }
    .qr-box {
        max-width: 240px;
        margin: 0 auto;
    }
}


/* ══════════════════════════════════════════════
   IMMERSION (intégrée dans res-card, sous le séparateur)
   ══════════════════════════════════════════════ */
.imm-inner {
    border-top: 1px solid rgba(230,126,34,.15);
    margin-top: 1.5rem;
    padding-top: 1.2rem;
}
.imm-inner h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .5rem;
}
.imm-text {
    font-size: .95rem;
    color: #555;
    line-height: 1.8;
}
.imm-text p {
    margin-bottom: .7rem;
}
.imm-text p:last-child {
    margin-bottom: 0;
}


/* ══════════════════════════════════════════════
   BLOC 2 : JOURNAL DE BORD DU VOYAGEUR (blanc)
   ══════════════════════════════════════════════ */
.jnl-card {
    background: #fff;
    border: 1px solid var(--border, #e5e5e0);
    border-radius: 18px;
    padding: 2rem 2.2rem 1.8rem;
    position: relative;
}
.jnl-card > h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .4rem;
}
.jnl-intro {
    font-size: .92rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

/* ── Grille 3 vignettes — cartes avec fond ──── */
.jnl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 1.5rem;
}

/* Carte vignette complète */
.jnl-grid .short-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    background: #fafafa;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transition: box-shadow .2s, transform .15s;
}
.jnl-grid .short-card:hover {
    box-shadow: 0 6px 24px rgba(230,126,34,.12);
    transform: translateY(-2px);
}

.jnl-grid .short-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    background: var(--alt, #f0ede8);
}
.jnl-grid .short-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.jnl-grid .short-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.35), transparent 55%);
    pointer-events: none;
}

/* Badge date+lieu sur la vignette */
.jnl-grid .short-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--orange, #e67e22);
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}

.jnl-grid .short-body {
    padding: 12px 14px;
}
.jnl-grid .short-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: .3rem;
    line-height: 1.35;
}
.jnl-grid .short-body p {
    font-size: .85rem;
    color: #888;
    line-height: 1.45;
    margin-bottom: .5rem;
}
.jnl-grid .short-body .btn {
    display: inline-block;
    align-self: flex-start;
    font-size: .8rem;
    padding: .5rem 1.1rem;
    border-radius: 8px;
    margin-top: .2rem;
}

/* ── Bandeau CTA orange gradient ── */
.jnl-cta {
    background: linear-gradient(135deg, #d35400, #e67e22);
    border-radius: 14px;
    padding: 1.3rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.jnl-cta-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .3rem;
}
.jnl-cta-text p {
    font-size: .85rem;
    color: rgba(255,255,255,.88);
    line-height: 1.5;
    max-width: 560px;
}
.jnl-cta .btn.btn-white {
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 10px;
    padding: .75rem 1.5rem;
    font-size: .88rem;
}

@media (max-width: 700px) {
    .blocs-wrapper {
        padding: 1rem;
        border-radius: 16px;
    }
    .jnl-grid {
        grid-template-columns: 1fr;
        gap: .8rem;
    }
    .jnl-cta {
        flex-direction: column;
        text-align: center;
    }
    .jnl-cta-text p {
        max-width: none;
    }
    .res-card, .jnl-card {
        padding: 1.4rem;
    }
}
