/*
Theme Name: Cynoxa
Theme URI: https://cynoxa.net
Author: Youssef Chennour
Author URI: https://cynoxa.net
Description: Thème officiel Cynoxa v2.2 — Site one-page premium + blog WordPress dynamique. Articles modifiables via WP-Admin, design cohérent Cynoxa, intégration WhatsApp native.
Version: 2.2.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary — Tous droits réservés Cynoxa
License URI: https://cynoxa.net
Text Domain: cynoxa
Tags: one-page, business, custom-logo, custom-colors, responsive
*/

/* ════════════════════════════════════════════════════════════════
   CYNOXA — STYLES PRINCIPAUX
   ════════════════════════════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --blue: #0EA5E9;
  --blue-dark: #0284C7;
  --blue-light: #E0F2FE;
  --gold: #D4AF37;
  --gold-light: #FBF5DC;
  --text: #1E293B;
  --text-light: #64748B;
  --bg: #F8FAFC;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(14,165,233,0.10);
  --shadow-lg: 0 8px 48px rgba(14,165,233,0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 16px rgba(14,165,233,0.07);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  text-decoration: none;
}

.nav-logo img {
  height: 44px; width: 44px; object-fit: contain;
}

.nav-logo-text {
  font-size: 1.5rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.5px;
}

.nav-logo-text span { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none; color: var(--text-light);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--blue); background: var(--blue-light);
}

.nav-cta {
  background: var(--blue); color: white !important;
  border-radius: 50px !important; padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,165,233,0.35) !important;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: 0.3s;
}

/* ─── PAGES ─── */
.page { display: none; min-height: 100vh; padding-top: 72px; }
.page.active { display: block; }

/* ─── SECTIONS ─── */
section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-full { max-width: 100%; padding: 5rem 2rem; }

/* ─── HERO ─── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 50%, #FFFBEB 100%);
  position: relative; overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(14,165,233,0.2);
}

.hero-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  color: var(--text); margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.hero h1 span { color: var(--blue); }
.hero h1 em { color: var(--gold); font-style: normal; }

.hero h2 {
  font-size: 1.15rem; font-weight: 400;
  color: var(--text-light); margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white;
  padding: 0.875rem 2rem; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14,165,233,0.4);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--text);
  padding: 0.875rem 2rem; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: 2px solid var(--border); cursor: pointer;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--blue); color: var(--blue);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}

.hero-card {
  background: white; border-radius: 24px;
  padding: 2rem; width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.hero-card-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem;
}

.hero-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

.hero-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.hero-card p { font-size: 0.8rem; color: var(--text-light); }

.hero-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem;
}

.hero-stat {
  text-align: center; padding: 1rem;
  background: var(--bg); border-radius: var(--radius-sm);
}

.hero-stat-num {
  font-size: 1.5rem; font-weight: 800; color: var(--blue);
}

.hero-stat-label {
  font-size: 0.7rem; color: var(--text-light); font-weight: 500;
}

.floating-badge {
  position: absolute; background: white;
  border-radius: 50px; padding: 0.5rem 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-size: 0.75rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
  animation: float 3s ease-in-out infinite;
}

.floating-badge.top { top: -16px; right: 20px; }
.floating-badge.bottom { bottom: -16px; left: 20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── PRESENTATION ─── */
.presentation-section {
  background: linear-gradient(135deg, var(--blue) 0%, #0284C7 100%);
  color: white; padding: 5rem 2rem;
}

.presentation-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
}

.presentation-inner h2 {
  font-size: 2rem; font-weight: 800; margin-bottom: 2rem;
  color: white;
}

.presentation-inner p {
  font-size: 1.05rem; line-height: 1.8; opacity: 0.95;
  margin-bottom: 1rem;
}

.presentation-inner p strong { color: var(--gold); }

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

.service-card {
  background: white; border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--border);
  transition: all 0.3s; position: relative; overflow: hidden;
}

.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0); transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2.5rem; margin-bottom: 1rem; display: block;
}

.service-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text);
}

.service-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; }

