/* ================================================
   CPPCU — Palette 2026
   Dominante : #318ce7 (bleu) · Textes : noir · Menus : bleu
   ================================================ */

:root {
  /* Bleu dominant (brand) */
  --brand:           #318ce7;
  --brand-dark:      #2578c9;
  --brand-deep:      #1f6bb3;
  --brand-light:     #5ea8f2;
  --brand-soft:      rgba(49,140,231,.12);
  /* Anciennes aliases : surfaces sombres = bleu profond issu du brand */
  --primary:         #1f4f7c;
  --primary-mid:     #256091;
  --primary-light:   #3578aa;
  /* Accents interactifs = bleu dominant */
  --accent:          #318ce7;
  --accent-dark:     #2578c9;
  --accent-light:    #6eb4f5;
  --white:           #FFFFFF;
  --off-white:       #f5f9fc;
  --bg-light:        #eef4fa;
  /* Textes : contenu en noir / gris (aliases --text-red conservées pour les gabarits existants) */
  --text-heading:    #141414;
  --text-body:       #222222;
  --text-muted:      #5a6d7e;
  --text-dark:       #2d3748;
  --text-red:        var(--text-heading);
  --text-red-muted:  var(--text-muted);
  --border:          #dce8f2;
  --border-light:    #eef4fa;
  --danger:          #c62828;
  --success:         #1B5E20;
  --radius-sm:       6px;
  --radius:          10px;
  --radius-lg:       16px;
  --radius-xl:       24px;
  --transition:      0.3s ease;
  --shadow-sm:       0 2px 8px rgba(49,140,231,.1);
  --shadow-md:       0 6px 24px rgba(49,140,231,.14);
  --shadow-lg:       0 16px 48px rgba(31,79,124,.16);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
}

a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0;
  background: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s, visibility .5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner {
  width: 60px; height: 60px; position: relative;
}
.preloader-inner::before, .preloader-inner::after {
  content: ''; position: absolute; border-radius: 50%;
}
.preloader-inner::before {
  inset: 0; border: 3px solid rgba(49,140,231,.25);
}
.preloader-inner::after {
  inset: 0; border: 3px solid transparent;
  border-top-color: var(--brand);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Scroll to top ── */
#scrollTop {
  position: fixed; bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--brand); color: var(--white);
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; z-index: 900;
  transition: background var(--transition), transform var(--transition);
}
#scrollTop:hover { background: var(--brand-dark); transform: translateY(-2px); }
#scrollTop.show { display: flex; }

/* ══════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════ */
.cppcu-topbar {
  background: var(--brand);
  padding: .5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.cppcu-topbar a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.cppcu-topbar a:hover { color: var(--white); }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,.15); display: inline-block; margin: 0 .75rem; vertical-align: middle; }
.topbar-social a {
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .78rem; color: rgba(255,255,255,.6);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.topbar-social a:hover { background: var(--white); border-color: var(--white); color: var(--brand-deep); }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.cppcu-navbar {
  background: var(--white);
  padding: 0;
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.cppcu-navbar .navbar-brand img { height: 56px; width: auto; }

.cppcu-navbar .nav-link {
  color: var(--brand-deep) !important;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  padding: 1.3rem .95rem !important;
  letter-spacing: .01em;
  position: relative;
  transition: color var(--transition);
}
.cppcu-navbar .nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: .95rem; right: .95rem;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--transition);
  transform-origin: center;
}
.cppcu-navbar .nav-link:hover,
.cppcu-navbar .nav-link.active { color: var(--brand) !important; }
.cppcu-navbar .nav-link:hover::after,
.cppcu-navbar .nav-link.active::after { transform: scaleX(1); }

