/* ══════════════════════════════════════════════════
   FICHE DU DIMANCHE — Compatible blue-theme
   Utilise les variables CSS de blue-theme.css
══════════════════════════════════════════════════ */

/* ── BACK NAV ─────────────────────────────────── */
.fdd-back-nav {
  padding: 20px 0 10px;
  max-width: 1100px;
  margin: 0 auto;
}
.fdd-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-soft); text-decoration: none;
  font-weight: 500; font-size: 14px;
  transition: color .3s, gap .3s;
}
.fdd-back-link:hover { color: var(--gold); gap: 12px; }

/* ── HERO ─────────────────────────────────────── */
.fdd-hero {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding-bottom: 40px;
}
.fdd-hero-left {}
.fdd-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25);
  padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--gold); margin-bottom: 25px;
}
.fdd-hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300; line-height: 1.2;
  color: var(--ink); margin-bottom: 15px;
  transition: color .45s;
}
.fdd-hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300; font-style: italic;
  color: var(--ink-soft); margin-bottom: 24px;
  transition: color .45s;
}
.fdd-hero-description {
  font-size: 15px; line-height: 1.8;
  color: var(--ink-soft); transition: color .45s;
}
.fdd-hero-description p { margin-bottom: 12px; }
.fdd-hero-description strong { color: var(--gold); }
.fdd-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.2);
  padding: 10px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft); margin-top: 16px;
  transition: color .45s, border-color .45s;
}
.fdd-hero-tag i { color: var(--gold); }

/* Hero right panel */
.fdd-hero-right {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: background .45s, border-color .45s;
}
.fdd-hero-right-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--ink-muted); margin-bottom: 20px;
  transition: color .45s;
}
.fdd-hero-right h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
  margin-bottom: 18px; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
  transition: color .45s;
}
.fdd-hero-right h2 i { color: var(--gold); }
.fdd-hero-right p {
  font-size: 14px; line-height: 1.7;
  margin-bottom: 12px; color: var(--ink-soft);
  transition: color .45s;
}
.fdd-hero-stats {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.fdd-hero-stat {
  flex: 1; min-width: 100px; text-align: center;
  padding: 14px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 12px;
  transition: background .45s, border-color .45s;
}
.fdd-hero-stat .stat-value {
  font-size: 1.4rem; font-weight: 700; color: var(--gold);
}
.fdd-hero-stat .stat-label {
  font-size: 11px; color: var(--ink-muted); margin-top: 4px;
  transition: color .45s;
}
.fdd-hero-promise {
  background: rgba(201,168,76,.08);
  border-left: 4px solid var(--gold);
  padding: 16px 20px; border-radius: 0 12px 12px 0;
  margin-top: 22px;
}
.fdd-hero-promise p {
  margin: 0; font-weight: 500; font-size: 14px; color: var(--ink);
  transition: color .45s;
}
.fdd-hero-promise i { color: var(--gold); margin-right: 8px; }

/* ── MAIN CONTAINER ───────────────────────────── */
.fdd-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 60px;
}
.fdd-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 2.5vw, 32px); font-weight: 300;
  color: var(--ink); margin-bottom: 40px; text-align: center;
  transition: color .45s;
}

/* ── TIMELINE ─────────────────────────────────── */
.fdd-timeline {
  position: relative; padding-left: 40px;
}
.fdd-timeline::before {
  content: ''; position: absolute;
  left: 12px; top: 30px; bottom: 30px;
  width: 3px; background: var(--border);
  border-radius: 3px; transition: background .45s;
}
.fdd-timeline-item {
  position: relative; margin-bottom: 16px;
}
.fdd-timeline-item::before {
  content: ''; position: absolute;
  left: -40px; top: 28px;
  width: 24px; height: 24px;
  background: var(--surface); border: 3px solid var(--border);
  border-radius: 50%; z-index: 2;
  transition: all .3s;
}
.fdd-timeline-item.active::before {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,168,76,.2);
}

/* ── ACCORDION CARDS ──────────────────────────── */
.fdd-accordion-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: all .3s;
}
.fdd-accordion-card:hover { border-color: rgba(201,168,76,.3); }
.fdd-timeline-item.active .fdd-accordion-card { border-color: var(--gold); }

