/* ===========================
   LAX Nutrition — Institutional Site
   Based on Brand Manual 2026
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal: #2B6B7F;
  --teal-dark: #1A4A5A;
  --teal-deeper: #0F2F3A;
  --off-white: #F5F0EB;
  --green: #2D5A3D;
  --gold: #C4972A;
  --black: #1A1A1A;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --white: #FFFFFF;

  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;

  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(15, 47, 58, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.header--scrolled {
  background: rgba(15, 47, 58, 0.95);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-lax {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 8px;
  color: var(--white);
}

.logo-nutrition {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Hamburger */
.header__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.header__menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu.open span:nth-child(2) {
  opacity: 0;
}

.header__menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--teal-deeper) 0%, var(--teal-dark) 40%, var(--teal) 100%);
  overflow: hidden;
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 24px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__lax {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(64px, 12vw, 120px);
  letter-spacing: 16px;
  color: var(--white);
  line-height: 1;
}

.hero__nutrition {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: clamp(14px, 2.5vw, 22px);
  letter-spacing: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.hero__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 32px auto;
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.3s ease;
}

.hero__cta svg {
  transition: transform 0.3s ease;
}

.hero__cta:hover {
  color: var(--white);
}

.hero__cta:hover svg {
  transform: translateY(4px);
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--teal-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 48px;
}

/* --- Sobre --- */
.sobre {
  background: var(--white);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

.sobre__lead {
  font-size: 20px;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sobre__text p {
  color: var(--gray);
  margin-bottom: 16px;
}

.sobre__text strong {
  color: var(--teal-dark);
  font-weight: 600;
}

/* Timeline */
.sobre__timeline {
  position: relative;
  padding-left: 32px;
}

.sobre__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--gold));
}

.timeline__item {
  position: relative;
  padding-bottom: 32px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}

.timeline__item:last-child::before {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline__year {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 4px;
}

.timeline__desc {
  font-size: 15px;
  color: var(--gray);
}

/* Missão e Visão */
.missao-visao {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.mv-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(43, 107, 127, 0.1);
}

.mv-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.mv-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Produtos --- */
.produtos {
  background: var(--off-white);
}

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

.produto-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.produto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.produto-card:hover::before {
  transform: scaleX(1);
}

.produto-card__icon {
  width: 44px;
  height: 44px;
  color: var(--card-color);
  margin-bottom: 20px;
}

.produto-card__name {
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
  margin-bottom: 4px;
}

.produto-card__category {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--card-color);
  margin-bottom: 16px;
}

.produto-card__desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* --- Valores --- */
.valores {
  background: var(--white);
}

.valores__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.valor-card {
  text-align: center;
  padding: 32px 16px;
}

.valor-card__number {
  font-weight: 700;
  font-size: 36px;
  color: rgba(43, 107, 127, 0.12);
  margin-bottom: 16px;
  font-family: var(--font-main);
}

.valor-card__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.valor-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* --- Pilares --- */
.pilares {
  background: linear-gradient(160deg, var(--teal-deeper) 0%, var(--teal-dark) 40%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
}

.pilares::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.pilares .section__label {
  color: var(--gold);
}

.pilares .section__title {
  color: var(--white);
}

.pilares__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.pilar-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s ease;
}

.pilar-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.pilar-card__number {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.pilar-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 16px;
}

.pilar-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--off-white);
  padding: 80px 0;
}

.cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--teal-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.cta-box__text {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-box__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px 36px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-box__btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 107, 127, 0.3);
}

/* --- Footer --- */
.footer {
  background: var(--teal-deeper);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo .logo-lax {
  font-size: 20px;
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__links h4,
.footer__contact h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__links a,
.footer__contact a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 32px;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Animations (scroll reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile --- */
@media (max-width: 1024px) {
  .valores__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(15, 47, 58, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 24px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    padding: 16px 0;
    font-size: 15px;
  }

  .header__menu {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .missao-visao {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .produtos__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .valores__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .pilares__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .valores__grid {
    grid-template-columns: 1fr;
  }

  .hero__lax {
    letter-spacing: 10px;
  }

  .hero__nutrition {
    letter-spacing: 6px;
  }
}
