/* =============================================
   THE W4Y 420 — GLOBAL STYLESHEET
   Palette: #0D0D0D · #2D3B2D · #D44136 · #F5F0E8
   ============================================= */

:root {
  --black:  #0D0D0D;
  --olive:  #2D3B2D;
  --red:    #D44136;
  --cream:  #F5F0E8;
  --cream60: rgba(245,240,232,.6);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-w: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-pad: clamp(4rem, 8vw, 7rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
}
h1 { font-size: clamp(3.5rem, 9vw, 8rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .75em 1.75em;
  transition: all .2s ease;
  cursor: pointer;
}
.btn--red {
  background: var(--red);
  color: var(--cream);
  border: 2px solid var(--red);
}
.btn--red:hover { background: transparent; color: var(--red); }

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}
.btn--outline:hover { background: var(--cream); color: var(--black); }

.btn--outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline-red:hover { background: var(--red); color: var(--cream); }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gap);
  background: rgba(13,13,13,0);
  backdrop-filter: blur(0);
  transition: background .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(12px);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: .15em;
  color: var(--cream);
}
.nav__logo span { color: var(--red); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  color: var(--cream60);
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--cream); }

.nav__ig {
  color: var(--red) !important;
  border: 1px solid var(--red);
  padding: .35em .9em;
}
.nav__ig:hover { background: var(--red); color: var(--cream) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform .3s, opacity .3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO / MANIFESTO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.45);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--gap);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}

.hero__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: .25em .8em;
  margin-bottom: 1.5rem;
}

.hero__title {
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream60);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--gap);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream60);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  background: var(--red);
  padding: .6rem 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .15em;
  color: var(--cream);
  padding-right: 2rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section {
  padding: var(--section-pad) 0;
}
.section--olive {
  background: var(--olive);
}
.section--black {
  background: #0a0a0a;
}
.section--dark {
  background: #111;
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--cream60);
  border: 1px solid var(--cream60);
  padding: .25em .8em;
  margin-bottom: 1rem;
}
.section__tag--red {
  color: var(--red);
  border-color: var(--red);
}
.section__header h2 {
  color: var(--cream);
  margin-bottom: .75rem;
}
.section__header p {
  color: var(--cream60);
  font-size: 1.05rem;
  max-width: 52ch;
}

/* ══════════════════════════════════════════
   GRIDS
══════════════════════════════════════════ */
.grid {
  display: grid;
  gap: var(--gap);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ══════════════════════════════════════════
   ARTICLE CARDS
══════════════════════════════════════════ */
.card {
  background: #161616;
  border: 1px solid rgba(245,240,232,.06);
  transition: border-color .2s, transform .2s;
  overflow: hidden;
}
.card:hover {
  border-color: rgba(245,240,232,.2);
  transform: translateY(-3px);
}
.card__link { display: flex; flex-direction: column; height: 100%; }

.card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__img img { transform: scale(1.04); }

.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--cream);
  background: var(--red);
  padding: .25em .7em;
}
.card__tag--olive { background: var(--olive); }

.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .75rem;
}
.card__body h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--cream);
  line-height: 1.15;
}
.card__body p {
  color: var(--cream60);
  font-size: .92rem;
  line-height: 1.6;
  flex: 1;
}
.card__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--red);
  transition: letter-spacing .2s;
}
.card:hover .card__cta { letter-spacing: .18em; }

/* CAMINHO featured cards */
.card--caminho {
  background: rgba(13,13,13,.5);
  border: 1px solid rgba(245,240,232,.12);
}
.card--caminho:hover { border-color: var(--red); }

.card--caminho .card__img { aspect-ratio: 16 / 9; }

.card__keh-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--cream60);
  letter-spacing: .05em;
  padding-top: .5rem;
  border-top: 1px solid rgba(245,240,232,.08);
  margin-top: auto;
}
.card__keh-note::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   PRODUTOS / COMING SOON
══════════════════════════════════════════ */
.produtos-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.produtos-teaser__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: .3em 1em;
  margin-bottom: 1.5rem;
}
.produtos-teaser__badge::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.produtos-teaser h2 { color: var(--cream); margin-bottom: 1rem; }
.produtos-teaser p  { color: var(--cream60); margin-bottom: 2rem; }