.service-includes {
  list-style: none; margin-bottom: 1.5rem;
}

.service-includes li {
  font-size: 0.85rem; color: var(--text-light); padding: 0.3rem 0;
  display: flex; align-items: center; gap: 8px;
}

.service-includes li::before {
  content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0;
}

.service-tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ─── WHY US ─── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

.why-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 1.75rem; text-align: center; border: 1px solid var(--border);
  transition: all 0.3s;
}

.why-card:hover { background: var(--blue-light); border-color: var(--blue); transform: translateY(-4px); }

.why-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.85rem; color: var(--text-light); }

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, #1E293B 0%, #0EA5E9 100%);
  padding: 5rem 2rem; text-align: center; color: white;
}

.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; max-width: 650px; margin: 0 auto 2rem; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--text);
  padding: 1rem 2.5rem; border-radius: 50px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}

.btn-gold:hover {
  background: #C49A2A; transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.5);
}

/* ─── SECTION TITLES ─── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: 2.2rem; font-weight: 800; color: var(--text); margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-header p { font-size: 1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-label {
  display: inline-block; color: var(--blue); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px; margin: 1rem auto 0;
}

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: linear-gradient(135deg, #F0F9FF, #FFFBEB);
  padding: 5rem 2rem;
}

.about-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.about-text h1 {
  font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.about-text h1 span { color: var(--blue); }

.about-text p {
  font-size: 1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1rem;
}

.about-image-card {
  background: white; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  text-align: center; padding: 2.5rem;
}

.founder-photo {
  width: 200px; height: 200px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1.5rem;
  border: 4px solid var(--blue-light);
  display: block;
}

.founder-name { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.founder-title { font-size: 0.85rem; color: var(--blue); font-weight: 600; margin-bottom: 1rem; }

.social-links { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  text-decoration: none; font-size: 1.1rem;
  transition: all 0.2s;
}

.social-link:hover { background: var(--blue); transform: translateY(-2px); }

.mission-vision {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem;
}

.mv-card {
  background: white; border-radius: var(--radius); padding: 2.5rem;
  border: 1px solid var(--border); position: relative; overflow: hidden;
}

.mv-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.mv-card.vision::after { background: linear-gradient(90deg, var(--gold), var(--blue)); }

.mv-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.mv-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; color: var(--text); }
.mv-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }
.mv-card p strong { color: var(--blue); }

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

.value-card {
  background: white; border-radius: var(--radius); padding: 2rem; text-align: center;
  border: 1px solid var(--border); transition: all 0.3s;
}

.value-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }

.value-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.85rem; color: var(--text-light); }

/* ─── TOOLS PAGE ─── */
.tools-categories {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

.tools-category {
  background: white; border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); transition: all 0.3s;
}

.tools-category:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.tools-category h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px; color: var(--text);
}

.tools-list { list-style: none; }
.tools-list li {
  padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-light);
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px;
}
.tools-list li:last-child { border-bottom: none; }
.tools-list li::before { content: '→'; color: var(--blue); font-weight: 700; }

.resources-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

.resource-card {
  background: linear-gradient(135deg, var(--blue-light), white);
  border-radius: var(--radius); padding: 2rem;
  border: 1px solid rgba(14,165,233,0.2); transition: all 0.3s;
  position: relative;
}

.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.resource-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.resource-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.resource-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.5rem; }

.resource-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--text);
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.btn-download {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: white;
  padding: 0.6rem 1.25rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.2s;
}

.btn-download:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ─── VIDEO GRID ─── */
.videos-section { background: var(--bg); padding: 5rem 2rem; }
.videos-inner { max-width: 1200px; margin: 0 auto; }
.videos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}

.video-placeholder {
  background: white; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: all 0.3s; cursor: pointer;
}
.video-placeholder:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.video-thumb {
  height: 180px; background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: white; position: relative;
}

.video-thumb::after {
  content: '▶'; position: absolute;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.2); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem;
}

.video-info { padding: 1.25rem; }
.video-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.video-info p { font-size: 0.8rem; color: var(--text-light); }

/* ─── BLOG PAGE ─── */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; margin-top: 3rem;
}

