/* ─────────────────────────────────────────────────────────
   Confeitei · Landing Page (sales-focused)
   Light cream dominant · chocolate accent
   Paleta direta do globals.css do produto real
   ───────────────────────────────────────────────────────── */

:root {
  /* Brand · chocolate (mesma cor do app) */
  --brand-50:  #FDF5EE;
  --brand-100: #F5E8D5;
  --brand-200: #E6C9A4;
  --brand-300: #CDA06A;
  --brand-400: #A8704A;
  --brand-500: #6B3418;
  --brand-600: #5C2D0E;
  --brand-700: #4A2208;
  --brand-800: #381805;
  --brand-900: #260F02;

  /* Surfaces */
  --surface:        #FFFFFF;
  --surface-2:      #FBF7F3;
  --surface-3:      #F5EDE3;
  --border:         #EAE0D5;
  --border-hover:   #D9CBBC;

  /* Text */
  --text:           #1C1410;
  --text-2:         #5C4A3A;
  --text-3:         #A8917E;
  --text-inverse:   #FFFFFF;

  /* Feedback */
  --success:        #15803D;

  /* Type */
  --sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, serif;

  /* Radius */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 4px 0 rgba(74, 37, 18, 0.06), 0 1px 2px -1px rgba(74, 37, 18, 0.04);
  --shadow:    0 8px 24px -6px rgba(74, 37, 18, 0.10), 0 2px 8px -2px rgba(74, 37, 18, 0.06);
  --shadow-lg: 0 28px 60px -12px rgba(74, 37, 18, 0.18), 0 12px 24px -6px rgba(74, 37, 18, 0.10);

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

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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  background: var(--surface-2);
  color: var(--text);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--brand-200); color: var(--brand-900); }

/* ─────────────  LAYOUT  ───────────── */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ─────────────  TYPOGRAPHY HELPERS  ───────────── */

.head { margin-bottom: 64px; max-width: 720px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 720px) { .head { margin-bottom: 48px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.eyebrow--inverse {
  color: var(--brand-200);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 20px;
  color: var(--text);
}
.title em {
  font-style: italic;
  color: var(--brand-500);
  font-weight: 500;
}
.title--inverse { color: var(--text-inverse); }
.title--inverse em { color: var(--brand-300); }

.subtitle {
  margin-top: 22px;
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 56ch;
}
.head--center .subtitle { margin-left: auto; margin-right: auto; }

/* ─────────────  BUTTONS  ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--brand-500);
  color: var(--text-inverse);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 18px -4px rgba(107, 52, 24, 0.35);
}
.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 14px 28px -6px rgba(107, 52, 24, 0.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--brand-300);
}

/* ─────────────  NAV  ───────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(251, 247, 243, 0.82);
  border-bottom: 1px solid rgba(234, 224, 213, 0.6);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  height: 72px;
}

.brand img {
  height: 38px;
  width: auto;
}

/* ─────────────  HERO  ───────────── */

.hero {
  position: relative;
  padding: 64px 0 88px;
  background:
    radial-gradient(ellipse 100% 60% at 80% -10%, rgba(205, 160, 106, 0.20), transparent 60%),
    radial-gradient(ellipse 80% 50% at 0% 10%, rgba(107, 52, 24, 0.08), transparent 60%),
    var(--surface-2);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, .15);
}

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-top: 22px;
  max-width: 18ch;
}
.hero__title em {
  font-style: italic;
  color: var(--brand-500);
  font-weight: 500;
  display: block;
}

.hero__sub {
  margin-top: 26px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 50ch;
}

.hero__cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* hero phones (real screenshots) */

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}