.cppcu-navbar .dropdown-menu {
  background: var(--white);
  border: none;
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .5rem 0;
  box-shadow: var(--shadow-md);
  min-width: 200px;
  margin-top: 0;
}
.cppcu-navbar .dropdown-item {
  font-family: 'Rubik', sans-serif;
  font-size: .88rem;
  color: var(--brand-deep);
  padding: .55rem 1.25rem;
  display: flex; align-items: center; gap: .6rem;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.cppcu-navbar .dropdown-item:hover {
  background: var(--off-white);
  color: var(--brand);
  padding-left: 1.6rem;
}
.cppcu-navbar .dropdown-item i { color: var(--brand); font-size: .82rem; width: 14px; }

.cppcu-navbar .navbar-toggler {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .4rem .65rem;
}
.cppcu-navbar .navbar-toggler i { color: var(--brand) !important; }

/* CTA navbar button */
.btn-nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  display: inline-flex; align-items: center; gap: .45rem;
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--brand-dark) !important; color: var(--white) !important; transform: translateY(-1px); }

/* ══════════════════════════════════════════
   HERO — SWIPER FULLSCREEN
══════════════════════════════════════════ */
.hero-swiper { width: 100%; height: 100vh; min-height: 600px; }
.hero-slide {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center;
  overflow: hidden;
}
/* Fond photo (priorité Drive + secours dans le template via onerror) */
.hero-slide .hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(31,107,179,.88) 0%, rgba(31,107,179,.62) 40%, rgba(49,140,231,.42) 100%);
  z-index: 1;
}
.hero-slide .container {
  position: relative;
  z-index: 2;
}
.hero-slide-content {
  position: relative; z-index: 2;
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0,24,56,.42);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: 'Rubik', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--brand);
  display: inline-block;
}
.hero-slide-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero-slide-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Swiper nav buttons */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--white);
  width: 50px; height: 50px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 1.1rem; font-weight: 700; }
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.5); }
.hero-swiper .swiper-pagination-bullet-active { background: var(--brand); }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary-cppcu {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand);
  color: var(--white) !important;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--brand);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-primary-cppcu:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
}
.btn-outline-cppcu {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: var(--white) !important;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,.5);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none;
}
.btn-outline-cppcu:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-deep) !important;
}
.btn-dark-cppcu {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-deep);
  color: var(--white) !important;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--brand-deep);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-dark-cppcu:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SECTION UTILITIES
══════════════════════════════════════════ */
.section-py { padding: 5.5rem 0; }
.section-py-sm { padding: 3.5rem 0; }
.bg-off-white { background: var(--off-white); }
.bg-primary-dark { background: var(--brand-deep); }
.bg-accent { background: var(--brand); }

