:root {
  --azul:     #185FA5;
  --azul-esc: #0C447C;
  --azul-cl:  #E6F1FB;
  --verde:    #3B6D11;
  --verde-cl: #EAF3DE;
  --dourado:  #854F0B;
  --dourado-cl:#FAEEDA;
  --cinza:    #5F5E5A;
  --cinza-cl: #F1EFE8;
  --borda:    rgba(0,0,0,.12);
  --radius:   10px;
  --radius-sm: 6px;
  --sombra:   0 2px 12px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #2C2C2A;
  background: #fff;
  line-height: 1.6;
}

a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ── TIPOGRAFIA ── */
h1 { font-size: 2.4rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.8rem; font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: #444441; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--borda);
  padding: 0 2rem;
}
.site-header .inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  height: 64px; gap: 2rem;
}
.site-logo img { height: 38px; }
.site-logo span { font-size: 1.4rem; font-weight: 700; color: var(--azul); }
.site-nav { display: flex; gap: 1.5rem; flex: 1; }
.site-nav a {
  font-size: 14px; color: #444441; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover, .site-nav a.ativo {
  color: var(--azul); border-color: var(--azul); text-decoration: none;
}
.header-actions { display: flex; gap: .75rem; align-items: center; }

/* ── BOTOES ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent; transition: all .15s;
  text-decoration: none !important;
}
.btn-primary { background: var(--azul); color: #fff; }
.btn-primary:hover { background: var(--azul-esc); }
.btn-outline { border-color: var(--azul); color: var(--azul); background: transparent; }
.btn-outline:hover { background: var(--azul-cl); }
.btn-wpp { background: #25D366; color: #fff; }
.btn-wpp:hover { background: #1da851; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 8px; }
.btn-full { width: 100%; }

/* ── SECOES ── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: .5rem; }
.section-title p { color: var(--cinza); font-size: 1rem; }
.section-gray { background: var(--cinza-cl); }
.section-blue { background: var(--azul-cl); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-esc) 100%);
  color: #fff; padding: 6rem 2rem 5rem;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-text h1 { color: #fff; margin-bottom: 1rem; }
.hero-text p  { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 700; }
.hero-stat span   { font-size: 13px; color: rgba(255,255,255,.75); }
.hero-img { text-align: center; }
.hero-img img { border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.hero-img .img-placeholder {
  background: rgba(255,255,255,.12); border-radius: 12px;
  height: 320px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.5);
  font-size: 14px;
}

/* ── CARDS DE SOLUCOES ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
.sol-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--borda); padding: 2rem;
  box-shadow: var(--sombra); transition: transform .15s;
}
.sol-card:hover { transform: translateY(-3px); }
.sol-card .ic {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 1rem;
}
.sol-card .ic.azul { background: var(--azul-cl); color: var(--azul); }
.sol-card .ic.verde { background: var(--verde-cl); color: var(--verde); }
.sol-card .ic.dourado { background: var(--dourado-cl); color: var(--dourado); }
.sol-card h3 { margin-bottom: .5rem; }
.sol-card p  { font-size: 14px; }

/* ── GRADE FUNCIONALIDADES ── */
.func-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.func-item {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--borda); padding: 1.25rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.func-item i { font-size: 22px; color: var(--azul); flex-shrink: 0; margin-top: 2px; }
.func-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.func-item p  { font-size: 13px; color: var(--cinza); }

/* ── PLANOS ── */
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; align-items: start; }
.plano-card {
  border-radius: var(--radius); border: 1.5px solid var(--borda);
  overflow: hidden; background: #fff; box-shadow: var(--sombra);
}
.plano-card.destaque { border-color: var(--azul); border-width: 2px; }
.plano-badge {
  background: var(--azul); color: #fff;
  text-align: center; padding: 5px; font-size: 12px; font-weight: 600;
}
.plano-head { padding: 1.5rem 1.5rem 1rem; }
.plano-head h3 { font-size: 1.3rem; }
.plano-preco {
  font-size: 2.2rem; font-weight: 700; color: var(--azul);
  line-height: 1; margin: .75rem 0 .25rem;
}
.plano-preco span { font-size: 1rem; font-weight: 400; color: var(--cinza); }
.plano-head.dourado .plano-preco { color: var(--dourado); }
.plano-head.verde   .plano-preco { color: var(--verde); }
.plano-body { padding: 0 1.5rem 1.5rem; }
.plano-features { list-style: none; margin-bottom: 1.5rem; }
.plano-features li {
  padding: 6px 0; font-size: 14px; display: flex; gap: 8px; align-items: flex-start;
  border-bottom: 1px solid var(--cinza-cl);
}
.plano-features li:last-child { border-bottom: none; }
.plano-features li i { color: var(--verde); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.plano-adicional {
  background: var(--dourado-cl); border: 1px solid #EF9F27;
  border-radius: var(--radius); padding: 1.25rem; margin-top: 1rem;
}
.plano-adicional h4 { color: var(--dourado); font-size: 14px; margin-bottom: .75rem; }
.plano-adicional label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; margin-bottom: 6px; }
.plano-adicional span { margin-left: auto; color: var(--dourado); font-weight: 600; font-size: 13px; }

