*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #ffffff;
  --fg: #000000;
  --surface: #ebebeb;
  --muted-fg: #4c4c4c;
  --border: #e5e5e5;
  --azure1: #08b3fc;
  --azure2: #02ebff;
  --grad-brand: linear-gradient(135deg, #08b3fc 0%, #02ebff 100%);
  --grad-mesh: radial-gradient(ellipse 80% 50% at 50% -10%, hsla(196, 97%, 51%, 0.08), transparent 60%), radial-gradient(ellipse 60% 40% at 80% 20%, hsla(184, 100%, 51%, 0.06), transparent 60%);
  --radius: 1rem;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-feature-settings: "ss01", "cv11";
}

::selection {
  background: rgba(8, 179, 252, 0.25);
  color: var(--fg);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

/* ── UTILITIES ── */
.container-narrow {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .container-narrow {
    padding-inline: 2.5rem;
  }
}

.container-prose {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .container-prose {
    padding-inline: 2rem;
  }
}

.brand-gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ── ANIMATIONS ── */
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal-d1 {
  animation-delay: 0.08s;
}
.reveal-d2 {
  animation-delay: 0.18s;
}
.reveal-d3 {
  animation-delay: 0.28s;
}

/* ════════════════════════════════════════
       HEADER
    ════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: "background" 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
.header.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  position: relative;
}
@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}

/* ── LOGO ── */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--muted-fg);
  user-select: none;
}
@media (min-width: 768px) {
  .logo {
    font-size: 1.6rem;
  }
}
.logo-light {
  color: var(--surface);
}

/* ── NAV DESKTOP ── */
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}
.header-nav a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}
.header-nav a:hover {
  color: var(--fg);
}

/* ── NAV MOBILE (Menu Único Adapt Core) ── */
.mobile-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 60;
}
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle .t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  transition: transform 0.3s ease;
}
.mobile-toggle .t-line {
  width: 16px;
  height: 2px;
  background: var(--muted-fg);
  border-radius: 2px;
  transition: transform 0.3s ease, width 0.3s ease, background 0.3s ease;
}

.mobile-toggle.active .t-dot {
  transform: scale(1.2);
}
.mobile-toggle.active .t-line {
  width: 8px;
  background: var(--fg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.mobile-nav.active {
  display: flex;
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-nav a {
  font-size: 1.125rem;
  color: var(--muted-fg);
  font-weight: 400;
  transition: color 0.2s;
}
.mobile-nav a:hover {
  color: var(--fg);
}
@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ════════════════════════════════════════
       PAGES — visibility
    ════════════════════════════════════════ */
.page {
  display: none;
  min-height: 100vh;
}
.page.active {
  display: block;
}

/* ════════════════════════════════════════
       HERO
    ════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 6rem;
  background-image: var(--grad-mesh);
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 11rem;
    padding-bottom: 9rem;
  }
}

.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hero-tag {
    font-size: 0.875rem;
  }
}

.hero-h1 {
  font-weight: 300;
  color: var(--fg);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hero-h1 {
    margin-bottom: 2.5rem;
  }
}
.hero-h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  max-width: 42rem;
  font-size: 1rem;
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 3rem;
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.25rem;
    margin-bottom: 3.5rem;
  }
}
.hero-sub strong {
  color: var(--fg);
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s;
}
@media (min-width: 768px) {
  .hero-cta {
    font-size: 1rem;
  }
}
.hero-cta:hover {
  border-color: var(--fg);
}
.hero-cta span {
  transition: transform 0.2s;
  display: inline-block;
}
.hero-cta:hover span {
  transform: translateX(4px);
}

/* ════════════════════════════════════════
       MANIFESTO
    ════════════════════════════════════════ */
.manifesto {
  background: var(--surface);
  padding: 7rem 0;
}
@media (min-width: 768px) {
  .manifesto {
    padding: 11rem 0;
  }
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-fg);
}

.manifesto .section-label {
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .manifesto .section-label {
    margin-bottom: 4rem;
  }
}

.manifesto blockquote {
  font-weight: 300;
  color: var(--fg);
  font-size: clamp(1.5rem, 3.5vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .manifesto blockquote {
    line-height: 1.15;
  }
}
.manifesto blockquote strong {
  font-weight: 500;
}

/* ════════════════════════════════════════
       CULTURA
    ════════════════════════════════════════ */
.cultura {
  background: var(--bg);
  padding: 7rem 0;
}
@media (min-width: 768px) {
  .cultura {
    padding: 11rem 0;
  }
}

.grid-12 {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .grid-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }
  .col-4 {
    grid-column: span 4;
  }
  .col-8 {
    grid-column: span 8;
  }
}

.cultura-header {
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .cultura-header {
    margin-bottom: 8rem;
  }
}

.section-title {
  font-weight: 300;
  color: var(--fg);
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cultura-row {
  display: grid;
  gap: 1.5rem;
  align-items: baseline;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
@media (min-width: 768px) {
  .cultura-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
    padding-top: 3.5rem;
  }
}
.cultura-row + .cultura-row {
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .cultura-row + .cultura-row {
    margin-top: 5rem;
  }
}

.cultura-label-col {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg);
}
.cultura-label-sub {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(76, 76, 76, 0.8);
  font-weight: 300;
}

.cultura-text {
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--muted-fg);
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .cultura-text {
    font-size: 1.5rem;
  }
}

.valores-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.valores-list li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--fg);
}
@media (min-width: 768px) {
  .valores-list li {
    font-size: 1.5rem;
  }
}
.valores-num {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  color: rgba(76, 76, 76, 0.7);
  width: 1.5rem;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
       ECOSSISTEMA
    ════════════════════════════════════════ */
.ecossistema {
  background: var(--surface);
  padding: 7rem 0;
}
@media (min-width: 768px) {
  .ecossistema {
    padding: 11rem 0;
  }
}

.eco-header {
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .eco-header {
    margin-bottom: 6rem;
  }
}

.eco-cards {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .eco-cards {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }
  .eco-main-col {
    grid-column: span 8;
  }
  .eco-lite-col {
    grid-column: span 4;
  }
}

.eco-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg);
  padding: 2rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .eco-card {
    min-height: 420px;
    padding: 3.5rem;
  }
}

