/* =========================================================
   Pontes Tech — Landing Page
   Identidade visual: Azul Escuro #1F2E41 / Azul Médio #487C9E
   CTA: #E67E22 | Tipografia: Nunito
   ========================================================= */

:root {
  /* Cores */
  --blue-dark: #1F2E41;
  --blue-mid: #487C9E;
  --blue-soft: #E8EFF5;
  --blue-softer: #F2F6FA;
  --cta: #E67E22;
  --cta-hover: #D46F13;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --text: #4A4A4A;
  --text-light: #6B7683;
  --border: #E3E8ED;
  --footer-text: #C6D3DE;

  /* Formas e sombras */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(31, 46, 65, 0.06);
  --shadow: 0 10px 30px rgba(31, 46, 65, 0.08);
  --shadow-md: 0 16px 40px rgba(31, 46, 65, 0.12);
  --shadow-cta: 0 8px 20px rgba(230, 126, 34, 0.28);

  /* Layout */
  --container: 1180px;
  --header-h: 84px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--blue-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--blue-mid);
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 40px; height: 40px; }

.text-accent-blue { color: var(--blue-mid); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.9em;
}

.link { font-weight: 700; color: var(--blue-mid); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--cta); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: background-color var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.btn--lg { padding: 17px 34px; font-size: 1.0625rem; }

.btn--cta {
  background-color: var(--cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--cta:hover {
  background-color: var(--cta-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(230, 126, 34, 0.34);
}
.btn--cta:active { transform: translateY(0); }

.btn--ghost {
  background-color: transparent;
  color: var(--blue-dark);
  border-color: var(--border);
}
.btn--ghost:hover {
  color: var(--blue-dark);
  border-color: var(--blue-mid);
  background-color: var(--blue-softer);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.header__brand { display: flex; align-items: center; }
.header__brand img { width: clamp(142px, 15vw, 180px); height: auto; }

.nav { display: flex; align-items: center; gap: 36px; }

.nav__list { display: flex; align-items: center; gap: 30px; }

.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue-dark);
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background-color: var(--blue-mid);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--blue-mid); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--blue-mid); }

.nav__cta { padding: 12px 24px; }

/* Botão hamburguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition);
}
.nav-toggle:hover { border-color: var(--blue-mid); }
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background-color: var(--blue-dark);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px);
  background:
    radial-gradient(1000px 520px at 88% -8%, rgba(72, 124, 158, 0.13), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-alt) 100%);
}

.hero__inner {
  display: grid;
  /* minmax(0, ...) evita que a largura intrínseca da ilustração estoure a coluna */
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.55em;
}

.hero__text {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  max-width: 54ch;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.25rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.hero__badges li { display: flex; align-items: center; gap: 9px; }

.hero__media { display: flex; justify-content: center; min-width: 0; }
.hero__media img { width: 100%; max-width: 580px; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.section { padding-block: clamp(60px, 8vw, 104px); }
.section--alt { background-color: var(--bg-alt); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.section__title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: -0.015em;
}
.section__subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Cards de serviços ---------- */
.card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(72, 124, 158, 0.45);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background-color: var(--blue-soft);
  color: var(--blue-mid);
}

.card__title { font-size: 1.1875rem; margin-bottom: 0.5em; }
.card__text { font-size: 0.9875rem; color: var(--text-light); margin-bottom: 0; }

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 2.25rem 0 0;
  padding: 0;
}
.stat {
  padding: 20px 22px;
  background-color: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-mid);
  border-radius: var(--radius-sm);
}
.stat__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
}
.stat__value {
  margin: 4px 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.35;
}

