/* Versão 1.1.1 */

:root {
  --color-bg: #0b1a30;
  --color-bg-deep: #061018;
  --color-blue-soft: #1e2d4d;
  --color-surface: rgba(30, 45, 77, 0.38);
  --color-border: rgba(184, 155, 101, 0.22);
  --color-border-strong: rgba(184, 155, 101, 0.38);
  --color-text: #e8ecf4;
  --color-text-muted: #9ca8bc;
  --color-gold: #b89b65;
  --color-gold-soft: #c5ae80;
  --color-gold-dim: rgba(184, 155, 101, 0.13);
  --color-gold-glow: rgba(184, 155, 101, 0.07);
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-soft: 0 28px 60px -18px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 42px rgba(184, 155, 101, 0.11);
  --radius: 20px;
  --content-max: 40rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 130% 85% at 82% 100%, rgba(30, 45, 77, 0.55), transparent 52%),
    radial-gradient(ellipse 85% 65% at 12% 18%, rgba(30, 45, 77, 0.45), transparent 48%),
    radial-gradient(ellipse 65% 45% at 50% 0%, var(--color-gold-glow), transparent 55%),
    linear-gradient(105deg, var(--color-bg-deep) 0%, var(--color-bg) 42%, #0f2340 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-home {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 8vw, 5rem) 1.5rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -6%;
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  pointer-events: none;
  opacity: 0.085;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231e2d4d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 120 120'%3E%3Cpath d='M60 14c10 14 18 32 20 52 2 14 1 28-4 40l-6-12-10 8 4-14c-4 2-8 3-12 3s-8-1-12-3l4 14-10-8-6 12c-5-12-6-26-4-40 2-20 10-38 20-52z'/%3E%3Cpath d='M60 54v22M48 72h24M52 96l8 10 8-10'/%3E%3C/svg%3E");
  transform: rotate(-12deg);
}

.hero__inner {
  width: 100%;
  max-width: var(--content-max);
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(
    155deg,
    rgba(30, 45, 77, 0.34) 0%,
    rgba(11, 26, 48, 0.78) 48%,
    rgba(6, 16, 28, 0.92) 100%
  );
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft), var(--shadow-gold);
  backdrop-filter: blur(14px);
}

.hero__kicker {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: var(--color-gold-dim);
  border: 1px solid rgba(184, 155, 101, 0.26);
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero__title span {
  display: block;
  margin-top: 0.2em;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-gold-soft);
}

.hero__lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

.hero__rule {
  width: 4rem;
  height: 2px;
  margin: 1.75rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold-soft),
    var(--color-gold),
    var(--color-gold-soft),
    transparent
  );
  opacity: 0.9;
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid var(--color-border-strong);
  box-shadow:
    0 4px 22px rgba(37, 211, 102, 0.42),
    0 0 0 1px rgba(11, 26, 48, 0.65),
    0 12px 36px rgba(184, 155, 101, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  overflow: hidden;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: scale(1.06);
  border-color: rgba(184, 155, 101, 0.55);
  box-shadow:
    0 6px 30px rgba(37, 211, 102, 0.52),
    0 0 0 1px rgba(11, 26, 48, 0.75),
    0 16px 44px rgba(184, 155, 101, 0.2);
}

.whatsapp-fab:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.whatsapp-fab img {
  display: block;
  width: 1.75rem;
  height: auto;
  max-height: 1.75rem;
  object-fit: contain;
}

@media (min-width: 48rem) {
  .whatsapp-fab {
    right: 2rem;
    bottom: 2rem;
    width: 3.75rem;
    height: 3.75rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    transition: none;
  }
}