.phones {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 8px #1C1410,
    0 0 0 9px rgba(255,255,255,.04),
    0 40px 80px -20px rgba(74, 37, 18, 0.35),
    0 20px 40px -16px rgba(74, 37, 18, 0.25);
  transition: transform .5s var(--ease);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.phone--front {
  width: 280px;
  z-index: 2;
  transform: rotate(-3deg);
}
.phone--front:hover {
  transform: rotate(-3deg) translateY(-6px);
}

.phone--back {
  width: 250px;
  z-index: 1;
  transform: translate(110px, 30px) rotate(6deg);
  opacity: 0.95;
}

/* Animação de scroll só no mobile (desktop fica estático) */
@media (max-width: 720px) {
  .phone--front {
    height: 480px;
    --scroll-y: -91px;
    overflow: hidden;
  }
  .phone--front img {
    animation: phone-scroll 14s ease-in-out infinite;
  }
  .phone--front:hover img {
    animation-play-state: paused;
  }
}

@keyframes phone-scroll {
  0%, 12%   { transform: translateY(0); }
  46%, 58%  { transform: translateY(var(--scroll-y, -75px)); }
  92%, 100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .phone img { animation: none !important; }
}

@media (max-width: 1020px) {
  .hero__visual { min-height: 0; padding-top: 16px; }
  .phones { max-width: 440px; height: 560px; }
  .phone--front {
    width: 260px;
  }
  .phone--back  {
    width: 230px;
    transform: translate(95px, 20px) rotate(6deg);
  }
}

@media (max-width: 720px) {
  .hero__visual {
    min-height: 0;
    padding-top: 24px;
    margin-bottom: -28px;
    position: relative;
    z-index: 3;
  }
  .phones {
    height: auto;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  /* Mobile: só 1 phone grande, centralizado, mergulha no trust band */
  .phone--back { display: none; }
  .phone--front {
    position: relative;
    width: 100%;
    max-width: 260px;
    transform: rotate(-2deg);
    margin: 0 auto;
  }
  .phone {
    border-radius: 30px;
    box-shadow:
      0 0 0 7px #1C1410,
      0 0 0 8px rgba(255,255,255,.04),
      0 30px 60px -12px rgba(74, 37, 18, 0.40),
      0 16px 32px -8px rgba(74, 37, 18, 0.25);
  }
  .phone--front:hover { transform: rotate(-2deg); }

  /* Trust band ganha padding extra no topo pra acomodar o phone que mergulha */
  .trust {
    padding-top: 32px !important;
    padding-bottom: 6px !important;
  }
}

/* ─────────────  TRUST BAND  ───────────── */

.trust {
  background: var(--brand-500);
  color: var(--text-inverse);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(205, 160, 106, 0.10), transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(245, 232, 213, 0.05), transparent 40%);
  pointer-events: none;
}

.trust__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.trust__item {
  text-align: center;
  padding: 4px 16px;
  border-right: 1px solid rgba(245, 232, 213, 0.18);
  transition: transform .3s var(--ease);
}
.trust__item:last-child { border-right: 0; }
.trust__item:hover { transform: translateY(-2px); }

.trust__item b {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--brand-100);
  line-height: 1.05;
}
.trust__item p {
  font-size: 12px;
  color: var(--brand-200);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .trust { padding: 0 0 10px; }
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust__item {
    padding: 8px 6px;
    border-right: 1px solid rgba(245, 232, 213, 0.16);
    border-bottom: 1px solid rgba(245, 232, 213, 0.16);
  }
  .trust__item:nth-child(2n) { border-right: 0; }
  .trust__item:nth-last-child(-n+2) { border-bottom: 0; }
  .trust__item b {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
    white-space: nowrap;
  }
  .trust__item p {
    font-size: 10px;
    margin-top: 2px;
    line-height: 1.25;
    white-space: nowrap;
    color: var(--brand-200);
    opacity: 0.75;
    letter-spacing: 0.03em;
  }
}

/* ─────────────  PROBLEMA  ───────────── */

.problem {
  background: var(--surface);
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .problem__grid { grid-template-columns: 1fr; } }

.problem__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 10px;
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.problem__item:hover {
  border-color: var(--brand-300);
  transform: translateY(-2px);
}

.problem__icon {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem__item h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.problem__item p {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─────────────  SOLUÇÃO (dark)  ───────────── */

.solution {
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(205, 160, 106, 0.15), transparent 60%),
    var(--brand-900);
  padding: 120px 0;
  color: var(--text-inverse);
}

.solution__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 800px) { .solution__grid { grid-template-columns: 1fr; } }

.card {
  padding: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.card__num {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-300);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--text-inverse);
}
.card p {
  font-size: 0.975rem;
  color: var(--brand-200);
  line-height: 1.65;
}

/* ─────────────  SHOWCASE CAROUSEL  ───────────── */

