/* ============================================================
   ÂMBAR Landing Page v2 — Design System & Styles
   Mobile-first | Max 430px | Brand Identity
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --ambar: #C46A2D;
  --ambar-dark: #A85A25;
  --ambar-light: rgba(196, 106, 45, .07);
  --areia: #D9C2A3;
  --areia-light: #E8D9C4;
  --marrom: #5A3A28;
  --marrom-deep: #3E2819;
  --oliva: #6B705C;
  --offwhite: #F2EFEA;
  --offwhite-warm: #F7F3EE;
  --white: #FDFCFA;

  --ff-title: 'Cormorant Garamond', 'Georgia', serif;
  --ff-body: 'Inter', 'Helvetica Neue', sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .8125rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.75rem;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 2px 8px rgba(90, 58, 40, .06);
  --shadow-md: 0 4px 20px rgba(90, 58, 40, .08);
  --shadow-lg: 0 8px 32px rgba(90, 58, 40, .1);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --wa-bar-h: 64px;
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--offwhite);
  color: var(--marrom);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Page Wrapper ─────────────────────────────────────────── */
.page-wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--offwhite);
  min-height: 100vh;
}

@media (min-width: 431px) {
  body {
    background: var(--areia-light);
  }

  .page-wrapper {
    box-shadow: 0 0 60px rgba(90, 58, 40, .1);
  }
}

/* ── Typography ───────────────────────────────────────────── */
h1,
h2,
h3 {
  font-family: var(--ff-title);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ambar);
  margin-bottom: 8px;
}

.section-title {
  font-size: var(--fs-2xl);
  color: var(--marrom);
  margin-bottom: 12px;
}

.section-text {
  font-size: var(--fs-base);
  color: var(--oliva);
  max-width: 380px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  text-align: center;
  width: 100%;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: var(--ambar);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 106, 45, .25);
}

.btn-primary:hover {
  background: var(--ambar-dark);
}

.btn-outline {
  background: transparent;
  color: var(--ambar);
  border: 1.5px solid var(--ambar);
}

.btn-outline:hover {
  background: var(--ambar-light);
}

.btn-light {
  background: var(--white);
  color: var(--marrom);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ambar);
  padding: 8px 0;
  min-height: auto;
  width: auto;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-sm);
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  transition: all .4s var(--ease);
}

.site-header.scrolled {
  background: rgba(242, 239, 234, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo svg {
  width: 28px;
  height: 28px;
}

.header-logo-text {
  font-family: var(--ff-title);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--marrom);
  letter-spacing: .08em;
}

.header-cta {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ambar);
  letter-spacing: .02em;
  padding: 8px 14px;
  border: 1.5px solid var(--ambar);
  border-radius: 100px;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--ambar);
  color: var(--white);
}

/* ── HERO (Section 1) ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 24px 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(160deg, var(--areia) 0%, var(--offwhite) 40%, var(--areia-light) 70%, var(--offwhite-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 280px;
  height: 280px;
  opacity: .06;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(242, 239, 234, .98) 0%,
      rgba(242, 239, 234, .8) 25%,
      rgba(242, 239, 234, .3) 50%,
      transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--oliva);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ambar);
}

.hero h1 {
  font-size: var(--fs-3xl);
  color: var(--marrom);
  margin-bottom: 14px;
  max-width: 340px;
}

.hero-sub {
  font-size: var(--fs-base);
  color: var(--oliva);
  margin-bottom: 28px;
  max-width: 320px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid var(--areia);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: .5;
}

.hero-scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ambar);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(14px);
    opacity: .3;
  }
}

/* ── Sections Base ────────────────────────────────────────── */
.section {
  padding: 56px 24px;
  position: relative;
}

.section--areia {
  background: var(--areia-light);
}

.section--marrom {
  background: var(--marrom);
  color: var(--offwhite);
}

.section--marrom .section-title {
  color: var(--offwhite);
}

.section--marrom .eyebrow {
  color: var(--areia);
}

