/*
Theme Name: PCF 94 – Fédération du Val-de-Marne
Theme URI: https://pcf94.fr
Author: PCF 94
Description: Thème Full Site Editor pour la Fédération PCF du Val-de-Marne. Design politique dynamique avec Saira Extra Condensed, palette rouge/jaune/bleu foncé, entièrement éditable via l'Éditeur de Site WordPress.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pcf94-fse
Tags: full-site-editing, block-theme, politics, red, condensed
*/

/* ============================================
   TOKENS DE DESIGN (sync theme.json)
   ============================================ */
:root {
    --pcf-red:       #F33000;
    --pcf-yellow:    #FFDE00;
    --pcf-grey:      #3C3C3B;
    --pcf-dark-blue: #2E4768;
    --pcf-blue:      #1D71B8;
    --pcf-purple:    #662483;
    --pcf-green:     #2FAC66;
    --pcf-white:     #FFFFFF;
    --pcf-light:     #F7F7F6;
    --pcf-shadow:    0 20px 60px rgba(0,0,0,0.12);
    --pcf-shadow-lg: 0 30px 80px rgba(0,0,0,0.2);
    --pcf-radius:    2rem;
    --pcf-radius-lg: 3rem;
    --t:             0.3s;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Saira Extra Condensed', sans-serif;
    background: var(--pcf-light);
    color: var(--pcf-grey);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pcf-red); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--pcf-dark-blue); }

/* Scrollbar */
::-webkit-scrollbar            { width: 8px; }
::-webkit-scrollbar-track      { background: #f1f1f1; }
::-webkit-scrollbar-thumb      { background: var(--pcf-red); border-radius: 10px; }

/* ============================================
   TYPOGRAPHIE UTILITAIRES
   ============================================ */
.baby-soul,
.is-style-script {
    font-family: 'Great Vibes', cursive !important;
    font-style:  normal !important;
    font-weight: 400;
}

.saira-bold  { font-family: 'Saira Extra Condensed', sans-serif; font-weight: 800; text-transform: uppercase; font-style: italic; }
.text-upper  { text-transform: uppercase !important; }
.text-italic { font-style: italic !important; }
.tracking-wide { letter-spacing: 0.08em; }

/* ============================================
   NAVIGATION / HEADER
   ============================================ */
.wp-block-template-part[data-slug="header"],
.pcf-header {
    background: var(--pcf-red);
    border-bottom: 4px solid var(--pcf-yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(243,48,0,0.35);
}

.wp-block-navigation {
    font-family: 'Saira Extra Condensed', sans-serif !important;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-style: italic;
}

.wp-block-navigation a {
    color: #fff !important;
    transition: color var(--t), border-bottom var(--t) !important;
    border-bottom: 3px solid transparent;
    padding-bottom: 2px;
}

.wp-block-navigation a:hover {
    color: var(--pcf-yellow) !important;
    border-bottom-color: var(--pcf-yellow);
}

.pcf-logo-badge {
    background: var(--pcf-yellow);
    color: var(--pcf-red);
    font-weight: 800;
    font-size: 1.8rem;
    font-style: italic;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
    transition: transform var(--t);
    line-height: 1;
}

.pcf-logo-badge:hover { transform: scale(1.1); }

/* Nav CTA */
.wp-block-navigation-item.nav-cta a,
.nav-cta > a {
    background: #fff !important;
    color: var(--pcf-red) !important;
    border-radius: 4px;
    padding: 0.3rem 1.2rem !important;
    transition: background var(--t), color var(--t) !important;
    border-bottom: none !important;
}

.wp-block-navigation-item.nav-cta a:hover,
.nav-cta > a:hover {
    background: var(--pcf-yellow) !important;
    color: var(--pcf-red) !important;
}

/* ============================================
   HERO / COVER BLOCK
   ============================================ */
.pcf-hero,
.wp-block-cover.is-style-pcf-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.pcf-hero-overlay {
    background: linear-gradient(rgba(243,48,0,0.72), rgba(46,71,104,0.85));
}

.hero-script {
    font-family: 'Great Vibes', cursive;
    color: var(--pcf-yellow);
    font-size: clamp(2rem, 5vw, 4rem);
    display: block;
    margin: 0.5rem 0 2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    font-style: normal;
}

/* ============================================
   BOUTONS
   ============================================ */
.wp-block-button .wp-block-button__link,
.wp-element-button {
    font-family: 'Saira Extra Condensed', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-style: italic !important;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Style : Bouton Jaune */
.is-style-btn-yellow .wp-block-button__link {
    background: var(--pcf-yellow) !important;
    color: var(--pcf-red) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.2) !important;
}

.is-style-btn-yellow .wp-block-button__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 rgba(0,0,0,0.2) !important;
}

/* Style : Bouton Foncé */
.is-style-btn-dark .wp-block-button__link {
    background: var(--pcf-dark-blue) !important;
    color: #fff !important;
    border-radius: 12px !important;
}

.is-style-btn-dark .wp-block-button__link:hover {
    background: var(--pcf-red) !important;
    transform: translateY(-3px);
}

/* Style : Bouton Arrondi (pill) */
.is-style-btn-pill .wp-block-button__link {
    border-radius: 999px !important;
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
}

/* Style : Bouton Outline */
.is-style-btn-outline .wp-block-button__link {
    background: transparent !important;
    color: #fff !important;
    border: 3px solid #fff !important;
    border-radius: 12px !important;
}

.is-style-btn-outline .wp-block-button__link:hover {
    background: #fff !important;
    color: var(--pcf-red) !important;
}

/* ============================================
   CARDS PCF
   ============================================ */

/* Carte Communiqué */
.pcf-news-card {
    background: var(--pcf-white);
    border-radius: var(--pcf-radius-lg);
    box-shadow: var(--pcf-shadow);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pcf-news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pcf-shadow-lg);
}

