/* ============================================================
   Conseil IA Finance — Design system
   Palette : bleu nuit (confiance) + or (prospérité) + sarcelle (IA)
   ============================================================ */

:root {
  --navy: #2A211B;
  --navy-800: #3A2E24;
  --navy-700: #4A3B2E;
  --gold: #C4622D;
  --gold-600: #A5501F;
  --teal: #2F6B4F;
  --teal-600: #245840;
  --ink: #2A211B;
  --muted: #7A6A5B;
  --line: #E7D9C6;
  --soft: #F6EEE3;
  --soft-2: #EFE3D3;
  --white: #FFFFFF;
  --cream: #FBF6EE;
  --ok: #2F6B4F;
  --shadow-sm: 0 1px 3px rgba(42, 33, 27, .08);
  --shadow: 0 12px 30px rgba(42, 33, 27, .12);
  --shadow-lg: 0 24px 60px rgba(42, 33, 27, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.3px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-600); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-600); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: .82rem; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--teal) 100%);
}
.logo-text { font-size: 1.08rem; line-height: 1.05; }
.logo-text small { display: block; font-size: .62rem; font-weight: 500; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--teal-600); text-decoration: none; }
.nav-webinaire { color: var(--gold-600) !important; font-weight: 600 !important; }
.nav-cta { color: var(--navy) !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #F6ECDD;
  background: radial-gradient(1100px 480px at 82% -10%, rgba(196,98,45,.48), transparent 60%),
              radial-gradient(900px 500px at 0% 110%, rgba(47,107,79,.35), transparent 55%),
              linear-gradient(160deg, #21402F 0%, #1B3527 52%, #26150D 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero-inner { position: relative; z-index: 1; padding: 84px 0 90px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lead { font-size: 1.2rem; color: #EBDCC8; max-width: 54ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; font-size: .72rem; color: var(--gold);
  background: rgba(196,98,45,.14); border: 1px solid rgba(196,98,45,.38);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 18px;
}
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats .stat b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--gold); }
.hero-stats .stat span { font-size: .85rem; color: #D8C6AF; }

/* ---------- Sections ---------- */
section { padding: 74px 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: #E7D8C4; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-head p { color: #D8C6AF; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-top: .3rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--soft-2); color: var(--teal-600); margin-bottom: 8px;
}
.card-link { display: inline-block; margin-top: 14px; font-family: var(--font-head); font-weight: 600; }

.audience-card { border-top: 4px solid var(--teal); }
.audience-card .tag { font-size: .75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-600); }

/* ---------- Feature list ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--muted); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  background: var(--teal); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
}
.section-navy .checklist li { color: #cdd9e8; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split.narrow { gap: 60px; }
.media-box {
  border-radius: var(--radius-lg); padding: 32px; min-height: 240px;
  background: linear-gradient(150deg, var(--soft-2), #fff);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}

/* ---------- Banner / CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold-600) 0%, #7A3D1A 45%, var(--teal-600) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #FBEFE2; max-width: 60ch; margin: 0 auto 22px; }

/* ---------- Objection blocks ---------- */
.objection { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.objection .card { border-left: 4px solid var(--gold); }
.pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; background: var(--teal); padding: .25rem .7rem; border-radius: 999px; margin-bottom: 10px;
}
.pill.gold { background: var(--gold-600); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { position: relative; padding-left: 68px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
}
.step h3 { margin: 4px 0 6px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card .price { font-family: var(--font-head); font-size: 2rem; color: var(--navy); font-weight: 700; }
.price-card .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-card.featured { border: 2px solid var(--gold); position: relative; }
.price-card.featured::before {
  content: "Populaire"; position: absolute; top: -13px; right: 22px;
  background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 700;
  font-size: .72rem; padding: .25rem .8rem; border-radius: 999px;
}
.price-card .btn { margin-top: auto; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.form-success { display: none; background: #e8f7f4; border: 1px solid var(--teal); color: var(--teal-600); padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.quote p { font-style: italic; color: var(--navy); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--soft-2); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--teal-600); }
.quote .who b { display: block; font-size: .92rem; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .chev { transition: transform .2s ease; color: var(--teal); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); margin: 0; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-800); padding: 20px 0; }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.trustbar span { color: #E1D0BA; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.trustbar b { color: #fff; }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: radial-gradient(900px 420px at 85% -20%, rgba(196,98,45,.42), transparent 60%), linear-gradient(160deg, #21402F, #26150D); color: #F6ECDD; padding: 60px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #E7D8C4; max-width: 60ch; font-size: 1.12rem; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #231810; color: #C9B7A3; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .5px; margin: 0 0 14px; }
.site-footer a { color: #C9B7A3; font-size: .92rem; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.site-footer .logo-text { color: #fff; }
.site-footer .brand-p { font-size: .92rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: #9C8672; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); font-size: 1.7rem;
}
.wa-float:hover { text-decoration: none; transform: scale(1.06); transition: transform .15s ease; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.badge-soft { display:inline-block; background: var(--soft-2); color: var(--navy-700); font-size:.8rem; font-weight:600; padding:.3rem .7rem; border-radius:999px; }
.lead { font-size: 1.15rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .objection, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 26px; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 22px 24px; gap: .4rem;
    transform: translateY(-140%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--soft); }
  .nav-cta { margin-top: 8px; justify-content: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band, .form-card { padding: 28px 22px; }
  section { padding: 56px 0; }
}
