/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1a1a1a; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== VARIÁVEIS ===== */
:root {
  --azul: #0047AB;
  --azul-escuro: #003380;
  --azul-claro: #E8F0FE;
  --verde: #16a34a;
  --verde-claro: #dcfce7;
  --vermelho: #dc2626;
  --cinza: #f8f9fa;
  --cinza-borda: #e5e7eb;
  --texto: #1a1a1a;
  --texto-muted: #6b7280;
  --sombra: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --raio: 12px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--cinza-borda); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.logo-icon { font-size: 22px; }
.logo-text { color: var(--texto); letter-spacing: -.3px; }
.logo-text strong { color: var(--azul); }
.nav { display: flex; gap: 28px; font-size: 14px; color: var(--texto-muted); }
.nav a:hover { color: var(--azul); }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #001f5c 0%, #003380 50%, #0047AB 100%); color: #fff; padding: 80px 0 64px; text-align: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 6px 16px; font-size: 13px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; letter-spacing: -.5px; }
.destaque { color: #60a5fa; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.8); max-width: 580px; margin: 0 auto 36px; }
.btn-hero { display: inline-block; background: #fff; color: var(--azul-escuro); padding: 14px 32px; border-radius: 8px; font-size: 16px; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 48px; flex-wrap: wrap; }
.stat { padding: 0 32px; text-align: center; }
.stat strong { display: block; font-size: 15px; font-weight: 600; }
.stat span { font-size: 13px; color: rgba(255,255,255,.65); }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* ===== RISCOS ===== */
.riscos { padding: 80px 0; background: var(--cinza); }
.riscos h2 { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 48px; }
.destaque-red { color: var(--vermelho); }
.riscos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.risco-card { background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--raio); padding: 28px 24px; }
.risco-icon { font-size: 32px; margin-bottom: 12px; }
.risco-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--texto); }
.risco-card p { font-size: 14px; color: var(--texto-muted); line-height: 1.6; }

/* ===== COMO FUNCIONA ===== */
.como-funciona { padding: 80px 0; }
.como-funciona h2 { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 52px; }
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { background: var(--azul-claro); border-radius: var(--raio); padding: 32px 28px; text-align: center; max-width: 240px; flex: 1; min-width: 180px; }
.step-num { font-size: 36px; font-weight: 800; color: var(--azul); opacity: .4; margin-bottom: 12px; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--texto-muted); }
.step-arrow { font-size: 24px; color: var(--cinza-borda); flex-shrink: 0; }