/* ── VIDEOS ── */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px,1fr)); gap: 2rem; }
.video-item h3 { margin-bottom: .75rem; font-size: 1rem; }
.video-wrapper { position: relative; padding-bottom: 56.25%; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ── SEGMENTOS ── */
.seg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1rem; }
.seg-item {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--radius);
  padding: 1.25rem; text-align: center; font-size: 13px; font-weight: 500;
}
.seg-item i { font-size: 28px; color: var(--azul); display: block; margin-bottom: .5rem; }

/* ── CTA FINAL ── */
.cta-section {
  background: var(--azul); color: #fff; text-align: center; padding: 5rem 2rem;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-section .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-section .btn-outline:hover { background: rgba(255,255,255,.15); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--borda); }
.faq-q {
  padding: 1rem 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 500; gap: 1rem;
}
.faq-q i { flex-shrink: 0; transition: transform .2s; color: var(--azul); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding-bottom: 1rem; color: var(--cinza); font-size: 14px; }
.faq-item.open .faq-a { display: block; }

/* ── FORMULARIO ── */
.form-wrap { max-width: 900px; margin: 0 auto; }
.form-grid { display: grid; gap: .75rem; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-row-2 { grid-template-columns: repeat(2, 1fr); }
.form-row-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
.form-row-2b { grid-template-columns: 1fr 1fr; }

@media(max-width:640px) {
  .form-row-3, .form-row-2, .form-row-4, .form-row-2b { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 13px; font-weight: 500; color: #444441; }
.field label .req { color: #E24B4A; }
.field input, .field select, .field textarea {
  padding: 10px 12px; border: 1.5px solid var(--borda);
  border-radius: var(--radius-sm); font-size: 14px; color: #2C2C2A;
  background: #fff; transition: border-color .15s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--azul);
}
.field input.auto { background: #E6F1FB; }
.field .hint { font-size: 11px; color: var(--cinza); }
.field-cnpj { display: flex; gap: 6px; }
.field-cnpj input { flex: 1; }
.field-cnpj button {
  padding: 10px 14px; background: var(--azul); color: #fff;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  font-size: 14px; transition: background .15s; flex-shrink: 0;
}
.field-cnpj button:hover { background: var(--azul-esc); }

/* ── SIDEBAR CADASTRO ── */
.cad-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
@media(max-width:800px) { .cad-layout { grid-template-columns: 1fr; } }
.sidebar-box {
  background: #fff; border: 1px solid var(--borda);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--sombra); margin-bottom: 1rem;
}
.sidebar-box h4 { font-size: 14px; font-weight: 600; margin-bottom: .75rem; color: var(--azul); }
.resumo-valor { text-align: right; font-size: 1.4rem; font-weight: 700; color: var(--azul); margin-top: .75rem; }
.resumo-detalhe { font-size: 12px; color: var(--cinza); text-align: right; }
.flow-steps { list-style: none; }
.flow-steps li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--cinza); padding: 5px 0;
}
.flow-steps li .sn {
  min-width: 20px; height: 20px; border-radius: 50%;
  background: var(--verde); color: #fff; font-size: 11px;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.seguro-box { background: var(--verde-cl); border-color: #97C459; }
.seguro-box h4 { color: var(--verde); }

/* ── ALERTAS ── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14px; margin-bottom: 1rem; display: flex; gap: 8px; align-items: flex-start;
}
.alert i { flex-shrink: 0; font-size: 16px; margin-top: 1px; }
.alert-info    { background: var(--azul-cl);    color: var(--azul-esc); border: 1px solid #85B7EB; }
.alert-success { background: var(--verde-cl);   color: var(--verde);    border: 1px solid #97C459; }
.alert-error   { background: #FCEBEB;           color: #A32D2D;         border: 1px solid #F09595; }
.alert-warn    { background: var(--dourado-cl); color: var(--dourado);  border: 1px solid #EF9F27; }

/* ── SUCESSO ── */
.sucesso-box {
  max-width: 600px; margin: 0 auto;
  background: var(--verde-cl); border: 1px solid #97C459;
  border-radius: 16px; padding: 3rem; text-align: center;
}
.sucesso-box i { font-size: 56px; color: var(--verde); margin-bottom: 1rem; }
.sucesso-box h2 { color: var(--verde); margin-bottom: .5rem; }
.sucesso-box p  { color: #27500A; margin-bottom: 1.5rem; }
.dominio-tag {
  background: #fff; border: 1px solid #97C459;
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-family: monospace; font-size: 1rem; color: var(--verde); display: inline-block;
  margin-bottom: 1.5rem;
}
.sucesso-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer {
  background: #2C2C2A; color: rgba(255,255,255,.75);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media(max-width:640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 13px; margin-top: .75rem; }
.footer-col h5 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: 13px; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem; text-align: center; font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ── LOADER ── */
.buscando { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--azul); margin-top: 6px; }
.buscando.ativo { display: flex; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--azul-cl); border-top-color: var(--azul); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVO ── */
@media(max-width:768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .site-nav { display: none; }
  .videos-grid { grid-template-columns: 1fr; }
}
