/* ============================================================
   CORFLY — Politiques & CGV
   ============================================================ */

:root {
  --blue-dark:  #0d1b2a;
  --gold:       #b07e2f;
  --gold-light: #c99a4a;
  --cream:      #f2efea;
  --white:      #ffffff;
  --text-dark:  #111111;
  --text-mid:   #444444;
  --text-muted: #777777;
  --border:     #e8e4de;
}

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

body {
  font-family: 'League Spartan', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
}

a { color: var(--gold); }

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */
.pol-hero {
  background: var(--blue-dark);
  padding: 90px 40px 60px;
  text-align: center;
}

.pol-hero-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.pol-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   SOMMAIRE
---------------------------------------------------------- */
.pol-toc {
  background: var(--gold);
  padding: 16px 40px;
}

.pol-toc-nav {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.pol-toc-nav a {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s;
}

.pol-toc-nav a:hover { border-color: var(--white); }

/* ----------------------------------------------------------
   SECTIONS
---------------------------------------------------------- */
.pol-section {
  padding: 72px 40px;
  scroll-margin-top: 20px;
}

.pol-section--alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pol-container {
  max-width: 820px;
  margin: 0 auto;
}

.pol-section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.pol-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-style: italic;
}

/* ----------------------------------------------------------
   BLOCS MENTIONS LÉGALES
---------------------------------------------------------- */
.pol-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pol-block:last-child { border-bottom: none; }

.pol-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.pol-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ----------------------------------------------------------
   ARTICLES CGV / CONFIDENTIALITÉ
---------------------------------------------------------- */
.pol-article {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pol-article:last-child { border-bottom: none; margin-bottom: 0; }

.pol-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.pol-article p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.pol-article p:last-child { margin-bottom: 0; }

.pol-article ul {
  margin: 10px 0 14px 20px;
}

.pol-article li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 4px;
}

/* ----------------------------------------------------------
   BLOC EN ATTENTE (articles manquants)
---------------------------------------------------------- */
.pol-pending {
  background: #fdf6ea;
  border: 1px solid rgba(176,126,47,0.35);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.pol-pending strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.pol-pending p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
.corfly-footer {
  background: var(--blue-dark);
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.corfly-footer .footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.corfly-footer .footer-link:hover { color: var(--gold); }

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 768px) {
  .pol-hero    { padding: 64px 24px 44px; }
  .pol-toc     { padding: 14px 24px; }
  .pol-section { padding: 52px 24px; }
  .pol-toc-nav { gap: 18px; }
}