.blog-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); transition: all 0.3s;
}

.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.blog-card-thumb {
  height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}

.blog-card-thumb.c1 { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.blog-card-thumb.c2 { background: linear-gradient(135deg, #FEF9C3, #FDE68A); }
.blog-card-thumb.c3 { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }

.blog-card-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem;
  border-radius: 50px; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.blog-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; }

.blog-soon {
  text-align: center; padding: 4rem 2rem;
  background: var(--bg); border-radius: var(--radius); margin-top: 3rem;
  border: 2px dashed var(--border);
}

.blog-soon p { font-size: 1.1rem; color: var(--text-light); }
.blog-soon strong { color: var(--blue); }

/* ─── FAQ PAGE ─── */
.faq-list { max-width: 800px; margin: 3rem auto 0; }

.faq-item {
  background: white; border-radius: var(--radius-sm);
  border: 1px solid var(--border); margin-bottom: 1rem;
  overflow: hidden; transition: all 0.3s;
}

.faq-item:hover { border-color: var(--blue); }

.faq-question {
  padding: 1.25rem 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 0.95rem; color: var(--text);
  user-select: none;
}

.faq-question:hover { color: var(--blue); }

.faq-arrow {
  font-size: 1.2rem; color: var(--blue);
  transition: transform 0.3s; flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  border-top: 0px solid var(--border);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem; color: var(--text-light); line-height: 1.8;
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem;
  margin-top: 3rem; align-items: start;
}

.contact-info { }

.contact-card {
  background: white; border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); margin-bottom: 1.5rem;
}

.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }

.contact-item {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
  font-size: 0.9rem; color: var(--text-light);
}

.contact-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}

.contact-item strong { display: block; color: var(--text); font-weight: 600; }

.contact-form {
  background: white; border-radius: var(--radius); padding: 2.5rem;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}

.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 2rem; color: var(--text); }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.875rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; color: var(--text);
  background: var(--bg); transition: all 0.2s; outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: white;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── FOOTER ─── */
footer {
  background: var(--text); color: rgba(255,255,255,0.8);
  padding: 4rem 2rem 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo-text { font-size: 1.4rem; font-weight: 800; color: white; }
.footer-logo-text span { color: var(--blue); }
.footer-brand p { font-size: 0.875rem; line-height: 1.8; max-width: 280px; }
.footer-brand p strong { color: var(--gold); }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.1); display: flex; align-items: center;
  justify-content: center; text-decoration: none; font-size: 1rem; color: white;
  transition: all 0.2s;
}
.footer-social-link:hover { background: var(--blue); transform: translateY(-2px); }

.footer-col h4 { font-size: 0.9rem; font-weight: 700; color: white; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.2s; cursor: pointer;
}
.footer-col ul li a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none; font-size: 1.8rem; color: white;
  transition: all 0.3s; animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

/* ─── ANIMATIONS ─── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

/* ─── STATS HIDDEN ─── */
.stats-section {
  display: none; /* Masqué — à activer plus tard */
  background: var(--bg); padding: 4rem 2rem;
}

.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}

.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: var(--blue); }
.stat-item p { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }

/* ─── MAP PLACEHOLDER ─── */
.map-placeholder {
  height: 300px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light), #E0F2FE);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1.5rem; border: 1px solid var(--border);
  font-size: 3rem; flex-direction: column; gap: 1rem;
}

.map-placeholder p { font-size: 0.9rem; color: var(--text-light); }

/* ─── DOWNLOAD MODAL ─── */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,41,59,0.6); z-index: 2000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.show { display: flex; }

.modal {
  background: white; border-radius: 24px; padding: 2.5rem;
  width: 90%; max-width: 440px; box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text); }
.modal p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 2rem; }
.modal-close {
  float: right; background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--text-light); margin-top: -0.5rem;
}

/* ════════════════════════════════════════════════════════════════
   SURCHARGES WORDPRESS
   ════════════════════════════════════════════════════════════════ */