/* ===== PLANOS ===== */
.planos { padding: 80px 0; background: var(--cinza); }
.planos h2 { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 48px; }
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.plano-card { background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--raio); padding: 32px 28px; position: relative; }
.plano-destaque { border: 2px solid var(--azul); box-shadow: var(--sombra); }
.plano-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--azul); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 16px; border-radius: 99px; white-space: nowrap; }
.plano-nome { font-size: 14px; font-weight: 600; color: var(--texto-muted); text-transform: uppercase; letter-spacing: .05em; }
.plano-preco { font-size: 42px; font-weight: 800; color: var(--texto); margin: 8px 0 4px; line-height: 1; }
.plano-preco span { font-size: 48px; }
.plano-desc { font-size: 13px; color: var(--texto-muted); margin-bottom: 24px; }
.plano-itens { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plano-itens li { font-size: 14px; color: var(--texto); }
.item-off { color: var(--texto-muted); }
.btn-plano { width: 100%; padding: 13px; border-radius: 8px; border: 2px solid var(--azul); background: transparent; color: var(--azul); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s; }
.btn-plano:hover { background: var(--azul); color: #fff; }
.btn-plano-destaque { background: var(--azul); color: #fff; }
.btn-plano-destaque:hover { background: var(--azul-escuro); border-color: var(--azul-escuro); }

/* ===== MODAL ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.aberto { display: flex; }
.modal { background: #fff; border-radius: var(--raio); padding: 36px 32px; width: 100%; max-width: 480px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-fechar { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--texto-muted); line-height: 1; }
.modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--texto-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input { width: 100%; padding: 11px 14px; border: 1px solid var(--cinza-borda); border-radius: 8px; font-size: 15px; transition: border-color .15s; }
.form-group input:focus { outline: none; border-color: var(--azul); }
.form-group small { display: block; font-size: 12px; color: var(--texto-muted); margin-top: 5px; }
.resumo-pedido { background: var(--azul-claro); border-radius: 8px; padding: 14px 16px; display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 14px; }
.btn-submit { width: 100%; padding: 14px; background: var(--azul); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .15s; }
.btn-submit:hover { background: var(--azul-escuro); }
.form-aviso { font-size: 12px; color: var(--texto-muted); text-align: center; margin-top: 12px; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; }
.faq h2 { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 48px; }
.faq-lista { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--cinza-borda); border-radius: var(--raio); overflow: hidden; cursor: pointer; }
.faq-pergunta { padding: 18px 20px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-pergunta:hover { background: var(--cinza); }
.faq-seta { color: var(--texto-muted); transition: transform .2s; }
.faq-item.aberto .faq-seta { transform: rotate(180deg); }
.faq-resposta { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--texto-muted); line-height: 1.7; }
.faq-item.aberto .faq-resposta { display: block; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; color: rgba(255,255,255,.7); padding: 56px 0 24px; }
.footer .logo-text { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-empresa { background: rgba(255,255,255,.05); border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; }
.footer-empresa strong { color: #fff; display: block; font-size: 13px; margin-bottom: 4px; }
.footer-empresa span { font-size: 12px; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.footer-fonte a { color: rgba(255,255,255,.65); text-decoration: underline; }
.footer-fonte a:hover { color: #fff; }

/* ===== WHATSAPP FLUTUANTE ===== */
.wa-flutuante { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,.4); z-index: 999; transition: transform .2s, box-shadow .2s; }
.wa-flutuante:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,.5); color: #fff; }
.wa-flutuante svg { width: 30px; height: 30px; }
@media print { .wa-flutuante { display: none !important; } }

/* ===== TIPOS DE EMBARCAÇÃO ===== */
.tipos-embarcacao { padding: 80px 0; background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%); }
.tipos-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.tipos-badge { display: inline-block; background: #f0f4ff; color: var(--azul); padding: 6px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.tipos-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; color: var(--texto); }
.tipos-sub { font-size: 16px; color: var(--texto-muted); line-height: 1.6; }
.tipos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.tipo-card { background: #fff; border: 2px solid var(--cinza-borda); border-radius: 14px; padding: 28px 24px; text-align: center; transition: all .25s ease; position: relative; }
.tipo-card:hover { border-color: var(--azul); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,71,171,.08); }
.tipo-icon { font-size: 56px; margin-bottom: 16px; display: block; filter: grayscale(.1); }
.tipo-card:hover .tipo-icon { filter: grayscale(0); transform: scale(1.05); transition: all .25s; }
.tipo-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--texto); }
.tipo-card p { font-size: 13px; color: var(--texto-muted); line-height: 1.5; margin-bottom: 14px; }
.tipo-tag { display: inline-block; background: #f0fdf4; color: #15803d; padding: 4px 12px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.tipos-cta { text-align: center; margin-top: 40px; }
.tipos-cta p { font-size: 15px; color: var(--texto-muted); margin-bottom: 12px; }
.btn-tipos { display: inline-block; background: var(--azul); color: #fff; padding: 14px 36px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: background .15s; }
.btn-tipos:hover { background: var(--azul-esc); color: #fff; }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .tipos-grid { grid-template-columns: repeat(2, 1fr); }
  .tipos-header h2 { font-size: 28px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 56px 0 48px; }
  .stat-div { display: none; }
  .stat { padding: 8px 16px; }
  .steps { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); text-align: center; }
  .step { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .tipos-embarcacao { padding: 56px 0; }
  .tipos-grid { grid-template-columns: 1fr; gap: 14px; }
  .tipos-header h2 { font-size: 24px; }
  .tipo-icon { font-size: 48px; }
  .wa-flutuante { bottom: 16px; right: 16px; width: 54px; height: 54px; }
  .wa-flutuante svg { width: 26px; height: 26px; }
}