.fdd-accordion-header {
  padding: 22px 28px; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  color: var(--ink); transition: background .3s;
}
.fdd-accordion-header:hover { background: var(--bg-2); }

.fdd-accordion-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fdd-accordion-icon i { font-size: 20px; color: var(--bg); }

.fdd-accordion-header-content { flex: 1; }
.fdd-accordion-header-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  margin-bottom: 6px; color: var(--ink); line-height: 1.4;
  transition: color .45s;
}
.fdd-accordion-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-muted);
  transition: color .45s;
}
.fdd-accordion-meta span {
  display: flex; align-items: center; gap: 6px;
}
.fdd-accordion-meta .badge {
  background: rgba(201,168,76,.1); color: var(--gold);
  padding: 4px 12px; border-radius: 100px;
  font-weight: 500; font-size: 12px;
}

.fdd-accordion-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .3s;
}
.fdd-accordion-toggle i {
  font-size: 12px; color: var(--ink-muted);
  transition: transform .3s, color .3s;
}
.fdd-timeline-item.active .fdd-accordion-toggle {
  background: var(--gold); border-color: var(--gold);
}
.fdd-timeline-item.active .fdd-accordion-toggle i {
  color: var(--bg); transform: rotate(180deg);
}

.fdd-accordion-content {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.fdd-timeline-item.active .fdd-accordion-content {
  max-height: 15000px;
}

.fdd-accordion-body { padding: 0 28px 28px; }
.fdd-accordion-divider {
  height: 1px; background: var(--border);
  margin-bottom: 24px; transition: background .45s;
}

/* ── FICHE CONTENT ────────────────────────────── */
.fdd-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400;
  margin: 28px 0 12px; color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.fdd-content h4:first-child { margin-top: 0; }
.fdd-content h4 i { color: var(--gold); }

.fdd-content h5 {
  font-size: 15px; font-weight: 600;
  margin: 18px 0 8px; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  transition: color .45s;
}
.fdd-content h5 i { color: var(--gold); font-size: 14px; }

.fdd-content p {
  font-size: 15px; line-height: 1.8;
  margin-bottom: 12px; color: var(--ink-soft);
  transition: color .45s;
}
.fdd-content strong { color: var(--ink); transition: color .45s; }

.fdd-content ul {
  margin: 14px 0; padding-left: 0; list-style: none;
}
.fdd-content ul li {
  padding: 8px 0 8px 28px; position: relative;
  line-height: 1.7; color: var(--ink-soft);
  font-size: 15px; transition: color .45s;
}
.fdd-content ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--gold); font-weight: bold;
}
.fdd-content ul li strong { color: var(--ink); }

.fdd-content ol {
  margin: 14px 0; padding-left: 28px;
}
.fdd-content ol li {
  padding: 6px 0; line-height: 1.7;
  color: var(--ink-soft); font-size: 15px;
  transition: color .45s;
}

