:root {
  --ink: #0b2b3a;
  --muted: #476674;
  --blue: #028dd4;
  --ice: #f4fbf9;
  --gold: #d7b465;
  --gold-deep: #b58f3d;
  --shadow: 0 30px 70px rgba(4, 35, 51, 0.2);
  --radius-lg: 34px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--ice);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.4px;
}

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

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

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 251, 249, 0.9), rgba(244, 251, 249, 1));
  z-index: 0;
}

.glow {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero {
  position: relative;
  padding: 36px 6vw 90px;
  z-index: 2;
  border-bottom-left-radius: 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: right center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.08);
  filter: saturate(1.04) contrast(1.02);
  z-index: 0;
  pointer-events: none;
  border-bottom-left-radius: 60px;
}

.hero-bg.is-active {
  opacity: 1;
  animation: heroZoom 10s ease forwards;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      110deg,
      rgba(244, 251, 249, 0.98) 0%,
      rgba(244, 251, 249, 0.9) 40%,
      rgba(244, 251, 249, 0.45) 68%,
      rgba(244, 251, 249, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(244, 251, 249, 0) 70%,
      rgba(244, 251, 249, 0.45) 85%,
      rgba(244, 251, 249, 0.95) 100%
    );
  border-bottom-left-radius: 60px;
  z-index: 1;
  pointer-events: none;
}

.hero .nav,
.hero .hero-inner {
  position: relative;
  z-index: 2;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #0b2b3a;
}

.nav-actions a {
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(244, 251, 249, 0.7);
  border: 1px solid rgba(11, 43, 58, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.nav-actions .btn-primary {
  background: #028dd4;
  color: #fff;
  border: 1px solid rgba(2, 141, 212, 0.6);
  box-shadow: 0 14px 28px rgba(2, 141, 212, 0.25);
  padding: 10px 18px;
}

.nav-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(2, 141, 212, 0.3);
}

.nav-actions a:hover {
  transform: translateY(-2px);
  color: #06344a;
  box-shadow: 0 12px 26px rgba(2, 24, 36, 0.12);
}

.btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(2, 141, 212, 0.25);
}

.btn-outline {
  border: 1px solid rgba(11, 43, 58, 0.25);
  background: #fff;
}

.hero-inner {
  margin-top: 80px;
  max-width: 640px;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1.05;
  margin: 18px 0 20px;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.cta {
  display: flex;
  gap: 16px;
  margin: 30px 0 34px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  perspective: 800px;
}

.stat-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(2, 141, 212, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  opacity: 1;
  --ty: 0px;
  box-shadow: 0 18px 40px rgba(2, 24, 36, 0.12);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(2, 141, 212, 0.08),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card.stats-in {
  opacity: 0;
  --ty: 36px;
  animation: statsIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.stat-card.stats-in:nth-child(2) {
  animation-delay: 0.25s;
}

.stat-card.stats-in:nth-child(3) {
  animation-delay: 0.4s;
}

.stat-card {
  transform: translate3d(0, var(--ty, 0px), 0)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
}

.stat-card:hover {
  box-shadow: 0 28px 60px rgba(2, 24, 36, 0.18);
}

.stat-card:hover::after {
  opacity: 1;
}

.trust span {
  font-size: 26px;
  font-weight: 700;
}

.trust p {
  font-size: 13px;
  color: var(--muted);
}

.section {
  position: relative;
  padding: 80px 6vw;
  z-index: 2;
}

.section-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 52px);
  margin: 12px 0 18px;
}

.section-header p {
  color: var(--muted);
  line-height: 1.6;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(2, 141, 212, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(2, 24, 36, 0.18);
}

.product-photo {
  height: 240px;
  background: #f1f9ff;
  display: block;
  overflow: hidden;
}

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

.photo-focus-low {
  object-position: center 60%;
}

.product-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-info h3 {
  font-size: 22px;
}

.product-cta {
  font-weight: 600;
  color: var(--blue);
}

.gallery-block {
  background: #f8fcfd;
  border-radius: 60px 60px 0 0;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(2, 141, 212, 0.12);
  min-height: 360px;
  background: #fff;
  position: relative;
}

.map-wrapper::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(2, 141, 212, 0.2),
    transparent 60%
  );
  animation: mapPulse 6s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
}

