/* ============================================================
   DARIX — PAGE CO-COURTAGE
   Réutilise tokens.css / base.css / components.css / animations.css
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.cc-hero {
  padding: 72px 0 56px;
  background: var(--color-cream);
}
.cc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.cc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 20px;
}
.cc-badge .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2D6A4F;
  animation: cc-pulse 2s infinite;
}
a.cc-badge {
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
a.cc-badge:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
a.cc-badge i {
  font-size: 15px;
  color: var(--color-gold-dark);
  transition: transform 0.2s var(--ease);
}
a.cc-badge:hover i { transform: translateX(3px); }
@keyframes cc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.cc-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin: 0 0 20px;
}
.cc-hero-title em { font-style: italic; font-weight: 400; color: var(--color-gold-dark); }
.cc-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 0 32px;
}
.cc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cc-fineprint {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
}
.cc-hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 0.5px solid rgba(30, 58, 95, 0.12);
}
.cc-hero-visual img { width: 100%; height: auto; display: block; }

/* ── SECTION GÉNÉRIQUE ────────────────────────────────────── */
.cc-section { padding: 88px 0; }
.cc-section.navy { background: var(--color-navy); color: var(--color-cream); }
.cc-section.cream-alt { background: var(--color-cream-light); }
.cc-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-dark);
  margin-bottom: 12px;
}
.cc-section.navy .cc-eyebrow { color: var(--color-gold); }
.cc-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-navy);
  margin: 0 0 16px;
  max-width: 720px;
}
.cc-section.navy .cc-title { color: var(--color-cream); }
.cc-title em { font-style: italic; font-weight: 400; color: var(--color-gold-dark); }
.cc-section.navy .cc-title em { color: var(--color-gold); }
.cc-lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 0 40px;
}
.cc-section.navy .cc-lead { color: rgba(244, 239, 230, 0.75); }

/* ── ÉTAPES ───────────────────────────────────────────────── */
.cc-steps-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0 0 44px;
  border: 0.5px solid var(--color-border);
}
.cc-steps-banner img { width: 100%; height: auto; display: block; }
.cc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: cc-step;
}
.cc-step {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
}
.cc-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), rgba(196, 154, 94, 0.3));
}
.cc-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  line-height: 1;
  margin-bottom: 14px;
}
.cc-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.cc-step p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.cc-step-lock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 4px 10px;
  background: rgba(45, 106, 79, 0.1);
  border: 0.5px solid rgba(45, 106, 79, 0.25);
  color: #2D6A4F;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
}

/* ── PROTECTIONS ──────────────────────────────────────────── */
.cc-protect {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cc-protect-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cc-protect-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cc-protect-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-navy-deep); }
.cc-protect-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-protect-icon {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--color-navy-deep), var(--color-navy) 70%, #2D5080);
  color: var(--color-gold);
  font-size: 68px;
}
.cc-protect-body { padding: 20px 22px 24px; flex: 1; }
.cc-protect-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.cc-protect-body p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── OBJECTION ────────────────────────────────────────────── */
.cc-objection {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(150deg, var(--color-navy-deep), var(--color-navy));
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}
.cc-objection::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(196, 154, 94, 0.2), transparent 70%);
}
.cc-objection-q {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--color-cream);
  margin: 12px 0 20px;
  position: relative;
}
.cc-objection ul { margin: 0; padding: 0; list-style: none; }
.cc-objection li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.88);
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
}
.cc-objection li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}
.cc-objection li strong { color: var(--color-gold); font-weight: 600; }

/* ── RÉSEAU FONDATEUR (bandeau) ───────────────────────────── */
.cc-network {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: var(--container-max);
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.cc-network img { width: 100%; height: auto; display: block; }
.cc-network-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 56px;
  background: linear-gradient(90deg, rgba(21, 42, 69, 0.78) 0%, rgba(21, 42, 69, 0.3) 55%, transparent 100%);
}
.cc-network-overlay .cc-eyebrow { color: var(--color-gold); }
.cc-network-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--color-cream);
  line-height: 1.15;
  max-width: 480px;
  margin: 0 0 24px;
}
.cc-network-title em { font-style: italic; font-weight: 400; color: var(--color-gold); }

/* ── FAQ (réutilise .faq-item details/summary de home) ────── */
.cc-faq { max-width: 760px; margin: 0 auto; }

/* ── CTA FINAL ────────────────────────────────────────────── */
.cc-final {
  max-width: var(--container-max);
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  color: var(--color-cream);
  box-shadow: var(--shadow-lg);
}
.cc-final-content { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.cc-final h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-cream);
  margin: 0 0 14px;
}
.cc-final h2 em { font-style: italic; font-weight: 400; color: var(--color-gold); }
.cc-final p { font-family: var(--font-body); color: rgba(244, 239, 230, 0.85); margin: 0 0 28px; font-size: 16px; line-height: 1.6; }
.cc-final-img { position: relative; min-height: 300px; }
.cc-final-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-final .cc-fineprint { color: rgba(244, 239, 230, 0.55); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .cc-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cc-steps { grid-template-columns: repeat(2, 1fr); }
  .cc-protect { grid-template-columns: repeat(2, 1fr); }
  .cc-final { grid-template-columns: 1fr; }
  .cc-final-img { min-height: 220px; order: -1; }
  .cc-network-overlay { position: static; background: var(--color-navy); padding: 32px 28px; }
}
@media (max-width: 560px) {
  .cc-steps { grid-template-columns: 1fr; }
  .cc-protect { grid-template-columns: 1fr; }
  .cc-objection { padding: 32px 24px; }
  .cc-final-content { padding: 36px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-badge .live-dot { animation: none; }
}

/* ── Reveal — contenu TOUJOURS visible (site live) ────────────
   On neutralise l'état masqué de animations.css (.reveal-up
   { opacity:0 }) : sur cette page, aucune dépendance JS/GSAP,
   donc jamais de contenu invisible. Entrée en fondu douce au
   chargement, purement CSS et sans blocage. ─────────────────── */
.co-courtage-page .reveal-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .co-courtage-page .reveal-up { animation: ccRise 0.7s var(--ease) both; }
}
/* Anime uniquement le transform : l'opacité reste à 1 → jamais de section invisible */
@keyframes ccRise {
  from { transform: translateY(22px); }
  to   { transform: none; }
}