.section-badge {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .85rem;
}
.section-badge::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--brand);
  display: block;
}
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-red);
  margin-bottom: .5rem;
  line-height: 1.15;
}
.section-heading span { color: var(--brand); }
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ── Decorative underline ── */
.deco-line {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 2.5rem;
}
.deco-line span:first-child {
  display: block; width: 48px; height: 3px;
  background: var(--brand); border-radius: 2px;
}
.deco-line span:last-child {
  display: block; width: 10px; height: 10px;
  background: var(--brand); border-radius: 50%;
}

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .18;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--brand-light);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: .6rem;
}
.page-hero .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero .breadcrumb-item { font-size: .88rem; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb-item a:hover { color: var(--brand-light); }
.page-hero .breadcrumb-item.active { color: var(--brand-light); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════
   ABOUT / INTRO SECTION
══════════════════════════════════════════ */
.about-img-wrapper { position: relative; }
.about-img-wrapper .main-img {
  width: 100%; height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge-box {
  position: absolute;
  bottom: -28px; right: 28px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 130px;
}
.about-badge-box .num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.about-badge-box .lbl {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .25rem;
}

/* Stats row */
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.stat-item .stat-lbl {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .35rem;
}
.stat-divider { width: 1px; background: var(--border); }

/* ══════════════════════════════════════════
   FEATURE / PILLAR CARDS
══════════════════════════════════════════ */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-5px); border-color: transparent; }
.feature-card:hover::before { transform: scaleY(1); }

.feature-icon-box {
  width: 64px; height: 64px;
  background: rgba(49,140,231,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.feature-icon-box img { width: 36px; height: 36px; object-fit: contain; }
.feature-icon-box i { font-size: 1.6rem; color: var(--brand); }
.feature-card:hover .feature-icon-box { background: var(--brand); }
.feature-card:hover .feature-icon-box i { color: var(--white); }
.feature-card h4 {
  font-size: 1.1rem;
  color: var(--text-red);
  margin-bottom: .5rem;
}
.feature-card p {
  font-size: .93rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}
.feature-card .card-tag {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: .4rem;
  display: block;
}

/* ══════════════════════════════════════════
   PUERI CANTORES CTA BAND
══════════════════════════════════════════ */
.cta-band {
  position: relative;
  background-color: var(--brand-deep);
  padding: 4.5rem 0;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .22;
}
/* Overlay plus sombre pour texte lisible sur photo bleue / variée */
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,60,112,.93) 0%, rgba(24,104,174,.82) 50%, rgba(49,140,231,.72) 100%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 {
  color: var(--white);
  font-size: 2.2rem;
  text-shadow: 0 2px 10px rgba(0,20,50,.55);
}
.cta-band p {
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  text-shadow: 0 1px 6px rgba(0,20,50,.35);
}
.cta-band h2 em { color: var(--brand-light); font-style: normal; }
.cta-band .accent-line {
  display: block; width: 52px; height: 3px;
  background: var(--brand-light); border-radius: 2px;
  margin-bottom: 1rem;
}

/* Bande Pueri Cantores — même tonalité bleue que la charte (sans rouge) */
.cta-band--pueri {
  padding: 5rem 0 5.25rem;
  background-color: var(--brand-deep);
}
.cta-band--pueri::after {
  background: linear-gradient(
      122deg,
      rgba(15, 60, 112, 0.92) 0%,
      rgba(24, 104, 174, 0.88) 45%,
      rgba(49, 140, 231, 0.91) 100%
    ),
    radial-gradient(ellipse 88% 72% at 70% 32%, rgba(255, 255, 255, 0.14), transparent 50%);
}
.cta-band--pueri .cta-band__blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.cta-band--pueri .cta-band__blobs::before,
.cta-band--pueri .cta-band__blobs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.35;
}
.cta-band--pueri .cta-band__blobs::before {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: rgba(94, 168, 242, 0.45);
  top: -18%;
  left: -8%;
}
.cta-band--pueri .cta-band__blobs::after {
  width: min(48vw, 360px);
  height: min(48vw, 360px);
  background: rgba(255, 255, 255, 0.22);
  bottom: -25%;
  right: -6%;
}
.cta-band--pueri .cta-band__text-block {
  position: relative;
  z-index: 2;
}
.cta-band--pueri .cta-band__rule {
  display: block;
  width: 48px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  margin-bottom: 1.1rem;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}
.cta-band--pueri .cta-band__heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.cta-band--pueri .cta-band__accent-text {
  color: #e8f4ff;
  font-weight: 800;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.35), 0 2px 12px rgba(0, 0, 0, 0.3);
}
.cta-band--pueri .cta-band__copy {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.96);
  margin: 0;
  max-width: 38rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}
.cta-band--pueri .cta-band__action-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  color: var(--brand-deep) !important;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), color var(--transition);
}
.cta-band--pueri .cta-band__action-btn:hover {
  background: var(--off-white);
  border-color: #ffffff;
  color: var(--brand) !important;
  transform: translateY(-2px);
}
.cta-band--pueri .cta-band__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(49, 140, 231, 0.14);
  color: var(--brand-deep);
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════
   EVENTS
══════════════════════════════════════════ */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex; flex-direction: column;
  height: 100%;
  transition: transform var(--transition);
}
.event-card:hover { transform: translateY(-4px); }

.event-img-wrap { position: relative; overflow: hidden; }
.event-img-wrap img {
  width: 100%; height: 210px;
  object-fit: cover;
  transition: transform .5s ease;
}
.event-card:hover .event-img-wrap img { transform: scale(1.04); }

