/* ============================================================
   PAULO BASSANNI — Página de Captura
   Cores extraídas do Figma:
     dark    : #1A130C / #0F0A06
     brown-mid: #4D3D2C  (cor do background da imagem hero mobile)
     cream   : #F5EFE6 (seções claras)
     black   : #0A0A0A (depoimentos)
     gold    : #C79129 → #F1D27A → #EEAB45 (gradient)
   Fonte: Lato (300/400/700/900)
   ============================================================ */

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

:root {
  --bg-cream: #F5EFE6;
  --bg-cream-soft: #FAF5EC;
  --bg-dark: #1A130C;
  --bg-dark-2: #2A1F14;
  --bg-brown-mid: #4D3D2C;
  --bg-black: #0A0A0A;

  --text-dark: #1A130C;
  --text-soft: #5A4A3A;
  --text-cream-soft: #C8B79E;

  --gold-1: #C79129;
  --gold-2: #F1D27A;
  --gold-3: #EEAB45;
  --gradient-gold: linear-gradient(90deg, #C79129 0%, #F1D27A 50%, #EEAB45 100%);
  --gradient-gold-btn: linear-gradient(180deg, #F1D27A 0%, #E0B860 50%, #C79129 100%);

  --line-gold: rgba(241, 210, 122, 0.25);
  --max-width: 1280px;
  --space: clamp(72px, 8vw, 128px);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #FFFFFF;
  color: var(--text-dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- botão dourado ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border: none;
  border-radius: 999px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-gold {
  background: var(--gradient-gold-btn);
  color: #1A130C;
  box-shadow: 0 14px 28px -10px rgba(199, 145, 41, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 60px 0 60px;
  display: flex;
  align-items: center;
  background: #1A130C;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(26, 19, 12, 0.92) 0%,
    rgba(26, 19, 12, 0.78) 38%,
    rgba(26, 19, 12, 0.18) 70%,
    rgba(26, 19, 12, 0) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 620px; color: #F5EFE6; }

.hero-logo {
  width: clamp(130px, 11vw, 170px);
  height: auto;
  margin-bottom: 32px;
  display: block;
}

.hero-title {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 54px);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero-sub {
  font-weight: 400;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: #F5EFE6;
  margin-bottom: 18px;
  max-width: 540px;
}
.hero-tag {
  font-size: 14px;
  font-weight: 400;
  color: #F5EFE6;
  margin-bottom: 24px;
  opacity: 0.92;
}

/* ---------- form hero ---------- */
.hero-form {
  display: grid;
  gap: 14px;
  max-width: 540px;
}
.hero-form .field, .cta-form .field {
  position: relative;
  background: rgba(245, 239, 230, 0.06);
  border: 1px solid rgba(245, 239, 230, 0.18);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.hero-form .field:focus-within,
.cta-form .field:focus-within {
  border-color: var(--gold-3);
  background: rgba(245, 239, 230, 0.1);
}
.hero-form input, .cta-form input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 22px;
  font-size: 15px;
  font-family: inherit;
  color: #F5EFE6;
  outline: none;
}
.hero-form input::placeholder, .cta-form input::placeholder {
  color: rgba(245, 239, 230, 0.55);
  font-weight: 400;
}

/* ---------- field telefone com select de país ---------- */
.field-phone { display: flex; align-items: stretch; }

.phone-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23F5EFE6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    no-repeat right 14px center;
  border: none;
  border-right: 1px solid rgba(245, 239, 230, 0.18);
  padding: 0 32px 0 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #F5EFE6;
  cursor: pointer;
  outline: none;
  min-width: 110px;
}
.phone-select option {
  color: #1A130C;
  background: #FFFFFF;
}
.field-phone input { padding-left: 14px !important; }

.hero-form .btn { margin-top: 6px; padding: 18px 24px; }
.form-success {
  background: rgba(241, 210, 122, 0.15);
  border: 1px solid var(--gold-3);
  color: var(--gold-2);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  margin-top: 6px;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: 14px;
  color: #F5EFE6;
  font-weight: 400;
}
.hero-date svg { width: 18px; height: 18px; color: var(--gold-2); }

/* ============================================================
   DOR / IDENTIFICAÇÃO
   ============================================================ */
.pain {
  background: var(--bg-cream);
  padding: var(--space) 0;
}
.pain-title {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 56px;
  color: #2C2418;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.pain-card {
  background: var(--bg-cream-soft);
  border-radius: 16px;
  padding: 32px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 18px 40px -28px rgba(80, 60, 30, 0.25);
}
.pain-icon {
  background: var(--gold-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 6px 14px -4px rgba(199, 145, 41, 0.45);
}
.pain-icon svg { width: 22px; height: 22px; }
.pain-icon-sm {
  width: 56px; height: 56px;
  border-radius: 12px;
}
.pain-card p {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: #6E5E4A;
}
.pain-cta {
  text-align: center;
  margin-top: 56px;
  font-size: clamp(16px, 1.2vw, 19px);
  color: #2C2418;
  font-weight: 400;
}
.pain-cta strong { font-weight: 900; color: #1A130C; }

/* ============================================================
   APRENDIZADO
   ============================================================ */
.learn {
  background: var(--bg-cream-soft);
  padding: var(--space) 0 56px;
}
.learn-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.learn-title {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.18;
  color: #1A130C;
}
.learn-title-quote {
  display: inline-block;
  font-size: 1em;
  margin-right: 2px;
}

.learn-list {
  list-style: none;
  display: grid;
  gap: 18px;
}
.learn-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: stretch;
  background: var(--bg-cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px -22px rgba(80, 60, 30, 0.25);
}
.learn-icon {
  background: var(--gold-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.learn-icon svg { width: 38px; height: 38px; }
.learn-item p {
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #5A4A3A;
}

.learn-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: clamp(15px, 1.1vw, 18px);
  color: #8A7A6A;
  font-weight: 400;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials {
  background: var(--bg-dark);
  padding: var(--space) 0;
}
.testimonials-title {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 38px);
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 56px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 24px 50px -25px rgba(0, 0, 0, 0.5);
}
.testimonial-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ============================================================
   QUEM É PAULO BASSANNI
   ============================================================ */
.about {
  background: var(--bg-cream-soft);
  padding: var(--space) 0;
}
.about-inner {
  background: var(--bg-dark);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}
.about-copy {
  padding: clamp(40px, 5vw, 72px);
  color: #F5EFE6;
}
.about-title {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.05;
  margin-bottom: 32px;
  color: #F5EFE6;
  letter-spacing: 0.02em;
}
.about-title .text-gradient { font-weight: 900; }
.about-copy p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #E0D5C2;
  margin-bottom: 18px;
}
.about-photo {
  position: relative;
  background: #2A1F14;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--bg-cream-soft);
  padding: var(--space) 0;
}

.cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-cream);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(80, 60, 30, 0.25);
}
.cta-card-top {
  background: var(--bg-dark);
  color: #F5EFE6;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 16px;
  margin: 16px;
}
.cta-card-top svg {
  width: 36px; height: 36px;
  color: var(--gold-2);
  flex-shrink: 0;
}
.cta-card-top p {
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.45;
}
.cta-card-top strong { font-weight: 900; }

.cta-card-body {
  padding: 12px 32px 36px;
  text-align: center;
}
.cta-headline {
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 700;
  color: #1A130C;
  margin-bottom: 8px;
  line-height: 1.4;
}
.cta-sub {
  font-size: 14px;
  color: #6E5E4A;
  margin-bottom: 24px;
  font-weight: 400;
}

.cta-form {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form .field {
  background: #FFFFFF;
  border: 1px solid rgba(80, 60, 30, 0.15);
}
.cta-form .field:focus-within {
  background: #FFFFFF;
  border-color: var(--gold-3);
}
.cta-form input {
  color: #1A130C;
}
.cta-form input::placeholder {
  color: rgba(110, 94, 74, 0.65);
}
.cta-form .phone-select {
  color: #1A130C;
  border-right-color: rgba(80, 60, 30, 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%231A130C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0A0A0A;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-cream-soft);
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-logo span {
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #8A7A6A;
}
.footer-copy {
  color: #8A7A6A;
  font-size: 13px;
}

/* ============================================================
   RESPONSIVO — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 0 60px;
    min-height: auto;
  }
  .hero-bg img { object-position: center top; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(26, 19, 12, 0.4) 0%,
      rgba(26, 19, 12, 0.85) 55%,
      rgba(26, 19, 12, 0.95) 100%);
  }
  .hero-copy { max-width: 100%; padding-top: 36vh; }

  .pain-cards { grid-template-columns: 1fr; max-width: 460px; }

  .learn-inner { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-photo { min-height: 360px; }
}

/* ============================================================
   RESPONSIVO — Mobile
   ============================================================ */
@media (max-width: 600px) {
  :root { --space: 56px; }

  /* respiro lateral consistente em toda a página + safe-area-inset
     para iPhones com notch */
  .container {
    padding-left: max(28px, env(safe-area-inset-left));
    padding-right: max(28px, env(safe-area-inset-right));
  }

  /* HERO MOBILE: texto no topo (sobre fundo marrom da imagem),
     foto naturalmente embaixo, sem overlay/gradient */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0;
    background: var(--bg-brown-mid);
    align-items: stretch;
    overflow: visible;
  }
  .hero::before { display: none; }
  .hero-bg {
    position: relative;
    inset: auto;
    order: 2;
    height: auto;
    width: 100%;
    line-height: 0;
  }
  .hero-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .hero-inner {
    order: 1;
    padding-top: 48px;
    padding-bottom: 28px;
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
  .hero-copy {
    max-width: 480px;
    margin: 0 auto;
    padding-top: 0;
    text-align: center;
  }
  .hero-logo {
    width: 144px;
    margin: 0 auto 24px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.005em;
  }
  .hero-title br { display: none; }
  .hero-sub {
    font-size: 16.5px;
    line-height: 1.5;
    margin: 0 auto 14px;
    max-width: 380px;
    opacity: 0.92;
  }
  .hero-sub br { display: none; }
  .hero-tag {
    font-size: 12.5px;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
  }
  .hero-form {
    margin: 0 auto;
    width: 100%;
  }
  .hero-form .field { font-size: 15px; }
  .hero-form input { padding: 15px 20px; }
  .phone-select { padding: 0 30px 0 18px; min-width: 96px; font-size: 13.5px; }
  .hero-date {
    margin-top: 20px;
    font-size: 12.5px;
    padding: 9px 16px;
    line-height: 1.3;
  }
  .hero-date svg { width: 16px; height: 16px; }

  .btn { padding: 16px 22px; font-size: 12.5px; letter-spacing: 0.05em; }

  .pain-card { padding: 28px 22px 32px; }

  .learn-item { grid-template-columns: 72px 1fr; }
  .learn-icon svg { width: 32px; height: 32px; }
  .learn-item p { padding: 18px 20px; font-size: 14.5px; }

  .testimonial-card { padding: 28px 22px; }

  .about-copy { padding: 32px 24px; }
  .about-photo { min-height: 280px; }

  .cta-card-top { flex-direction: column; text-align: center; gap: 12px; padding: 22px 24px; }
  .cta-card-body { padding: 12px 24px 28px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-logo { flex-direction: column; gap: 8px; }
}
