:root {
  --terracota: #9D6E5A;
  --rosado: #9D7164;
  --terracota-dark: #8F624F;
  --bege: #CBBAB0;
  --areia: #C4B1A3;

  --bg: #f7f2ee;
  --bg-soft: #f2e9e2;
  --text: #3b2a24;
  --text-soft: #6c5247;
  --white: #ffffff;
  --line: rgba(143, 98, 79, 0.14);
  --shadow: 0 18px 50px rgba(80, 51, 40, 0.12);

  --container: 1280px;
  --header-h: 88px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 1000;
  background: var(--terracota);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

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

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: rgba(247, 242, 238, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(247, 242, 238, 0.94);
  box-shadow: 0 10px 30px rgba(60, 34, 24, 0.08);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(157, 110, 90, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--terracota);
  background: rgba(255, 255, 255, 0.6);
  font-size: 18px;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-text span {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-top: 2px;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  position: relative;
  font-size: 0.90rem;
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--terracota-dark);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracota), var(--rosado));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--terracota), var(--rosado));
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(157, 110, 90, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.nav-cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.nav-cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(157, 110, 90, 0.28);
  filter: saturate(1.03);
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--terracota-dark);
  transition: 0.3s ease;
}

/* HERO */
.home-hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 80px 0.95fr;
  background: linear-gradient(180deg, #f8f3ef 0%, #f5eee8 100%);
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
  padding-top: var(--header-h);
  box-sizing: border-box;
}

.hero-left {
  display: flex;
  align-items: center;
  padding: 48px 24px 48px 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 520px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--terracota-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracota), var(--rosado));
  box-shadow: 0 0 0 6px rgba(157, 110, 90, 0.08);
}

.hero-name {
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--terracota), var(--rosado));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 540px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  color: var(--text-soft);
}

.hero-badge-icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(157, 110, 90, 0.14);
  box-shadow: var(--shadow);
  color: var(--terracota);
}

.hero-badge p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-center-gradient {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(247, 242, 238, 0) 0%,
      rgba(247, 242, 238, 0.86) 35%,
      rgba(247, 242, 238, 0.98) 50%,
      rgba(247, 242, 238, 0.86) 65%,
      rgba(247, 242, 238, 0) 100%
    );
}

.hero-right {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
}

.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.78) 5%,
      rgba(255, 255, 255, 0.42) 10%,
      rgba(255, 255, 255, 0.12) 15%,
      rgba(255, 255, 255, 0) 30%
    ),
    linear-gradient(to left, rgba(203, 186, 176, 0.10), transparent 22%);
  pointer-events: none;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1s ease;
}

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

.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
}

.hero-content.loaded > * {
  animation: itemReveal 0.8s ease forwards;
}

.hero-content.loaded > *:nth-child(1) { animation-delay: 0.12s; }
.hero-content.loaded > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content.loaded > *:nth-child(3) { animation-delay: 0.32s; }
.hero-content.loaded > *:nth-child(4) { animation-delay: 0.42s; }
.hero-content.loaded > *:nth-child(5) { animation-delay: 0.52s; }

@keyframes itemReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ÂNCORAS */
.anchor-section {
  height: 1px;
  width: 100%;
}

/* WHATSAPP FIXO */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 28px;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.28);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

/* TABLET */
@media (max-width: 1100px) {
  .primary-nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.92rem;
  }

  .home-hero {
    grid-template-columns: 1.08fr 56px 0.92fr;
  }

  .hero-left {
    padding-left: 28px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
  }
}

/* MOBILE NAV */
@media (max-width: 980px) {
  .nav-container {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 250, 247, 0.98);
    border: 1px solid rgba(157, 110, 90, 0.12);
    box-shadow: 0 18px 40px rgba(70, 42, 31, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: 0.28s ease;
  }

  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(157, 110, 90, 0.08);
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .hero-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 2;
  }
}

/* MOBILE HERO */
@media (max-width: 900px) {
  .home-hero {
    max-width: 100%;
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding-top: var(--header-h);
  }

  .hero-left {
    order: 1;
    padding: 28px 20px 24px;
    min-height: auto;
  }

  .hero-center-gradient {
    display: none;
  }

  .hero-right {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    border-radius: 28px;
    background: transparent;
  }

  .hero-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 18px;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 0.98;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .btn-primary {
    width: 100%;
    min-height: 54px;
  }

  .hero-badge {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 78px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .brand-text span {
    font-size: 0.85rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-right {
    min-height: auto;
    padding: 8px 16px 20px;
  }

  .hero-image {
    max-width: 320px;
  }

  .hero-left {
    padding: 24px 16px 32px;
  }

  .hero-kicker {
    margin-bottom: 14px;
    font-size: 0.74rem;
  }

  .hero-name {
    font-size: 0.92rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
    letter-spacing: -0.04em;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-badge {
    gap: 10px;
  }

  .hero-badge-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}