.showcase {
  background: var(--surface);
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.showcase__carousel {
  position: relative;
  margin-top: 56px;
}

.showcase__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 40px 0 56px;
  margin: -16px -8px -32px;
}
.showcase__track::-webkit-scrollbar { display: none; }

.showcase__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 0 8px;
}

@media (max-width: 880px) {
  .showcase {
    overflow: hidden;
  }
  /* Peek bem visível do próximo slide pra ficar óbvio */
  .showcase__track {
    padding: 24px 11% 32px;
    scroll-padding: 0 11%;
    margin: -8px -11% -16px;
    gap: 12px;
  }
  .showcase__slide {
    flex: 0 0 78%;
    scroll-snap-align: center;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    justify-items: center;
    padding: 22px 18px 24px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: opacity .3s var(--ease);
  }
}

.showcase__phone {
  width: 280px;
  max-width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface);
  margin-left: auto;
  box-shadow:
    0 0 0 8px #1C1410,
    0 0 0 9px rgba(255,255,255,.04),
    0 36px 72px -16px rgba(74, 37, 18, 0.32),
    0 18px 36px -12px rgba(74, 37, 18, 0.20);
  transform: rotate(-2deg);
  transition: transform .4s var(--ease);
}
.showcase__slide:hover .showcase__phone {
  transform: rotate(-2deg) translateY(-4px);
}
.showcase__phone img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 880px) {
  .showcase__phone {
    margin: 0 auto;
    width: 170px;
    border-radius: 24px;
    box-shadow:
      0 0 0 6px #1C1410,
      0 0 0 7px rgba(255,255,255,.04),
      0 20px 40px -10px rgba(74, 37, 18, 0.30);
  }
}

.showcase__text {
  max-width: 460px;
}
@media (max-width: 880px) {
  .showcase__text { max-width: 100%; }
}

.showcase__num {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-300);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.showcase__text h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}
.showcase__text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 24px;
}

@media (max-width: 880px) {
  .showcase__num {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  .showcase__text h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  .showcase__text p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0;
  }
}

.showcase__bullets {
  display: grid;
  gap: 10px;
}
.showcase__bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
  text-align: left;
}
@media (max-width: 880px) {
  /* No mobile, esconde bullets pra slide ficar mais compacto e legível */
  .showcase__bullets { display: none; }
}
.showcase__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-300);
  border-radius: 50%;
}
.showcase__bullets li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-500);
}

/* Slide especial "E ainda tem muito mais" */
.showcase__slide--more .showcase__num {
  color: var(--brand-500);
  background: var(--brand-50);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-100);
}
.showcase__slide--more .showcase__phone {
  position: relative;
}
.showcase__slide--more .showcase__phone::after {
  content: "+12";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-500);
  color: var(--text-inverse);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 12px 28px -6px rgba(74, 37, 18, 0.45);
  transform: rotate(8deg);
  letter-spacing: -0.02em;
}

.showcase__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 26px;
  background: var(--brand-500);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-500);
  transition: all .25s var(--ease);
  box-shadow: 0 8px 20px -6px rgba(107, 52, 24, 0.35);
}
.showcase__cta:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(107, 52, 24, 0.45);
}
.showcase__cta:hover svg { transform: translateX(4px); }
.showcase__cta svg { transition: transform .25s var(--ease); }

/* nav buttons */
.showcase__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all .25s var(--ease);
  box-shadow: var(--shadow);
}
.showcase__nav:hover {
  background: var(--brand-500);
  color: var(--text-inverse);
  border-color: var(--brand-500);
  transform: translateY(-50%) scale(1.06);
}
.showcase__nav:active { transform: translateY(-50%) scale(0.98); }
.showcase__nav--prev { left: -28px; }
.showcase__nav--next { right: -28px; }
@media (max-width: 1100px) {
  .showcase__nav--prev { left: -8px; }
  .showcase__nav--next { right: -8px; }
}
@media (max-width: 720px) {
  .showcase__nav { display: none; }
}

/* controles (hint + dots) */
.showcase__controls {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.showcase__hint {
  display: none; /* só aparece no mobile */
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  animation: hintPulse 2.4s ease-in-out infinite;
}
.showcase__hint svg { color: var(--brand-400); }
@keyframes hintPulse {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(0); opacity: 0.7; }
}
@media (max-width: 880px) {
  .showcase__hint { display: inline-flex; }
}

