/* ==========================================================================
   Guga Guincho — estilos gerais
   ========================================================================== */

:root {
  --blue-dark: #0e2647;
  --blue: #17407a;
  --blue-mid: #1e4d8f;
  --orange: #f0790f;
  --orange-dark: #d5670a;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --text-dark: #10192b;
  --text-muted: #5c6b84;
  --light: #f6f8fb;
  --white: #ffffff;

  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;

  --container-width: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 38, 71, 0.12);
  --header-height: 82px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--orange);
  color: var(--white);
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 8px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(14, 38, 71, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 18px rgba(0,0,0,0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}
.header__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.header__brand-text strong {
  font-size: 1.08rem;
  font-weight: 700;
}
.header__brand-text small {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.header__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.header__nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity .15s ease, color .15s ease;
}
.header__nav a:hover {
  opacity: 1;
  color: var(--orange);
}

.header__cta { flex-shrink: 0; }

.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.header__menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.header__menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 60% 55%;
  transform: scale(1.06);
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 22, 43, 0.78) 0%, rgba(9, 22, 43, 0.55) 35%, rgba(9, 22, 43, 0.88) 100%),
    linear-gradient(90deg, rgba(9, 22, 43, 0.92) 0%, rgba(9, 22, 43, 0.45) 55%, rgba(9, 22, 43, 0.75) 100%);
}

.hero__content {
  position: relative;
  padding: 64px 24px 96px;
  max-width: 760px;
}

.hero__badge {
  display: inline-block;
  background: rgba(240, 121, 15, 0.16);
  border: 1px solid rgba(240, 121, 15, 0.55);
  color: #ffb46b;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero__subtitle {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 0 34px;
}
.hero__subtitle strong { color: var(--orange); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.hero__phones {
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
}
.hero__phones a {
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.hero__phones a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Section titles ---------- */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin: 0 0 10px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.02rem;
}

/* ---------- Cidades ---------- */
.cities {
  padding: 88px 0;
  background: var(--light);
}

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

.cities__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid #e6ebf3;
  border-radius: var(--radius);
  padding: 18px 18px;
  font-weight: 600;
  color: var(--blue-dark);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.cities__item:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}
.cities__item svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ---------- Diferenciais ---------- */
.features {
  padding: 88px 0;
  background: var(--white);
}

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

.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin: 0 0 8px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- CTA final ---------- */
.cta-final {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  text-align: center;
}
.cta-final h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  margin: 0 0 12px;
}
.cta-final p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  font-size: 1.05rem;
}

.cta-final__phones {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cta-final__phones a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0.92;
}
.cta-final__phones a:hover { color: var(--orange); opacity: 1; }
.cta-final__phones svg { width: 20px; height: 20px; color: var(--orange); }

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-dark);
  padding: 44px 0 28px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.footer__brand strong {
  font-size: 1.1rem;
}
.footer__brand p {
  margin: 2px 0 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.footer__cities {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  max-width: 640px;
  margin: 0;
}
.footer__copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin: 10px 0 0;
}

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  z-index: 1200;
  animation: whatsapp-pulse 2.4s infinite;
  transition: transform .18s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 26px rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 26px rgba(37, 211, 102, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 26px rgba(37, 211, 102, 0.5); }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 980px) {
  .cities__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
  }
  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }
  .header__nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .header__menu-toggle { display: flex; }
  .header__cta span { display: none; }
  .header__cta { padding: 13px; }
  .header__cta svg { margin: 0; }
}

@media (max-width: 640px) {
  :root { --header-height: 72px; }
  .header__brand-text { display: none; }
  .header__logo { width: 44px; height: 44px; }

  .hero__content { padding: 40px 20px 72px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .cities__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }

  .cities, .features { padding: 64px 0; }
  .cta-final { padding: 72px 0; }

  .cta-final__phones { flex-direction: column; gap: 14px; }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 18px;
    right: 18px;
  }
}
