/* ══════════════════════════════════════════════
   SAFEJUNIOR — style.css — Mobile First
══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:   #0A1628;
  --blue:   #1D4ED8;
  --sky:    #3B82F6;
  --teal:   #0EA5E9;
  --mint:   #10B981;
  --amber:  #F59E0B;
  --red:    #EF4444;
  --cream:  #F8FAFF;
  --text:   #1E293B;
  --muted:  #64748B;
  --border: #E2E8F0;
  --r:      16px;
  --font:   'Quicksand', sans-serif;
}

html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font); background: var(--cream); color: var(--text); overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
img   { display: block; max-width: 100%; }

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 62px; transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(10,22,40,.10); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; }
.brand { font-size: 17px; font-weight: 800; color: var(--navy); }
.brand span { color: var(--sky); }
.nav-links { display: none; }
.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff; font-family: var(--font); font-weight: 700; font-size: 12px;
  padding: 9px 16px; border-radius: 50px; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(29,78,216,.30); white-space: nowrap;
}

/* Hamburger */
.nav-menu-btn {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; margin-left: 8px;
}
.nav-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: all .3s;
}

/* Drawer */
.nav-drawer {
  position: fixed; top: 62px; left: 0; right: 0; bottom: 0; z-index: 190;
  background: #fff; padding: 20px 16px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(-100%); transition: transform .3s ease;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  display: block; font-size: 16px; font-weight: 700; color: var(--text);
  padding: 14px 16px; border-radius: 12px; transition: all .2s; border: 1px solid transparent;
}
.nav-drawer a:hover, .nav-drawer a.active { background: var(--cream); color: var(--blue); border-color: var(--border); }
.drawer-cta {
  margin-top: 12px; background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff; font-family: var(--font); font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: 12px; border: none; cursor: pointer; text-align: center;
  display: block;
}

main { padding-top: 62px; }

/* ══ BOUTONS ══ */
.btn-green {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--mint), #059669);
  color: #fff; font-family: var(--font); font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 50px; border: none; cursor: pointer;
  box-shadow: 0 4px 18px rgba(16,185,129,.35); transition: all .25s; white-space: nowrap;
}
.btn-green:hover { transform: translateY(-2px); color: #fff; }

.btn-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff; font-family: var(--font); font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 50px; border: none; cursor: pointer;
  box-shadow: 0 4px 18px rgba(29,78,216,.30); transition: all .25s;
}
.btn-blue:hover { color: #fff; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 2px solid var(--blue);
  color: var(--blue); font-family: var(--font); font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 50px; cursor: pointer; transition: all .25s;
}
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; font-family: var(--font); font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 50px; cursor: pointer; transition: all .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,.20); }

