:root {
  --bg: #06101d;
  --bg-deep: #030914;
  --panel: #0a1727;
  --panel-2: #0d1d30;
  --line: rgba(150, 194, 229, .16);
  --text: #f5f8fb;
  --muted: #9db0c3;
  --blue: #00c7ff;
  --blue-2: #1479ff;
  --orange: #ff8a1f;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --radius: 22px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, rgba(0, 199, 255, .12), transparent 28rem),
    linear-gradient(180deg, #071220 0%, var(--bg-deep) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(4, 12, 23, .78);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: 54px; object-fit: contain; padding-right: 13px; border-right: 1px solid rgba(255,255,255,.20); }
.brand span { display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: baseline; line-height: 1; }
.brand strong { letter-spacing: -.5px; font-size: 17px; }
.brand em { color: var(--orange); font-style: normal; font-weight: 850; font-size: 17px; }
.brand small { grid-column: 1 / -1; margin-top: 7px; color: #c5d1dd; text-transform: uppercase; letter-spacing: 1.8px; font-size: 9px; }
.desktop-nav { display: flex; gap: 24px; }
.desktop-nav a { color: #c9d7e5; font-size: 14px; text-decoration: none; }
.desktop-nav a:hover { color: white; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #00111c;
  box-shadow: 0 12px 34px rgba(0, 161, 255, .24);
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 13px; border-radius: 12px; }
.btn-ghost { background: transparent; color: white; border: 1px solid rgba(190, 220, 244, .24); box-shadow: none; }
.btn-orange { background: linear-gradient(135deg, #ffb13b, var(--orange)); color: #201000; box-shadow: 0 12px 34px rgba(255, 138, 31, .20); }

.hero { position: relative; overflow: hidden; padding: 72px 0 58px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 42px; }
.eyebrow, .kicker { color: #aeeeff; text-transform: uppercase; letter-spacing: 2.3px; font-weight: 800; font-size: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); box-shadow: 0 0 12px rgba(255,138,31,.7); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 690px; margin: 17px 0 20px; font-size: clamp(44px, 5vw, 64px); letter-spacing: -3px; line-height: 1; }
h1 mark { color: var(--blue); background: none; }
.hero-copy > p { max-width: 650px; color: #b9c9d8; font-size: clamp(16px, 1.55vw, 18px); line-height: 1.62; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.quick-info { display: flex; gap: 38px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.quick-info div { display: grid; gap: 3px; }
.quick-info strong { font-size: 13px; }
.quick-info span { color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; min-height: 410px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,199,255,.16) 0%, rgba(0,199,255,.06) 42%, transparent 72%);
  filter: blur(5px);
  z-index: 0;
}
.logo-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  display: grid;
  place-items: center;
}
.logo-stage img {
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0,0,0,.34));
}
.glow { position: absolute; border-radius: 50%; filter: blur(32px); opacity: .45; z-index: 0; }
.glow-one { width: 210px; height: 210px; background: rgba(0,199,255,.15); top: 10%; right: 4%; }
.glow-two { width: 120px; height: 120px; background: rgba(255,138,31,.10); bottom: 12%; left: 4%; }

.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 45px; align-items: end; margin-bottom: 36px; }
.section-heading h2, .benefit-copy h2, .emergency-card h2, .contact h2 { margin: 8px 0 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.05; letter-spacing: -2px; }
.section-heading p { margin: 0; color: var(--muted); max-width: 510px; justify-self: end; }
.services { background: rgba(7, 18, 31, .66); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { min-height: 210px; padding: 26px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(14, 31, 50, .90), rgba(7, 17, 30, .9)); border-radius: 18px; transition: transform .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(0,199,255,.38); }
.service-card > span { display: inline-block; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 1.3px; }
.service-card h3 { margin: 32px 0 9px; font-size: 19px; letter-spacing: -.5px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.center-action { text-align: center; margin-top: 28px; }
.text-link { color: #b7edff; font-weight: 760; text-decoration: none; }

.benefit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.benefit-copy p { color: var(--muted); font-size: 17px; max-width: 540px; margin: 20px 0 28px; }
.benefit-list { display: grid; gap: 12px; }
.benefit-item { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 24px; border: 1px solid var(--line); background: rgba(11, 26, 43, .58); border-radius: 16px; }
.benefit-item b { color: var(--blue); font-size: 12px; letter-spacing: 1.4px; }
.benefit-item h3 { margin-bottom: 4px; font-size: 17px; }
.benefit-item p { margin: 0; color: var(--muted); font-size: 14px; }

.emergency { padding-top: 24px; }
.emergency-card { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 42px 46px; background: linear-gradient(120deg, rgba(61, 29, 7, .72), rgba(12, 20, 31, .9) 62%); border: 1px solid rgba(255,138,31,.28); border-radius: var(--radius); box-shadow: var(--shadow); }
.emergency-card h2 { font-size: clamp(28px, 3.5vw, 42px); margin: 12px 0 12px; }
.emergency-card p { color: #c9b7a6; margin-bottom: 0; max-width: 720px; }
.alert-pill { display: inline-block; color: #ffd0a7; border: 1px solid rgba(255,138,31,.35); background: rgba(255,138,31,.09); border-radius: 999px; padding: 7px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 850; }

.contact { padding-top: 72px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.contact h2 { margin: 8px 0 18px; }
.contact p { color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(10, 24, 40, .72); }
.contact-card a { display: grid; gap: 4px; padding: 21px 24px; text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-card a:last-child { border-bottom: 0; }
.contact-card a:hover { background: rgba(0,199,255,.04); }
.contact-card span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1.1px; }
.contact-card strong { font-size: 16px; word-break: break-word; }

footer { border-top: 1px solid var(--line); padding: 28px 0 92px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 28px; }
.footer-inner > p { margin: 0; font-size: 13px; }
.footer-inner > p:nth-of-type(1) { margin-left: auto; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand span { display: grid; }
.footer-brand strong { font-size: 13px; }
.footer-brand small { color: var(--muted); font-size: 10px; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: none; padding: 13px 18px; border-radius: 999px; text-decoration: none; background: #25d366; color: #05140b; font-weight: 900; box-shadow: 0 14px 38px rgba(0,0,0,.35); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 340px; }
  .logo-stage { width: min(74vw, 330px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: 1fr; gap: 42px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 66px 0; }
  .site-header .btn-small { display: none; }
  .header-inner { min-height: 72px; gap: 16px; }
  .brand { gap: 10px; }
  .brand img { width: 46px; height: 46px; padding-right: 10px; }
  .brand strong, .brand em { font-size: 14px; }
  .brand small { font-size: 7px; letter-spacing: 1.35px; margin-top: 5px; }
  h1 { font-size: clamp(38px, 11.5vw, 52px); letter-spacing: -2.4px; }
  .hero { padding: 48px 0 38px; }
  .hero-grid { gap: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .quick-info { gap: 18px; justify-content: space-between; }
  .hero-visual { min-height: 275px; }
  .hero-visual::before { width: 280px; height: 280px; }
  .logo-stage { width: min(76vw, 285px); }
  .logo-stage img { max-height: 285px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading p { justify-self: start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 180px; }
  .emergency-card { grid-template-columns: 1fr; padding: 30px 26px; }
  .emergency-card .btn { width: 100%; }
  .contact .btn { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-inner > p:nth-of-type(1) { margin-left: 0; }
  .floating-whatsapp { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Revisão 3: somente seção de serviços */
.services.section {
  padding: 72px 0 76px;
}
.services .section-heading {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 30px;
}
.services .section-heading h2 {
  max-width: 650px;
  font-size: clamp(34px, 3.5vw, 46px);
}
.services .section-heading p {
  max-width: 470px;
  font-size: 15.5px;
  line-height: 1.65;
}
.services .service-grid {
  gap: 16px;
}
.services .service-card {
  position: relative;
  min-height: 176px;
  padding: 22px 22px 21px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 34, 55, .96), rgba(7, 17, 30, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.services .service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 3px;
  height: 34px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  opacity: .82;
}
.services .service-card > span {
  padding: 4px 8px;
  border: 1px solid rgba(255,138,31,.22);
  border-radius: 999px;
  background: rgba(255,138,31,.07);
  font-size: 10px;
}
.services .service-card h3 {
  margin: 18px 0 7px;
  font-size: 18px;
  line-height: 1.18;
}
.services .service-card p {
  font-size: 13.5px;
  line-height: 1.5;
}
.services .center-action {
  margin-top: 24px;
}
.services .text-link {
  font-size: 14px;
}

@media (max-width: 980px) {
  .services .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .services .section-heading p {
    justify-self: start;
    max-width: 650px;
  }
}

@media (max-width: 680px) {
  .services.section {
    padding: 58px 0 62px;
  }
  .services .service-card {
    min-height: 0;
    padding: 20px 20px 19px;
  }
  .services .service-card h3 {
    margin-top: 16px;
  }
}

/* Revisão 4: navegação para o início e botão voltar ao topo */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(174, 238, 255, .24);
  border-radius: 999px;
  background: rgba(8, 24, 40, .92);
  color: #eaf8ff;
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, background .2s ease, visibility .2s ease;
}
.back-to-top:hover {
  border-color: rgba(0,199,255,.55);
  background: rgba(10, 35, 57, .96);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 680px) {
  .floating-whatsapp { bottom: 78px; }
  .back-to-top { right: 18px; bottom: 18px; }
}


/* Revisão 7: âncoras, CTAs e organização da seção de contato */
.site-header .btn-small {
  color: #00111c;
  border-radius: 999px;
  padding-inline: 20px;
}

.section-anchor {
  display: block;
  width: 0;
  height: 0;
  scroll-margin-top: 100px;
}

#diferenciais {
  scroll-margin-top: 122px;
}

.btn-whatsapp {
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 12px 34px rgba(37, 211, 102, .20);
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.contact {
  padding-top: 72px;
}

.contact .emergency-card {
  margin-bottom: 72px;
}

.back-to-top {
  gap: 0;
}

@media (max-width: 680px) {
  .section-anchor {
    scroll-margin-top: 88px;
  }
}

/* Revisão 8: navegação ativa, CTAs WhatsApp e compactação do plantão */
.desktop-nav a {
  transition: color .2s ease, opacity .2s ease;
}

.desktop-nav a.is-active {
  color: var(--orange);
  font-weight: 800;
}

.btn-whatsapp {
  color: #06110a;
}

.btn-whatsapp:hover {
  color: #06110a;
}

.contact .emergency-card {
  padding: 26px 40px;
  margin-bottom: 44px;
  min-height: 0;
}

.contact .emergency-card h2 {
  margin: 9px 0 8px;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1.08;
}

.contact .emergency-card p {
  margin: 0;
  line-height: 1.5;
}

.contact .emergency-card .alert-pill {
  padding-block: 6px;
}

@media (max-width: 680px) {
  .contact .emergency-card {
    padding: 25px 24px;
    margin-bottom: 36px;
  }
}


/* Revisão 9: CTA principal WhatsApp e rolagem controlada pelo JavaScript */
.hero-actions .btn-whatsapp {
  border-radius: 999px;
  background: #25d366;
  color: #06110a;
  box-shadow: 0 12px 34px rgba(37, 211, 102, .22);
}

.hero-actions .btn-whatsapp:hover {
  background: #20bd5a;
  color: #06110a;
}


/* Revisão 10: primeira seção mais limpa e informações rápidas no rodapé */
.hero-copy h1 {
  margin-bottom: 30px;
}

.hero-copy > p {
  margin-bottom: 0;
}

.hero-actions {
  margin-top: 34px;
}

.footer-inner {
  flex-wrap: wrap;
}

.footer-quick-info {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.footer-quick-info div {
  display: grid;
  gap: 3px;
}

.footer-quick-info strong {
  color: var(--text);
  font-size: 12px;
}

.footer-quick-info span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.footer-inner > p:nth-of-type(1) {
  margin-left: 0;
}

@media (max-width: 980px) {
  .footer-quick-info {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .hero-copy h1 {
    margin-bottom: 24px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .footer-quick-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Revisão 11: aproximação entre plantão/contato e informações centrais no rodapé */
.contact .emergency-card {
  margin-bottom: 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  justify-self: start;
}

.footer-quick-info {
  justify-self: center;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

.footer-quick-info div {
  justify-items: center;
}

.footer-inner > p:nth-of-type(1) {
  justify-self: end;
  margin-left: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .footer-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .footer-brand {
    justify-self: auto;
  }

  .footer-quick-info {
    order: initial;
    width: auto;
    margin: 0;
    padding-top: 0;
    border-top: 0;
    justify-content: center;
  }

  .footer-inner > p:nth-of-type(1) {
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .contact .emergency-card {
    margin-bottom: 28px;
  }

  .footer-quick-info {
    align-items: center;
  }
}

/* Revisão 15: gaveta de orçamento com entrada suave e sem estado preso após o clique */
.services .service-card-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -56px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 18px;
  border-radius: 0 0 17px 17px;
  background: #25d366;
  color: #04150b;
  box-shadow: 0 -7px 18px rgba(0, 0, 0, .20);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  pointer-events: none;
  will-change: bottom;
  transition:
    bottom .48s cubic-bezier(.16, 1, .3, 1),
    background .18s ease;
}

/* Mouse: a gaveta só depende de hover. Teclado: focus-visible a revela. */
.services .service-card:hover .service-card-cta,
.services .service-card-cta:focus-visible {
  bottom: 0;
  pointer-events: auto;
}

.services .service-card-cta:hover,
.services .service-card-cta:focus-visible {
  background: #31e475;
  outline: none;
}

.services .service-card-cta:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(4, 21, 11, .28), 0 -7px 18px rgba(0, 0, 0, .20);
}

/* Em telas touch não existe hover: o CTA permanece disponível no rodapé. */
@media (hover: none), (pointer: coarse) {
  .services .service-card {
    padding-bottom: 72px;
  }

  .services .service-card-cta {
    bottom: 0;
    pointer-events: auto;
  }
}
