/* ============================================
   Manifesto Marketing — Stylesheet
   ============================================ */

:root {
  /* Palette */
  --black: #0A0A0A;
  --ink: #141414;
  --gray-900: #1F1F1F;
  --gray-700: #4A4A4A;
  --gray-500: #6B6B6B;
  --gray-300: #C9C9C7;
  --gray-100: #ECEAE4;
  --cream: #F5F2EC;
  --bone: #EFECE4;
  --white: #FFFFFF;

  --mint: #7DD3C0;
  --mint-dark: #5BAFA0;
  --mint-soft: #B8E5DA;
  --mint-tint: rgba(125, 211, 192, 0.12);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --container: 1280px;
  --pad-x: clamp(20px, 5vw, 56px);
  --section-y: clamp(80px, 12vw, 160px);

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

button { border: 0; background: none; cursor: pointer; font-family: inherit; }

::selection { background: var(--mint); color: var(--black); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ============================================
   Loader
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__inner img {
  width: 200px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.95); }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(245, 242, 236, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.06);
  padding: 10px var(--pad-x);
}
.nav__logo img {
  width: 200px;
  height: auto;
  display: block;
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
}
.nav.scrolled .nav__logo img { width: 160px; }
.nav__logo:hover img { transform: scale(1.03); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  letter-spacing: -0.01em;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--mint-dark);
  transition: width 0.3s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.nav__cta {
  background: var(--black);
  color: var(--cream);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__cta:hover { background: var(--mint-dark); color: var(--black); transform: translateY(-1px); }

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(20, 20, 20, 0.08);
}
.nav__lang-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  padding: 2px 4px;
  transition: color 0.25s var(--ease);
}
.nav__lang-link:hover { color: var(--ink); }
.nav__lang-link.is-active { color: var(--mint-dark); }
.nav__lang-sep { color: var(--gray-300); font-size: 11px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad-x) 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.hero__blob--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  top: -120px; right: -80px;
}
.hero__blob--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--mint-soft) 0%, transparent 70%);
  bottom: -120px; left: -120px;
  animation-delay: -9s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--mint-dark);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--black);
  margin-bottom: 36px;
  max-width: 1100px;
}
.hero__title em {
  font-style: normal;
  color: var(--mint-dark);
  font-weight: 600;
  position: relative;
}

.hero__desc {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--gray-700);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 720px;
  padding-top: 40px;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}
.metric { display: flex; flex-direction: column; }
.metric__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline;
}
.metric__sym {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  color: var(--mint-dark);
  line-height: 1;
}
.metric__label {
  font-size: 13px;
  color: var(--gray-700);
  letter-spacing: 0.02em;
  margin-top: 8px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  right: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-700);
  z-index: 1;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gray-700), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -30px; left: 0;
  width: 100%; height: 30px;
  background: linear-gradient(to bottom, transparent, var(--black));
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -30px; }
  100% { top: 60px; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--lg { padding: 20px 34px; font-size: 16px; }

.btn--primary {
  background: var(--black);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--mint-dark);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(91, 175, 160, 0.5);
}
.btn--primary svg { transition: transform 0.35s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(20, 20, 20, 0.18);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--ghost-light {
  color: var(--cream);
  border-color: rgba(245, 242, 236, 0.25);
}
.btn--ghost-light:hover {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}

/* ============================================
   Marquee
   ============================================ */
.marquee {
  background: var(--black);
  color: var(--cream);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.marquee__track span:nth-child(even) { color: var(--mint); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Sections — shared
   ============================================ */
.section__head { margin-bottom: 32px; }
.section__num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-dark);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section__num::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--mint-dark);
}
.section__num--light { color: var(--mint); }
.section__num--light::before { background: var(--mint); }

/* ============================================
   Sobre
   ============================================ */
.sobre {
  padding: var(--section-y) 0;
  background: var(--cream);
}
.sobre__statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 72px;
  max-width: 1100px;
}
.sobre__statement em {
  font-style: normal;
  color: var(--mint-dark);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}
