@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --primary: hsl(173 100% 39%);
  --primary-foreground: hsl(218 58% 10%);
  /* base secondary (used in some section accents) */
  --secondary: hsl(218 58% 14%);
  /* navbar and footer specific backgrounds set to dark gray for contrast */
  --nav-bg: #f3f4f6; /* light gray */
  --footer-bg: #f3f4f6; /* light gray */
  --nav-foreground: #111827; /* dark text for nav/footer on light bg */
  --nav-height: 64px;
  --background: #fff;
  --foreground: hsl(220 20% 10%);
  --muted: hsl(220 14% 96%);
  --muted-foreground: hsl(220 10% 40%);
  --border: hsl(220 13% 91%);
  --radius: 0.5rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --container: 1200px;
  --whatsapp: #25d366;
}

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

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

/*
 * Recorta qualquer estouro horizontal (ex.: animações .reveal que deslocam
 * elementos para fora da tela). Sem isso, o Chrome mobile expande o viewport
 * de layout para caber o conteúdo mais largo e a barra fixa do topo fica
 * escondida durante a rolagem por toque.
 */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Ensure page content is pushed below the fixed navbar so it never overlaps */
body {
  padding-top: var(--nav-height);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  margin: 0;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 3rem, var(--container));
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.from-left {
  transform: translateX(-30px);
}

.reveal.from-right {
  transform: translateX(30px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 {
  transition-delay: 0.2s;
}

.reveal.delay-2 {
  transition-delay: 0.4s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
  text-align: center;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 30px -5px rgba(0, 201, 177, 0.4);
}

.btn-primary:hover {
  background: hsl(173 100% 35%);
  box-shadow: 0 0 40px -5px rgba(0, 201, 177, 0.6);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: hsl(218 58% 14%);
}

.btn-lg {
  min-height: 3.5rem;
}

.btn-block {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-block-sm {
    width: auto;
  }
}

/* Navbar: fixa no topo, sempre visível */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--nav-bg);
  color: var(--nav-foreground);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

/* Sombra sutil quando a página está rolada */
.navbar.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Ensure hero content does not cover the fixed navbar */
.hero {
  /* Maintain original visual spacing below the navbar */
  padding-top: 5rem;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  transition: transform 0.3s;
}

.brand:hover svg {
  transform: rotate(12deg);
}

/* Logo image used in header/footer */
.brand__logo {
  height: 3rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop button,
.nav-mobile button {
  background: none;
  border: none;
  color: #000;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

.nav-desktop button:hover,
.nav-mobile button:hover {
  color: var(--primary);
}

.nav-toggle {
  display: flex;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 0.5rem; /* increase touch area */
  border-radius: 8px;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem; /* move a little left from the right edge */
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem 1.5rem;
}

/* Larger hamburger icon on small screens */
.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Alterna entre os ícones de abrir/fechar do menu */
#icon-close {
  display: none;
}

.nav-toggle.is-open #icon-menu {
  display: none;
}

.nav-toggle.is-open #icon-close {
  display: block;
}

@media (max-width: 767px) {
  .nav-toggle {
    margin-right: 1rem;
  }
  .navbar__inner {
    padding-right: 0.5rem; /* ensure space on right so toggle isn't flush to edge */
  }
}

.nav-mobile.is-open {
  display: block;
  animation: slideDown 0.25s ease;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile li button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #000;
}

.nav-mobile .nav-cta {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* Desktop CTA next to navigation */
.cta-top {
  display: none;
}

@media (min-width: 768px) {
  .cta-top {
    display: inline-flex;
    margin-left: 1rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background: var(--secondary);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--secondary), hsl(218 58% 10% / 0.85), hsl(218 58% 10% / 0.25)),
    linear-gradient(to bottom, hsl(218 58% 10% / 0.45), transparent, var(--secondary));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow--dark {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 36rem;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  animation: fadeIn 1s ease 1s both;
}

.hero__scroll:hover {
  color: #fff;
}

.hero__scroll svg {
  width: 2rem;
  height: 2rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Sections common */
.section {
  padding: 6rem 0;
}

.section--white {
  background: #fff;
}

.section--muted {
  background: hsl(220 14% 96% / 0.3);
  border-block: 1px solid var(--border);
}

/* Fundo animado da seção Robokey (quadros trocados via JS) */
#robokey {
  position: relative;
  overflow: hidden;
}

.robokey-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.robokey-anim img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#robokey .container {
  position: relative;
  z-index: 1;
}