/* Carte Élu */
.pcf-elu-card {
    background: var(--pcf-white);
    border-radius: var(--pcf-radius-lg);
    box-shadow: var(--pcf-shadow);
    text-align: center;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pcf-elu-card:hover { transform: translateY(-8px); }

.pcf-elu-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--pcf-blue);
    overflow: hidden;
    margin: 0 auto 1.5rem;
    transition: all 0.5s;
    filter: grayscale(1);
}

.pcf-elu-card:hover .pcf-elu-photo {
    filter: grayscale(0);
    transform: scale(1.08);
    border-color: var(--pcf-red);
}

.pcf-elu-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Carte Conseiller (compact) */
.pcf-conseiller-card {
    background: var(--pcf-grey);
    color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border-top: 8px solid var(--pcf-red);
    box-shadow: var(--pcf-shadow);
    transition: transform var(--t);
}

.pcf-conseiller-card:hover { transform: translateY(-4px); }

.pcf-conseiller-card .role {
    color: var(--pcf-yellow);
    font-weight: 700;
    font-style: italic;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Carte Régionale */
.pcf-regional-card {
    background: var(--pcf-white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--pcf-shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 8px solid var(--pcf-purple);
    transition: transform var(--t);
}

.pcf-regional-card:hover { transform: translateX(6px); }

.pcf-regional-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--pcf-purple);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-style: italic;
    font-size: 1.1rem;
}

/* ============================================
   DOSSIER CARD (Espace Adhérents)
   ============================================ */
.pcf-dossier-card {
    background: var(--pcf-white);
    border-radius: var(--pcf-radius);
    box-shadow: var(--pcf-shadow);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--t);
    border-top: 8px solid var(--pcf-red);
}

.pcf-dossier-card:hover {
    background: var(--pcf-yellow);
    transform: translateY(-6px);
}

.pcf-dossier-card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.pcf-dossier-card h4 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 0.4rem;
}

.pcf-dossier-card p {
    font-size: 0.9rem;
    opacity: 0.6;
    font-style: italic;
    font-weight: 700;
}

/* Variantes couleurs border */
.pcf-dossier-card.blue   { border-top-color: var(--pcf-blue);   }
.pcf-dossier-card.green  { border-top-color: var(--pcf-green);  }
.pcf-dossier-card.purple { border-top-color: var(--pcf-purple); }

/* ============================================
   AGENDA / ÉVÉNEMENT
   ============================================ */
.pcf-event-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pcf-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--pcf-white);
    color: var(--pcf-red);
    padding: 1rem;
    border-radius: 1rem;
    min-width: 80px;
    flex-shrink: 0;
    box-shadow: var(--pcf-shadow);
}

.pcf-event-date .day {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
}

.pcf-event-date .month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pcf-event-info h4 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.pcf-event-info p {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

/* ============================================
   FRISE CHRONOLOGIQUE (Histoire)
   ============================================ */
.pcf-timeline {
    border-left: 8px solid var(--pcf-red);
    padding-left: 3rem;
    margin-left: 1.5rem;
}

.pcf-timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.pcf-timeline-item::before {
    content: '';
    position: absolute;
    left: -3.6rem;
    top: 0.3rem;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--pcf-red);
    border-radius: 50%;
    border: 4px solid var(--pcf-white);
    box-shadow: 0 0 0 3px var(--pcf-red);
}

