/* ===== Finpros Conseil — shared stylesheet ===== */

:root {
  --navy: #0f2a47;
  --navy-dark: #0a1c30;
  --green: #1f7a5c;
  --green-light: #e8f5f0;
  --gold: #c8973a;
  --bg: #f7f9fb;
  --white: #ffffff;
  --text: #1c2733;
  --text-muted: #5b6b7a;
  --border: #e1e7ec;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(15, 42, 71, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / Nav ---- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo span { color: var(--green); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--green); text-decoration: none; }
nav.main-nav a.active { color: var(--green); font-weight: 700; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: #17604a; text-decoration: none; }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #b3852e; text-decoration: none; }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0;
}
.hero .container { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.hero-text { flex: 1 1 480px; }
.hero-text h1 { font-size: 2.6rem; line-height: 1.15; margin: 0 0 18px; }
.hero-text p { font-size: 1.15rem; color: #cbd8e5; margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 18px;
  color: #cbd8e5;
}

/* ---- Page header (non-home pages) ---- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
}
.page-header h1 { margin: 0 0 10px; font-size: 2.2rem; }
.page-header p { color: #cbd8e5; max-width: 640px; margin: 0; font-size: 1.05rem; }

/* ---- Sections ---- */
section { padding: 64px 0; }
section.alt { background: var(--white); }
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head h2 { font-size: 1.9rem; color: var(--navy); margin: 0 0 12px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
  display: block;
}

/* ---- Cards / grids ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-muted); font-size: 0.92rem; }
.card ul li { margin-bottom: 6px; }

.icon-badge {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ---- Service category block ---- */
.service-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.service-category h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-category > p.tag {
  color: var(--green);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-list li {
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 14px;
}
.service-list li strong { display: block; color: var(--text); font-size: 0.98rem; }
.service-list li span { color: var(--text-muted); font-size: 0.88rem; }

/* ---- Pricing / membership tiers ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
}
.price-card.featured {
  border-color: var(--green);
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.25rem; }
.price-card .price { font-size: 2.1rem; font-weight: 800; color: var(--navy); margin: 10px 0 4px; }
.price-card .price span { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-card .price-alt { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card ul li { padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; }
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* ---- Timeline / numbered steps ---- */
.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step-list li strong { display: block; color: var(--navy); margin-bottom: 2px; }
.step-list li span { color: var(--text-muted); font-size: 0.92rem; }

/* ---- Notice / placeholder box (for TODO content) ---- */
.notice {
  background: #fff8e8;
  border: 1px solid #f0d999;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #6b5220;
  margin: 20px 0;
}
.notice strong { color: #8a6a15; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--green);
  color: white;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { margin: 0 0 14px; font-size: 1.8rem; }
.cta-band p { color: #d9f0e7; margin: 0 0 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-outline { border-color: white; color: white; }
.cta-band .btn-outline:hover { background: white; color: var(--green); }

/* ---- Contact form ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-list .icon-badge { flex-shrink: 0; margin-bottom: 0; }
.contact-info-list strong { display: block; color: var(--navy); margin-bottom: 2px; }
.contact-info-list span { color: var(--text-muted); font-size: 0.92rem; }

/* ---- Footer ---- */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c7d4;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: white; font-size: 1rem; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: #b9c7d4; font-size: 0.9rem; }
.footer-grid a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; padding: 16px 24px; gap: 16px; }
  .nav-toggle { display: block; }
  .hero-text h1 { font-size: 2rem; }
  .hero .container { flex-direction: column; }
  section { padding: 44px 0; }
}