.event-date-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  text-align: center;
  line-height: 1;
}
.event-date-badge .day {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
}
.event-date-badge .month {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.event-body {
  padding: 1.4rem 1.5rem 1.75rem;
  flex: 1; display: flex; flex-direction: column;
}
.event-location {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .6rem;
}
.event-body h5 {
  font-size: 1.1rem;
  color: var(--text-red);
  margin-bottom: .6rem;
  line-height: 1.35;
}
.event-body p {
  font-size: .9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.1rem;
}

/* Countdown */
.countdown-row { display: flex; gap: .5rem; margin-bottom: 1.1rem; }
.countdown-cell {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: .4rem .6rem;
  text-align: center; min-width: 46px;
}
.countdown-cell .cnt-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--brand); line-height: 1; display: block;
}
.countdown-cell .cnt-lbl {
  font-size: .62rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em;
}

/* ══════════════════════════════════════════
   PARTNERS BAND
══════════════════════════════════════════ */
.partners-band {
  background: linear-gradient(180deg, var(--brand-deep) 0%, #144a78 100%);
  padding: 3rem 0;
  border-top: 4px solid var(--brand-light);
}
.partner-item {
  display: flex; align-items: center; justify-content: center;
  padding: .5rem .75rem;
  transition: transform var(--transition);
}
.partner-item:hover { transform: translateY(-2px); }
/* Carton blanc : logos lisibles sur fond bleu */
.partner-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .45rem;
  min-height: 86px;
  min-width: 120px;
  padding: .65rem .9rem;
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,36,74,.22);
}
.partner-chip.partner-chip--icon-only {
  min-width: 100px;
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.partner-chip .partner-chip-icon {
  font-size: 1.85rem;
  color: var(--brand);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.06));
}
.partner-chip span.partner-chip-label {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  color: var(--text-red);
}
.partner-chip.partner-chip--text-only { min-height: 72px; justify-content: center; }
.partner-chip.partner-chip--text-only .partner-chip-label { font-size: .8rem; }
.partner-item img.partner-logo-img {
  max-height: 52px;
  max-width: 110px;
  width: auto; height: auto;
  object-fit: contain;
  filter: none;
}
.partner-rule {
  width: 1px; height: 56px;
  background: rgba(255,255,255,.28);
}

/* Variante Prachite — grille cartes partenaires */
.partners-band--prachite {
  position: relative;
  padding: 3.25rem 0 3.75rem;
  background: linear-gradient(180deg, #1a73bb 0%, #145a96 42%, #0f4575 100%);
  border-top: none;
}
.partners-band--prachite .partners-band__top-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}
.partners-band--prachite .partners-band__header {
  margin-bottom: 2rem;
}
.partners-band--prachite .partners-band__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 10px rgba(0, 28, 62, 0.35);
  margin: 0;
}
.partners-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 1200px) {
  .partners-band__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.partner-card {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.25rem;
  box-shadow: 0 6px 22px rgba(0, 36, 74, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  min-height: 148px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 36, 74, 0.24);
}
.partner-card__media {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.partner-card__logo {
  max-height: 52px;
  max-width: 124px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.partner-card__fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--brand);
}
.partner-card__fallback.is-visible {
  display: flex;
}
.partner-card__name {
  font-family: 'Sora', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-red);
  margin: 0;
}
.partner-card__name-sub {
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-red-muted);
}
.partner-card--icon .partner-card__icon-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(49, 140, 231, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* Aperçu Drive (page d'accueil) */
.home-drive-thumb {
  transition: transform .35s ease, box-shadow .35s ease;
}
.home-drive-thumb:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md) !important;
}
.home-drive-thumb:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════
   NEWS / BLOG CARDS
══════════════════════════════════════════ */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform var(--transition);
}
.news-card:hover { transform: translateY(-4px); }

.news-img-wrap { position: relative; overflow: hidden; }
.news-img-wrap img {
  width: 100%; height: 215px;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-img-wrap img { transform: scale(1.04); }

.news-category-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--brand);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: var(--radius-sm);
}