.pcf-timeline-item.grey::before  { background: var(--pcf-grey);      box-shadow: 0 0 0 3px var(--pcf-grey);      }
.pcf-timeline-item.blue::before  { background: var(--pcf-dark-blue);  box-shadow: 0 0 0 3px var(--pcf-dark-blue); }
.pcf-timeline-item.yellow::before{ background: var(--pcf-yellow);    box-shadow: 0 0 0 3px var(--pcf-yellow);    }

.pcf-timeline-item h3 { line-height: 1; margin-bottom: 1rem; }

.pcf-timeline-item p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--pcf-grey);
    max-width: 720px;
}

/* ============================================
   MODULE FORMATION
   ============================================ */
.pcf-module-card {
    background: var(--pcf-white);
    border-radius: var(--pcf-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--pcf-shadow);
    border-bottom: 8px solid var(--pcf-purple);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pcf-module-card:hover { transform: translateY(-8px); }

.pcf-module-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pcf-module-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* ============================================
   MATÉRIEL DE LUTTE
   ============================================ */
.pcf-materiel-card {
    background: var(--pcf-light);
    border: 2px dashed #ccc;
    border-radius: var(--pcf-radius);
    padding: 1.5rem;
    transition: border-color var(--t);
}

.pcf-materiel-card:hover { border-color: var(--pcf-red); }

.pcf-materiel-cover {
    aspect-ratio: 3/4;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pcf-materiel-cover img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.85;
    transition: all 0.5s;
}

.pcf-materiel-card:hover .pcf-materiel-cover img {
    opacity: 1;
    transform: scale(1.05);
}

.pcf-materiel-card h4 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* ============================================
   WEB TV / VIDÉO
   ============================================ */
.pcf-webtv-main {
    position: relative;
    border-radius: var(--pcf-radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    box-shadow: var(--pcf-shadow-lg);
}

.pcf-webtv-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: all 0.7s;
}

.pcf-webtv-main:hover img {
    opacity: 0.55;
    transform: scale(1.03);
}

.pcf-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcf-play-btn span {
    width: 80px;
    height: 80px;
    background: var(--pcf-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(243,48,0,0.6);
    transition: transform 0.3s;
}

.pcf-webtv-main:hover .pcf-play-btn span { transform: scale(1.15); }

.pcf-webtv-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.pcf-webtv-caption .live-badge {
    display: inline-block;
    background: var(--pcf-red);
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.pcf-webtv-caption h4 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1;
}

.pcf-video-thumb {
    background: rgba(255,255,255,0.06);
    padding: 1rem;
    border-radius: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: background var(--t);
}

.pcf-video-thumb:hover { background: rgba(255,255,255,0.12); }

.pcf-video-thumb .thumb-img {
    width: 120px;
    height: 74px;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}

.pcf-video-thumb .thumb-img img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.65;
}

.pcf-video-thumb p {
    color: #fff;
    font-weight: 700;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.3;
    transition: color var(--t);
}

.pcf-video-thumb:hover p { color: var(--pcf-yellow); }

/* ============================================
   COOPÉRATIVE DES ÉLUS (Focus box)
   ============================================ */
.pcf-coop-box {
    background: var(--pcf-white);
    border-radius: 4rem;
    box-shadow: var(--pcf-shadow-lg);
    overflow: hidden;
    border: 4px solid var(--pcf-red);
    margin-bottom: 5rem;
}

.pcf-coop-left {
    padding: 3rem;
}

.pcf-coop-leader {
    background: var(--pcf-light);
    padding: 2rem;
    border-radius: 1.5rem;
    border-left: 12px solid var(--pcf-yellow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.pcf-coop-avatar {
    width: 80px;
    height: 80px;
    background: var(--pcf-dark-blue);
    border-radius: 1rem;
    transform: rotate(3deg);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-style: italic;
    font-size: 1.5rem;
}

.pcf-coop-right {
    background: var(--pcf-dark-blue);
    padding: 3rem;
    color: #fff;
}

.pcf-coop-right ul {
    list-style: none;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.7;
}

.pcf-coop-right ul li::before {
    content: "• ";
    color: var(--pcf-yellow);
    font-weight: 900;
}

/* ============================================
   EXÉCUTIF FÉDÉRAL (grille membres)
   ============================================ */
.pcf-exec-card {
    background: var(--pcf-white);
    border-radius: 1.25rem;
    box-shadow: var(--pcf-shadow);
    overflow: hidden;
    border-bottom: 4px solid var(--pcf-red);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pcf-exec-card:hover { transform: translateY(-6px); }

.pcf-exec-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s;
}

.pcf-exec-card:hover img { filter: grayscale(0); }

.pcf-exec-card-body {
    padding: 1.25rem;
}

.pcf-exec-card .role {
    color: var(--pcf-red);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: italic;
    display: block;
    margin-bottom: 0.3rem;
}

.pcf-exec-card h4 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1;
}

/* ============================================
   EN-TÊTES DE SECTION AVEC BORDURE GAUCHE
   ============================================ */
.pcf-section-title {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1;
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.pcf-section-title.red    { border-left: 8px solid var(--pcf-red);    color: var(--pcf-red);    }
.pcf-section-title.blue   { border-left: 8px solid var(--pcf-blue);   color: var(--pcf-blue);   }
.pcf-section-title.purple { border-left: 8px solid var(--pcf-purple); color: var(--pcf-purple); }
.pcf-section-title.dark   { border-left: 8px solid var(--pcf-dark-blue); color: var(--pcf-dark-blue); }

/* Sous-titre script */
.pcf-subtitle-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--pcf-yellow);
    display: block;
    margin-top: -0.5rem;
}

/* ============================================
   PANNEAUX DE COULEUR (Group blocks)
   ============================================ */
.wp-block-group.is-style-pcf-panel-red {
    background: var(--pcf-red);
    color: #fff;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.wp-block-group.is-style-pcf-panel-dark {
    background: var(--pcf-dark-blue);
    color: #fff;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.wp-block-group.is-style-pcf-panel-grey {
    background: var(--pcf-grey);
    color: #fff;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.wp-block-group.is-style-pcf-panel-purple {
    background: var(--pcf-purple);
    color: #fff;
    padding: 5rem 1.5rem;
}

/* Variante : Bannière agenda (fond bleu foncé arrondi) */
.wp-block-group.is-style-pcf-agenda {
    background: var(--pcf-dark-blue);
    color: #fff;
    padding: 2.5rem;
    border-radius: var(--pcf-radius-lg);
    box-shadow: var(--pcf-shadow-lg);
}

/* ============================================
   BLOC QUERY / POST LOOP
   ============================================ */
.wp-block-query .wp-block-post-template {
    gap: 2.5rem;
}

/* ============================================
   SEPARATEUR
   ============================================ */
.wp-block-separator.is-style-pcf-thick {
    border: none;
    border-top: 8px solid var(--pcf-red);
    opacity: 1;
}

.wp-block-separator.is-style-pcf-yellow {
    border: none;
    border-top: 8px solid var(--pcf-yellow);
    opacity: 1;
}

/* ============================================
   PAGINATION
   ============================================ */
.wp-block-query-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 3rem 0;
}