.sobre__col { display: flex; flex-direction: column; gap: 24px; }
.sobre__text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-700);
}
.sobre__text strong { color: var(--black); font-weight: 600; }

.pillar {
  padding: 24px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}
.pillar:last-child { border-bottom: 1px solid rgba(20, 20, 20, 0.1); }
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pillar p { font-size: 15px; color: var(--gray-700); line-height: 1.55; }

/* ============================================
   Serviços
   ============================================ */
.servicos {
  padding: var(--section-y) 0;
  background: var(--bone);
  border-top: 1px solid rgba(20, 20, 20, 0.06);
}
.servicos__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 72px;
  max-width: 1100px;
}
.servicos__title em {
  font-style: normal;
  color: var(--mint-dark);
}

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

.card {
  background: var(--cream);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 24px;
  padding: 44px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--mint-tint), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: 0 20px 40px -20px rgba(91, 175, 160, 0.3);
}
.card:hover::before { opacity: 1; }

.card__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--mint-dark);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.card__desc {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 24px;
}
.card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__list li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 22px;
  position: relative;
}
.card__list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--mint-dark);
  font-weight: 600;
}

/* ============================================
   Manifesto Strip
   ============================================ */
.manifesto-strip {
  background: var(--cream);
  padding: clamp(100px, 16vw, 200px) 0;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}
.manifesto-strip__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 1200px;
}
.manifesto-strip__text em {
  font-style: normal;
  color: var(--mint-dark);
}

/* ============================================
   Contato
   ============================================ */
.contato {
  background: var(--black);
  color: var(--cream);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.contato::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--mint-tint), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.contato__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--cream);
  margin-bottom: 36px;
  position: relative;
}
.contato__title em {
  font-style: normal;
  color: var(--mint);
}
.contato__desc {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--gray-300);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.55;
  position: relative;
}
.contato__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  position: relative;
}

.contato__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(245, 242, 236, 0.12);
  position: relative;
}
.contato__info > div { display: flex; flex-direction: column; gap: 6px; }
.contato__info a { color: var(--cream); font-weight: 500; transition: color 0.3s var(--ease); }
.contato__info a:hover { color: var(--mint); }
.contato__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mint);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--gray-300);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(245, 242, 236, 0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__brand p {
  margin-top: 24px;
  font-size: 15px;
  max-width: 320px;
  line-height: 1.5;
}
.footer__logo { height: 36px; width: auto; }
.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--cream);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--gray-300);
}
.footer__col a:hover { color: var(--mint); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 242, 236, 0.08);
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   Floating WhatsApp
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55);
  z-index: 50;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation: waPop 0.6s var(--ease) 1.5s both;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.5;
  animation: waRing 2s ease-out infinite;
}
@keyframes waRing {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes waPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.reveal-line.in > span {
  transform: translateY(0);
}
.reveal-line:nth-child(2) > span { transition-delay: 0.12s; }
.reveal-line:nth-child(3) > span { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-line > span { opacity: 1; transform: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .sobre__grid { grid-template-columns: 1fr; gap: 48px; }
  .servicos__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contato__info { grid-template-columns: 1fr 1fr; }
  .hero__metrics { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 720px) {
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 99;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__menu a { font-size: 22px; }
  .nav__toggle { display: flex; position: relative; z-index: 100; }

  .hero { padding: 130px 24px 60px; min-height: auto; }
  .hero__ctas .btn { flex: 1; justify-content: center; }
  .hero__metrics { grid-template-columns: 1fr; gap: 20px; }

  .card { padding: 32px 28px; }
  .contato__info { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 24px; height: 24px; }
}

@media (max-width: 720px) {
  .nav__logo img { width: 160px; }
  .nav.scrolled .nav__logo img { width: 140px; }
}

@media (max-width: 480px) {
  .nav__logo img { width: 140px; }
  .nav.scrolled .nav__logo img { width: 120px; }
  .hero__title { font-size: clamp(42px, 12vw, 64px); }
  .hero__desc { font-size: 16px; }
  .marquee__track { font-size: 22px; gap: 32px; }
}