.news-body {
  padding: 1.4rem 1.5rem 1.75rem;
  flex: 1; display: flex; flex-direction: column;
}
.news-meta {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-muted);
  margin-bottom: .85rem;
}
.news-meta span { display: flex; align-items: center; gap: .35rem; }
.news-card h5 {
  font-size: 1.05rem;
  color: var(--text-red);
  margin-bottom: .6rem;
  line-height: 1.4;
}
.news-card h5 a { color: inherit; text-decoration: none; transition: color var(--transition); }
.news-card h5 a:hover { color: var(--brand); }
.news-card .news-excerpt {
  font-size: .9rem; color: var(--text-muted);
  flex: 1; margin-bottom: 1.1rem;
}
.news-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}
.read-more-link {
  font-family: 'Sora', sans-serif;
  font-size: .85rem; font-weight: 700;
  color: var(--text-red);
  display: flex; align-items: center; gap: .4rem;
  transition: color var(--transition), gap var(--transition);
  text-decoration: none;
}
.read-more-link:hover { color: var(--brand); gap: .7rem; }
.views-count {
  font-size: .8rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .35rem;
}

/* ══════════════════════════════════════════
   APP PROMO BAND
══════════════════════════════════════════ */
.app-band {
  background: var(--off-white);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.app-band h4 {
  font-size: 1.4rem;
  color: var(--text-red);
  margin-bottom: .35rem;
}
.app-band p { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.cppcu-footer { background: var(--brand-deep); color: rgba(255,255,255,.76); }

.footer-top {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 54px; margin-bottom: 1.25rem; }
.footer-about { font-size: .9rem; line-height: 1.75; margin-bottom: 1.25rem; }

.footer-heading {
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .6rem;
}
.footer-heading::after {
  content: '';
  flex: 1; height: 1px;
  background: rgba(255,255,255,.1);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: .5rem;
  transition: color var(--transition), gap var(--transition);
}
.footer-links a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: .65rem; color: var(--brand-light);
}
.footer-links a:hover { color: var(--brand-light); gap: .75rem; }

.footer-news-item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-news-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.footer-news-img {
  width: 64px; height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.footer-news-text { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.4; }
.footer-news-text a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-news-text a:hover { color: var(--brand-light); }
.footer-news-date {
  font-size: .75rem; color: rgba(255,255,255,.4);
  display: flex; align-items: center; gap: .35rem;
  margin-top: .35rem;
}

.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-bottom: .9rem;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-list .fc-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(49,140,231,.22);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light); font-size: .9rem;
}
.footer-contact-list a { color: rgba(255,255,255,.7); }
.footer-contact-list a:hover { color: var(--brand-light); }

.footer-newsletter form { display: flex; gap: .5rem; }
.footer-newsletter input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .6rem 1rem;
  color: var(--white);
  font-size: .88rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter button {
  background: var(--brand); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  padding: .6rem 1.1rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: .85rem; cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--brand-dark); color: var(--white); }

.social-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.social-row a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

.footer-bottom {
  padding: 1.4rem 0;
  font-size: .83rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: var(--brand-light); }

/* ══════════════════════════════════════════
   À PROPOS PAGE
══════════════════════════════════════════ */
.mission-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  transition: transform var(--transition), border-color var(--transition);
}
.mission-step:hover { transform: translateX(4px); border-color: var(--brand); }
.mission-step .step-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(49,140,231,.14);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 1.2rem;
}
.mission-step h6 {
  font-size: 1rem;
  color: var(--text-red);
  margin-bottom: .25rem;
}
.mission-step p { font-size: .9rem; color: var(--text-muted); margin: 0; }