.wp-block-query-pagination a,
.wp-block-query-pagination-numbers span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Saira Extra Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    border: 3px solid var(--pcf-grey);
    color: var(--pcf-grey);
    text-decoration: none;
    transition: all var(--t);
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination-numbers .current {
    background: var(--pcf-red);
    color: #fff;
    border-color: var(--pcf-red);
}

/* ============================================
   QUOTE / CITATION
   ============================================ */
.wp-block-quote {
    border-left: 8px solid var(--pcf-red) !important;
    border-right: none; border-top: none; border-bottom: none;
    padding: 0 0 0 2rem;
    font-style: italic;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--pcf-dark-blue);
}

/* ============================================
   IMAGE BLOCK STYLES
   ============================================ */
.wp-block-image.is-style-pcf-rounded img {
    border-radius: var(--pcf-radius-lg);
    box-shadow: var(--pcf-shadow);
}

.wp-block-image.is-style-pcf-circle img {
    border-radius: 50%;
    border: 4px solid var(--pcf-blue);
}

/* ============================================
   FOOTER
   ============================================ */
.wp-block-template-part[data-slug="footer"] {
    background: var(--pcf-grey);
    color: #fff;
}

/* ============================================
   ANIMATIONS (scroll reveal)
   ============================================ */
.pcf-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pcf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover lift générique */
.pcf-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.pcf-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--pcf-shadow-lg);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .pcf-event-card { flex-direction: column; gap: 0.75rem; }
    .pcf-coop-left, .pcf-coop-right { padding: 2rem; }
    .pcf-video-thumb .thumb-img { width: 90px; height: 56px; }
    .pcf-elu-photo { width: 140px; height: 140px; }
    .pcf-regional-card { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   ÉDITEUR — parité visuelle back-end/front-end
   ============================================ */
.editor-styles-wrapper {
    font-family: 'Saira Extra Condensed', sans-serif;
    background: var(--pcf-light);
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4 {
    font-family: 'Saira Extra Condensed', sans-serif;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 800;
    line-height: 0.9;
}