/* ── INFO BOXES ───────────────────────────────── */
.fdd-info-box {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; margin: 22px 0;
  border-left: 4px solid var(--gold);
  transition: background .45s, border-color .45s;
}
.fdd-info-box.warning { border-left-color: #f39c12; }
.fdd-info-box.important { border-left-color: #e74c3c; }
.fdd-info-box.success { border-left-color: #27ae60; }
.fdd-info-box.neutral { border-left-color: var(--ink-muted); }
.fdd-info-box.example { border-left-color: #9b59b6; }

.fdd-info-box-title {
  font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 15px;
  transition: color .45s;
}
.fdd-info-box-title i { color: var(--gold); }
.fdd-info-box.warning .fdd-info-box-title i { color: #f39c12; }
.fdd-info-box.important .fdd-info-box-title i { color: #e74c3c; }
.fdd-info-box.success .fdd-info-box-title i { color: #27ae60; }
.fdd-info-box.example .fdd-info-box-title i { color: #9b59b6; }

.fdd-info-box p {
  margin: 0; font-size: 14px; color: var(--ink-soft);
  line-height: 1.7; transition: color .45s;
}
.fdd-info-box p strong { color: var(--ink); }

/* ── TABLES ───────────────────────────────────── */
.fdd-table {
  width: 100%; border-collapse: collapse;
  margin: 22px 0; font-size: 14px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color .45s;
}
.fdd-table th, .fdd-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
  transition: border-color .45s, background .45s, color .45s;
}
.fdd-table th {
  background: var(--bg-3); font-weight: 600;
  color: var(--ink); font-size: 13px;
  letter-spacing: .3px; text-transform: uppercase;
}
.fdd-table td {
  background: var(--surface); color: var(--ink-soft);
}
.fdd-table td strong { color: var(--ink); }
.fdd-table tr:last-child td { border-bottom: none; }
.fdd-table tr:hover td { background: var(--bg-2); }

/* ── COMPARISON GRID ──────────────────────────── */
.fdd-comparison-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 22px 0;
}
.fdd-comparison-item {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  transition: background .45s, border-color .45s;
}
.fdd-comparison-item.positive { border-left: 4px solid #27ae60; }
.fdd-comparison-item.negative { border-left: 4px solid #e74c3c; }
.fdd-comparison-item h5 {
  margin: 0 0 10px; font-size: 15px;
  color: var(--ink); transition: color .45s;
}
.fdd-comparison-item ul { margin: 0; }

/* ── PRINCIPE INLINE ──────────────────────────── */
.fdd-principe {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 12px; padding: 20px 24px;
  margin: 28px 0 0; text-align: center;
}
.fdd-principe p {
  margin: 0; font-size: 15px; color: var(--ink);
  transition: color .45s;
}
.fdd-principe strong { color: var(--gold); font-size: 16px; }

/* ── BLOC NAV (prev/next) ────��────────────────── */
.fdd-bloc-nav {
  display: flex; justify-content: space-between;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--border);
  gap: 16px; flex-wrap: wrap;
  transition: border-color .45s;
}
.fdd-bloc-nav-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-soft); text-decoration: none;
  padding: 16px 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  transition: all .3s;
}
.fdd-bloc-nav-item:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}
.fdd-bloc-nav-item.next { margin-left: auto; }
.fdd-bloc-nav-item span {
  font-size: 12px; color: var(--ink-muted);
  transition: color .45s;
}
.fdd-bloc-nav-item strong {
  display: block; font-size: 14px; color: var(--ink);
  transition: color .45s;
}

/* ── CTA SECTION ──────────────────────────────── */
.fdd-cta {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 48px 40px;
  text-align: center; margin-top: 48px;
  transition: background .45s, border-color .45s;
}
.fdd-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 300;
  color: var(--ink); margin-bottom: 12px;
  transition: color .45s;
}
.fdd-cta p {
  font-size: 15px; font-weight: 300; color: var(--ink-soft);
  line-height: 1.7; margin-bottom: 24px;
  transition: color .45s;
}
.fdd-cta-buttons {
  display: flex; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.fdd-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 2px;
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  transition: all .25s;
}
.fdd-cta-btn.primary {
  background: var(--gold); color: var(--bg);
  border: 1px solid var(--gold);
}
.fdd-cta-btn.primary:hover { opacity: .9; }
.fdd-cta-btn.secondary {
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--border);
}
.fdd-cta-btn.secondary:hover {
  border-color: var(--gold); color: var(--gold);
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .fdd-hero { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .fdd-hero-left h1 { font-size: clamp(24px, 6vw, 32px); }
  .fdd-hero-right { padding: 24px; }
  .fdd-timeline { padding-left: 30px; }
  .fdd-timeline::before { left: 8px; }
  .fdd-timeline-item::before { left: -30px; width: 20px; height: 20px; }
  .fdd-accordion-header { padding: 18px 20px; flex-wrap: wrap; }
  .fdd-accordion-body { padding: 0 20px 24px; }
  .fdd-accordion-icon { width: 44px; height: 44px; }
  .fdd-cta { padding: 32px 20px; }
  .fdd-hero-stats { gap: 8px; }
  .fdd-hero-stat { min-width: 80px; padding: 10px; }
  .fdd-hero-stat .stat-value { font-size: 1.2rem; }
  .fdd-comparison-grid { grid-template-columns: 1fr; }
  .fdd-bloc-nav { flex-direction: column; }
  .fdd-bloc-nav-item.next { margin-left: 0; }
}
