/* =============================================
   SKOOL SCALING — Pixel-perfect from production
   Extracted via Chrome DevTools computed styles
   ============================================= */

:root {
  --color-text: #000;
  --color-text-secondary: #3b3b3b;
  --color-text-body: #4a4a4a;
  --color-text-muted: #999998;
  --color-text-subtle: rgba(38, 38, 38, 0.7);
  --color-bg: #fff;
  --color-bg-soft: #fcfcfc;
  --color-bg-alt: #f5f5f5;
  --color-brand: #4d4ea7;
  --color-brand-light: #9abbf5;

  --font-family: 'Inter', sans-serif;

  --radius-sm: 12px;
  --radius-md: 15px;
  --radius-pill: 50px;
  --radius-btn: 28px;

  --shadow-pill:
    rgba(0, 0, 0, 0.18) 0px 0.6px 0.6px -1.25px, rgba(0, 0, 0, 0.16) 0px 2.3px 2.3px -2.5px,
    rgba(0, 0, 0, 0.1) 0px 10px 10px -3.75px;
  --shadow-card:
    rgba(0, 0, 0, 0.27) 0px 0.6px 1.6px -1.17px, rgba(0, 0, 0, 0.24) 0px 2.3px 6px -2.33px;
  --shadow-vsl:
    rgba(0, 0, 0, 0.17) 0px 0.6px 1.1px -1.17px, rgba(0, 0, 0, 0.15) 0px 2.3px 4.1px -2.33px,
    rgba(0, 0, 0, 0.08) 0px 10px 18px -3.5px;
  --shadow-btn:
    rgba(0, 0, 0, 0.41) 0px 0.6px 3px -1.67px, rgba(0, 0, 0, 0.34) 0px 2.3px 11.4px -3.33px;

  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* --- Page Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

/* ================================================
   HEADER — white bg, logo centered, 60px tall
   ================================================ */
.site-header {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-bg);
}

.site-header .logo {
  height: 29px;
  width: auto;
}

/* ================================================
   HERO — centered content, 25px gap between items
   Production: padding 20px 100px 40px, gap 25px
   ================================================ */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 20px 40px;
  gap: 25px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 940px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.hero h1 {
  font-size: 45px;
  font-weight: 700;
  line-height: 63px;
  letter-spacing: -2px;
  max-width: 940px;
}

.hero .subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-subtle);
  line-height: 25.2px;
}

/* ================================================
   SOCIAL PROOF PILL — 600px, 48px, pill shape
   ================================================ */
.social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 600px;
  max-width: 100%;
  height: 48px;
  padding: 0 20px;
  justify-content: center;
  background: var(--color-bg-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  white-space: nowrap;
  overflow: hidden;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -6px;
  object-fit: cover;
}

.avatars img:first-child {
  margin-left: 0;
}

.social-proof p {
  font-size: 14px;
  color: #717171;
}

.social-proof strong {
  color: var(--color-text);
  font-weight: 700;
}

/* ================================================
   VSL / LOOM — 940×554, radius 12px, padding 20px
   ================================================ */
.vsl-container {
  position: relative;
  width: 100%;
  max-width: 940px;
  aspect-ratio: 940 / 554;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-alt);
  padding: 20px;
  box-shadow: var(--shadow-vsl);
}

.vsl-container > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.loom-facade,
.vimeo-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  background: #1a1a1a;
}

.loom-facade img,
.vimeo-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loom-facade iframe,
.vimeo-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================================
   CTA BUTTON — gradient, inside white pill wrapper
   Outer: 295×76, radius 50px, bg #fcfcfc
   Inner: padding 15px 32px, radius 28px, gradient
   ================================================ */
.cta-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-pill);
  margin-top: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  background: linear-gradient(var(--color-brand-light) 0%, var(--color-brand) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-btn);
  transition:
    transform var(--transition),
    filter var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.cta-button:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
  box-shadow:
    rgba(77, 78, 167, 0.4) 0px 4px 20px,
    rgba(0, 0, 0, 0.3) 0px 2px 8px -2px;
}

