/* ============================================
   Smart Sales · Homepage
   Identidade visual: Vila Colab + Smart Sales
   ============================================ */

@font-face {
  font-family: 'Urbancat';
  src: url('assets/fonts/Urbancat-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbancat';
  src: url('assets/fonts/Urbancat-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Urbancat';
  src: url('assets/fonts/Urbancat-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* paleta oficial */
  --color-forest:   #01281d;
  --color-blue:     #537595;
  --color-lime:     #cef17b;
  --color-stone:    #c0bdad;
  --color-clay:     #9e703d;
  --color-mint:     #e7f5df;
  --color-cream:    #f5f2eb;
  --color-white:    #ffffff;

  /* aliases semânticos */
  --bg:             var(--color-cream);
  --bg-alt:         var(--color-mint);
  --bg-dark:        var(--color-forest);
  --ink:            var(--color-forest);
  --ink-soft:       #2d4a3f;
  --ink-muted:      #5a6f66;
  --accent:         var(--color-lime);
  --accent-deep:    #b4d860;

  /* tipografia */
  --font-display:   'Fraunces', 'Urbancat', Georgia, serif;
  --font-body:      'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --container:      1180px;
  --gutter:         clamp(20px, 4vw, 48px);
  --radius:         18px;
  --radius-sm:      10px;
  --shadow:         0 30px 60px -30px rgba(1, 40, 29, 0.25);
  --shadow-soft:    0 8px 24px -12px rgba(1, 40, 29, 0.15);

  --ease:           cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
ul { list-style: none; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Helpers
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 24px;
}
.eyebrow-light { color: rgba(245, 242, 235, 0.7); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-blue);
}
.display-sm {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.section-title em {
  font-style: italic;
  color: var(--color-blue);
}

.section-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: 20px;
}

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(206, 241, 123, 0.6);
}
.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 16px 40px -12px rgba(206, 241, 123, 0.7);
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}
.btn-dark:hover { background: #022e22; }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-ghost-light {
  color: var(--bg);
  border-color: rgba(245, 242, 235, 0.4);
}
.btn-ghost-light:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 19px 36px; font-size: 16px; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(245, 242, 235, 0);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(245, 242, 235, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(1, 40, 29, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  height: 42px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.scrolled .brand img { height: 34px; }

.site-nav ul {
  display: flex;
  gap: 36px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}
.site-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 32px var(--gutter) 48px;
  box-shadow: 0 16px 40px -20px rgba(1, 40, 29, 0.25);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 19px;
  border-bottom: 1px solid rgba(1, 40, 29, 0.08);
}
.mobile-nav .btn { margin-top: 12px; border: none; }

@media (max-width: 900px) {
  .site-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding-top: clamp(120px, 14vh, 160px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-bottom: 80px;
}

.hero-copy { max-width: 620px; }
.hero-copy .lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 28px 0 36px;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-authority {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid rgba(1, 40, 29, 0.12);
  flex-wrap: wrap;
}
.hero-authority strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--color-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-authority span {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 26ch;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}
.hero-visual:hover img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: 999px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.badge-line {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.badge-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4 / 4.5; order: -1; max-height: 460px; }
  .hero-authority { gap: 12px; }
}

/* ============================================
   Manifesto
   ============================================ */
.manifesto {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bg);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.manifesto-copy { position: sticky; top: 120px; }
.manifesto-text {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.manifesto-text p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
}
.manifesto-text em {
  font-style: italic;
  color: var(--color-blue);
}
.manifesto-text strong {
  font-weight: 600;
  color: var(--ink);
}

.manifesto-principles {
  display: grid;
  gap: 18px;
}
.manifesto-principles li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 20px;
  padding: 28px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(1, 40, 29, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.manifesto-principles li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.manifesto-principles .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--color-blue);
  line-height: 1;
  padding-top: 2px;
}
.manifesto-principles .principle-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.manifesto-principles h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.manifesto-principles p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-copy { position: static; }
}

/* ============================================
   Produtos
   ============================================ */
