/* ===== TOKENS ===== */
:root {
  --navy-deep: #0E2347;
  --navy: #123A75;
  --blue: #1B4FA0;
  --blue-bright: #2563CC;
  --orange: #F47920;
  --orange-bright: #FF9233;
  --chrome: #D8DEE6;
  --white: #FFFFFF;
  --off-white: #F6F8FB;
  --ink: #0B1626;
  --gray: #5A6878;

  --font-display: 'Archivo Black', 'Archivo', sans-serif;
  --font-body: 'Archivo', sans-serif;

  --radius: 6px;
  --container-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--orange);
  color: var(--navy-deep);
  text-align: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-deep);
  display: inline-block;
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #E5E9EF;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  height: 44px;
  width: auto;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.header-call:hover { background: var(--blue); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,22,38,0.94) 0%, rgba(14,35,71,0.88) 38%, rgba(14,35,71,0.55) 65%, rgba(14,35,71,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 90px;
  max-width: 640px;
}

.eyebrow {
  color: var(--orange-bright);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 .highlight {
  color: var(--orange-bright);
}

.hero-sub {
  color: var(--chrome);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: #25D366;
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { background: #2EE873; }

.btn-call {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(244,121,32,0.35);
}
.btn-call:hover { background: var(--orange-bright); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy-deep);
  color: var(--navy-deep);
}
.btn-outline:hover { background: var(--navy-deep); color: var(--white); }

.btn.full { width: 100%; justify-content: center; }

.hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 24px, var(--navy-deep) 24px 48px);
  z-index: 2;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--navy-deep);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--orange-bright);
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--chrome);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ===== SERVICES ===== */
.services {
  padding: 90px 0 70px;
}

.section-eyebrow {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-eyebrow.light { color: var(--orange-bright); }

.services h2, .coverage h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  text-transform: uppercase;
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.15;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid #E5E9EF;
  border-radius: var(--radius);
  padding: 28px 22px;
  border-top: 4px solid var(--orange);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11,22,38,0.08);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--navy-deep);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ===== COVERAGE ===== */
.coverage {
  background: var(--navy-deep);
  padding: 90px 0;
  color: var(--white);
}

.coverage-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}

.coverage-text p {
  color: var(--chrome);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  max-width: 420px;
}

.coverage-list li {
  font-weight: 700;
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}

.coverage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--orange-bright);
  border-radius: 1px;
  transform: rotate(45deg);
}

.coverage-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.coverage-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--navy-deep);
}

.coverage-card p {
  color: var(--gray);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.coverage-card .btn {
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: var(--chrome);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand p { color: #8A97A8; font-size: 0.92rem; margin-bottom: 18px; }

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 700;
  color: #C4CCD8;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--orange-bright); }

.footer-contact h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-bright);
  margin-bottom: 14px;
}

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: #C4CCD8;
  line-height: 1.6;
}

.footer-cta {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-cta a {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--orange-bright);
  border: 1px solid var(--orange-bright);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-cta a:hover {
  background: var(--orange-bright);
  color: var(--ink);
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.8rem;
  color: #6B7889;
}

/* ===== FLOATING WHATSAPP (mobile) ===== */
.floating-whatsapp {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--blue); }

.main-nav a.active { color: var(--orange); }

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 18px;
    border-bottom: 1px solid #E5E9EF;
    box-shadow: 0 8px 16px rgba(11,22,38,0.06);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
  .site-header { position: sticky; }
}

/* ===== PAGE HERO (páginas internas: Sobre, Contato, Localização) ===== */
.page-hero {
  background: var(--navy-deep);
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 24px, var(--navy-deep) 24px 48px);
}

.page-hero .eyebrow { margin-bottom: 14px; }

.page-hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.1;
  max-width: 640px;
}

.page-hero p {
  color: var(--chrome);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 560px;
}

/* ===== CONTENT SECTION (genérica para páginas internas) ===== */
.content-section {
  padding: 70px 0;
}

.content-section.alt {
  background: var(--white);
}

/* ===== SOBRE PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(11,22,38,0.18);
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--navy-deep);
  line-height: 1.2;
}

.about-text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.value-card {
  background: var(--off-white);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ===== CONTATO PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-panel {
  background: var(--white);
  border: 1px solid #E5E9EF;
  border-radius: var(--radius);
  padding: 36px 30px;
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 18px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-row svg {
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.contact-row span, .contact-row a.contact-link {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.contact-panel.dark {
  background: var(--navy-deep);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contact-panel.dark h2 { color: var(--white); }

.contact-panel.dark p {
  color: var(--chrome);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ===== LOCALIZAÇÃO PAGE ===== */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11,22,38,0.15);
  margin-bottom: 50px;
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 860px) {
  .about-grid, .contact-grid, .location-grid {
    grid-template-columns: 1fr;
  }
  .about-grid img {
    height: 320px;
  }
  .values-grid { grid-template-columns: 1fr; }
  .map-wrapper iframe { height: 320px; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .logo { height: 38px; }
  .header-call span { display: none; }
  .hero { min-height: 92vh; clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
  .hero-content { padding-top: 30px; padding-bottom: 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .floating-whatsapp { display: flex; }
  .coverage-list { grid-template-columns: 1fr; }
  .top-bar { font-size: 0.62rem; padding: 8px; }
}

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 2px;
}