.map-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: mapShine 8s linear infinite;
  opacity: 0.35;
  pointer-events: none;
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  position: relative;
  z-index: 1;
}

@keyframes mapPulse {
  0%,
  100% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes mapShine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card {
  grid-column: span 4;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(11, 43, 58, 0.12);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: flex-end;
  font-weight: 600;
}

.gallery-card.hero {
  grid-column: span 7;
  min-height: 420px;
  background: #f1f9ff;
}

.gallery-card.side {
  grid-column: span 5;
  min-height: 260px;
  background: #fff6e6;
}

.gallery-card.wide {
  grid-column: span 8;
  min-height: 360px;
  background: #f7fcff;
}

.footer {
  padding: 40px 6vw 48px;
  background: linear-gradient(180deg, rgba(244, 251, 249, 0) 0%, rgba(232, 246, 252, 0.65) 100%);
}

.footer-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 34px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 26px;
  box-shadow: 0 30px 70px rgba(2, 24, 36, 0.16);
  border: 1px solid rgba(2, 141, 212, 0.1);
}

.footer-brand h3 {
  margin-bottom: 6px;
}

.footer-cnpj {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--ink);
}

.icon-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 251, 249, 0.9);
  border: 1px solid rgba(11, 43, 58, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: #0b2b3a;
}

.icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(2, 24, 36, 0.16);
  background: #ffffff;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  z-index: 20;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.footer-actions {
  display: flex;
  gap: 14px;
}

.footer-bottom {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-inner {
    max-width: 100%;
  }

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

  .gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .gallery-card.hero {
    grid-column: span 6;
  }
  .gallery-card.side {
    grid-column: span 3;
  }
  .gallery-card.wide {
    grid-column: span 6;
  }
}

@media (max-width: 780px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust {
    grid-template-columns: 1fr;
  }

  .products {
    grid-template-columns: 1fr;
  }

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

  .gallery-card,
  .gallery-card.hero,
  .gallery-card.side,
  .gallery-card.wide {
    grid-column: span 2;
    min-height: 260px;
  }

  .footer-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .footer-links {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 24px 5vw 60px;
    background-position: center center;
  }

  .hero::before {
    background: linear-gradient(
        110deg,
        rgba(244, 251, 249, 0.98) 0%,
        rgba(244, 251, 249, 0.95) 55%,
        rgba(244, 251, 249, 0.75) 78%,
        rgba(244, 251, 249, 0.4) 100%
      ),
      linear-gradient(
        180deg,
        rgba(244, 251, 249, 0.2) 0%,
        rgba(244, 251, 249, 0.8) 70%,
        rgba(244, 251, 249, 1) 100%
      );
  }

  .hero-inner {
    margin-top: 28px;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .lead {
    font-size: 16px;
  }

  .nav-actions a,
  .nav-actions .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .trust {
    gap: 12px;
  }

  .stat-card {
    width: 100%;
  }

  .product-photo {
    height: 200px;
  }

  .map-wrapper iframe {
    height: 320px;
  }

  .footer-actions {
    width: 100%;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .reveal,
  .stat-card {
    transition: none;
    animation: none;
  }
  .stat-card,
  .stat-card.stats-in {
    opacity: 1;
    --ty: 0px;
  }
  .hero-bg {
    transition: none;
    animation: none;
    transform: none;
  }
}

@property --ty {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --rx {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --ry {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes statsIn {
  0% {
    opacity: 0;
    --ty: 36px;
    --rx: -8deg;
    --ry: 6deg;
  }
  60% {
    opacity: 1;
    --ty: -6px;
    --rx: 2deg;
    --ry: -2deg;
  }
  100% {
    opacity: 1;
    --ty: 0px;
    --rx: 0deg;
    --ry: 0deg;
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