.genetica-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.genetica-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--cream60);
  border: 1px solid rgba(245,240,232,.15);
  padding: .3em .9em;
}

.produtos-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.produtos-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.produtos-img__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  letter-spacing: .2em;
  text-align: center;
}

/* ══════════════════════════════════════════
   COMUNIDADE / IG
══════════════════════════════════════════ */
.comunidade {
  text-align: center;
  padding: var(--section-pad) 0;
}
.comunidade h2 { color: var(--cream); margin-bottom: .75rem; }
.comunidade__handle {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--red);
  display: block;
  margin-bottom: 1rem;
}
.comunidade p {
  color: var(--cream60);
  margin-bottom: 2.5rem;
  max-width: 45ch;
  margin-inline: auto;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin: 3rem 0;
  overflow: hidden;
}
.ig-grid__item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a1a1a;
}
.ig-grid__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  transition: filter .3s;
}
.ig-grid__item:hover img { filter: brightness(1); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: #080808;
  border-top: 1px solid rgba(245,240,232,.06);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}
.footer__brand-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: .1em;
  color: var(--cream);
  display: block;
  margin-bottom: 1rem;
}
.footer__brand-logo span { color: var(--red); }
.footer__tagline {
  color: var(--cream60);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 30ch;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--cream60);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a {
  font-size: .88rem;
  color: rgba(245,240,232,.45);
  transition: color .2s;
}
.footer__col a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,240,232,.06);
  font-size: .8rem;
  color: rgba(245,240,232,.3);
}
.footer__bottom a { color: var(--red); }

/* ══════════════════════════════════════════
   ARTICLE PAGE
══════════════════════════════════════════ */
.article-hero {
  position: relative;
  height: 60svh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}
.article-hero__bg {
  position: absolute;
  inset: 0;
}
.article-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.35);
}
.article-hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--black), transparent);
}
.article-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--gap);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.article-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--cream);
  background: var(--red);
  padding: .25em .8em;
}
.article-tag--olive { background: var(--olive); }

.article-read-time {
  font-size: .8rem;
  color: var(--cream60);
}
.article-hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--cream);
  max-width: 18ch;
}

.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
}
.article-body h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--cream);
  margin: 2.5rem 0 1rem;
  padding-top: .5rem;
}
.article-body h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--cream);
  margin: 2rem 0 .75rem;
}
.article-body p {
  color: var(--cream60);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-body strong { color: var(--cream); font-weight: 600; }
.article-body em { color: var(--cream60); font-style: italic; }
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-body li { color: var(--cream60); font-size: 1.05rem; line-height: 1.7; }

.article-body hr {
  border: none;
  border-top: 1px solid rgba(245,240,232,.08);
  margin: 2.5rem 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
}
.article-body th, .article-body td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(245,240,232,.08);
}
.article-body th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--cream60);
}
.article-body td { color: var(--cream60); }

.article-cta {
  background: var(--olive);
  border: 1px solid rgba(245,240,232,.1);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}
.article-cta p {
  font-size: 1rem;
  color: var(--cream60) !important;
  margin-bottom: 1.25rem !important;
}
.article-cta .btn { display: inline-block; }

.article-hashtags {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,240,232,.08);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.article-hashtags a {
  font-size: .8rem;
  color: rgba(245,240,232,.3);
  transition: color .2s;
}
.article-hashtags a:hover { color: var(--cream60); }

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  margin-inline: auto;
  padding: 1.5rem var(--gap) 3rem;
  border-top: 1px solid rgba(245,240,232,.06);
  gap: 1rem;
}
.article-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--cream60);
  transition: color .2s;
}
.article-nav a:hover { color: var(--cream); }
.article-nav__back { color: var(--red) !important; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .produtos-teaser { grid-template-columns: 1fr; }
  .produtos-img { max-height: 360px; }
}

@media (max-width: 680px) {
  .nav__links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 99;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.5rem; }
  .nav__hamburger { display: flex; z-index: 101; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: .75rem; text-align: center; }
}
