/* ===== Design tokens ===== */
:root {
  --navy: #2a2c5c;
  --navy-deep: #232548;
  --navy-soft: #34376e;
  --orange: #ec5e2a;
  --orange-dark: #d84d1c;
  --yellow: #f2b134;
  --white: #ffffff;
  --cream: #f6f5f1;
  --ink: #2a2c5c;
  --muted: #6b6e8f;
  --muted-light: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.35);

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(20, 21, 45, 0.18);
  --max: 1280px;
  --font: "Poppins", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.1; letter-spacing: -0.5px; }

p { margin: 0 0 16px; }

a { color: inherit; text-decoration: none; }

strong { font-weight: 600; }

.accent { color: var(--orange); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(236, 94, 42, 0.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.show-desktop-only { display: none; }
.show-mobile-only { display: inline-flex; }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; }
.logo-img { display: block; height: 38px; width: auto; }
.logo-img-footer { height: 32px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 44, 92, 0.08);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .logo {
  flex: 1 1 auto;
  min-width: 0;
}
.site-header .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--yellow); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(236, 94, 42, 0.22), transparent 60%),
    radial-gradient(700px 600px at 10% 110%, rgba(52, 55, 110, 0.9), transparent 60%);
  opacity: 0.9;
}
@media (min-width: 901px) {
  .hero-bg {
    background-image: url("assets/freud.avif");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }
  .hero-bg::after {
    opacity: 1;
    background: linear-gradient(
      to right,
      rgba(35, 37, 72, 0.94) 0%,
      rgba(35, 37, 72, 0.82) 38%,
      rgba(35, 37, 72, 0.45) 62%,
      rgba(35, 37, 72, 0.15) 100%
    );
  }
  .show-desktop-only { display: inline-flex; }
  .show-mobile-only { display: none !important; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }
  .hero-content { max-width: none; }
  .lead { max-width: none; margin-bottom: 24px; }
  .hero .form-embed {
    min-height: auto;
  }
  .hero {
    min-height: 800px;
  }
  .hero-inner {
    min-height: 800px;
    padding-block: 0;
  }
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.hero-content { max-width: 620px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; }
.hero h1 .accent { font-weight: 600; }
.lead {
  font-size: 1.15rem;
  color: var(--muted-light);
  margin: 24px 0 32px;
  max-width: 560px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Tese ===== */
.tese {
  background: var(--cream);
  padding: 80px 0;
  position: relative;
}
.tese-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 54px 56px;
  box-shadow: var(--shadow);
}
.block-head { margin-bottom: 26px; }
.tese h2 { font-size: clamp(2rem, 4vw, 3rem); }
.subtitle { color: var(--muted-light); font-size: 1.2rem; margin-top: 6px; }
.tese p { color: var(--muted-light); }
.tese-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.tese-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted-light);
}
.tese-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.tese-list strong { color: #fff; }
.tese-quote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-style: italic;
  font-weight: 500;
  color: #fff;
}

/* ===== Stats ===== */
.stats { background: var(--orange); color: #fff; padding: 48px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; line-height: 1; }
.stat-label { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }

/* ===== Marcos ===== */
.marcos { background: var(--navy); color: #fff; padding: 90px 0; }
.marcos-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.marcos-intro h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.divider { display: block; width: 70px; height: 3px; background: var(--orange); margin: 22px 0; }
.marcos-intro p { color: var(--muted-light); }
.marcos-intro strong { color: #fff; }

.marcos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.marco-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.marco-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.6); }
.marco-badge {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.marco-step { display: block; color: var(--orange); font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; }
.progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--orange); border-radius: 999px; }

/* ===== CTA / Form ===== */
.cta { background: var(--orange); color: #fff; padding: 90px 0; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.cta-text h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 8px 0 18px; }
.cta-text p { color: rgba(255, 255, 255, 0.92); }
.cta-bullets { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.cta-bullets li { position: relative; padding-left: 28px; }
.cta-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--navy);
}

.form-embed {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-height: 320px;
  overflow: hidden;
}
.form-instruction {
  margin: 0 0 24px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.45;
}
.form-instruction strong { color: var(--orange); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: var(--muted-light); padding: 46px 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-footer p { margin: 0; font-size: 0.92rem; }
.site-footer small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .form-embed--hero { display: none; }
  .hero-inner { padding: 70px 24px 80px; min-height: auto; }
  .marcos-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
}

@media (max-width: 560px) {
  .site-header-inner {
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-header .logo-img {
    height: 30px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }
  .site-header .btn {
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 0.78rem;
    line-height: 1.2;
  }
  .tese-card { padding: 36px 26px; }
  .marcos-grid { grid-template-columns: 1fr; }
  .form-embed { padding: 16px; }
  .hero-cta .btn { width: 100%; }
}