.eco-card-lite {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.eco-card-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0.06;
  pointer-events: none;
}

.eco-dot-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.eco-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
}
.eco-dot-muted {
  background: rgba(76, 76, 76, 0.4);
}

.eco-card-h3 {
  font-weight: 500;
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--fg);
}
.eco-card-p {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.75;
  max-width: 36rem;
}
@media (min-width: 768px) {
  .eco-card-p {
    font-size: 1.125rem;
  }
}

.eco-tags {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-fg);
}
.eco-tags .sep {
  opacity: 0.4;
}

/* ════════════════════════════════════════
       FOOTER
    ════════════════════════════════════════ */
.footer {
  background: #000;
  color: var(--surface);
}
.footer-inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.footer-top {
  display: grid;
  gap: 3.5rem;
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
  }
}

.footer-tagline {
  max-width: 28rem;
  font-size: 0.875rem;
  color: rgba(235, 235, 235, 0.7);
  font-weight: 300;
  line-height: 1.75;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .footer-tagline {
    font-size: 1rem;
  }
}

.footer-connect-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(235, 235, 235, 0.5);
  margin-bottom: 1rem;
}
.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--surface);
  transition: color 0.2s;
}
.footer-insta:hover {
  color: #fff;
}
.footer-insta-arrow {
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-bottom {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(235, 235, 235, 0.5);
  font-weight: 300;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(235, 235, 235, 0.4);
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(235, 235, 235, 0.8);
}

/* ════════════════════════════════════════
       LEGAL PAGES
    ════════════════════════════════════════ */
.legal-main {
  padding-top: 8rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) {
  .legal-main {
    padding-top: 10rem;
    padding-bottom: 8rem;
  }
}

.legal-doc-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}

.legal-h1 {
  font-weight: 300;
  color: var(--fg);
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .legal-h1 {
    margin-bottom: 4rem;
  }
}

.legal-body {
  color: var(--muted-fg);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .legal-body {
    font-size: 1.125rem;
  }
}

.legal-body p {
  margin-bottom: 1.5rem;
}

.legal-body h2 {
  font-weight: 500;
  color: var(--fg);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .legal-body h2 {
    font-size: 1.5rem;
    margin-top: 4rem;
  }
}

.legal-body a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-body a:hover {
  text-decoration: none;
}

.legal-back {
  margin-top: 4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.2s;
  cursor: pointer;
}
.legal-back:hover {
  color: var(--fg);
}


.notfound-main {
  padding-top: 10rem;
  padding-bottom: 8rem;
  text-align: center;
}

.notfound-inner {
  max-width: 42rem;
}

.notfound-title {
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.notfound-sub {
  font-size: 1.125rem;
  color: var(--muted-fg);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.notfound-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.notfound-link {
  font-size: 0.875rem;
  color: var(--muted-fg);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding-bottom: 0.25rem;
  transition: all 0.2s;
}

.notfound-link:hover {
  color: var(--fg);
  border-color: var(--fg);
}