.showcase__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.showcase__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}
.showcase__dots button:hover { background: var(--brand-300); }
.showcase__dots button.active {
  width: 32px;
  border-radius: 999px;
  background: var(--brand-500);
}
@media (max-width: 720px) {
  .showcase__dots button {
    width: 12px;
    height: 12px;
  }
  .showcase__dots button.active {
    width: 36px;
  }
}

/* ─────────────  COMO FUNCIONA  ───────────── */

.how {
  background: var(--surface);
  padding: 100px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.steps li {
  padding: 36px 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--brand-500);
  color: var(--text-inverse);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.steps li h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.steps li p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ─────────────  PRICING  ───────────── */

.pricing {
  background: var(--surface-2);
  padding: 120px 0;
}

/* Lista única de benefícios (compacta) */
.benefits {
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 22px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.benefits__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.benefits__chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.benefits__head p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.benefits__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 24px;
}
@media (max-width: 880px) { .benefits__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .benefits__list { grid-template-columns: repeat(2, 1fr); } }

.benefits__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.35;
}
.benefits__list svg {
  color: var(--success);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .benefits {
    padding: 18px 20px;
    margin-bottom: 36px;
  }
  .benefits__head {
    margin-bottom: 14px;
    padding-bottom: 14px;
    gap: 10px;
  }
  .benefits__head p { font-size: 0.85rem; text-align: center; }
}

/* Cards de plano */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.plan {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow);
}
.plan--featured {
  background: var(--brand-900);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 1;
}
@media (max-width: 980px) { .plan--featured { transform: none; } }
.plan--featured:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: transparent;
}
@media (max-width: 980px) { .plan--featured:hover { transform: translateY(-4px); } }

.plan--best { border-color: var(--brand-300); }

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-300);
  color: var(--brand-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan__badge--alt {
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-200);
}

.plan__head { margin-bottom: 24px; }
.plan__name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.plan--featured .plan__name { color: var(--text-inverse); }
.plan__tag {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}
.plan--featured .plan__tag { color: var(--brand-300); }

.plan__price {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  text-align: center;
}
.plan--featured .plan__price {
  border-color: rgba(255,255,255,0.10);
}

.plan__monthly {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-family: var(--display);
}
.plan__currency {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-2);
}
.plan--featured .plan__currency { color: var(--brand-200); }
.plan__value {
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}
.plan--featured .plan__value { color: var(--text-inverse); }
.plan__per {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-3);
  font-family: var(--sans);
  margin-left: 4px;
}
.plan--featured .plan__per { color: var(--brand-300); }

.plan__total {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
}
.plan--featured .plan__total { color: var(--brand-200); }

.plan__from {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.plan__from s {
  color: var(--text-3);
  text-decoration-thickness: 1.5px;
  margin: 0 2px;
}
.plan--featured .plan__from { color: var(--brand-300); }
.plan--featured .plan__from s { color: var(--brand-300); }

.plan__perday {
  margin-top: 6px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--brand-500);
  font-family: var(--display);
  font-weight: 500;
}
.plan--featured .plan__perday { color: var(--brand-300); }

.plan__safe {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
}
.plan--featured .plan__safe { color: var(--brand-300); }

/* Garantias / reassurance bar */
.pricing__guarantees {
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.pricing__guarantees > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}
.pricing__guarantees svg {
  color: var(--success);
  flex-shrink: 0;
}
@media (max-width: 880px) {
  .pricing__guarantees {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    padding: 22px 24px;
  }
}
@media (max-width: 480px) {
  .pricing__guarantees {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ─────────────  FAQ  ───────────── */

.faq {
  background: var(--surface);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color .25s var(--ease);
}
.faq details[open] {
  border-color: var(--brand-300);
  background: var(--brand-50);
}
.faq summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--brand-500);
  line-height: 0.5;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 60ch;
}

/* ─────────────  FINAL CTA  ───────────── */

.final {
  background: var(--surface-2);
  padding: 100px 0;
}