.devise-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  border: 1px solid var(--border-light);
  height: 100%;
  transition: transform var(--transition);
}
.devise-card:hover { transform: translateY(-5px); }
.devise-card .devise-icon {
  width: 72px; height: 72px;
  background: rgba(49,140,231,.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem; color: var(--brand);
  transition: background var(--transition), color var(--transition);
}
.devise-card:hover .devise-icon { background: var(--brand); color: var(--white); }
.devise-card h4 { color: var(--text-red); margin-bottom: .6rem; }
.devise-card p { color: var(--text-muted); font-size: .92rem; margin: 0; }

.vision-card {
  background: linear-gradient(155deg, var(--brand-deep) 0%, #165a94 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: rgba(255,255,255,.88);
}
.vision-card h3 { color: var(--brand-light); margin-bottom: .75rem; }
.vision-card li { margin-bottom: .6rem; display: flex; align-items: flex-start; gap: .6rem; }
.vision-card li i { color: var(--brand-light); margin-top: .3rem; flex-shrink: 0; }

/* ══════════════════════════════════════════
   GALERIE
══════════════════════════════════════════ */
.filter-toolbar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: .45rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent; color: var(--text-body);
  font-family: 'Sora', sans-serif;
  font-size: .85rem; font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--brand); color: var(--white); border-color: var(--brand);
}

.gallery-masonry { columns: 3; column-gap: 1rem; gap: 1rem; }
@media (max-width: 767px) { .gallery-masonry { columns: 2; } }
@media (max-width: 480px) { .gallery-masonry { columns: 1; } }
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden; position: relative; cursor: pointer;
}
.gallery-item img { width: 100%; display: block; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(31,107,179,.58);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  color: var(--white); font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ══════════════════════════════════════════
   VIDÉOS (listing + cartes)
══════════════════════════════════════════ */
.video-card-v2 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--white);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.video-card-v2__media.ratio {
  background: var(--brand-deep);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.video-card-v2__media > img {
  object-fit: cover;
}
.video-card-v2__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand-deep), var(--brand));
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.5rem;
}
.video-card-v2__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 52, 86, 0.42);
  transition: background var(--transition);
  text-decoration: none !important;
}
.video-card-v2:hover .video-card-v2__overlay {
  background: rgba(18, 52, 86, 0.58);
}
.video-card-v2__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  padding-left: 3px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.video-card-v2:hover .video-card-v2__play {
  transform: scale(1.08);
  background: var(--brand);
  color: var(--white);
}
.video-card-v2__body {
  padding: 1.15rem 1.25rem 1.3rem;
}
.video-card-v2__title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.video-card-v2__title a {
  color: var(--text-red);
  text-decoration: none;
}
.video-card-v2__title a:hover {
  color: var(--brand);
}

/* ══════════════════════════════════════════
   ARTICLE SINGLE
══════════════════════════════════════════ */
.article-cover {
  width: 100%; height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.article-meta-row {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.meta-pill {
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: var(--text-muted);
  background: var(--off-white);
  padding: .3rem .8rem;
  border-radius: 50px;
}
.meta-pill.author { background: rgba(49,140,231,.12); color: var(--text-red); font-weight: 600; }
.meta-pill i { color: var(--brand); font-size: .8rem; }

.article-content { font-size: 1rem; line-height: 1.85; }
.article-content h2, .article-content h3 { color: var(--text-red); margin: 2rem 0 .75rem; }
.article-content blockquote {
  border-left: 4px solid var(--brand);
  background: var(--off-white);
  padding: 1.1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-body);
}

/* Détail événement (aligné article single) */
.event-single-citation {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-red);
  border-left: 4px solid var(--brand);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.event-single-countdown {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 18px rgba(0, 36, 74, .06);
}

.share-row {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}
.share-label { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .88rem; color: var(--text-red); }
.share-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .83rem; font-weight: 600;
  color: var(--white) !important;
  transition: opacity var(--transition), transform var(--transition);
  text-decoration: none;
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); color: var(--white) !important; }
.share-btn.wa { background: #25D366; }
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }

/* Sidebar */
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.5rem;
}
.sidebar-box-title {
  font-family: 'Sora', sans-serif;
  font-size: .9rem; font-weight: 700;
  color: var(--text-red);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--brand);
}
.sidebar-post-item {
  display: flex; gap: .85rem; align-items: flex-start;
  padding-bottom: .9rem; margin-bottom: .9rem;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-post-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-post-item img {
  width: 66px; height: 50px;
  object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0;
}
.sidebar-post-item a { font-size: .88rem; color: var(--text-red); line-height: 1.35; text-decoration: none; }
.sidebar-post-item a:hover { color: var(--brand); }
.sidebar-post-item .sp-date {
  font-size: .76rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .3rem; margin-top: .3rem;
}

/* Commentaires */
.comment-list { margin-bottom: 2rem; }
.comment-item {
  display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start;
}
.comment-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-avatar--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(49, 140, 231, 0.14);
  color: var(--brand);
  font-size: 1.05rem;
  box-sizing: border-box;
}
.comment-avatar--icon.comment-avatar--sm {
  width: 36px;
  height: 36px;
  font-size: 0.92rem;
}
.comment-bubble { flex: 1; background: var(--off-white); border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); padding: 1rem 1.25rem; }
.comment-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .9rem; color: var(--text-red); }
.comment-date { font-size: .77rem; color: var(--text-muted); }
.comment-text { font-size: .92rem; margin-top: .5rem; }
.btn-reply { font-size: .8rem; color: var(--brand); background: none; border: none; font-weight: 700; cursor: pointer; padding: .25rem 0; }
.comment-replies { margin-left: 3.5rem; }

.comment-form-box {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}
.comment-form-box h5 { color: var(--text-red); margin-bottom: 1.25rem; }
.comment-form-box .form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font-size: .92rem;
  background: var(--white);
  transition: border-color var(--transition);
}
.comment-form-box .form-control:focus { border-color: var(--brand); box-shadow: none; outline: none; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: var(--brand); transform: translateX(4px); }
.contact-card-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(49,140,231,.14);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 1.15rem;
}
.contact-card h6 { font-family: 'Sora', sans-serif; font-size: .95rem; color: var(--text-red); margin-bottom: .2rem; }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--text-muted); margin: 0; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form-card h4 { color: var(--text-red); margin-bottom: 1.5rem; }
.contact-form-card .form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  font-size: .93rem;
  background: var(--off-white);
  transition: border-color var(--transition);
}
.contact-form-card .form-control:focus { border-color: var(--brand); box-shadow: none; background: var(--white); }
.contact-form-card label { font-family: 'Sora', sans-serif; font-size: .83rem; font-weight: 600; color: var(--text-red); }

/* ══════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════ */
.cppcu-pagination { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }
.cppcu-pagination a, .cppcu-pagination .page-num {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: .88rem; font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-body);
  transition: all var(--transition);
}
.cppcu-pagination a:hover,
.cppcu-pagination .page-num.active {
  background: var(--brand); color: var(--white); border-color: var(--brand);
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
[data-cppcu-fade] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-cppcu-fade].visible { opacity: 1; transform: translateY(0); }
[data-cppcu-fade][data-delay="100"] { transition-delay: .1s; }
[data-cppcu-fade][data-delay="200"] { transition-delay: .2s; }
[data-cppcu-fade][data-delay="300"] { transition-delay: .3s; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero-swiper { height: 75vh; }
  .cppcu-topbar { display: none; }
  .about-img-wrapper .main-img { height: 360px; }
  .gallery-masonry { columns: 2; }
  .contact-form-card { padding: 1.75rem; }
}
@media (max-width: 576px) {
  .section-py { padding: 3.5rem 0; }
  .page-hero { padding: 3.5rem 0 2.5rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .hero-swiper { height: 65vh; min-height: 480px; }
  .article-cover { height: 240px; }
  .gallery-masonry { columns: 1; }
  .about-badge-box { right: 16px; }
}

/* ——— Cover generator (/cover) ——— */
.cover-export-root {
  position: relative;
  width: 100%;
  min-height: 360px;
  max-height: min(520px, 85vw);
  border-radius: var(--radius-lg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--off-white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.cover-export-inner {
  position: absolute;
  top: 0;
  right: 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
}
.cover-avatar-preview {
  width: clamp(72px, 18vw, 140px);
  height: clamp(72px, 18vw, 140px);
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(15, 28, 46, 0.25);
}