/* ══ HERO PAGE ══ */
.page-hero {
  background: linear-gradient(135deg, #0A1628 0%, #0F2952 60%, #1D4ED8 100%);
  padding: 40px 20px 64px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 300px 200px at 90% 30%, rgba(59,130,246,.18), transparent);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 40px; background: var(--cream); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  color: #93C5FD; font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 50px; margin-bottom: 12px;
}
.page-hero h1 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.page-hero h1 em { color: #60A5FA; font-style: normal; }
.page-hero p  { font-size: 14px; color: rgba(255,255,255,.70); font-weight: 500; line-height: 1.7; }

/* ══ SECTIONS ══ */
.section      { padding: 40px 16px; }
.section-full { padding: 40px 16px; background: #fff; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(29,78,216,.08); color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; margin-bottom: 12px; }
.section-title { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.section-sub   { font-size: 13.5px; color: var(--muted); font-weight: 500; line-height: 1.7; }

/* ══ CARDS ══ */
.card { background: #fff; border-radius: var(--r); padding: 22px 18px; box-shadow: 0 2px 14px rgba(10,22,40,.06); border: 1px solid var(--border); position: relative; overflow: hidden; }
.card-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.card-ico  { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.card h3   { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.card p    { font-size: 13px; color: var(--muted); line-height: 1.65; font-weight: 500; }

/* ══ GRILLES MOBILE ══ */
.grid-cards   { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.grid-pricing { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 24px 16px; }
.grid-steps   { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.grid-excl    { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.grid-faq     { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
.grid-contact { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ══ PRICING ══ */
.pc { background: #fff; border-radius: var(--r); border: 2px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.pc.featured { border-color: var(--blue); box-shadow: 0 8px 32px rgba(29,78,216,.18); }
.pc-head { padding: 22px 18px 18px; position: relative; }
.pc.featured .pc-head { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.pc-badge { position: absolute; top: 12px; right: 12px; background: var(--amber); color: var(--navy); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 50px; }
.pc-ico   { font-size: 26px; margin-bottom: 8px; }
.pc-name  { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.pc.featured .pc-name { color: #fff; }
.pc-desc  { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.pc.featured .pc-desc { color: rgba(255,255,255,.75); }
.pc-price { font-size: 26px; font-weight: 800; color: var(--blue); }
.pc.featured .pc-price { color: #fff; }
.pc-price span { font-size: 12px; font-weight: 600; color: var(--muted); }
.pc.featured .pc-price span { color: rgba(255,255,255,.7); }
.pc-feats { padding: 14px 18px; flex: 1; border-top: 1px solid var(--border); }
.pc-feat  { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid #F1F5F9; font-size: 12.5px; font-weight: 600; }
.pc-feat:last-child { border-bottom: none; }
.pc-feat.off { color: #CBD5E1; }
.pc-foot  { padding: 14px 18px 20px; }

/* ══ TABLEAU ══ */
.table-wrap { border-radius: var(--r); overflow-x: auto; border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
table  { width: 100%; border-collapse: collapse; font-size: 12px; font-weight: 600; min-width: 500px; }
thead tr { background: linear-gradient(90deg, var(--navy), #0F2952); color: #fff; }
th { padding: 11px 12px; text-align: left; font-weight: 700; font-size: 11px; letter-spacing: .3px; white-space: nowrap; }
tbody tr { border-bottom: 1px solid #F1F5F9; }
tbody tr:nth-child(even) { background: #F8FAFF; }
td { padding: 9px 12px; vertical-align: middle; }
td:first-child { font-weight: 700; color: var(--navy); }
.yes-c  { color: var(--mint); font-size: 15px; font-weight: 800; }
.no-c   { color: #CBD5E1; font-size: 15px; }
.pill-g { background: #D1FAE5; color: #065F46; border-radius: 50px; padding: 2px 7px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.pill-o { background: #FEF3C7; color: #92400E; border-radius: 50px; padding: 2px 7px; font-size: 10px; font-weight: 700; white-space: nowrap; }

/* ══ GARANTIES ══ */
.guarantee-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: 0 2px 10px rgba(10,22,40,.05); }
.guarantee-card img { width: 100%; height: 120px; object-fit: cover; }
.guarantee-card-body { padding: 14px 16px; }
.badge-g { display: inline-flex; background: #D1FAE5; color: #065F46; border-radius: 50px; padding: 3px 9px; font-size: 10px; font-weight: 700; margin-bottom: 7px; }
.badge-o { display: inline-flex; background: #FEF3C7; color: #92400E; border-radius: 50px; padding: 3px 9px; font-size: 10px; font-weight: 700; margin-bottom: 7px; }
.guarantee-card h3 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.check-list li { display: flex; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.check-list li::before { content: '✓'; color: var(--mint); font-weight: 800; flex-shrink: 0; }

/* ══ ÉTAPES ══ */
.step-card { background: #fff; border-radius: var(--r); padding: 22px 18px; border: 1px solid var(--border); text-align: center; box-shadow: 0 2px 10px rgba(10,22,40,.05); }
.step-num  { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: 0 4px 12px rgba(29,78,216,.28); }
.step-card .ico  { font-size: 30px; margin-bottom: 10px; }
.step-card h3    { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
.step-card p     { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.6; }
.step-tag  { display: inline-flex; margin-top: 10px; background: var(--cream); color: var(--blue); border-radius: 50px; padding: 3px 10px; font-size: 10px; font-weight: 700; }

/* ══ EXCLUSIONS ══ */
.excl-card { background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 12px 12px; }
.excl-card strong { font-size: 11.5px; color: var(--navy); display: block; margin-bottom: 3px; }
.excl-card p { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.excl-ico { font-size: 18px; margin-bottom: 6px; }

/* ══ FAQ ══ */
.faq-item { background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 16px 14px; }
.faq-item h3 { font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.faq-item p  { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.6; }

/* ══ CTA ══ */
.cta-band { background: linear-gradient(135deg, var(--navy), #1D4ED8); padding: 36px 20px; text-align: center; margin: 0 16px 40px; border-radius: 20px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 300px 200px at 80% 50%, rgba(59,130,246,.18), transparent); }
.cta-band h2  { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.cta-band > p { font-size: 13px; color: rgba(255,255,255,.70); margin-bottom: 22px; font-weight: 500; position: relative; z-index: 1; line-height: 1.6; }
.cta-btns { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.cta-btns > * { width: 100%; }

/* ══ CONTACT ══ */
.contact-band { background: linear-gradient(135deg, var(--navy), #1D4ED8); border-radius: 20px; padding: 28px 20px; position: relative; overflow: hidden; }
.contact-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 300px 200px at 90% 50%, rgba(59,130,246,.18), transparent); pointer-events: none; }
.contact-band h2  { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.contact-band p   { font-size: 13px; color: rgba(255,255,255,.70); line-height: 1.7; font-weight: 500; position: relative; z-index: 1; }
.contact-band img { display: none; }
.mail-link { display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); color: #fff; border-radius: 12px; padding: 13px 16px; margin-top: 16px; font-size: 13px; font-weight: 700; position: relative; z-index: 1; word-break: break-all; }

.contact-card { background: #fff; border-radius: var(--r); padding: 20px 16px; border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(10,22,40,.05); }
.contact-card .ico { font-size: 26px; margin-bottom: 8px; }
.contact-card h3   { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.contact-card p    { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.6; margin-bottom: 12px; }

/* ══ FOOTER ══ */
footer { background: var(--navy); color: rgba(255,255,255,.50); padding: 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; text-align: center; line-height: 1.6; }
.footer-brand { color: #fff; font-weight: 800; font-size: 15px; }
.footer-links { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.footer-links a, .btn-footer { color: rgba(255,255,255,.60); font-family: var(--font); font-size: 11px; font-weight: 700; padding: 5px 11px; border: 1px solid rgba(255,255,255,.20); border-radius: 50px; cursor: pointer; background: none; transition: all .2s; }
.footer-links a:hover, .btn-footer:hover { background: rgba(255,255,255,.10); color: #fff; }

/* ══ CHATBOT ══ */
.chat-bubble { position: fixed; bottom: 18px; right: 14px; z-index: 500; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--teal)); border: none; cursor: pointer; box-shadow: 0 6px 22px rgba(29,78,216,.40); display: flex; align-items: center; justify-content: center; font-size: 22px; animation: pulse 2.5s infinite; }
.chat-bubble.open { animation: none; }
@keyframes pulse { 0%{box-shadow:0 6px 22px rgba(29,78,216,.40),0 0 0 0 rgba(29,78,216,.35)} 70%{box-shadow:0 6px 22px rgba(29,78,216,.40),0 0 0 12px rgba(29,78,216,0)} 100%{box-shadow:0 6px 22px rgba(29,78,216,.40),0 0 0 0 rgba(29,78,216,0)} }
.chat-notif { position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: #F43F5E; border: 2px solid #fff; font-size: 9px; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; }
.chat-panel { position: fixed; bottom: 80px; right: 10px; z-index: 500; width: calc(100vw - 20px); max-width: 380px; height: 68vh; max-height: 520px; background: #fff; border-radius: 18px; box-shadow: 0 16px 50px rgba(10,22,40,.22); display: flex; flex-direction: column; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(14px) scale(.97); transition: all .3s cubic-bezier(.34,1.56,.64,1); transform-origin: bottom right; }
.chat-panel.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.cp-head { background: linear-gradient(135deg, #0A1628, #1D4ED8); padding: 13px 14px; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.cp-av   { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #10B981, #0EA5E9); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; border: 2px solid rgba(255,255,255,.25); }
.cp-name { font-size: 13px; font-weight: 800; color: #fff; }
.cp-status { font-size: 10px; color: rgba(255,255,255,.65); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.cp-dot  { width: 6px; height: 6px; border-radius: 50%; background: #10B981; display: inline-block; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.cp-close { background: rgba(255,255,255,.12); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-left: auto; }
.cp-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 9px; background: #F8FAFF; -webkit-overflow-scrolling: touch; }
.msg { display: flex; gap: 6px; max-width: 90%; animation: msgIn .25s ease; }
@keyframes msgIn { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
.msg.bot  { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg-av   { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #1D4ED8, #0EA5E9); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; margin-top: auto; }
.msg-bub  { padding: 8px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; line-height: 1.5; max-width: 100%; }
.msg.bot  .msg-bub { background: #fff; color: #1E293B; border-radius: 3px 14px 14px 14px; box-shadow: 0 2px 8px rgba(10,22,40,.08); }
.msg.user .msg-bub { background: linear-gradient(135deg, #1D4ED8, #3B82F6); color: #fff; border-radius: 14px 3px 14px 14px; }
.typing   { display: flex; gap: 4px; padding: 10px 13px; background: #fff; border-radius: 3px 14px 14px 14px; box-shadow: 0 2px 8px rgba(10,22,40,.08); align-self: flex-start; margin-left: 32px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #94A3B8; animation: ty 1.2s infinite; }
.typing span:nth-child(2){animation-delay:.2s} .typing span:nth-child(3){animation-delay:.4s}
@keyframes ty { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px)} }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; margin-left: 32px; }
.chip  { background: #EFF6FF; color: var(--blue); border: 1.5px solid #BFDBFE; border-radius: 50px; padding: 4px 10px; font-size: 11.5px; font-weight: 700; cursor: pointer; transition: all .2s; font-family: var(--font); }
.chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.cp-input { padding: 9px 11px; border-top: 1px solid var(--border); display: flex; gap: 7px; align-items: flex-end; flex-shrink: 0; background: #fff; }
.cp-input textarea { flex: 1; border: 1.5px solid var(--border); border-radius: 11px; padding: 8px 11px; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--text); resize: none; outline: none; max-height: 80px; min-height: 36px; transition: border-color .2s; line-height: 1.4; background: var(--cream); -webkit-appearance: none; }
.cp-input textarea:focus { border-color: var(--blue); background: #fff; }
.cp-input textarea::placeholder { color: #94A3B8; }
.cp-send { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--sky)); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; box-shadow: 0 3px 10px rgba(29,78,216,.28); transition: all .2s; }
.cp-send:disabled { opacity: .5; cursor: not-allowed; }

/* ══ FORMULAIRE ══ */
.form-overlay { position: fixed; inset: 0; z-index: 600; background: rgba(10,22,40,.75); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.form-overlay.open { opacity: 1; pointer-events: all; }
.form-box { background: #fff; border-radius: 22px 22px 0 0; width: 100%; max-width: 540px; max-height: 92vh; box-shadow: 0 -8px 40px rgba(10,22,40,.25); overflow: hidden; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .35s cubic-bezier(.34,1.16,.64,1); }
.form-overlay.open .form-box { transform: translateY(0); }

.fh { background: linear-gradient(135deg, #0A1628, #1D4ED8); padding: 18px 18px 16px; position: relative; overflow: hidden; flex-shrink: 0; }
.fh::after { content: ''; position: absolute; bottom: -20px; right: -20px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.05); }
.fh-top  { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.fh-badge { display: inline-flex; gap: 5px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.20); color: #93C5FD; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; margin-bottom: 6px; }
.fh h2   { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.2; position: relative; z-index: 1; }
.fh h2 span { color: #60A5FA; }
.fh-x    { background: rgba(255,255,255,.12); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }

.fh-prog  { margin-top: 14px; position: relative; z-index: 1; }
.fh-labels { display: flex; justify-content: space-between; margin-bottom: 5px; }
.fh-labels span { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.45); letter-spacing: .5px; text-transform: uppercase; transition: color .3s; }
.fh-labels span.done { color: #60A5FA; }
.prog-track { height: 3px; background: rgba(255,255,255,.15); border-radius: 4px; }
.prog-fill  { height: 100%; background: linear-gradient(90deg, #60A5FA, #34D399); border-radius: 4px; transition: width .4s ease; }

.fb { padding: 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
@keyframes stepIn { from{opacity:0;transform:translateX(10px)} to{opacity:1;transform:translateX(0)} }
.step-in { animation: stepIn .3s ease; }
.fb h3  { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.fb .sub { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.frow   { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field  { margin-bottom: 12px; }
.field label { display: block; font-size: 10.5px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 2px solid var(--border); border-radius: 10px; font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; background: var(--cream); -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.10); background: #fff; }
.field input.err, .field select.err { border-color: var(--red); }
.err-msg { font-size: 10.5px; color: var(--red); font-weight: 700; margin-top: 3px; display: none; }
.err-msg.show { display: block; }
.field textarea { resize: none; min-height: 68px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }

.recap { background: var(--cream); border: 1.5px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.recap-plan { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.recap-plan-name  { font-size: 15px; font-weight: 800; color: var(--navy); }
.recap-plan-badge { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; padding: 3px 11px; border-radius: 50px; font-size: 10px; font-weight: 700; }
.recap-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 6px; gap: 8px; }
.recap-row span:first-child { color: var(--muted); flex-shrink: 0; }
.recap-row span:last-child  { text-align: right; word-break: break-word; }

.ff { padding: 0 18px 20px; display: flex; gap: 10px; flex-shrink: 0; }
.btn-back { flex: 1; padding: 12px; border-radius: 50px; border: 2px solid var(--border); background: #fff; color: var(--muted); font-family: var(--font); font-weight: 700; font-size: 13px; cursor: pointer; }
.btn-next { flex: 2; padding: 12px; border-radius: 50px; border: none; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-family: var(--font); font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: 0 4px 14px rgba(29,78,216,.25); display: flex; align-items: center; justify-content: center; gap: 7px; }
.btn-next:disabled { opacity: .6; cursor: not-allowed; }

.form-success { padding: 36px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
@keyframes pop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
.success-ico { font-size: 52px; margin-bottom: 14px; animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
.form-success h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.form-success p  { font-size: 13px; color: var(--muted); font-weight: 500; line-height: 1.7; }
.email-confirm   { background: #EFF6FF; border: 1.5px solid #BFDBFE; border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 13px; font-weight: 800; color: var(--blue); word-break: break-all; }
.btn-done { margin-top: 6px; background: linear-gradient(135deg, var(--mint), #059669); color: #fff; border: none; font-family: var(--font); font-weight: 800; font-size: 14px; padding: 12px 26px; border-radius: 50px; cursor: pointer; box-shadow: 0 4px 14px rgba(16,185,129,.28); }

/* ══ TABLET 600px+ ══ */
@media(min-width:600px){
  .grid-excl    { grid-template-columns: repeat(3,1fr); }
  .grid-faq     { grid-template-columns: 1fr 1fr; }
  .grid-cards   { grid-template-columns: 1fr 1fr; }
  .grid-contact { grid-template-columns: 1fr 1fr; }
}

/* ══ DESKTOP 900px+ ══ */
@media(min-width:900px){
  nav { padding: 0 48px; height: 70px; }
  .nav-menu-btn { display: none; }
  .nav-drawer   { display: none !important; }
  .nav-links { display: flex; gap: 4px; }
  .nav-links a { font-weight: 700; font-size: 13px; color: var(--muted); padding: 8px 14px; border-radius: 50px; transition: all .2s; }
  .nav-links a:hover, .nav-links a.active { background: var(--cream); color: var(--blue); }
  .btn-nav { font-size: 13px; padding: 10px 22px; }
  main { padding-top: 70px; }

  .page-hero { padding: 64px 64px 90px; }
  .page-hero h1 { font-size: 42px; }
  .page-hero-inner { max-width: 1100px; margin: 0 auto; }
  .page-hero p { font-size: 15px; max-width: 560px; }

  .section { padding: 72px 64px; max-width: 1100px; margin: 0 auto; }
  .section-full { padding: 72px 64px; }
  .section-full > .inner { max-width: 1100px; margin: 0 auto; }
  .section-title { font-size: 36px; }
  .section-sub   { font-size: 15px; }

  .grid-cards   { grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
  .grid-pricing { grid-template-columns: repeat(3,1fr); gap: 24px; padding: 48px 64px; max-width: 1100px; margin: 0 auto; }
  .grid-steps   { grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; position: relative; }
  .grid-steps::before { content: ''; position: absolute; top: 44px; left: calc(16% + 22px); right: calc(16% + 22px); height: 2px; background: linear-gradient(90deg,var(--blue),var(--teal)); z-index: 0; }
  .grid-excl    { grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
  .grid-faq     { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
  .grid-contact { grid-template-columns: repeat(3,1fr); gap: 20px; }

  .guarantee-card { display: flex; border-radius: var(--r); }
  .guarantee-card img { width: 140px; height: auto; flex-shrink: 0; }

  .contact-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 52px 56px; border-radius: 28px; }
  .contact-band img { display: block; width: 200px; height: 140px; object-fit: cover; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.25); position: relative; z-index: 1; }

  .cta-band { padding: 64px; margin: 0 64px 64px; border-radius: 28px; }
  .cta-band h2  { font-size: 32px; }
  .cta-btns { flex-direction: row; justify-content: center; }
  .cta-btns > * { width: auto; }

  footer { flex-direction: row; justify-content: space-between; padding: 28px 48px; text-align: left; }

  .chat-bubble { bottom: 28px; right: 28px; width: 58px; height: 58px; font-size: 24px; }
  .chat-panel  { width: 380px; right: 28px; bottom: 100px; height: 540px; max-height: none; border-radius: 22px; }

  .form-overlay { align-items: center; }
  .form-box { border-radius: 24px; max-height: 88vh; transform: translateY(20px) scale(.97); }
  .form-overlay.open .form-box { transform: translateY(0) scale(1); }
  .fh { padding: 24px 28px 20px; }
  .fb { padding: 24px 28px; }
  .ff { padding: 0 28px 26px; }
  .excl-card { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; }
}