body.logged-in.admin-bar nav { top: 32px; }
@media (max-width: 782px) {
  body.logged-in.admin-bar nav { top: 46px; }
}
#wpadminbar { z-index: 9999 !important; }

/* ════════════════════════════════════════════════════════════════
   CYNOXA v2.1 — BRAND HEADER + CTA WHATSAPP
   ════════════════════════════════════════════════════════════════ */

/* ── BRAND HEADER (logo + wordmark grand format, top center) ── */
.brand-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 0;
  text-align: center;
  border-bottom: 1px solid rgba(14, 165, 233, 0.08);
}
.brand-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.brand-link:hover { transform: scale(1.01); }
.brand-banner {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* La nav devient secondaire (sticky en dessous du brand header) */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Mobile : tailles ajustées */
@media (max-width: 768px) {
  .brand-banner { max-width: 100%; }
}
@media (max-width: 480px) {
  .brand-banner { max-width: 100%; }
}

/* ── HERO — Slogan long : ajustement taille police pour absorber 68 caractères ── */
.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 3.4rem);
  line-height: 1.15;
}

/* ── CONTACT — Carte WhatsApp grand format (remplace le formulaire) ── */
.contact-whatsapp-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 2px solid #0EA5E9;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
  text-align: center;
}
.contact-whatsapp-emoji {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.contact-whatsapp-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.75rem;
}
.contact-whatsapp-lead {
  font-size: 1rem;
  color: #64748B;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.contact-whatsapp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.contact-whatsapp-list li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #1E293B;
  line-height: 1.5;
}
.btn-whatsapp-big {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem !important;
  padding: 1.1rem 2rem !important;
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}
.contact-whatsapp-meta {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .contact-whatsapp-card { padding: 1.75rem 1.25rem; }
  .contact-whatsapp-card h3 { font-size: 1.3rem; }
}

/* ════════════════════════════════════════════════════════════════
   CYNOXA v2.2 — BLOG DYNAMIQUE + SINGLE ARTICLE
   ════════════════════════════════════════════════════════════════ */

/* ── Cartes blog dynamiques (override / extension du style existant) ── */
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
}

.blog-card-thumb-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.blog-card-meta {
  display: block;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ── Section "Suivez Cynoxa partout" (canaux externes) ── */
.external-channels-section {
  background: linear-gradient(180deg, transparent 0%, #F8FAFC 100%);
  padding: 4rem 0 2rem;
}

.resources-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}

.resource-channel-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.resource-channel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.15);
  border-color: #0EA5E9;
}

.resource-channel-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.resource-channel-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.5rem;
}