/* ================================================
   DASHBOARDS — bg #f5f5f5, 42px title, scrollable
   ================================================ */
.dashboards {
  width: 100%;
  height: 686px;
  padding: 40px 20px;
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.section-icon {
  display: block;
  width: 92px;
  height: 62px;
  object-fit: contain;
}

.dashboards h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 50.4px;
  text-align: center;
}

.dashboards .section-desc {
  font-size: 18px;
  color: var(--color-text-subtle);
  line-height: 25.2px;
  max-width: 869px;
  text-align: center;
}

.dashboard-carousel-mask {
  width: 986px;
  max-width: 100%;
  height: 362px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 12.5%,
    rgb(0, 0, 0) 87.5%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 12.5%,
    rgb(0, 0, 0) 87.5%,
    rgba(0, 0, 0, 0) 100%
  );
}

.dashboard-grid {
  display: flex;
  gap: 10px;
  width: max-content;
}

.dashboard-grid img {
  width: 504px;
  height: 288px;
  flex: 0 0 504px;
  scroll-snap-align: start;
  border-radius: 0;
  transition: transform var(--transition);
}

.dashboard-grid img:hover {
  transform: scale(1.02);
}

/* ================================================
   CASES — vertical list, 970px cards, gap 20px
   ================================================ */
.cases {
  width: 100%;
  padding: 40px 0;
  background: linear-gradient(180deg, #f5f5f5 0%, #f8f8f8 25.62%, #fff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.section-header {
  text-align: center;
  padding: 40px 0;
  width: 100%;
}

.section-header .section-tag + h2 {
  margin-top: 10px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 264px;
  height: 48px;
  padding: 0 20px;
  background: #f7f7f7;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 600;
}

/* --- Testimonial Card --- */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 20px;
}

.testimonial-card {
  position: relative;
  width: 100%;
  max-width: 970px;
  min-height: 648px;
  display: grid;
  grid-template-columns: 310px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 20px;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  background: var(--color-bg);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://framerusercontent.com/images/gN8clsPTWZORopBARgR5XeFYuI.jpg?width=2000&height=2000')
    center / cover no-repeat;
  border-radius: inherit;
  pointer-events: none;
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

/* Placeholder for cards without portrait video */
.testimonial-media-placeholder {
  grid-row: 1 / -1;
  height: 556px;
  border-radius: var(--radius-sm);
}

/* Left: vertical video, 310×556 (original production size) */
.testimonial-media {
  grid-row: 1 / -1;
  height: 556px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.testimonial-media > iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonial-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right: content column */
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-width: 0;
  text-align: left;
  grid-column: 2;
  grid-row: 2;
}

/* Author line */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  grid-column: 2;
  grid-row: 1;
}

.testimonial-author .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.testimonial-author span {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.testimonial-author span::before {
  content: ' | ';
}

/* Headline: 29px/600 */
.testimonial-content h3 {
  font-size: 29px;
  font-weight: 600;
  line-height: 34.8px;
  color: var(--color-text);
}

/* Description: 18px/400, #4a4a4a */
.testimonial-content > p {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-body);
  line-height: 25.2px;
}

/* "Mira este vídeo..." intro */
.result-intro {
  font-size: 18px;
  color: var(--color-text-body);
}

/* Result video: horizontal, ~480×272 */
.testimonial-result {
  width: 480px;
  max-width: 100%;
}