.produtos {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bg-alt);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(1, 40, 29, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  min-height: 320px;
}
.product-card .product-sub {
  flex: 1;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(1, 40, 29, 0.12);
}
.product-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.product-card.featured .product-tag {
  background: var(--accent);
  color: var(--ink);
}
.product-card.featured .product-price,
.product-card.featured .product-title,
.product-card.featured .product-sub {
  color: var(--bg);
}
.product-card.featured .product-desc,
.product-card.featured .product-list li {
  color: rgba(245, 242, 235, 0.78);
}
.product-card.featured .product-list li::before {
  background: var(--accent);
}
.product-card.featured .product-title em { color: var(--accent); }

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--color-mint);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
}
.product-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--color-blue);
}
.product-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product-title em {
  font-style: italic;
  color: var(--color-blue);
}
.product-sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.product-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  flex: 1;
}
.product-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.product-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
}
.product-card .btn { margin-top: 8px; }

@media (max-width: 980px) {
  .products-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ============================================
   Para quem · Diagnóstico
   ============================================ */
.para-quem {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bg);
}
.diagnostico-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.diagnostico-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(206, 241, 123, 0.14), transparent 60%);
  pointer-events: none;
}
.diagnostico-copy {
  position: relative;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.diagnostico-copy .eyebrow { color: rgba(245, 242, 235, 0.7); margin-bottom: 0; }
.diagnostico-copy .section-title { color: var(--bg); max-width: 18ch; }
.diagnostico-copy .section-title em,
.diagnostico-copy strong { color: var(--accent); }
.diagnostico-copy .section-lede { color: rgba(245, 242, 235, 0.82); margin-top: 0; }
.diagnostico-copy .btn { align-self: flex-start; margin-top: 8px; }

/* ============================================
   Provas sociais · Cases YouTube
   ============================================ */
.provas {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bg-alt);
}
.cases-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--gutter);
  margin: 0 calc(-1 * var(--gutter));
  padding: 8px var(--gutter) 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--ink-muted) transparent;
}
.cases-row::-webkit-scrollbar { height: 10px; }
.cases-row::-webkit-scrollbar-track { background: transparent; }
.cases-row::-webkit-scrollbar-thumb {
  background: rgba(1, 40, 29, 0.18);
  border-radius: 999px;
}
.cases-row::-webkit-scrollbar-thumb:hover { background: rgba(1, 40, 29, 0.3); }

.case-link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: block;
}
.case-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case-link img {
  display: block;
  height: clamp(220px, 32vw, 360px);
  width: auto;
  max-width: none;
}

@media (max-width: 600px) {
  .case-link img { height: 200px; }
}

/* ============================================
   Quem somos
   ============================================ */
.quem-somos {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bg);
}
.quem-somos-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.quem-somos-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.quem-somos-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quem-somos-copy {
  max-width: 600px;
}
.quem-somos-text {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quem-somos-text p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
}
.quem-somos-text em {
  font-style: italic;
  color: var(--color-blue);
}
.quem-somos-text strong {
  font-weight: 600;
  color: var(--ink);
}
.quem-somos-sign {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(1, 40, 29, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quem-somos-sign strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quem-somos-sign span {
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .quem-somos-grid { grid-template-columns: 1fr; }
  .quem-somos-visual { max-height: 520px; aspect-ratio: 4 / 4.2; }
}
/* ============================================
   Carousel Provas Sociais
   ============================================ */
.carousel-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.carousel-container::before,
.carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt), transparent);
}
.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt), transparent);
}

.carousel-track {
  display: inline-flex;
  gap: 20px;
  animation: scroll 30s linear infinite;
  padding-left: 20px;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-track img {
  height: clamp(200px, 25vw, 300px);
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  object-fit: contain;
  background: var(--color-white);
  flex-shrink: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 10px)); }
}

@media (max-width: 600px) {
  .carousel-container::before,
  .carousel-container::after {
    width: 40px;
  }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink);
  color: rgba(245, 242, 235, 0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 242, 235, 0.1);
}
.footer-brand img {
  height: 42px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  max-width: 22ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom small {
  font-size: 13px;
  color: rgba(245, 242, 235, 0.5);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

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