.resource-channel-card p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.resource-channel-meta {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.resource-channel-cta {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0EA5E9;
  margin-top: auto;
}

/* ════════════════════════════════════════════════════════════════
   PAGE SINGLE ARTICLE — Affichage d'un article individuel
   ════════════════════════════════════════════════════════════════ */

body.single-article-page {
  background: #FAFBFC;
}

.single-nav {
  background: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 90;
}

.single-nav-back {
  font-weight: 600;
  color: #0EA5E9;
  text-decoration: none;
  font-size: 0.95rem;
}
.single-nav-back:hover { text-decoration: underline; }

.single-nav .nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.single-nav .nav-links a {
  color: #1E293B;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.single-nav .nav-links a:hover { color: #0EA5E9; }

.single-article {
  max-width: 760px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.single-article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.single-article-cat {
  display: inline-block;
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.single-article-title {
  font-size: clamp(1.85rem, 4.5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 900;
  color: #1E293B;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.single-article-meta {
  font-size: 0.9rem;
  color: #64748B;
}

.single-article-meta-sep {
  margin: 0 0.5rem;
  color: #CBD5E1;
}
f
.single-article-featured {
  margin: 0 -1.5rem 3rem;
  border-radius: 20px;
  overflow: hidden;
}
.single-article-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.single-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1E293B;
}

.single-article-content h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  color: #1E293B;
  letter-spacing: -0.01em;
}

.single-article-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.8rem;
  color: #1E293B;
}

.single-article-content p { margin-bottom: 1.3rem; }
.single-article-content ul, .single-article-content ol {
  margin-bottom: 1.3rem;
  padding-left: 1.5rem;
}
.single-article-content li { margin-bottom: 0.5rem; }

.single-article-content a {
  color: #0EA5E9;
  text-decoration: underline;
  font-weight: 500;
}
.single-article-content a:hover { color: #0284C7; }

.single-article-content blockquote {
  border-left: 4px solid #0EA5E9;
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: #F0F9FF;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #475569;
}

.single-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.single-article-content code {
  background: #F1F5F9;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.single-article-content pre {
  background: #1E293B;
  color: #F1F5F9;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.single-article-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.single-article-tags-label {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 600;
  margin-right: 0.5rem;
}

.single-article-tag {
  display: inline-block;
  background: #F1F5F9;
  color: #475569;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

/* CTA WhatsApp en fin d'article */
.single-article-cta {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 2px solid #0EA5E9;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 4rem 0 3rem;
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.12);
}
.single-article-cta-emoji {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.single-article-cta h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 0.6rem;
}
.single-article-cta p {
  font-size: 0.95rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

/* Navigation entre articles */
.single-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.single-article-nav-link {
  display: block;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.single-article-nav-link:hover {
  border-color: #0EA5E9;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
}
.single-article-nav-link.next { text-align: right; }
.single-article-nav-label {
  display: block;
  font-size: 0.78rem;
  color: #0EA5E9;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.single-article-nav-title {
  display: block;
  font-size: 0.95rem;
  color: #1E293B;
  font-weight: 600;
  line-height: 1.4;
}

.single-footer {
  background: #1E293B;
  color: white;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
}
.single-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.single-footer a {
  color: #0EA5E9;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 640px) {
  .single-article { margin: 2rem auto; }
  .single-article-featured { margin: 0 -1rem 2rem; border-radius: 0; }
  .single-article-nav { grid-template-columns: 1fr; }
  .single-nav .nav-links { display: none; }
}
/* ════════════════════════════════════════════════════════════════
   GALERIE — grille de réalisations téléchargeables
   ════════════════════════════════════════════════════════════════ */

/* ─── Filtres ─── */
.gal-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin-bottom: 3rem;
}

.gal-filter {
  font-family: 'Poppins', sans-serif;
  background: var(--white); color: var(--text);
  border: 2px solid var(--border);
  padding: 0.6rem 1.4rem; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
}

.gal-filter:hover {
  border-color: var(--blue); color: var(--blue);
}

.gal-filter.active {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(14,165,233,0.28);
}

/* ─── Grille ─── */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* ─── Carte ─── */
.gal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.gal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gal-card.gal-hidden { display: none; }

/* ─── Vignette ─── */
.gal-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, var(--blue-light), var(--gold-light));
  overflow: hidden;
}

.gal-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.gal-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--gold); color: #3D2F00;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0.28rem 0.7rem; border-radius: 50px;
}

/* ─── Corps ─── */
.gal-body {
  padding: 1.4rem;
  display: flex; flex-direction: column; flex: 1;
}

.gal-cat {
  display: inline-block;
  color: var(--blue); font-weight: 700;
  font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gal-body h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); line-height: 1.4;
  margin-bottom: 0.6rem;
}

.gal-body p {
  font-size: 0.87rem; color: var(--text-light);
  line-height: 1.6; flex: 1;
  margin-bottom: 1.2rem;
}

/* ─── Boutons ─── */
.gal-actions { display: flex; gap: 0.5rem; }

.gal-btn {
  flex: 1; text-align: center;
  font-size: 0.82rem; font-weight: 600;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.gal-btn-main {
  background: var(--blue); color: var(--white);
}
.gal-btn-main:hover { background: var(--blue-dark); }

.gal-btn-alt {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border);
}
.gal-btn-alt:hover { border-color: var(--blue); color: var(--blue); }

.gal-btn:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* ─── État vide ─── */
.gal-vide {
  display: none;
  text-align: center; color: var(--text-light);
  padding: 3rem 1rem; font-size: 0.95rem;
}
.gal-vide.show { display: block; }

