/* ==========================================================================
   Cabral Distribuidora — Landing page
   ========================================================================== */

:root {
  --bg: #121210;
  --bg-alt: #181814;
  --surface: #1e1e19;
  --surface-2: #26261f;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --text: #f5f0e6;
  --muted: #a9a394;
  --dim: #6f6a5e;

  --orange: #f3961f;
  --orange-hi: #ffb04d;
  --orange-soft: rgba(243, 150, 31, .14);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: #121210; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

em {
  font-style: italic;
  color: var(--orange);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 26px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: #17140d;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease), box-shadow .3s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform .3s var(--ease);
}

.btn:hover {
  background: var(--orange-hi);
  border-color: var(--orange-hi);
  box-shadow: 0 10px 30px -10px rgba(243, 150, 31, .6);
  transform: translateY(-2px);
}

.btn:hover svg { transform: translateX(4px); }

.btn:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--orange-hi);
  outline-offset: 3px;
}

.btn--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6);
}

.btn--whatsapp:hover svg { transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #17140d;
}

.btn--sm { --h: 40px; padding: 0 20px; font-size: 12px; }
.btn--lg { --h: 56px; padding: 0 34px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(18, 18, 16, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.header__logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .25s;
}

.nav a:not(.btn):hover { color: var(--text); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}

.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 16, .96) 0%, rgba(18, 18, 16, .82) 40%, rgba(18, 18, 16, .35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(18, 18, 16, 0) 40%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  left: -220px;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 150, 31, .22) 0%, rgba(243, 150, 31, 0) 65%);
  filter: blur(10px);
  pointer-events: none;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__content { max-width: var(--container); }

.hero__title {
  margin: 22px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(46px, 7.4vw, 104px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.01em;
}

.hero__text {
  max-width: 520px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
}

.hero__actions { margin-top: 40px; }

/* Botão "Comprar agora" (capa e seção final) */
.store-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}


.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 64px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__tags li {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  background: rgba(18, 18, 16, .4);
  backdrop-filter: blur(6px);
}

.hero__scroll {
  position: relative;
  width: 28px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  flex-shrink: 0;
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--orange);
  animation: scrollDot 2s var(--ease) infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(80px, 11vw, 140px) 0; }

.section--alt {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(243, 150, 31, .07), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 40px;
}

.section__title {
  margin: 18px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -.01em;
}

.section__head--split .section__title { margin-bottom: 0; }

.section__text {
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
}

/* ---------- Categorias ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cat {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

.cat__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
  filter: saturate(.92);
}

.cat__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 16, 0) 30%, rgba(18, 18, 16, .75) 62%, rgba(18, 18, 16, .97) 100%);
}

.cat:hover .cat__media img {
  transform: scale(1.07);
  filter: saturate(1.05);
}

.cat__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
}

.cat__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

.cat__title {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.2vw, 44px);
}

.cat__text {
  color: var(--muted);
  max-width: 300px;
}

/* ---------- Rótulos ---------- */
.bottles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bottle {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-alt) 100%);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}

.bottle:hover {
  border-color: rgba(243, 150, 31, .45);
  transform: translateY(-6px);
}

.bottle__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--surface-2);
}

.bottle__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.bottle:hover .bottle__media img { transform: scale(1.06); }

.bottle__tag,
.bottle__name,
.bottle__text { padding: 0 6px; }

.bottle__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
}

.bottle__name {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
}

.bottle__text {
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================================================
   Institucional
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.about__media {
  position: relative;
  padding: 0 0 28px 0;
}

.about__frame {
  position: absolute;
  inset: 28px 0 0 28px;
  border: 1px solid rgba(243, 150, 31, .55);
  border-radius: var(--radius);
}

.about__media > img {
  position: relative;
  width: calc(100% - 28px);
  aspect-ratio: 6 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

.about__card {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(24, 24, 20, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}

.about__card img {
  width: 40px;
  height: auto;
}

.about__card strong {
  display: block;
  font-size: 15px;
}

.about__card span {
  font-size: 13px;
  color: var(--muted);
}

.about__content .section__text + .section__text { margin-top: 16px; }

.values {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.values li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.values__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
}

.values__icon svg { width: 20px; height: 20px; }

.values strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.values span {
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(18, 18, 16, .55) 0%, rgba(18, 18, 16, .92) 75%),
    linear-gradient(180deg, var(--bg) 0%, rgba(18, 18, 16, 0) 25%, rgba(18, 18, 16, 0) 75%, var(--bg) 100%);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__icon {
  width: 58px;
  margin-bottom: 28px;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 72px);
  margin-bottom: 40px;
}

.cta__actions { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__logo {
  width: 120px;
  margin-bottom: 22px;
}

.footer__brand p {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.footer__nav a {
  color: var(--muted);
  font-size: 15px;
  transition: color .25s;
}

.footer__nav a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

.footer__bottom a {
  color: var(--muted);
  transition: color .25s;
}

.footer__bottom a:hover { color: var(--orange); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .bottles { grid-template-columns: repeat(2, 1fr); }
  .cat__body { padding: 26px; }
}

@media (max-width: 920px) {
  .burger { display: block; z-index: 2; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(18, 18, 16, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }

  .nav.is-open { opacity: 1; visibility: visible; }

  .nav a:not(.btn) {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--text);
  }

  .nav__cta { margin-top: 12px; --h: 52px; padding: 0 32px; }

  body.menu-open { overflow: hidden; }

  .store-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
  }

  .store-actions .btn {
    padding: 0 20px;
    letter-spacing: .12em;
  }

  .cats { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .cat { aspect-ratio: 4 / 4.4; }

  .section__head--split { grid-template-columns: 1fr; gap: 0; }
  .section__head--split .section__title { margin-bottom: 20px; }

  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header__inner { height: 72px; }
  .header__logo img { height: 46px; }

  .hero { padding-top: 120px; }
  .hero__scroll { display: none; }

  .bottles { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .about__media { padding: 0 0 18px 0; }
  .about__frame { inset: 18px 0 0 18px; }
  .about__media > img { width: calc(100% - 18px); }
  .about__card { right: 8px; bottom: 40px; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; }
}