.final__card {
  position: relative;
  padding: 80px 60px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(205, 160, 106, 0.22), transparent 60%),
    var(--brand-900);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--text-inverse);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 70%);
  pointer-events: none;
}
.final__card h2 {
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: 0 auto;
}
.final__card h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--brand-300);
  display: block;
}
.final__card p {
  position: relative;
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--brand-200);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.final__card .btn {
  position: relative;
  margin-top: 36px;
}
.final__note {
  position: relative;
  margin-top: 22px !important;
  font-size: 12px !important;
  color: var(--brand-300) !important;
}
@media (max-width: 640px) { .final__card { padding: 56px 28px; } }

/* ─────────────  FOOTER  ───────────── */

.footer {
  background: var(--surface);
  padding: 64px 0 28px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } }

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}
.footer__inner p {
  color: var(--text-2);
  font-size: 0.925rem;
  max-width: 36ch;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.925rem;
  color: var(--text-2);
  transition: color .25s var(--ease);
}
.footer__links a:hover { color: var(--brand-500); }

.footer__base {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--text-3);
  text-align: center;
}

/* ─────────────  STICKY CTA (mobile, scroll-driven)  ───────────── */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 80;
  text-align: center;
  padding: 16px 22px;
  background: var(--brand-500);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px -6px rgba(107, 52, 24, 0.45);
}
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  .footer { padding-bottom: 100px; }
}

/* Sticky CTA aparece só depois de passar o hero (scroll-driven) */
@supports (animation-timeline: scroll()) {
  @media (max-width: 720px) {
    .sticky-cta {
      opacity: 0;
      transform: translateY(20px);
      pointer-events: none;
      animation: cta-enter linear both;
      animation-timeline: scroll(root);
      animation-range: 70vh 110vh;
    }
  }
}
@keyframes cta-enter {
  to { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* ─────────────  MOBILE OVERRIDES  ───────────── */

.hide-mobile { /* visível por padrão; escondido no mobile */ }

@media (max-width: 720px) {
  /* Nav: só logo no mobile, sem CTA duplicada */
  .nav__inner { padding: 14px 20px; height: 64px; }
  .nav__cta { display: none; }
  .brand img { height: 34px; }

  /* Esconde elementos marcados como hide-mobile */
  .hide-mobile { display: none !important; }

  /* Hero: maior hierarquia, mais impacto, continuidade visual */
  .hero {
    padding: 40px 0 0;
    position: relative;
    z-index: 1;
  }
  .hero__grid { gap: 28px; }
  .hero__title {
    font-size: clamp(2.3rem, 9vw, 2.8rem);
    line-height: 1.02;
    margin-top: 0;
    max-width: none;
    letter-spacing: -0.03em;
  }
  .hero__sub {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }
  .hero__cta {
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    width: 100%;
  }


  /* Trust band mais compacto */
  .trust { padding: 24px 0; }
  .trust__grid { gap: 20px 16px; }
  .trust__grid b { font-size: 1.5rem; }
  .trust__grid p { font-size: 11px; }

  /* Seções com padding menor */
  .problem, .how, .faq { padding: 64px 0; }
  .solution, .pricing, .final { padding: 72px 0; }
  .head { margin-bottom: 36px; }

  /* Showcase: padding bottom extra pra não ser coberto pelo sticky CTA */
  .showcase { padding: 64px 0 110px; }
  .showcase__carousel { margin-top: 36px; }
  .showcase__controls { margin-top: 28px; gap: 14px; }

  /* Problem item: padding menor no mobile */
  .problem__item {
    padding: 24px;
    column-gap: 18px;
  }
  .problem__icon {
    width: 44px;
    height: 44px;
  }
  .problem__item h3 {
    font-size: 1.15rem;
  }

  /* Benefits caixa: padding menor */
  .benefits {
    padding: 28px 24px;
    margin-bottom: 40px;
  }
  .benefits__head {
    margin-bottom: 22px;
    padding-bottom: 22px;
  }
  .benefits__head h3 {
    font-size: 1.25rem;
  }

  /* Plan cards menores */
  .plan {
    padding: 32px 28px 28px;
  }
  .plan__value {
    font-size: 2.8rem;
  }

  /* Final CTA card menor */
  .final__card {
    padding: 56px 24px;
  }
}

/* ─────────────  REDUCED MOTION  ───────────── */

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