/* ==========================================================================
   Avantgarde Club · Landing page
   Mobile-first (base 390px). Breakpoints: 640px (tablet) e 960px (desktop).
   ========================================================================== */

:root {
  --orange: #cf4520;
  --ink: #101820;
  --bg: #f6f4ef;
  --card: #ffffff;
  --line: #e6e2da;
  --text: #101820;
  --text-2: #5d5a55;
  --text-3: #8a867f;
  --phone-frame: #232d38;

  --font-title: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: 24px;
  --section-gap: 44px;
  --card-radius: 20px;
  --card-pad: 20px;
  --card-gap: 12px;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--flush { padding-left: 16px; padding-right: 16px; }

.section { padding-top: var(--section-gap); }
.section--tight { padding-top: var(--section-gap); }

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 12px;
}

.eyebrow--muted { color: var(--text-3); }

.section__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 18px;
  text-wrap: balance;
}

.section__title--light { color: #fff; }

.section__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Botões das lojas
   -------------------------------------------------------------------------- */

.stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-btn:hover,
.store-btn:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.store-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.store-btn img { width: 26px; height: 26px; flex: 0 0 26px; }

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
  min-width: 0;
}

.store-btn__text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
}

.store-btn__text strong {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.store-btn--dark { background: var(--ink); color: #fff; }
.store-btn--dark .store-btn__text small { color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--ink);
  color: #fff;
}

.hero__inner {
  padding-top: 32px;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
}

.hero__logo {
  width: 220px;
  height: auto;
  margin: 0 auto 36px;
}

.hero__copy { text-align: left; }

.hero__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 36px;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
  max-width: 34ch;
}

.hero__phones {
  position: relative;
  height: 520px;
  margin-top: 28px;
}

.phone {
  position: absolute;
  top: 0;
  background: var(--phone-frame);
  border: 2px solid var(--phone-frame);
  border-radius: 30px;
  padding: 6px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #fff;
}

.phone--estoque {
  width: 200px;
  left: 4px;
  top: 12px;
  transform: rotate(-4deg);
  z-index: 1;
}

.phone--feed {
  width: 190px;
  right: 4px;
  top: 78px;
  transform: rotate(5deg);
  z-index: 2;
}

.hero__stripe {
  height: 8px;
  background: var(--orange);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  min-width: 0;
}

.card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 19px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.card__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   3. Negociação
   -------------------------------------------------------------------------- */

.dark-block {
  background: var(--ink);
  color: #fff;
  border-radius: 26px;
  padding: 32px 24px;
}

.dark-block .section__title { margin-bottom: 26px; }

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.step:first-child { border-top: 0; padding-top: 0; }

.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.step__text {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------------------------
   4. Cadastro
   -------------------------------------------------------------------------- */

.cards--access {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card--access { padding: 18px 16px; }
.card--access .eyebrow { margin-bottom: 14px; }
.card--access { border-color: var(--orange); }

.access-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.access-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text);
}

.access-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
}

.card--highlight .access-list li::before { background: var(--orange); }

/* --------------------------------------------------------------------------
   5. AG Club
   -------------------------------------------------------------------------- */

.club__phone {
  position: static;
  width: 260px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   6. Notificações
   -------------------------------------------------------------------------- */

.push {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(16, 24, 32, 0.06);
}

.push__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.18);
}

.push__body { min-width: 0; }

.push__category {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-3);
  margin-bottom: 3px;
}

.push__message {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   7. Rodapé
   -------------------------------------------------------------------------- */

.footer {
  padding-top: calc(var(--section-gap) + 8px);
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  margin-top: var(--section-gap);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.22);
  margin-bottom: 18px;
}

.footer .section__title { margin-bottom: 22px; }
.footer .stores { max-width: 420px; }

.footer__fine {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
  margin-top: 28px;
}

.footer__links { margin-top: 6px; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: var(--text-2); }
.footer__links span { margin: 0 6px; }

/* --------------------------------------------------------------------------
   Responsividade
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  :root { --section-gap: 56px; }

  .cards--features { grid-template-columns: repeat(2, 1fr); }
  .cards--push { grid-template-columns: repeat(3, 1fr); }
  .section__title { font-size: 32px; }
  .container--flush { padding-left: var(--gutter); padding-right: var(--gutter); }
  .dark-block { padding: 40px 36px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { border-top: 0; padding-top: 0; grid-template-columns: 1fr; gap: 8px; border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 18px; }
  .step:first-child { border-left: 0; padding-left: 0; }
  .card--access { padding: var(--card-pad); }
  .access-list li { font-size: 15px; }

  .club { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
  .club__copy .section__text { margin-bottom: 0; }
  .club__phone { width: 280px; margin: 0; }
}

@media (min-width: 960px) {
  :root { --section-gap: 72px; --gutter: 32px; }

  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 48px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero__logo { grid-column: 1 / -1; margin-bottom: 44px; }
  .hero__title { font-size: 52px; }
  .hero__subtitle { font-size: 18px; max-width: 40ch; }
  .hero__copy .stores { max-width: 440px; }

  .hero__phones {
    height: 560px;
    margin-top: 0;
    width: 440px;
    justify-self: center;
  }

  .phone--estoque { width: 230px; left: 10px; top: 0; }
  .phone--feed { width: 218px; right: 10px; top: 76px; }

  .cards--features { grid-template-columns: repeat(3, 1fr); }
  .club { gap: 64px; }
  .club__phone { width: 300px; margin-right: 48px; }
  .cards--access { max-width: 720px; }
  .section__title { font-size: 36px; max-width: 22ch; }
  .footer .section__title { max-width: none; }
  .dark-block .section__title { max-width: 20ch; }
}

@media (prefers-reduced-motion: reduce) {
  .store-btn { transition: none; }
}