.section--navy {
  background: var(--secondary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--secondary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section--navy .section-title {
  color: #fff;
}

.section-title .accent {
  color: var(--primary);
}

.lead {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin: 0 0 2rem;
}

.text-muted {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

/* About */
.about__grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about__grid {
    flex-direction: row;
  }

  .about__grid > * {
    flex: 1;
  }
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  display: flex;
  gap: 1rem;
}

.icon-box {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(173 100% 39% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.feature p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about__media {
  position: relative;
  width: 100%;
}

.about__media-frame {
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.about__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.about__media-frame:hover img {
  transform: scale(1.05);
}

.about__stat {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

@media (min-width: 640px) {
  .about__stat {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .about__stat {
    left: -3rem;
  }
}

.about__stat-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsl(173 100% 39% / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.about__stat-icon svg {
  width: 2rem;
  height: 2rem;
}

.about__stat strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.about__stat span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Product layouts */
.product {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

.product--reverse {
  flex-direction: column-reverse;
}

@media (min-width: 1024px) {
  .product,
  .product--reverse {
    flex-direction: row;
  }

  .product > *,
  .product--reverse > * {
    flex: 1;
  }
}

.product-media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-media__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(218 58% 10% / 0.8), transparent);
}

.product-media__card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem;
  border-radius: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.product-media__card-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.product-media__card h4 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 0.15rem;
}

.product-media__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0;
}

.feature-row__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(173 100% 39% / 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-row__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-row span {
  font-weight: 600;
  color: var(--secondary);
}

.guarantee {
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  color: #fff;
}

.guarantee svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.guarantee h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.guarantee p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.apps-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(218 58% 10% / 0.6);
  margin-bottom: 1rem;
}

.apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(220 14% 96% / 0.5);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: 1px solid hsl(220 13% 91% / 0.5);
}

.app-chip svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.highlight-box {
  background: hsl(173 100% 39% / 0.05);
  border: 1px solid hsl(173 100% 39% / 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.highlight-box h4 {
  color: var(--secondary);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.highlight-box p {
  margin: 0;
  color: hsl(218 58% 10% / 0.7);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.highlight-box__deco {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0.1;
  color: var(--primary);
}

.highlight-box__deco svg {
  width: 6rem;
  height: 6rem;
}

.product-media--framed {
  border-radius: 2rem;
  border: 4px solid #fff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-media-wrap {
  position: relative;
  width: 100%;
}

.product-media-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: hsl(173 100% 39% / 0.05);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

/* Social proof */
.section--navy::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: hsl(173 100% 39% / 0.05);
  filter: blur(100px);
  pointer-events: none;
}

.center-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.center-intro .eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  border: none;
}

.center-intro p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin: 0;
}

.testimonials {
  display: grid;
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1.5rem;
  position: relative;
}

.testimonial__quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  color: rgba(255, 255, 255, 0.1);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.testimonial__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 2rem;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(173 100% 39% / 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial__author h4 {
  color: #fff;
  margin-bottom: 0.1rem;
}

.testimonial__author p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.testimonial__product {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logos-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0.5;
  filter: grayscale(1);
  transition: filter 0.5s, opacity 0.5s;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.logos:hover {
  filter: none;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .logos {
    gap: 4rem;
  }
}

/* Contact */
.contact {
  position: relative;
  background: hsl(220 14% 96% / 0.2);
  padding: 6rem 0;
}

.contact__card {
  max-width: 64rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid hsl(220 13% 91% / 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .contact__card {
    flex-direction: row;
  }
}

.contact__info {
  background: var(--secondary);
  color: #fff;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact__info {
    width: 41.666%;
    padding: 3rem;
  }

  .contact__form-wrap {
    width: 58.333%;
  }
}

.contact__info::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: hsl(173 100% 39% / 0.2);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

.contact__info h3 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.contact__info > p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  position: relative;
  z-index: 1;
}

.contact__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__meta span {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.contact__meta strong {
  font-weight: 700;
}

.contact__form-wrap {
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .contact__form-wrap {
    padding: 3rem;
  }
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select {
  width: 100%;
  height: 3rem;
  border-radius: 0.375rem;
  border: 1px solid hsl(220 13% 91% / 0.5);
  background: hsl(220 14% 96% / 0.3);
  padding: 0 0.75rem;
  color: var(--secondary);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(173 100% 39% / 0.2);
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-submit {
  width: 100%;
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 1rem 0 0;
}

.form-success {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-success__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.form-success__icon svg {
  width: 2rem;
  height: 2rem;
}

.form-success h4 {
  font-size: 1.5rem;
  color: var(--secondary);
}

.form-success p {
  color: var(--muted-foreground);
  margin: 0;
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--secondary);
  border-radius: 0.5rem;
  padding: 0.6rem 1.25rem;
  margin-top: 0.5rem;
}

.btn-outline-dark:hover {
  background: var(--muted);
}

.flash-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: #000;
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer .brand {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer__blurb {
  font-size: 0.875rem;
  max-width: 24rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.socials a:hover {
  background: var(--primary);
  color: #fff;
}

.socials svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer h4 {
  color: #000;
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer ul a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__bottom p {
  margin: 0;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.39);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  animation: fabIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

.whatsapp-fab:hover {
  background: #20bd5a;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.23);
}

.whatsapp-fab svg {
  width: 2rem;
  height: 2rem;
}

.whatsapp-fab__ping {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1rem;
  height: 1rem;
}

.whatsapp-fab__ping::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #f87171;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.whatsapp-fab__ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ef4444;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes fabIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Get in Touch / Contato */
.get-in-touch {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  scroll-margin-top: 5rem;
}

.get-in-touch .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.get-in-touch__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 3.5rem;
  color: #fff;
  text-align: center;
  width: 100%;
}

.get-in-touch__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  width: 100%;
}

@media (min-width: 768px) {
  .get-in-touch__grid {
    gap: 4rem 6rem;
  }
}

.get-in-touch__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 16rem;
  max-width: 22rem;
}

.get-in-touch__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: hsl(218 40% 28%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.get-in-touch__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.get-in-touch__heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: #fff;
  text-align: center;
}

.get-in-touch__block {
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.75rem;
  padding: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}

a.get-in-touch__block:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.get-in-touch__block:last-child {
  margin-bottom: 0;
}

.get-in-touch__block p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.get-in-touch__block strong {
  font-weight: 700;
  color: #fff;
}

.get-in-touch__block a {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s;
}

.get-in-touch__block a:hover {
  color: var(--primary);
}

/* 404 */
.page-404 {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-404 p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}
