:root {
  --navy: #082f63;
  --blue: #075fcc;
  --bright-blue: #1479ea;
  --pale-blue: #f2f7fd;
  --white: #fff;
  --ink: #10233f;
  --muted: #607089;
  --line: #dbe7f5;
  --whatsapp: #25d366;
  --shadow: 0 24px 60px rgba(8, 47, 99, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--pale-blue);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible { outline: 3px solid #f2ac2d; outline-offset: 4px; }
button { font: inherit; color: inherit; }

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(20, 121, 234, .13), transparent 25rem),
    linear-gradient(145deg, #fff 0%, #f7faff 48%, #edf5ff 100%);
}
.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.page-shell::before {
  width: 26rem;
  height: 26rem;
  left: -16rem;
  top: 23rem;
  border: 3.7rem solid rgba(7, 95, 204, .05);
  animation: arc-drift-left 18s ease-in-out infinite;
}
.page-shell::after {
  width: 34rem;
  height: 34rem;
  right: -22rem;
  bottom: -18rem;
  border: 4.5rem solid rgba(8, 47, 99, .045);
  animation: arc-drift-right 22s ease-in-out infinite;
}
@keyframes arc-drift-left {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(1.4rem, -1.1rem) rotate(5deg) scale(1.045); }
}
@keyframes arc-drift-right {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-1.6rem, .9rem) rotate(-4deg) scale(1.035); }
}
.container { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }

.site-header {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.brand { width: min(11.4rem, 55vw); display: block; line-height: 0; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #20bb65;
  box-shadow: 0 0 0 .25rem rgba(32, 187, 101, .12);
}

.hero {
  display: grid;
  align-items: center;
  gap: 3.5rem;
  padding-block: 3.3rem 3rem;
  position: relative;
}
.hero-copy { position: relative; z-index: 1; max-width: 42rem; }
/* Entrada só com transform/opacity (GPU). O h1 não some (opacity 1) para não atrasar o LCP. */
.hero-copy h1 {
  animation: enter-up-text .55s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-copy .lead {
  animation: enter-up-fade .55s .1s cubic-bezier(.22, 1, .36, 1) both;
}
.hero-copy .actions {
  animation: enter-up-fade .55s .2s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes enter-up-text {
  from { transform: translate3d(0, .7rem, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes enter-up-fade {
  from {
    opacity: 0;
    transform: translate3d(0, .85rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
h1 {
  margin: 0;
  max-width: 15ch;
  color: var(--navy);
  font-size: clamp(2.35rem, 8.5vw, 4.08rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.lead {
  margin: 1.55rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(.98rem, 2.9vw, 1.08rem);
  line-height: 1.78;
}
.actions { display: grid; gap: .8rem; margin-top: 2rem; }
.button {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .85rem;
  font-size: .92rem;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.button .icon { width: 1.08rem; height: 1.08rem; }
.button .button-arrow { margin-left: auto; width: .75rem; height: .75rem; }
.button-primary {
  color: var(--white);
  background: linear-gradient(112deg, var(--navy), var(--blue));
  box-shadow: 0 13px 26px rgba(7, 95, 204, .22);
}
.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, .76);
  border-color: var(--line);
}
.button:hover { transform: translateY(-3px); }
.button-primary:hover { box-shadow: 0 17px 32px rgba(7, 95, 204, .3); }
.button-secondary:hover {
  background: var(--white);
  box-shadow: 0 12px 25px rgba(8, 47, 99, .09);
}
.button:active { transform: translateY(-1px); }

.brand-panel {
  min-height: 28rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  isolation: isolate;
  border-radius: 1.8rem;
  overflow: hidden;
  background: #0d355f;
  box-shadow: var(--shadow);
}
.brand-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 47, 99, .28) 0%, rgba(8, 47, 99, .12) 38%, rgba(8, 47, 99, .74) 100%);
  transition: opacity .25s ease;
}
.map-facade {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.map-facade-photo {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.map-facade-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.78) contrast(1.03) brightness(.94);
}
.map-facade-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: .35rem;
  margin-top: -4.5rem;
  padding: .95rem 1.15rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: .9rem;
  background: rgba(8, 47, 99, .78);
  box-shadow: 0 10px 24px rgba(0, 20, 54, .24);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.map-facade:hover .map-facade-content,
.map-facade:focus-visible .map-facade-content {
  transform: translateY(-2px);
  background: rgba(8, 47, 99, .9);
  box-shadow: 0 14px 28px rgba(0, 20, 54, .28);
}
.map-facade-icon { width: 1.35rem; height: 1.35rem; color: #7ec0ff; }
.map-facade-content strong {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.map-facade-content small {
  color: rgba(255, 255, 255, .78);
  font-size: .68rem;
  font-weight: 700;
}
.client-map {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.72) contrast(1.03);
}
.brand-panel.is-map-loaded .map-facade { display: none; }
.brand-panel.is-map-loaded::before { opacity: 0; }
.map-label {
  position: absolute;
  z-index: 2;
  top: 1.15rem;
  left: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  margin: 0;
  padding: .62rem .78rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: .65rem;
  background: rgba(8, 47, 99, .78);
  box-shadow: 0 6px 17px rgba(0, 20, 54, .16);
  backdrop-filter: blur(8px);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.map-label .icon { width: .85rem; height: .85rem; }
.contact-card {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 28px rgba(0, 20, 54, .22);
  backdrop-filter: blur(10px);
}
.contact-card-label {
  margin: 0 0 .85rem;
  color: var(--blue);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
  transition: opacity .2s ease;
}
.contact-row:hover { opacity: .72; }
.icon-box {
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf3ff;
  border-radius: .64rem;
}
.icon-box .icon { width: 1rem; height: 1rem; }
.contact-row small,
.contact-row strong { display: block; }
.contact-row small {
  margin-bottom: .1rem;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
}
.contact-row strong {
  color: var(--navy);
  font-size: .78rem;
  line-height: 1.32;
}
.row-arrow {
  margin-left: auto;
  color: var(--blue);
  width: .72rem;
  height: .72rem;
}

.trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0 3.1rem;
  color: var(--muted);
}
.trust-quote {
  margin-top: .15rem;
  color: var(--bright-blue);
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.trust-strip p {
  max-width: 61rem;
  margin: 0;
  font-size: .87rem;
  line-height: 1.7;
}
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding-block: 1.25rem 1.7rem;
  color: #7c8ba0;
  border-top: 1px solid rgba(96, 112, 137, .18);
  font-size: .72rem;
}
.site-footer p { margin: 0; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  font-weight: 700;
  color: var(--navy);
}
.site-footer a .icon {
  width: .85rem;
  height: .85rem;
  color: var(--bright-blue);
}

.whatsapp-float {
  position: fixed;
  z-index: 10;
  right: 1.3rem;
  bottom: 1.35rem;
  width: 3.65rem;
  height: 3.65rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--whatsapp);
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  box-shadow: 0 14px 27px rgba(10, 80, 46, .29);
  font-size: 1.75rem;
  transition: transform .2s ease, background-color .2s ease;
  animation: float-in .6s .35s both, whatsapp-pulse 2.6s 1.2s infinite;
}
.whatsapp-float .icon { width: 1.55rem; height: 1.55rem; }
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  background: #1fc55b;
  animation-play-state: paused;
}
.float-tooltip {
  position: absolute;
  right: calc(100% + .8rem);
  width: max-content;
  padding: .5rem .7rem;
  color: var(--white);
  background: var(--ink);
  border-radius: .42rem;
  font-size: .7rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateX(.3rem);
  transition: opacity .2s ease, transform .2s ease;
}
.whatsapp-float:hover .float-tooltip,
.whatsapp-float:focus-visible .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(1rem) scale(.7); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes whatsapp-pulse {
  50% { box-shadow: 0 14px 27px rgba(10, 80, 46, .29), 0 0 0 .55rem rgba(37, 211, 102, .12); }
}

@media (min-width: 680px) {
  .actions { display: flex; flex-wrap: wrap; }
  .button { padding-inline: 1.25rem; }
  .site-header { min-height: 7rem; }
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(23rem, .96fr);
    min-height: calc(100vh - 12.5rem);
    gap: clamp(3rem, 6vw, 6rem);
    padding-block: 2rem;
  }
  .brand-panel { min-height: 31rem; }
  .contact-card { max-width: 19rem; margin-left: auto; }
  .trust-strip { padding-top: .2rem; padding-bottom: 2.5rem; }
}
@media (min-width: 1200px) {
  .brand-panel { min-height: 34rem; }
  .contact-card { padding: 1.35rem; }
}
@media (max-width: 470px) {
  .container { width: min(100% - 2rem, 1200px); }
  .status { font-size: .6rem; letter-spacing: .025em; }
  .brand { width: 10.2rem; }
  .hero { gap: 2.4rem; padding-top: 2rem; }
  .brand-panel { min-height: 25rem; }
  .whatsapp-float { right: 1rem; bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