.testimonial-result iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.testimonial-result .vimeo-facade {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.testimonial-result img {
  width: 100%;
  border-radius: 8px;
}

/* ================================================
   MASTERMIND — carousel, 587×465 cards, gap 10px
   ================================================ */
.mastermind {
  width: 100%;
  padding: 40px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mastermind .section-header p {
  font-size: 18px;
  color: var(--color-text-subtle);
  max-width: 700px;
  margin: 8px auto 0;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1220px;
}

.carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.mastermind-card {
  flex: 0 0 587px;
  height: 465px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

/* Card header: Ss logo + "Mastermind" */
.mastermind-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.mastermind-card-header img {
  width: 28px;
  height: auto;
  object-fit: contain;
}

/* Card video */
.mastermind-video {
  flex: 1;
  overflow: hidden;
}

.mastermind-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Card footer: avatar + name + amount */
.mastermind-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  height: 44px;
}

.mastermind-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mastermind-meta {
  font-size: 14px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mastermind-meta strong {
  font-weight: 700;
  color: var(--color-text);
}

.mastermind-meta em {
  font-style: italic;
  color: var(--color-text-muted);
}

/* Carousel controls — absolutely positioned on sides */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 10px;
}

.carousel-controls button {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background var(--transition);
}

.carousel-controls button:hover {
  background: rgba(0, 0, 0, 0.35);
}

.carousel-controls button img {
  width: 40px;
  height: 40px;
}

/* ================================================
   SCREENSHOTS — full-width stacked, 970px, no gap
   ================================================ */
.screenshots {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  padding: 0;
}

.screenshots-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.screenshots-grid figure {
  margin: 0;
}

.screenshots-grid img {
  width: 100%;
  border-radius: 0;
  cursor: pointer;
}

/* ================================================
   FOOTER — 246px, centered, 9-10px text
   ================================================ */
.site-footer {
  width: 100%;
  height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 60px 20px;
  color: #717171;
}

.site-footer p {
  font-size: 9px;
  font-weight: 400;
}

.site-footer a {
  font-size: 10px;
  color: var(--color-text-muted);
  text-decoration: underline;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--color-brand);
}

/* ================================================
   LIGHTBOX
   ================================================ */
#overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#overlay.active {
  display: flex;
}

#overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 20px 16px 30px;
    gap: 16px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -1px;
  }

  .hero .subtitle {
    font-size: 16px;
  }

  .social-proof {
    width: auto;
    max-width: 100%;
    height: auto;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    gap: 8px;
    font-size: 13px;
  }

  .social-proof p {
    font-size: 13px;
  }

  .avatars img {
    width: 24px;
    height: 24px;
  }

  .dashboards h2,
  .section-header h2 {
    font-size: 26px;
  }

  .dashboards,
  .cases,
  .mastermind,
  .screenshots {
    max-width: 100vw;
    overflow: hidden;
  }

  .dashboards .section-desc {
    font-size: 15px;
    padding: 0 16px;
  }

  .testimonials-grid {
    padding: 0 12px;
  }

  .testimonial-card {
    grid-template-columns: 140px 1fr;
    gap: 8px;
    padding: 14px;
    min-height: auto;
  }

  .testimonial-author {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .testimonial-media {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .testimonial-content {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
    gap: 4px;
    justify-content: flex-start;
  }

  .testimonial-content h3 {
    font-size: 15px;
    line-height: 20px;
  }

  .testimonial-content > p,
  .result-intro {
    font-size: 12px;
    line-height: 1.3;
  }

  .testimonial-result {
    width: 100%;
  }

  .testimonial-author strong,
  .testimonial-author span {
    font-size: 13px;
  }

  .testimonial-author {
    gap: 8px;
  }

  .testimonial-author strong,
  .testimonial-author span {
    font-size: 13px;
  }

  .testimonial-content h3 {
    font-size: 16px;
    line-height: 21px;
  }

  .testimonial-content > p,
  .result-intro {
    font-size: 13px;
    line-height: 1.3;
  }

  .testimonial-result {
    width: 100%;
  }

  .testimonial-result iframe,
  .testimonial-result img {
    border-radius: 6px;
  }

  .mastermind {
    padding: 40px 20px;
  }

  .mastermind-card {
    flex: 0 0 300px;
    height: auto;
  }

  .dashboard-grid img {
    flex: 0 0 300px;
  }

  .site-footer {
    height: auto;
  }
}

@media (max-width: 480px) {
  .vsl-container {
    padding: 10px;
  }

  .testimonial-author strong,
  .testimonial-author span {
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding: 20px 100px 40px;
  }

  .mastermind {
    padding: 40px 100px;
  }
}
