@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* --- Paleta Phawk --- */
:root {
  --background: #010919;
  --background-alt: #001A39;
  --foreground: #FBFDFC;
  --card: #001A39;
  --card-soft: rgba(0, 26, 57, 0.6);
  --primary: #2193D5;          /* azul vibrante (destaque) */
  --primary-hover: #105996;    /* azul de marca */
  --primary-foreground: #010919;
  --brand: #105996;
  --deep: #053E75;
  --neon: #87D3EB;
  --muted: #053E75;
  --muted-foreground: #A9C4D9;
  --border: rgba(135, 211, 235, 0.16);
  --glow: rgba(33, 147, 213, 0.35);
  --radius-lg: 0.75rem;
  --radius-md: 8px;
  --radius-sm: 4px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 1px 1px, rgba(135, 211, 235, 0.07) 1px, transparent 0);
  background-size: 40px 40px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout & Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.section { padding: 5.5rem 0; }
.section-alt { background-color: var(--background-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-head { max-width: 720px; margin: 0 auto; text-align: center; }
.section-head p { margin-top: 0.5rem; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.1rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
p { color: var(--muted-foreground); font-size: 1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--brand));
  color: var(--foreground);
  box-shadow: 0 4px 18px 0 var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--glow), 0 0 0 1px var(--neon);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--neon);
}

.btn-outline:hover {
  background-color: rgba(135, 211, 235, 0.1);
  box-shadow: 0 0 18px rgba(135, 211, 235, 0.25);
}

/* --- Cards --- */
.card {
  background-color: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 34px rgba(1, 9, 25, 0.7), 0 0 24px rgba(33, 147, 213, 0.18);
  transform: translateY(-4px);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--deep), var(--brand));
  color: var(--neon);
  box-shadow: 0 0 20px rgba(33, 147, 213, 0.25);
}

.icon-box svg { width: 26px; height: 26px; }

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted-foreground);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(1, 9, 25, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text { letter-spacing: 0.04em; }
.logo em { font-style: normal; color: var(--primary); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--muted-foreground); }
.nav-links a:hover { color: var(--neon); }
.nav-links a.btn { color: var(--foreground); }
.nav-links a.btn:hover { color: var(--foreground); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(1, 9, 25, 0.82), rgba(0, 26, 57, 0.92)), url('../assets/bg-opt.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(33, 147, 213, 0.22) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: rgba(0, 26, 57, 0.7);
  color: var(--neon);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; }

/* --- Grids --- */
.about-grid, .services-grid, .segments-grid, .steps-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 3rem;
}

.about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.services-grid { grid-template-columns: repeat(2, 1fr); }
.segments-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.steps-grid { grid-template-columns: repeat(4, 1fr); }

.service-card h3 { font-size: 1.35rem; }
.service-card > p { margin-bottom: 1.1rem; }

.segment-card { text-align: center; padding: 1.5rem 1.25rem; }
.segment-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.segment-card p { font-size: 0.9rem; }
.segment-card .icon-box { margin-left: auto; margin-right: auto; }

.step { position: relative; padding: 1.75rem; }
.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(to bottom, var(--neon), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.92rem; }

/* --- CTA --- */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(33, 147, 213, 0.1) 100%);
  border-top: 1px solid var(--border);
}

.cta-section h2 { max-width: 700px; margin-left: auto; margin-right: auto; }

.contact-info { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; }
.contact-info a { display: flex; align-items: center; gap: 0.5rem; color: var(--muted-foreground); }
.contact-info a:hover { color: var(--neon); }

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background-color: #010919;
}

.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { color: var(--muted-foreground); font-size: 0.875rem; }

/* --- Responsivo --- */
@media (max-width: 1100px) {
  .segments-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-grid .check-list { text-align: left; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1.05rem; }
  .hero-buttons { flex-direction: column; }
  h2 { font-size: 1.7rem; }
  .services-grid, .segments-grid, .steps-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--background-alt);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .mobile-menu-btn { display: block; }

  .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
  .contact-info { flex-direction: column; gap: 1rem; align-items: center; }
}

/* --- Cabeçalho: logo à esquerda, menu centralizado, CTA à direita --- */
.logo-img { height: 44px; width: auto; object-fit: contain; }
footer .logo-img { height: 36px; }

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.nav-container .logo { justify-self: start; }
.nav-container .nav-links { justify-self: center; }
.nav-container .header-cta { justify-self: end; }
.nav-cta-mobile { display: none; }

@media (max-width: 768px) {
  .nav-container { display: flex; justify-content: space-between; }
  .header-cta { display: none; }
  .nav-cta-mobile { display: inline-flex; }
}

/* --- Botões de WhatsApp (verde) --- */
.btn-whatsapp {
  gap: 0.55rem;
  background: linear-gradient(135deg, #25D366, #128C4A);
  color: #fff;
  border: 1px solid #25D366;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2BE374, #16A057);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.nav-links a.btn-whatsapp,
.nav-links a.btn-whatsapp:hover { color: #fff; }

.wa-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: currentColor; }