/* ─── Mobile ─── */
@media (max-width: 640px) {
  .gal-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .gal-filter { font-size: 0.8rem; padding: 0.5rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gal-card, .gal-btn, .gal-filter { transition: none; }
  .gal-card:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   GALERIE V2 — playlists, surbrillance, superposition
   ════════════════════════════════════════════════════════════════ */

.gal-n { opacity: .55; font-size: .78em; margin-left: .2rem; }

.gal-cats { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .5rem; }

.gal-cats .gal-cat {
  display: inline-block; margin: 0;
  background: var(--blue-light); color: var(--blue);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: .15rem .55rem; border-radius: 50px;
}

/* ─── Carte partagée en surbrillance ─── */
.gal-card.gal-hl {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(212,175,55,.16), 0 10px 28px rgba(212,175,55,.22);
}

/* ─── Bouton d'action rendu par JS ─── */
button.gal-btn {
  font-family: 'Poppins', sans-serif;
  border: none; cursor: pointer;
}

/* ─── Message d'erreur ─── */
.gal-erreur {
  grid-column: 1 / -1;
  text-align: center; color: var(--text-light);
  padding: 3rem 1rem; font-size: .95rem;
}

/* ─── Superposition ─── */
.gal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,23,42,.62);
  padding: 2rem 1rem;
  align-items: center; justify-content: center;
}
.gal-overlay.show { display: flex; }

.gal-ov-box {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%; max-width: 1000px; height: 88vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.gal-ov-top {
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.gal-ov-top span {
  font-size: .95rem; font-weight: 700; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.gal-ov-x {
  width: 32px; height: 32px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: var(--bg); color: var(--text-light);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.gal-ov-x:hover { background: var(--border); color: var(--text); }

.gal-ov-body { flex: 1; background: var(--bg); }
.gal-ov-body iframe { width: 100%; height: 100%; border: none; display: block; }

.gal-ov-foot {
  padding: .8rem 1.2rem;
  border-top: 1px solid var(--border);
  display: flex; gap: .5rem;
}
.gal-ov-foot .gal-btn { flex: 0 1 220px; }

@media (max-width: 640px) {
  .gal-overlay { padding: 0; }
  .gal-ov-box { height: 100vh; border-radius: 0; max-width: 100%; }
  .gal-ov-foot .gal-btn { flex: 1; }
}
/* ════════════════════════════════════════════════════════════════
   CYNOXA v2.4 — GABARIT DES PAGES (page.php)
   À COLLER EN FIN DE style.css. Ne remplace rien.
   ════════════════════════════════════════════════════════════════ */

/* En-tête de page */
.cx-page-hero { padding-bottom: 0; }
.cx-page-hero .section-header { margin-bottom: 0; }
.cx-page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Corps de page : largeur de lecture confortable */
.cx-page-body {
  max-width: 820px;
  padding-top: 2.5rem;
}
.cx-page-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.3px;
}
.cx-page-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.cx-page-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.cx-page-body ul,
.cx-page-body ol {
  margin: 0 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}
.cx-page-body li { margin-bottom: 0.5rem; }
.cx-page-body strong { color: var(--text); font-weight: 700; }
.cx-page-body a { color: var(--blue); }
.cx-page-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.cx-page-body blockquote {
  border-left: 4px solid var(--gold);
  background: var(--gold-light);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.cx-page-body blockquote p { margin-bottom: 0; color: var(--text); }

/* Tableaux */
.cx-page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.95rem;
}
.cx-page-body th,
.cx-page-body td {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  text-align: left;
}
.cx-page-body th {
  background: var(--bg);
  font-weight: 700;
  color: var(--text);
}

/* Accessibilité */
.cx-page a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .cx-page-body { padding-top: 1.5rem; }
  .cx-page-body h2 { font-size: 1.35rem; }
}
/* CYNOXA — correctif conteneur des pages (21/08) */
.cx-page-wrap { padding-top: 72px; min-height: 100vh; }
/* CYNOXA — accueil autonome, bloc 5-6 (24/08) */
.cx-accueil { display: block; }