/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== PALETA ===== */
:root {
  --blue-dark:  #0a1a4a;
  --blue-mid:   #1035a0;
  --blue-light: #1a5fd4;
  --blue-btn:   #1565e8;
  --blue-btn2:  #2196f3;
  --white:      #ffffff;
  --gray-bg:    #f4f7fc;
  --gray-text:  #555;
  --radius:     10px;
}

.hero{
    position:relative;
}

.hero-banner{
    width:100%;
    display:block;
}

.hero-content{
    position:absolute;
    top:40%;           /* antes estava 50% */
    left:8%;
    transform:translateY(-50%);
    color:white;
    max-width:520px;
}

.hero-content h1{
    font-size:42px;
    line-height:1.2;
    margin-bottom:10px;
}

.hero-content h2{
    font-size:28px;
    margin-top:25px;   /* empurra o texto para baixo */
    color:#4fc3ff;
}

.hero-content p{
    font-size:18px;
    margin-top:25px;   /* empurra o texto para baixo */
    margin-bottom:25px;
}

.hero-btn{
    transition:0.3s;
    background:#3aa3ff;

    display:flex;
    align-items:center;
    justify-content:center;

    width:350px;
    height:35px;
    padding:14px 28px;

    border-radius:6px;
    color:white;
    text-decoration:none;
    text-align:center;

    font-size:26px;
    font-weight:600;
}

.hero-btn:hover{
    /*background:#0f7bd6;*/
    background:#1e8fe6;
    transform:scale(1.03);    
}

/* ===== WHATSAPP-FLOAT ===== */
.whatsapp-float{
    animation:zap 2s infinite;
    position:fixed;
    width:60px;
    height:60px;
    bottom:30px;
    right:30px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    z-index:999;
}

.whatsapp-float img{
    width:35px;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    transition:0.3s;
}

@keyframes zap{
0%{transform:scale(1);}
50%{transform:scale(1.1);}
100%{transform:scale(1);}
}
/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav-logo .logo-icon {
  height: 42px;
  width: auto;
  display: flex;
  align-items: center;
}
.nav-logo .logo-icon img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.nav-logo span small {
  display: block;
  font-weight: 400;
  font-size: .65rem;
  color: #a0bfff;
  letter-spacing: .05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: #c8d8ff;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.btn { display: inline-block; font-weight: 600; border-radius: 6px; cursor: pointer; transition: all .25s; border: none; }
.btn-primary {
  background: var(--blue-btn);
  color: var(--white);
  padding: 10px 22px;
  font-size: .9rem;
}
.btn-primary:hover { background: #0e4ec7; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 10px 22px;
  font-size: .9rem;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* hamburger */
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--blue-dark); padding: 20px 6%; gap: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
}

/* ===== HERO ===== */
.hero {
  display: block;
  overflow: hidden;
  line-height: 0;
}
.hero a {
  display: block;
}
.hero-banner {
  width: 100%;
  height: auto;
  display: block;
}
/* ===== FEATURES ===== */
.features {
  background: var(--blue-mid);
  padding: 36px 6%;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
  transition: transform .25s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-card p { font-size: .85rem; color: rgba(255,255,255,.8); }
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.section-header h2 span { color: var(--blue-btn); }
.section-header p { color: var(--gray-text); margin-top: 8px; font-size: .95rem; }
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-btn), var(--blue-btn2));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== SEGMENTS ===== */
.segments {
  background: var(--gray-bg);
  padding: 70px 6%;
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.segment-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}
.segment-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.segment-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #dde8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.segment-body { padding: 18px; }
.segment-body h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.segment-body p { font-size: .83rem; color: var(--gray-text); }
@media (max-width: 900px) {
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .segments-grid { grid-template-columns: 1fr; }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, #0e3fa0 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 6%;
  text-align: center;
  color: var(--white);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'%3E%3Cpath d='M10 0v60M20 0v60M30 0v60M40 0v60M50 0v60M0 10h60M0 20h60M0 30h60M0 40h60M0 50h60'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner h2 { font-size: 2.2rem; font-weight: 800; position: relative; }
.cta-banner p { color: #c8d8ff; margin-top: 8px; font-size: 1.05rem; position: relative; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; position: relative; }
.btn-white {
  background: var(--white);
  color: var(--blue-mid);
  padding: 13px 30px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all .25s;
  border: none;
  cursor: pointer;
}
.btn-white:hover { background: #e3f0ff; transform: translateY(-2px); }
.btn-blue-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.7);
  transition: all .25s;
  cursor: pointer;
}
.btn-blue-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ===== TRUST ===== */
.trust {
  background: var(--white);
  padding: 60px 6%;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: #e8f0fe;
  color: var(--blue-btn);
}
.trust-item h4 { font-size: .95rem; font-weight: 700; color: var(--blue-dark); }
.trust-item p { font-size: .82rem; color: var(--gray-text); margin-top: 4px; }
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--blue-dark);
  color: #8aa4d6;
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}
footer .footer-links { display: flex; gap: 20px; }
footer .footer-links a { color: #8aa4d6; transition: color .2s; }
footer .footer-links a:hover { color: var(--white); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--blue-btn);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 14px rgba(21,101,232,.5);
  z-index: 99;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { transform: translateY(-3px); }
