/* ============================================================
   AmericanInFrance.fr — Landing Page Styles
   Additional styles for topic landing pages
   ============================================================ */

/* ── LANDING PAGE HERO ── */
.lp-hero {
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}
.lp-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.lp-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.lp-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.lp-hero .breadcrumb a:hover { color: var(--gold); }
.lp-hero .breadcrumb .sep { color: rgba(255,255,255,0.3); }
.lp-hero h1 { color: var(--white); margin-bottom: 16px; }
.lp-hero .lead { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 640px; margin-bottom: 28px; }
.lp-hero .lp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.lp-hero .lp-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── LANDING PAGE LAYOUT ── */
.lp-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.lp-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── CONTENT BLOCKS ── */
.content-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-grey);
  overflow: hidden;
  margin-bottom: 32px;
}
.content-block-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-grey);
  display: flex;
  align-items: center;
  gap: 12px;
}
.content-block-header .cb-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10,31,92,0.07), rgba(201,168,76,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.content-block-header h3 {
  font-size: 1rem;
  margin: 0;
}
.content-block-body {
  padding: 20px 24px;
}

/* ── STEP LIST ── */
.step-list { list-style: none; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-grey);
  align-items: flex-start;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(steps);
  min-width: 30px;
  height: 30px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-list li .step-content h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-main);
}
.step-list li .step-content p {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin: 0;
}

/* ── CHECKLIST ── */
.checklist { list-style: none; }
.checklist li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--light-grey);
  font-size: 0.9rem;
  align-items: flex-start;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.checklist.warning li::before { content: '⚠'; color: #e67e22; }
.checklist.danger li::before { content: '✕'; color: var(--red); }

/* ── KEY FACTS BOX ── */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.key-fact {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}
.key-fact .kf-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 700;
  display: block;
}
.key-fact .kf-label {
  font-size: 0.75rem;
  color: var(--mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}
.key-fact.highlight { background: var(--navy); border-color: var(--navy); }
.key-fact.highlight .kf-value { color: var(--gold); }
.key-fact.highlight .kf-label { color: rgba(255,255,255,0.6); }

/* ── INFO CARDS GRID ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.info-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.info-card .ic-icon { font-size: 1.4rem; margin-bottom: 10px; }
.info-card h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; font-family: var(--font-main); font-weight: 700; }
.info-card p { font-size: 0.82rem; color: var(--mid-grey); margin: 0; line-height: 1.6; }

/* ── WARNING / TIP BOXES ── */
.tip-box {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tip-box.tip-gold { background: rgba(201,168,76,0.08); border-left: 4px solid var(--gold); }
.tip-box.tip-navy { background: rgba(10,31,92,0.06); border-left: 4px solid var(--navy); }
.tip-box.tip-red { background: rgba(231,76,60,0.06); border-left: 4px solid var(--red); }
.tip-box.tip-green { background: rgba(46,204,113,0.06); border-left: 4px solid var(--success); }
.tip-box .tip-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.tip-box .tip-content h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; font-family: var(--font-main); }
.tip-box .tip-content p { font-size: 0.84rem; color: var(--mid-grey); margin: 0; line-height: 1.6; }
.tip-box.tip-gold .tip-content h4 { color: #8B6914; }
.tip-box.tip-red .tip-content h4 { color: #922b21; }
.tip-box.tip-green .tip-content h4 { color: #1a7a49; }
.tip-box.tip-navy .tip-content h4 { color: var(--navy); }

/* ── SIDEBAR WIDGETS ── */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-grey);
}
.sidebar-widget .sw-header {
  background: var(--navy);
  padding: 14px 18px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget .sw-body { padding: 16px 18px; }
.sw-link-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--light-grey);
  font-size: 0.85rem;
  color: var(--navy);
  transition: all var(--transition);
}
.sw-link-list a:last-child { border-bottom: none; }
.sw-link-list a:hover { color: var(--gold); padding-left: 4px; }
.sw-link-list a i { color: var(--gold); font-size: 0.7rem; flex-shrink: 0; }

/* ── GERSHON CTA BOX (sidebar) ── */
.gershon-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.gershon-cta-box h4 { color: var(--gold); margin-bottom: 10px; font-size: 1rem; }
.gershon-cta-box p { color: rgba(255,255,255,0.75); font-size: 0.83rem; margin-bottom: 18px; }
.gershon-cta-box .btn { width: 100%; display: block; text-align: center; }

/* ── NEWSLETTER INLINE CTA ── */
.newsletter-inline {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.newsletter-inline .ni-text h4 { color: var(--white); margin-bottom: 4px; }
.newsletter-inline .ni-text p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }
.newsletter-inline form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-inline input[type="email"] {
  flex: 1; min-width: 200px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.9rem;
}
.newsletter-inline input[type="email"]:focus { outline: none; border-color: var(--gold); }
.newsletter-inline input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }

/* ── LIVE FEED SECTION ── */
.live-feed-section { margin-bottom: 32px; }
.live-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.live-feed-header h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lp-feed-grid .feed-card { margin: 0; }

/* ── TOPIC PILLAR BADGE ── */
.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.pillar-living { background: rgba(52,152,219,0.1); color: #1a5f8a; border: 1px solid rgba(52,152,219,0.2); }
.pillar-taxes { background: rgba(231,76,60,0.1); color: #922b21; border: 1px solid rgba(231,76,60,0.2); }
.pillar-business { background: rgba(46,204,113,0.1); color: #1a7a49; border: 1px solid rgba(46,204,113,0.2); }
.pillar-market { background: rgba(201,168,76,0.12); color: #8B6914; border: 1px solid rgba(201,168,76,0.25); }
.pillar-community { background: rgba(155,89,182,0.1); color: #6c3483; border: 1px solid rgba(155,89,182,0.2); }
.pillar-europe { background: rgba(10,31,92,0.08); color: var(--navy); border: 1px solid rgba(10,31,92,0.15); }

/* ── RELATED TOPICS ── */
.related-topics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.related-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--navy);
  transition: all var(--transition);
  text-decoration: none;
}
.related-topic-chip:hover {
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.compare-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--light-grey);
  vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--off-white); }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross { color: var(--red); font-weight: 700; }
.compare-table .warn { color: #e67e22; font-weight: 700; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--light-grey);
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4 { font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; font-family: var(--font-main); font-weight: 700; }
.timeline-item p { font-size: 0.84rem; color: var(--mid-grey); margin: 0; }
.timeline-item .tl-date { font-size: 0.72rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .lp-layout { grid-template-columns: 1fr; }
  .lp-sidebar { position: static; }
  .lp-feed-grid { grid-template-columns: 1fr; }
  .key-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .key-facts { grid-template-columns: 1fr 1fr; }
  .newsletter-inline { flex-direction: column; }
}
