/* ══════════════════════════════════════════════
   P( )MA — sidra de pomar único
   Sistema visual: branco + vermelho vivo + preto,
   wordmark condensado gigante com maçã nos
   parênteses, líquido vetorial orgânico, macro
   de casca, labels em serifa itálica
   ══════════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --off:   #F7F5F2;
  --ink:   #121212;
  --red:   #EE2B1C;
  --gray:  #86827D;

  --font-disp: 'Oswald', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', serif;
}

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

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.section { position: relative; overflow: hidden; }

body:not(.no-js) .rv { opacity: 0; transform: translateY(24px); }

/* labels em serifa itálica */
.slabel {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.15rem; color: var(--ink);
}
.slabel--white { color: var(--white); }

/* barras de destaque */
.bar {
  display: inline-block;
  background: var(--ink); color: var(--white);
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  padding: .3em .7em;
}
.bar--white { background: var(--white); color: var(--red); }

/* ══════════ LOADER ══════════ */
.loader {
  position: fixed; inset: 0; z-index: 90;
  background: var(--white);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__word {
  font-family: var(--font-disp); font-weight: 200;
  font-size: 3rem; letter-spacing: .02em;
  animation: pulse 1.5s ease-in-out infinite;
}
.loader__word i { display: inline-block; width: .6em; }
@keyframes pulse { 50% { opacity: .35; } }

/* ══════════ NAV ══════════ */
.nav {
  position: relative; z-index: 20;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(18, 18, 18, .1);
}
.nav__logo { font-family: var(--font-disp); font-weight: 300; font-size: 1.3rem; letter-spacing: .04em; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  font-size: .85rem; font-weight: 500; color: var(--gray);
  transition: color .25s ease;
}
.nav__links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--white);
  font-family: var(--font-disp); font-weight: 500;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .8em 1.9em;
  transition: background .25s ease, color .25s ease, translate .25s ease;
}
.btn:hover { background: var(--ink); translate: 0 -2px; }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--ink); color: var(--white); }

.burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span { width: 26px; height: 2px; background: var(--ink); }

.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--red);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu nav { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.menu a {
  font-family: var(--font-disp); font-weight: 300;
  font-size: 2.4rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--white);
}
.menu__foot {
  position: absolute; bottom: 2rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; color: var(--white);
}

/* ══════════ HERO ══════════ */
.hero {
  min-height: 86vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(2rem, 6vh, 4rem) 1.2rem 3rem;
  text-align: center;
}
.slabel--tl { position: absolute; top: 1.6rem; left: clamp(1.2rem, 4vw, 3rem); }
.slabel--tr { position: absolute; top: 1.6rem; right: clamp(1.2rem, 4vw, 3rem); }

.hero__mark {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-weight: 200;
  font-size: clamp(4.5rem, 21vw, 19rem);
  line-height: 1; letter-spacing: -.01em;
  margin-top: 1rem;
}
.hl { display: inline-block; }
.hl--paren {
  font-weight: 200;
  transform: scaleY(1.55) scaleX(.9);
  transform-origin: center;
  margin-inline: .02em;
}
.hero__apple {
  display: inline-block;
  width: .62em; height: .66em;
  margin-inline: .04em;
  position: relative; top: .04em;
}
.hero__apple img { width: 100%; height: 100%; object-fit: contain; }

.hero__web {
  position: absolute; z-index: 1;
  width: min(120%, 1300px); left: 50%; top: 52%;
  transform: translate(-50%, -30%);
  color: rgba(18, 18, 18, .5);
  pointer-events: none;
}

