/* ════════════════════════════════════════════════════════════════════════
   acc-shared-lite.css — Sous-ensemble de acc.css pour les pages hub région ACC
   (occitanie, paca, nouvelle-aquitaine, auvergne-rhone-alpes, hauts-de-france)
   Ces pages n'utilisent qu'une petite partie de acc.css (comparaison faite le
   2026-08-28 : 28 classes sur 108). Ce fichier contient uniquement ce sous-
   ensemble pour réduire le CSS bloquant le rendu, sans toucher à acc.css
   (qui reste utilisé tel quel par acc.php, acc-explore.php, centrale.php).
   Si une page région utilise une nouvelle classe de acc.css à l'avenir,
   il faudra l'ajouter ici aussi.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --acc-blue:       #0D4584;
  --acc-blue-light: #1560b8;
  --acc-orange:     #EFA906;
  --acc-orange-dark:#c98f00;
  --acc-white:      #ffffff;
  --acc-grey-bg:    #f4f6f9;
  --acc-text:       #1a1a2e;
  --acc-text-muted: #5a6480;
  --acc-radius:     10px;
  --acc-shadow:     0 6px 28px rgba(13,69,132,0.10);
  --acc-transition: 0.25s ease;
}

/* ── Réinitialisation / base ────────────────────────────────────────────── */
.acc-section { padding: 80px 0; }
.acc-section-grey { background: var(--acc-grey-bg); }

/* ── Tags de section ─────────────────────────────────────────────────────── */
.acc-section-tag {
  display: inline-block;
  background: rgba(13,69,132,0.08);
  color: var(--acc-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}

/* ── Titres de section ───────────────────────────────────────────────────── */
.acc-section-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--acc-blue);
  margin-bottom: 12px;
  line-height: 1.2;
}

/* ── Séparateur ──────────────────────────────────────────────────────────── */
.acc-separator {
  width: 55px;
  height: 4px;
  background: var(--acc-orange);
  border-radius: 2px;
  margin-bottom: 28px;
}

/* ── Texte courant ───────────────────────────────────────────────────────── */
.acc-lead {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--acc-text);
  line-height: 1.75;
  margin-bottom: 16px;
}
.acc-body {
  font-size: 0.97rem;
  color: var(--acc-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.acc-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.acc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acc-blue);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid var(--acc-orange);
  padding-bottom: 2px;
  transition: color var(--acc-transition), gap var(--acc-transition);
}
.acc-link:hover { color: var(--acc-orange); gap: 14px; text-decoration: none; }

/* ══ LAYOUT DEUX COLONNES ══════════════════════════════════════════════════ */
.acc-two-col {
  display: flex;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}
.acc-two-col-reverse { flex-direction: row-reverse; }
.acc-text-col   { flex: 1 1 340px; }
.acc-visual-col { flex: 1 1 340px; }

/* ══ FAQ ACCORDÉON ═════════════════════════════════════════════════════════ */
.acc-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.acc-faq-item {
  border-bottom: 1px solid #dce4ef;
  overflow: hidden;
}
.acc-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--acc-blue);
  transition: color var(--acc-transition);
}
.acc-faq-question:hover { color: var(--acc-orange); }
.acc-faq-question h3 { margin: 0; font: inherit; color: inherit; }
.acc-faq-icon {
  font-size: 0.9rem;
  color: var(--acc-orange);
  flex-shrink: 0;
}
svg.acc-faq-icon {
  width: 18px;
  height: 18px;
}
.acc-faq-icon-minus { display: none; }
.acc-faq-item.open .acc-faq-icon-plus { display: none; }
.acc-faq-item.open .acc-faq-icon-minus { display: block; }
.acc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.acc-faq-answer p {
  padding: 0 6px 20px;
  font-size: 0.95rem;
  color: var(--acc-text-muted);
  line-height: 1.8;
}

/* ══ CTA SECTION ═══════════════════════════════════════════════════════════ */
.acc-section-cta {
  background: linear-gradient(135deg, var(--acc-blue) 0%, #1560b8 100%);
  position: relative;
  overflow: hidden;
}
.acc-section-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(239,169,6,0.08);
  border-radius: 50%;
}
.acc-cta-block {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.acc-cta-text {
  flex: 1 1 340px;
}
.acc-cta-text h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.acc-cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 20px;
}
.acc-cta-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acc-cta-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.acc-cta-checklist .fa-check-circle { color: var(--acc-orange); font-size: 1rem; }

.acc-cta-action { flex: 0 0 auto; text-align: center; }
.acc-cta-btn svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.acc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--acc-orange);
  color: #1a1a2e;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 34px;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--acc-transition), transform var(--acc-transition), box-shadow var(--acc-transition);
  box-shadow: 0 6px 24px rgba(239,169,6,0.40);
  white-space: nowrap;
}
.acc-cta-btn:hover {
  background: var(--acc-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(239,169,6,0.50);
  color: #1a1a2e;
  text-decoration: none;
}
.acc-cta-sub {
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}

/* ── LIGHTBOX SCHÉMA ACC ──────────────────────────────────────────────────── */
.acc-schema-img {
  cursor: zoom-in;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.acc-schema-img:hover { opacity: 0.88; transform: scale(1.01); }

#acc-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.82);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: lbFadeIn 0.22s ease;
}
#acc-lightbox.is-open { display: flex; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.acc-lb-inner {
  position: relative;
  max-width: 88vw;
  max-height: 88vh;
  animation: lbZoomIn 0.25s ease;
}

@keyframes lbZoomIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.acc-lb-inner img {
  width: auto;
  height: auto;
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  display: block;
}

.acc-lb-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: #EFA906;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1;
}
.acc-lb-close:hover { background: #c98f00; transform: scale(1.1); }

@media (max-width: 600px){
  .acc-lb-inner,
  .acc-lb-inner img{
    max-width: 94vw;
    max-height: 90vh;
  }
}

/* ══ RESPONSIVE ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .acc-section { padding: 56px 0; }
  .acc-section-title { font-size: 1.6rem; }
  .acc-two-col,
  .acc-two-col-reverse { flex-direction: column; gap: 40px; }
  .acc-cta-block { flex-direction: column; gap: 36px; text-align: center; }
  .acc-cta-checklist { align-items: center; }
  .acc-cta-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; padding: 16px 20px; }
}

@media (max-width: 480px) {
  .acc-cta-text h2 { font-size: 1.5rem; }
}
