/* Açaí Land — main stylesheet (performance-oriented, no frameworks) */

:root {
  --color-bg: #0f0818;
  --color-bg-elevated: #1a0d2e;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f4eef9;
  --color-text-muted: #b9a8c8;
  --color-accent: #7c3aed;
  --color-accent-soft: rgba(124, 58, 237, 0.35);
  --color-gold: #e8c547;
  --color-gold-dim: #c4a43a;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe57;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --header-offset: calc(var(--header-h) + var(--safe-top));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #f0d56a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-gold);
  color: #1a0d2e;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(1.25rem, var(--safe-left));
  padding-right: max(1.25rem, var(--safe-right));
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  min-height: var(--header-offset);
  height: auto;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-text);
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), #4c1d95);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.logo__text em {
  font-style: italic;
  color: var(--color-gold);
}

.logo--footer .logo__mark {
  width: 36px;
  height: 36px;
  font-size: 0.7rem;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  position: relative;
}

.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  margin: 0 auto;
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
}

.nav__toggle-bar::before {
  top: 14px;
}

.nav__toggle-bar::after {
  bottom: 14px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before {
  top: 21px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after {
  bottom: 21px;
  transform: rotate(-45deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--color-text);
}

@media (max-width: 880px) {
  .nav__toggle {
    display: grid;
    place-items: center;
  }

  .btn--header {
    display: none;
  }

  .nav__list {
    position: fixed;
    inset: var(--header-offset) 0 auto 0;
    flex-direction: column;
    padding: 1rem 1.5rem max(1.25rem, var(--safe-bottom));
    max-height: min(70dvh, calc(100vh - var(--header-offset)));
    max-height: min(70dvh, calc(100dvh - var(--header-offset)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 200;
    gap: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), opacity 0.25s, visibility 0.35s;
  }

  .nav__list.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, transform 0.15s var(--ease-out), box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-whatsapp);
  color: #0a1f0f;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25);
}

.btn--primary:hover {
  background: var(--color-whatsapp-hover);
  color: #0a1f0f;
}

.btn--large {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn__icon {
  display: flex;
  flex-shrink: 0;
}

.btn--pulse {
  animation: pulse-soft 2.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .btn--pulse {
    animation: none;
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25);
  }
  50% {
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.45);
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--color-accent-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232, 197, 71, 0.08), transparent 50%),
    var(--color-bg);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__visual {
    order: -1;
    max-width: 22rem;
    margin-inline: auto;
  }
}

.hero__copy {
  max-width: 34rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.text-gradient {
  background: linear-gradient(120deg, #c4b5fd, var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  font-size: 1.08rem;
}

.hero__lead strong {
  color: var(--color-text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.section__grid--reverse .section__text {
  order: 2;
}

.section__grid--reverse .section__media {
  order: 1;
}

@media (max-width: 880px) {
  .section__grid,
  .section__grid--reverse {
    grid-template-columns: 1fr;
  }

  .section__grid--reverse .section__text,
  .section__grid--reverse .section__media {
    order: unset;
  }
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section__title--center {
  text-align: center;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: -0.25rem auto 2.5rem;
}

.section__lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.section__text p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.section__text p:last-child {
  margin-bottom: 0;
}

.section__text strong {
  color: var(--color-text);
}

.section__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.section__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section__media--rounded img {
  aspect-ratio: 4 / 3;
}

/* Story strip */
.section--story {
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-elevated));
}

/* Highlight */
.section--highlight {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.highlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.12), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .highlight-card {
    grid-template-columns: 1fr;
  }
}

.highlight-card__quote {
  margin: 0;
  padding: 0;
  border: none;
}

.highlight-card__phrase {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.highlight-card__quote footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.highlight-card__body p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.highlight-card__body .btn {
  margin-top: 0.5rem;
}

/* Features */
.section--features {
  background: var(--color-bg-elevated);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.features__item {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .features__item:hover {
    border-color: rgba(124, 58, 237, 0.35);
    transform: translateY(-2px);
  }
}

@media (hover: none) {
  .features__item:active {
    border-color: rgba(124, 58, 237, 0.35);
  }
}

.features__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.features__item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.features__item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Gallery */
.section--gallery {
  background: linear-gradient(180deg, var(--color-bg-elevated), var(--color-bg));
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 0.75rem;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover img {
    transform: scale(1.05);
  }
}

.gallery__item--tall {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item:not(.gallery__item--tall):not(.gallery__item--wide) {
  grid-column: span 2;
}

.gallery__item--wide {
  grid-column: span 4;
  grid-row: span 1;
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(140px, auto);
  }

  .gallery__item--tall,
  .gallery__item--wide,
  .gallery__item:not(.gallery__item--tall):not(.gallery__item--wide) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

/* Location */
.section--location {
  border-top: 1px solid var(--color-border);
}

.location__address {
  margin-top: 1.5rem;
  font-style: normal;
  color: var(--color-text-muted);
}

.location__address a {
  font-weight: 600;
}

/* CTA final */
.section--cta {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.cta-final {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: radial-gradient(ellipse at center top, var(--color-accent-soft), transparent 60%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta-final__text {
  color: var(--color-text-muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0 max(2rem, var(--safe-bottom));
  border-top: 1px solid var(--color-border);
  background: #0a0512;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__tag {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-footer__wa {
  font-weight: 600;
  text-decoration: none;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsividade: Android, iOS, tablet, notebook ---------- */

@media (max-width: 420px) {
  body {
    font-size: 1rem;
  }

  .logo__text {
    font-size: 1.1rem;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .highlight-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .cta-final {
    padding: 1.75rem 1.25rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    padding: 1.25rem 0 1.75rem;
  }

  .hero__grid {
    gap: 1rem;
  }

  .hero__title {
    font-size: clamp(1.45rem, 4.5vw, 2rem);
    margin-bottom: 0.65rem;
  }

  .hero__lead {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .hero__visual {
    max-width: min(14rem, 40vw);
  }

  .hero__visual img {
    max-height: min(48vh, 280px);
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .section {
    padding-block: clamp(2rem, 4vh, 2.75rem);
  }
}

@media (min-width: 481px) and (max-width: 900px) {
  .hero__grid {
    gap: 2rem;
  }

  .hero__visual {
    max-width: min(24rem, 72vw);
  }

  .gallery {
    grid-auto-rows: minmax(130px, auto);
    gap: 0.85rem;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .hero__grid {
    gap: clamp(1.5rem, 3vw, 2.75rem);
  }

  .hero__copy {
    max-width: min(34rem, 46vw);
  }

  .features {
    gap: 1rem;
  }
}