.hero__line {
  position: relative; z-index: 3;
  margin-top: clamp(4rem, 10vh, 7rem);
  font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 500;
  letter-spacing: .01em;
}
.hero__scroll {
  position: relative; z-index: 3;
  margin-top: 2rem;
  width: 46px; height: 46px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.05rem;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

/* ══════════ CASCA (MACRO) ══════════ */
.casca { background: var(--ink); }
.casca__img {
  width: 100%; height: clamp(320px, 56vw, 640px);
  object-fit: cover; display: block;
}
.casca__web {
  position: absolute; inset: auto 0 8%;
  width: 100%; color: rgba(255, 255, 255, .85);
  pointer-events: none;
}
.casca__bars {
  position: absolute; top: clamp(1.5rem, 6vw, 4rem); left: clamp(1.2rem, 5vw, 4rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
}
.casca__bars .bar { background: var(--white); color: var(--ink); font-weight: 600; }

/* ══════════ POMAR (VERMELHO) ══════════ */
.pomar {
  background: var(--red); color: var(--white);
  padding: clamp(4rem, 11vh, 8rem) clamp(1.2rem, 5vw, 4rem);
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.pomar__body { max-width: 880px; }
.pomar__body h2 {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 500; line-height: 1.25; letter-spacing: -.01em;
}
.pomar__body h2 em { font-style: normal; opacity: .65; }
.pomar__sub {
  margin-top: 2rem; max-width: 56ch;
  font-size: 1.02rem; line-height: 1.6;
}
.pomar__facts {
  grid-column: 1 / -1;
  list-style: none;
  display: flex; gap: clamp(2.5rem, 8vw, 7rem); flex-wrap: wrap;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.pomar__facts b {
  display: block;
  font-family: var(--font-disp); font-weight: 200;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1;
}
.pomar__facts span { font-size: .85rem; opacity: .85; }

/* ══════════ SIDRAS ══════════ */
.sidra {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 5vw, 4rem) 0;
  text-align: left;
}
.sidra__title {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 500; line-height: 1.15; letter-spacing: -.015em;
  margin-top: .8rem;
}
.sidra__sub {
  max-width: 60ch; margin-top: 1.4rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .04em; line-height: 1.7;
  color: var(--gray);
}
.sidra .btn--outline { margin-top: 1.8rem; }

.sidra__stage {
  position: relative;
  max-width: 1080px; margin: clamp(1rem, 3vw, 2rem) auto 0;
}
.splash {
  position: absolute; inset: 4% -6% auto;
  width: 112%; z-index: 1;
  pointer-events: none;
}
.sidra__cans { position: relative; z-index: 2; }
.sidra__cans img { width: 100%; height: auto; }

/* ══════════ MAÇÃS ══════════ */
.macas {
  background: var(--off);
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 5vw, 4rem);
}
.macas__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1240px; margin: clamp(2rem, 5vw, 3.5rem) auto 0;
}
.maca { text-align: center; }
.maca figure {
  aspect-ratio: 1 / 1.1;
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  transition: scale .3s ease, rotate .3s ease;
}
.maca:hover figure { scale: 1.06; rotate: -2deg; }
.maca figure img { width: 72%; height: 88%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(18, 18, 18, .18)); }
.maca h3 {
  font-family: var(--font-disp); font-weight: 300;
  font-size: 1.5rem; letter-spacing: .16em;
}
.maca p { font-size: .88rem; color: var(--gray); margin-top: .4rem; }
.maca__meta {
  display: inline-block; margin-top: .8rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  border: 1px solid var(--ink); padding: .35em 1em;
}

/* ══════════ FOOTER ══════════ */
.footer {
  background: var(--red); color: var(--white);
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 5vw, 4rem) 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.footer__cta {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 500; line-height: 1.15; letter-spacing: -.015em;
  margin: 1rem 0 1.8rem;
}
.footer__meta {
  display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; justify-content: center;
  margin-top: 2.5rem;
  font-size: .88rem; line-height: 1.7;
}
.footer__meta a { border-bottom: 1px solid rgba(255, 255, 255, .5); }
.footer__meta a:hover { border-color: var(--white); }
.footer__legal { opacity: .75; font-size: .78rem; }
.footer__mark {
  font-family: var(--font-disp); font-weight: 200;
  font-size: clamp(5rem, 22vw, 20rem);
  line-height: .95; letter-spacing: -.01em;
  margin-top: clamp(2rem, 6vh, 4rem);
  align-self: stretch;
}

/* ══════════ RESPONSIVO ══════════ */
@media (max-width: 1100px) {
  .macas__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .pomar { grid-template-columns: 1fr; }
  .slabel--tr { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 72vh; }
  .hero__web { width: 160%; }
  .casca__bars .bar { font-size: .66rem; }
  .macas__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .maca h3 { font-size: 1.15rem; }
  .splash { inset: 2% -20% auto; width: 140%; }
  .footer__meta { flex-direction: column; gap: 1.2rem; }
}

/* ══════════ MOVIMENTO REDUZIDO ══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader__word, .hero__scroll { animation: none; }
  body:not(.no-js) .rv { opacity: 1; transform: none; }
}