.about__aside {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.about__aside-title { font-size: 1.25rem; margin-bottom: 1.25em; }

.steps { display: grid; gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: var(--blue-dark);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
}
.step strong { display: block; color: var(--blue-dark); font-size: 1.0625rem; }
.step p { margin: 2px 0 0; font-size: 0.9375rem; color: var(--text-light); line-height: 1.6; }

/* ---------- Benefícios ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 34px;
}
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.icon--check { width: 26px; height: 26px; color: var(--blue-mid); margin-top: 3px; }
.benefit strong { display: block; color: var(--blue-dark); font-size: 1.0625rem; }
.benefit p { margin: 3px 0 0; font-size: 0.9375rem; color: var(--text-light); line-height: 1.6; }

/* ---------- Clientes ---------- */
.clients { max-width: 900px; margin-inline: auto; }

.client {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.client__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background-color: var(--blue-softer);
  border: 1px dashed rgba(72, 124, 158, 0.4);
}
.client__logo { max-height: 84px; width: auto; object-fit: contain; }
.client__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.client__name { font-size: 1.1875rem; margin-bottom: 0.45em; }
.client__text { font-size: 0.9875rem; color: var(--text-light); margin-bottom: 0; }

.clients__note { margin-top: 36px; text-align: center; font-size: 1.0625rem; }

/* ---------- Contato ---------- */
.contact-grid { margin-bottom: 56px; }

.contact-card {
  display: block;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(72, 124, 158, 0.45);
  color: inherit;
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background-color: var(--blue-soft);
  color: var(--blue-mid);
}
.contact-card__title { font-size: 1.0625rem; margin-bottom: 0.3em; }
.contact-card__value {
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 1.0625rem;
  margin-bottom: 0.9em;
  word-break: break-word;
}
.contact-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cta);
}
.contact-card__cta .icon { color: var(--cta); transition: transform var(--transition); }
.contact-card:hover .contact-card__cta .icon { transform: translateX(4px); }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(72, 124, 158, 0.55), transparent 70%),
    var(--blue-dark);
  box-shadow: var(--shadow);
}
.cta-band__title { color: #fff; font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin-bottom: 0.35em; }
.cta-band__text { color: var(--footer-text); margin-bottom: 0; max-width: 52ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--blue-dark);
  color: var(--footer-text);
  padding-top: clamp(52px, 7vw, 76px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px 32px;
  padding-bottom: 52px;
}

.footer__brand img { width: 200px; height: auto; margin-bottom: 20px; }
.footer__tagline { font-size: 0.9375rem; max-width: 34ch; margin-bottom: 22px; }

.footer__title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.4em;
}

.footer__list { display: grid; gap: 12px; font-size: 0.9375rem; }
.footer__list a { color: var(--footer-text); }
.footer__list a:hover { color: var(--cta); }
.footer__list--contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__list--contact .icon { color: #8FB4CC; margin-top: 4px; }

.social { display: flex; gap: 12px; }
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}
.social__link .icon { width: 22px; height: 22px; color: #fff; }
.social__link:hover {
  background-color: var(--cta);
  border-color: var(--cta);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--footer-text); }
.footer__bottom a:hover { color: var(--cta); }

/* ---------- Botão flutuante WhatsApp ---------- */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  background-color: #25D366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.36);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whats-float .icon { width: 30px; height: 30px; color: #fff; }
.whats-float:hover { transform: scale(1.07); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.46); }

/* =========================================================
   ANIMAÇÃO DE ENTRADA
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .stats { max-width: 620px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero__media { order: -1; }
  .hero__media img { max-width: 440px; }

  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px;
    background-color: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height var(--transition), padding var(--transition), visibility var(--transition);
  }
  .nav.is-open {
    max-height: 480px;
    padding: 12px 24px 26px;
    visibility: visible;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--border); }
  .nav__link { display: block; padding: 15px 2px; font-size: 1.0625rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 20px; width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding-inline: 20px; }

  .grid--3,
  .grid--2,
  .benefits,
  .clients { grid-template-columns: minmax(0, 1fr); }

  .stats { grid-template-columns: minmax(0, 1fr); }

  .hero__actions .btn { width: 100%; }

  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }

  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .whats-float { right: 16px; bottom: 16px; }
}