.section--ambar {
  background: var(--ambar);
  color: var(--white);
}

.section--ambar .section-title {
  color: var(--white);
}

.section--ambar .eyebrow {
  color: rgba(255, 255, 255, .7);
}

/* ── Section Watermark ────────────────────────────────────── */
.section-watermark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  opacity: .03;
  pointer-events: none;
}

/* ── KITS (Section 2) ─────────────────────────────────────── */
.kits-intro {
  margin-bottom: 32px;
}

.kits-intro .section-title {
  font-size: var(--fs-xl);
}

.kit-carousel-wrapper {
  margin: 0 -24px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  gap: 16px;
  padding-bottom: 8px;
}

.kit-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.kit-card {
  flex: 0 0 calc(100% - 16px);
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease);
}

.kit-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.kit-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kit-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-title);
  font-size: var(--fs-lg);
  color: var(--areia);
  letter-spacing: .06em;
}

.kit-photo-placeholder.mare {
  background: linear-gradient(135deg, #e8e0d4 0%, #d4cdc2 50%, #c8bfb0 100%);
}

.kit-photo-placeholder.mandacaru {
  background: linear-gradient(135deg, #d4bfa0 0%, #c4a882 50%, #b89970 100%);
}

.kit-photo-placeholder.duna {
  background: linear-gradient(135deg, #e0d8cc 0%, #d6cec0 50%, #ccc2b2 100%);
}

.kit-photo-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(90, 58, 40, .8);
  backdrop-filter: blur(8px);
  color: var(--offwhite);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.kit-card-body {
  padding: 24px 20px 28px;
}

.kit-name {
  font-family: var(--ff-title);
  font-size: var(--fs-xl);
  color: var(--marrom);
  margin-bottom: 2px;
}

.kit-price {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--ambar);
  font-weight: 600;
  margin-bottom: 10px;
}

.kit-price span {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--oliva);
}

.kit-signature {
  font-size: var(--fs-sm);
  color: var(--oliva);
  font-style: italic;
  margin-bottom: 16px;
}

.kit-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.kit-highlights li {
  font-size: var(--fs-xs);
  padding: 5px 12px;
  background: var(--ambar-light);
  color: var(--marrom);
  border-radius: 100px;
  font-weight: 500;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--areia);
  transition: all .3s var(--ease);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--ambar);
  width: 24px;
  border-radius: 4px;
}

.kits-help {
  text-align: center;
  margin-top: 24px;
}

/* ── INVESTIMENTO (Section 3) ─────────────────────────────── */
.invest-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.invest-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.invest-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ambar-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.invest-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ambar);
  fill: none;
  stroke-width: 1.8;
}

.invest-card h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--marrom);
  margin-bottom: 4px;
}

.invest-card p {
  font-size: var(--fs-xs);
  color: var(--oliva);
  line-height: 1.5;
}

.invest-note {
  font-size: var(--fs-xs);
  color: var(--oliva);
  margin-top: 20px;
  padding: 14px;
  background: var(--ambar-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--ambar);
  line-height: 1.5;
}

/* ── ANDREZZA (Section 4) ─────────────────────────────────── */
.andrezza-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
}

.andrezza-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.andrezza-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--areia) 20%, var(--areia-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-title);
  font-size: var(--fs-lg);
  color: var(--marrom);
  letter-spacing: .04em;
  opacity: .4;
}

.andrezza-name {
  font-family: var(--ff-title);
  font-size: var(--fs-2xl);
  color: var(--marrom);
  margin-bottom: 4px;
}

