/* ==========================================================================
   PRÉSENTATION DE CARNET D'ICI (« / ») ET ACCUEILS SIMPLES DES PAYS
   template-parts/presentation.php, template-parts/accueil-pays.php
   Carte de France à gauche, carnets ouverts à droite ; le nom des carnets reprend le logo (Merriweather mi-gras).
   ========================================================================== */
.cc-pres {
    background: var(--color-paper, #F9F8F6);
    color: var(--color-ink);
}
.cc-pres p, .cc-pres span { text-align: left; hyphens: manual; }
.cc-pres-retour { margin-top: 28px; }
.cc-pres-cadre {
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: clamp(20px, 5vw, 60px);
}

/* --- En-tête --- */
.cc-pres-entete { padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 40px); }
.cc-pres-kicker {
    margin: 0 0 14px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #946A20;
}
.cc-pres-titre {
    margin: 0;
    max-width: 18ch;
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: clamp(34px, 5.2vw, 58px);
    line-height: 1.12;
    color: var(--color-ink);
    text-wrap: balance;
}
.cc-pres-intro {
    margin: 18px 0 0;
    max-width: 62ch;
    font-family: var(--font-textes);
    font-size: 17px;
    line-height: 1.6;
    color: #4A524D;
}
.cc-pres-h2 {
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #746C5A;
}

/* --- Carte + carnets --- */
.cc-pres-pays { padding-block: 8px clamp(40px, 6vw, 72px); }
.cc-pres-grille {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}
.cc-pres-carte { margin: 0; position: sticky; top: 100px; }
.cc-pres-carte svg { width: 100%; height: auto; display: block; }
.cc-pres-zone path, path.cc-pres-zone {
    fill: #E6E0D2;
    stroke: var(--color-paper, #F9F8F6);
    stroke-width: 1.4;
    stroke-linejoin: round;
}
.cc-pres-zone.est-ouvert path {
    fill: var(--color-secondary);
    transition: fill 0.2s ease;
}
.cc-pres-zone.est-ouvert:hover path,
.cc-pres-zone.est-ouvert:focus-visible path,
.cc-pres-zone.est-actif path { fill: var(--color-ink); }
.cc-pres-zone.est-ouvert:focus-visible { outline: none; }
.cc-pres-carte figcaption {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #746C5A;
}
.cc-pres-pastille { width: 12px; height: 12px; border-radius: 3px; background: #E6E0D2; display: inline-block; }
.cc-pres-pastille.est-ouvert { background: var(--color-secondary); }
.cc-pres-pastille + * { margin-right: 10px; }

.cc-pres-liste { display: grid; gap: 12px; }
.cc-pres-carnet {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.cc-pres-carnet:hover,
.cc-pres-carnet:focus-visible,
.cc-pres-carnet.est-actif { border-color: var(--color-secondary); transform: translateX(3px); }
.cc-pres-carnet:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }
.cc-pres-carnet-nom {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
}
.cc-pres-carnet-texte { font-family: var(--font-textes); font-size: 14.5px; line-height: 1.5; color: #4A524D; }
.cc-pres-carnet-etat {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #946A20;
}
.cc-pres-note { margin: 6px 0 0; font-family: var(--font-textes); font-size: 14px; color: #746C5A; }
.cc-pres-note a { color: var(--color-primary); }

/* --- Dans chaque carnet / secteurs --- */
.cc-pres-contenu {
    padding-block: clamp(40px, 6vw, 72px);
    border-top: 1px solid var(--color-border);
}
.cc-pres-quatre, .cc-pres-secteurs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 32px);
}
.cc-pres-secteurs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-pres-quatre li, .cc-pres-secteurs li { display: grid; gap: 8px; align-content: start; }
.cc-pres-quatre svg { color: #946A20; }
.cc-pres-quatre strong, .cc-pres-secteurs strong {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 17px;
}
.cc-pres-quatre span, .cc-pres-secteurs span { font-family: var(--font-textes); font-size: 14.5px; line-height: 1.55; color: #4A524D; }

@media (max-width: 900px) {
    .cc-pres-grille { grid-template-columns: 1fr; }
    .cc-pres-carte { position: static; max-width: 520px; }
    .cc-pres-quatre, .cc-pres-secteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .cc-pres-quatre, .cc-pres-secteurs { grid-template-columns: 1fr; }
    .cc-pres-intro { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-pres-carnet, .cc-pres-zone.est-ouvert path { transition: none; }
    .cc-pres-carnet:hover, .cc-pres-carnet.est-actif { transform: none; }
}