.andrezza-role {
  font-size: var(--fs-sm);
  color: var(--ambar);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.andrezza-bio {
  font-size: var(--fs-base);
  color: var(--oliva);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── Projects Carousel ────────────────────────────────────── */
.projects-label {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ambar);
  margin-bottom: 14px;
}

.projects-carousel {
  margin: 0 -24px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  gap: 12px;
}

.projects-carousel::-webkit-scrollbar {
  display: none;
}

.project-slide {
  flex: 0 0 200px;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-size: var(--fs-xs);
  color: rgba(90, 58, 40, .4);
  font-weight: 500;
}

.project-placeholder:nth-child(1) {
  background: linear-gradient(135deg, #ddd3c4 0%, #c8baa5 100%);
}

.project-placeholder:nth-child(2) {
  background: linear-gradient(135deg, #d4c8b5 0%, #bfb09a 100%);
}

.project-placeholder:nth-child(3) {
  background: linear-gradient(135deg, #e0d5c6 0%, #d0c4b2 100%);
}

.project-placeholder:nth-child(4) {
  background: linear-gradient(135deg, #d8ccba 0%, #c4b8a4 100%);
}

.project-placeholder:nth-child(5) {
  background: linear-gradient(135deg, #dcd0be 0%, #c8bca8 100%);
}

.project-placeholder:nth-child(6) {
  background: linear-gradient(135deg, #d6cab8 0%, #c0b4a0 100%);
}

/* ── PROCESSO (Section 5) ─────────────────────────────────── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0;
  position: relative;
}

.process-step {
  display: flex;
  gap: 18px;
  padding-bottom: 32px;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-line {
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--areia);
}

.process-step:last-child .process-step-line {
  display: none;
}

.process-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ambar);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-title);
  font-size: var(--fs-md);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.process-step-content h4 {
  font-family: var(--ff-title);
  font-size: var(--fs-lg);
  color: var(--marrom);
  margin-bottom: 4px;
}

.process-step-content p {
  font-size: var(--fs-sm);
  color: var(--oliva);
  line-height: 1.5;
}

/* ── CTA FINAL (Section 6) ───────────────────────────────── */
.cta-final {
  text-align: center;
  padding: 56px 24px 40px;
}

.cta-final .section-title {
  color: var(--white);
  font-size: var(--fs-2xl);
  margin-bottom: 12px;
}

.cta-final .section-text {
  color: rgba(255, 255, 255, .8);
  margin: 0 auto 28px;
}

.cta-final .btn-light {
  max-width: 320px;
  margin: 0 auto;
}

.cta-micro {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .6);
  margin-top: 14px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--marrom-deep);
  color: var(--areia);
  padding: 40px 24px calc(40px + var(--wa-bar-h) + var(--safe-bottom));
  text-align: center;
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.footer-logo-wrap svg {
  width: 36px;
  height: 36px;
  opacity: .8;
}

.footer-brand {
  font-family: var(--ff-title);
  font-size: var(--fs-md);
  letter-spacing: .08em;
  color: var(--offwhite);
}

.footer-tagline {
  font-size: var(--fs-xs);
  color: var(--areia);
  font-style: italic;
  margin-bottom: 24px;
}

.footer-info {
  font-size: var(--fs-xs);
  line-height: 2;
  color: rgba(217, 194, 163, .7);
  margin-bottom: 20px;
}

.footer-info a {
  color: var(--areia);
  transition: color .3s;
}

.footer-info a:hover {
  color: var(--offwhite);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 194, 163, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}

.footer-social a:hover {
  background: var(--ambar);
  border-color: var(--ambar);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--areia);
}

.footer-credit {
  font-size: var(--fs-xs);
  color: rgba(217, 194, 163, .4);
  margin-top: 16px;
}

/* ── WhatsApp Bar ─────────────────────────────────────────── */
.wa-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 99;
  padding: 10px 20px calc(10px + var(--safe-bottom));
  background: rgba(242, 239, 234, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(217, 194, 163, .3);
}

.wa-bar .btn {
  max-width: 100%;
  box-shadow: 0 4px 20px rgba(196, 106, 45, .3);
}

.wa-bar .btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Animations ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-scroll-dot {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Divider ──────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--areia);
  margin: 0 24px;
  opacity: .5;
}

/* ── Misc ─────────────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mb-8 {
  margin-bottom: 8px;
}