/* =========================================================
   AntiBet — landing page
   Design tokens from Figma: ANTIBET Digital
   ========================================================= */

:root {
    --white: #fbfbfb;
    --ink: #141414;
    --ink-2: #2c2c2c;
    --ink-3: #434343;
    --mint: #9efbe6;

    --line: rgba(20, 20, 20, .1);
    --soft: rgba(20, 20, 20, .05);

    --font-display: 'Lexend', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* 64px @1440 → 33px on phones */
    --fs-display: clamp(33px, 4.445vw, 64px);
    --lh-display: 1.24;

    --maxw: 1156px;
    --gutter: 24px;
}

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

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

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.24;
    overflow-x: hidden;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--mint);
    color: var(--ink);
    padding: 12px 20px;
    border-radius: 0 0 12px 0;
}

.skip-link:focus {
    left: 0;
}

.display {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: var(--fs-display);
    line-height: var(--lh-display);
    letter-spacing: -.01em;
}

.display strong {
    font-weight: 400;
}

/* ---------------------------------------------------------
   Animações de entrada
   --------------------------------------------------------- */

/* Contador: reserva a largura de 2 dígitos e usa figuras tabulares,
   assim o " bi" não desloca enquanto o número sobe de 0 a 30. */
.counter {
    display: inline-block;
    min-width: 2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* O estado escondido só existe quando há JS para revelá-lo. */
.js [data-reveal] {
    opacity: 0;
}

.js [data-reveal='left'] {
    transform: translateX(-48px);
}

[data-reveal] {
    transition: opacity .6s ease, transform .75s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

/* o seletor com `.js` garante que o estado final vença os ajustes de
   deslocamento declarados dentro das media queries, mais abaixo */
[data-reveal].is-visible,
.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 45px;
    padding: 5px 5px 5px 20px;
    border-radius: 45px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    transition: filter .18s ease, transform .18s ease;
}

.btn img {
    width: 35px;
    height: 35px;
    flex: none;
}

.btn--mint {
    background: var(--mint);
    color: var(--ink);
}

.btn--dark {
    background: var(--ink);
    color: var(--white);
}

.btn:hover {
    filter: brightness(.94);
}

.btn:active {
    transform: translateY(1px);
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    height: 45px;
    padding: 0 20px;
    border-radius: 45px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 15px;
    transition: filter .18s ease;
}

.pill-btn:hover {
    filter: brightness(.94);
}

.round-btn img {
    width: 45px;
    height: 45px;
}

/* Overlapping avatar stack */
.avatars {
    display: inline-flex;
    align-items: center;
}

.avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    flex: none;
}

.avatars img+img {
    margin-left: -9.75px;
}

.avatars--inline {
    vertical-align: middle;
    margin: 0 4px;
    transform: translateY(.06em);
}

/* ---------------------------------------------------------
   Portal de entrada
   --------------------------------------------------------- */

/* Sem JS não há como fechar o portal, então ele simplesmente não aparece. */
.intro {
    display: none;
}

.js .intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 24px 40px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #000;
    text-align: center;
    transition: opacity .45s ease, visibility .45s;
}

/* brilho de marca, o mesmo idioma visual do hero */
.js .intro::before {
    content: '';
    position: absolute;
    top: -34%;
    right: -18%;
    width: 95vw;
    height: 95vw;
    max-width: 1150px;
    max-height: 1150px;
    background: radial-gradient(closest-side,
            rgba(158, 251, 230, .3),
            rgba(29, 135, 180, .13) 55%,
            transparent 100%);
    filter: blur(40px);
    pointer-events: none;
}

.js .intro.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro__logo {
    position: relative;
    flex: none;
    width: 161px;
    height: 23.17px;
}

.intro__body {
    position: relative;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    padding: 40px 0;
}

.js .intro:focus {
    outline: none;
}

.intro__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(30px, 4.1vw, 56px);
    line-height: var(--lh-display);
    letter-spacing: -.01em;
    color: var(--white);
    text-wrap: balance;
}

.intro__title-accent {
    color: var(--mint);
}

.intro__cta {
    margin-top: clamp(32px, 5vw, 56px);
}

/* trava a rolagem enquanto o portal está aberto */
.intro-open,
.intro-open body {
    overflow: hidden;
}

/* Controle de áudio — aparece só enquanto a faixa toca */
.audio-toggle {
    position: fixed;
    z-index: 90;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 45px;
    background: var(--ink);
    color: var(--white);
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(20, 20, 20, .22);
    transition: filter .18s ease;
}

.audio-toggle:hover {
    filter: brightness(1.35);
}

.audio-toggle[hidden] {
    display: none;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
    position: absolute;
    inset: 26px 24px auto 36px;
    z-index: 20;
    display: flex;
    align-items: center;
    height: 45px;
}

.site-header__logo img {
    width: 161px;
    height: 23.17px;
}

.site-header__nav {
    display: flex;
    gap: 24.5px;
    margin-left: 18.4px;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--white);
}

.site-header__nav a {
    opacity: .95;
    transition: opacity .18s ease;
}

.site-header__nav a:hover {
    opacity: .6;
}

.site-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px 5px 5px;
    border-radius: 45px;
    background: var(--ink-2);
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--white);
}

.chip-download {
    display: inline-flex;
    align-items: center;
    height: 35px;
    padding: 0 15px;
    border-radius: 35px;
    background: var(--ink-3);
    transition: background .18s ease;
}

.chip-download:hover {
    background: #565656;
}

.chip-support {
    transition: opacity .18s ease;
}

.chip-support:hover {
    opacity: .65;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 1024px;
    display: flex;
    flex-direction: column;
}

/* No Figma o brilho é desenhado ACIMA da foto da janela — daí o z-index. */
.hero__glow {
    position: absolute;
    z-index: 1;
    left: 239.11px;
    top: -1216.62px;
    width: 1962.06px;
    height: 1962.06px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero__glow-rotor {
    position: relative;
    flex: none;
    width: 1464.09px;
    height: 1310.67px;
    transform: rotate(-135deg);
}

.hero__glow-rotor img {
    position: absolute;
    top: -22.78%;
    left: -20.39%;
    width: 140.78%;
    height: 145.56%;
    max-width: none;
}

.hero__media {
    position: relative;
    z-index: 0;
    width: 772.89px;
    max-width: 100%;
    margin: 102.55px auto 0;
}

.hero__media img {
    width: 100%;
    height: auto;
}

.hero__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin: auto 24px 38px 36px;
    padding-top: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: var(--fs-display);
    line-height: var(--lh-display);
    letter-spacing: -.01em;
    color: var(--white);
}

.hero__title-accent {
    color: var(--mint);
    text-decoration: underline;
    text-decoration-thickness: from-font;
    text-underline-offset: .06em;
}

.hero__sub {
    margin-top: 35px;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.24;
    color: var(--white);
}

.hero__cta {
    width: 330px;
    justify-content: space-between;
    flex: none;
}

/* ---------------------------------------------------------
   Números / stats
   --------------------------------------------------------- */

.stats {
    padding: 50px 24px 0;
}

.stats__panel {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    min-height: 978.99px;
    padding: 86px 118px 98px;
}

.stats__bg {
    position: absolute;
    inset: 0;
    border-radius: 40px;
    overflow: hidden;
}

.stats__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats__left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.stats__figure-label {
    margin-top: 6px;
    font-size: 24px;
    line-height: 1.24;
    opacity: .7;
}

.stats__right {
    position: relative;
    flex: none;
    width: 353.74px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.note {
    border-radius: 24px;
    color: var(--white);
}

.note--solid {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100px;
    padding: 0 31.94px;
    background: var(--ink-2);
}

.note__icon {
    width: 45px;
    height: 45px;
    flex: none;
}

.note__title {
    font-size: 15px;
    line-height: 1.24;
}

.note__sub {
    font-size: 12px;
    line-height: 1.24;
}

.note--panel {
    min-height: 346.91px;
    padding: 9.9px 11.05px 32px;
    background: rgba(44, 44, 44, .2);
}

.note__box {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100.14px;
    padding: 0 20.9px;
    border-radius: 14px;
    background: var(--ink);
}

.note__box .note__sub {
    max-width: 196px;
}

.note__flag {
    width: 45px;
    height: 28.5px;
    flex: none;
}

.note__stat {
    margin-top: 85px;
    padding-left: 20.9px;
}

.note__stat-label {
    margin-top: 9px;
    font-size: 15px;
    line-height: 1.24;
}

/* ---------------------------------------------------------
   Como ajudamos
   --------------------------------------------------------- */

.help {
    padding: 76px 24px 0;
}

.help__title {
    text-align: center;
}

.help__grid {
    max-width: var(--maxw);
    margin: 62px auto 0;
    display: grid;
    grid-template-columns: 453px minmax(0, 1fr);
    gap: 24px;
}

.help__media {
    position: relative;
    height: 647.39px;
    border-radius: 24px;
    overflow: hidden;
}

.help__media picture {
    position: absolute;
    inset: 0;
}

.help__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.help__media-caption {
    display: none;
    position: absolute;
    top: 24.2px;
    left: 22px;
    color: var(--white);
    font-size: 14px;
    line-height: 1.24;
}

.help__media-actions {
    position: absolute;
    left: 31px;
    right: 26.26px;
    bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 212px;
    column-gap: 24px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.step+.step {
    padding-top: 40px;
}

.step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 15px;
}

.step__title {
    margin-top: 5px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.24;
}

.step__desc {
    margin-top: -5px;
    font-size: 15px;
    line-height: 1.24;
    opacity: .6;
}

.help__foot {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 212px;
    column-gap: 24px;
    align-items: end;
    margin-top: 97.26px;
}

.help__foot-note {
    grid-column: 2;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.24;
}

.badge-25k {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 212px;
    height: 212px;
    padding: 9px 18.5px 24px;
    border-radius: 24px;
    background: var(--mint);
}

.badge-25k__label {
    font-size: 12px;
    line-height: 1.24;
}

/* ---------------------------------------------------------
   O APP
   --------------------------------------------------------- */

.app {
    padding: 76px 24px 0;
}

.app__title {
    text-align: center;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 60.7px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 15px;
    border-radius: 45px;
    background: var(--soft);
    font-family: var(--font-display);
    font-size: 15px;
    line-height: 1;
}

.chip img {
    width: 20px;
    height: 20px;
    flex: none;
}

.features {
    max-width: var(--maxw);
    margin: 71px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24.34px;
}

.feature {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 200px 45px;
    column-gap: 17px;
    align-items: center;
    height: 96.34px;
    padding: 0 27.89px 0 22.94px;
    border: 1px solid var(--line);
    border-radius: 106px;
    transition: background .2s ease, border-color .2s ease;
}

.feature:hover {
    background: var(--soft);
}

.feature__icon {
    width: 45px;
    height: 45px;
}

.feature__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.24;
}

.feature__desc {
    font-size: 12px;
    line-height: 1.24;
    color: rgba(67, 67, 67, .6);
}

.feature__chevron {
    width: 6px;
    height: 12px;
    justify-self: center;
}

.feature__round {
    display: none;
    width: 45px;
    height: 45px;
    grid-column: 4;
    justify-self: center;
}

.feature--active {
    background: var(--mint);
    border-color: transparent;
}

.feature--active:hover {
    background: var(--mint);
    filter: brightness(.97);
}

.feature--active .feature__desc {
    color: var(--ink);
}

.feature--active .feature__chevron {
    display: none;
}

.feature--active .feature__round {
    display: block;
}

/* ---------------------------------------------------------
   Depoimentos
   --------------------------------------------------------- */

.stories {
    padding-top: 75px;
}

.stories__title,
.stories__sub {
    text-align: center;
    padding-inline: 24px;
}

.stories__sub {
    margin-top: 21.5px;
    font-size: 24px;
    line-height: 1.24;
    opacity: .6;
}

.carousel {
    margin-top: 46px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-inline: max(24px, calc((100% - var(--maxw)) / 2));
    /* mantém o alinhamento do scroll-snap dentro do padding lateral */
    scroll-padding-inline: max(24px, calc((100% - var(--maxw)) / 2));
}

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

.carousel__track {
    display: flex;
    gap: 24px;
    width: max-content;
}

.story {
    position: relative;
    flex: 0 0 330px;
    height: 586px;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: start;
}

.story::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, .4);
}

.story__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story__play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 44.79%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 61.11px;
    height: 61.04px;
    padding-left: 3px;
    border-radius: 60px;
    background: rgba(251, 251, 251, .2);
    cursor: pointer;
    transition: background .18s ease;
}

.story__play:hover {
    background: rgba(251, 251, 251, .34);
}

.story__play img {
    width: 19.56px;
    height: 22px;
}

.story__note {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 82.05%;
    text-align: center;
    font-size: 12px;
    color: var(--white);
}

.story__amount {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 30.55px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 45.78px;
    padding: 0 15px;
    border-radius: 57px;
    background: rgba(251, 251, 251, .2);
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--white);
    white-space: nowrap;
}

.stories__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 39.5px;
    padding: 0 max(24px, calc((100% - 920px) / 2));
}

.stories__caption {
    font-size: 12px;
    font-style: italic;
}

.carousel__controls {
    display: flex;
    align-items: center;
}

.carousel__btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: opacity .18s ease;
}

.carousel__btn:hover {
    opacity: .7;
}

.carousel__btn--prev {
    border: 1px solid var(--line);
    background-image: url(assets/chevron-right.svg);
    background-size: 6px 12px;
    transform: scaleX(-1);
}

.carousel__btn--next {
    background-image: url(assets/arrow-dark-35.svg);
    background-size: 45px 45px;
}

.carousel__dots {
    display: flex;
    align-items: center;
    /* botões de 24px + 1.37px ⇒ centros a 25.37px, como no Figma */
    gap: 1.37px;
}

/* a folga assimétrica pertence ao rodapé dos depoimentos, não à classe base */
.carousel__controls .carousel__dots {
    margin: 0 68px 0 23px;
}

/* O ponto visível é pequeno como no Figma, mas o botão tem 24px
   para continuar sendo um alvo de toque utilizável. */
.carousel__dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;
}

.carousel__dot::before {
    content: '';
    width: 3.87px;
    height: 3.87px;
    border-radius: 50%;
    background: rgba(20, 20, 20, .2);
    transition: background .18s ease;
}

.carousel__dot[aria-selected='true']::before {
    background: var(--ink);
}

/* variante sobre fundo escuro (galeria do app) */
.carousel__dots--light .carousel__dot::before {
    background: rgba(251, 251, 251, .3);
}

.carousel__dots--light .carousel__dot[aria-selected='true']::before {
    background: var(--white);
}

/* ---------------------------------------------------------
   Preço
   --------------------------------------------------------- */

.pricing {
    padding: 120px 24px 0;
}

.pricing__grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.pricing__head {
    grid-column: 2 / 4;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-top: 22px;
}

.pricing__social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 48.3px;
    padding-top: 18.85px;
    flex: none;
}

.pricing__social-text {
    font-size: 15px;
    line-height: 1.24;
    text-align: right;
}

/* Promo card */
.promo {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    min-height: 831.41px;
    padding: 37px 42px 34px;
    border-radius: 24px;
    background: var(--ink);
    color: var(--white);
}

.promo__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.24;
}

.promo__text {
    margin-top: 15.3px;
    max-width: 246.88px;
    font-size: 15px;
    line-height: 1.24;
    opacity: .6;
}

.promo__text+.promo__text {
    margin-top: 18.6px;
}

/* Galeria de telas do app — ocupa a mesma caixa do mockup no Figma */
.promo__gallery {
    align-self: center;
    width: 197.17px;
    /* absorve a sobra do cartão em cima e embaixo, em vez de empurrar
       todo o vazio para o rodapé */
    margin: auto 0;
    padding-top: 24px;
}

.promo__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.promo__viewport::-webkit-scrollbar {
    display: none;
}

.promo__track {
    display: flex;
    width: max-content;
}

.promo__slide {
    flex: 0 0 197.17px;
    scroll-snap-align: start;
}

.promo__slide img {
    width: 197.17px;
    height: 400.5px;
    object-fit: contain;
}

.promo__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

/* seis pontos precisam caber na largura do aparelho: botões menores */
.promo__dots {
    gap: 0;
    margin: 0;
}

.promo__dots .carousel__dot {
    width: 18px;
    height: 18px;
}

.promo__nav {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 50%;
    background: url(assets/arrow-white-35.svg) no-repeat center/28px 28px;
    cursor: pointer;
    transition: opacity .18s ease;
}

.promo__nav--prev {
    transform: scaleX(-1);
    opacity: .45;
}

.promo__nav:hover:not(:disabled) {
    opacity: .8;
}

.promo__nav:disabled {
    opacity: .18;
    cursor: default;
}

/* Os dois selos ficam lado a lado com folga fixa; `flex: 0 1` deixa
   encolherem juntos em cartões estreitos, sem nunca se afastarem.
   `margin-top: auto` prende a dupla no rodapé do cartão. */
.promo__badges {
    display: flex;
    gap: 9.97px;
    padding-top: 24px;
}

.promo__badges a {
    flex: 0 1 118.46px;
    min-width: 0;
}

.promo__badges img {
    width: 100%;
    height: auto;
}

/* Plan cards */
.plan {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    min-height: 595.07px;
    padding: 29px 35.97px 33.8px;
    border-radius: 24px;
    background: var(--soft);
}

.plan--featured {
    background: var(--mint);
}

/* Nome e valor dividem a primeira linha; a linha do plano anual ocupa
   as duas colunas para poder avançar sob o nome, como no Figma. */
.plan__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 12px;
}

.plan__name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.24;
}

.plan__amount {
    justify-self: end;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 24px;
    line-height: 1.24;
    white-space: nowrap;
}

.plan__amount span {
    font-family: var(--font-body);
    font-size: 12px;
}

.plan__year {
    grid-column: 1 / -1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6.6px;
}

.plan__year-text {
    font-size: 12px;
    opacity: .5;
    white-space: nowrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.tag--mint {
    background: var(--mint);
}

.tag--white {
    background: var(--white);
}

.plan__rule {
    display: block;
    width: 27px;
    height: 3px;
    margin-top: 8.8px;
    background: var(--ink);
}

.plan__features-title {
    margin-top: 45.7px;
    font-size: 15px;
    font-weight: 600;
}

.plan__list {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-top: 32.3px;
}

.plan__list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    line-height: 1.24;
}

.plan__list img {
    width: 12.7px;
    height: 9.1px;
    flex: none;
}

.plan__cancel {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    font-size: 12px;
}

.plan__cta {
    width: 100%;
    justify-content: space-between;
    margin-top: 16px;
}

/* em cartões estreitos o rótulo quebra em vez de estourar o cartão */
.plan__cta>span {
    white-space: normal;
}

/* ---------------------------------------------------------
   CTA final
   --------------------------------------------------------- */

.final {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 99.5px 24px 0;
    text-align: center;
}

.final__mark {
    width: 76.02px;
    height: 22.74px;
}

.final__title {
    margin-top: 26px;
}

.final__cta {
    margin-top: 40.6px;
}

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.faq {
    max-width: var(--maxw);
    margin: 50px auto 0;
    padding: 0 24px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 9.57px;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: 106px;
    transition: border-radius .2s ease, background .2s ease;
}

.faq__item.is-open {
    border-radius: 48px;
    background: var(--soft);
}

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 96.34px;
    padding: 20px 33px 20px 42.89px;
    text-align: left;
    font-size: 15px;
    line-height: 1.24;
    cursor: pointer;
}

/* O ícone exportado aponta para a direita; giramos 90° como no Figma. */
.faq__q img {
    width: 6.85px;
    height: 12.71px;
    flex: none;
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.faq__q[aria-expanded='true'] img {
    transform: rotate(-90deg);
}

.faq__a {
    padding: 0 42.89px 28px;
    font-size: 15px;
    line-height: 1.5;
    opacity: .7;
}

/* ---------------------------------------------------------
   Rodapé
   --------------------------------------------------------- */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 78px;
    padding: 0 24px 6px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-footer__brand img {
    width: 71.89px;
    height: 16.12px;
}

.site-footer__copy {
    font-size: 12px;
    opacity: .5;
}

.site-footer__nav {
    display: flex;
    gap: 24px;
    font-size: 12px;
}

.site-footer__nav a {
    transition: opacity .18s ease;
}

.site-footer__nav a:hover {
    opacity: .55;
}

.site-footer__social {
    display: flex;
    gap: 5px;
}

.site-footer__social img {
    width: 35px;
    height: 35px;
}

/* =========================================================
   Ajustes intermediários (tablet / desktop estreito)
   ========================================================= */

@media (max-width: 1200px) {
    .stats__panel {
        padding: 64px 56px 72px;
        gap: 40px;
    }

    .help,
    .app {
        padding-top: 64px;
    }

    .pricing {
        padding-top: 90px;
    }

    .pricing__grid {
        grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1fr);
    }

    .promo {
        padding: 32px 28px;
    }

    .plan {
        padding: 29px 24px 28px;
    }

    .feature {
        grid-template-columns: 45px minmax(0, 1fr) 180px 45px;
        padding-inline: 22px;
    }

    .help__grid {
        grid-template-columns: 360px minmax(0, 1fr);
    }
}

@media (max-width: 1000px) {
    .help__grid {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .step {
        grid-template-columns: 45px minmax(0, 1fr) 170px;
        column-gap: 16px;
    }

    /* a coluna final continua em 212px porque o selo 25k é quadrado */
    .help__foot {
        column-gap: 16px;
    }
}

/* =========================================================
   Mobile  (design [Mobile] 375px)
   ========================================================= */

@media (max-width: 900px) {

    /* ---------- Header ---------- */
    .site-header {
        inset: 43.5px 15px auto 15px;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__actions {
        padding: 5px 15px 5px 5px;
    }

    .site-header__logo img {
        width: 161px;
        height: 23.17px;
    }

    /* ---------- Hero ---------- */
    .hero {
        min-height: 0;
        padding-bottom: 0;
    }

    .hero__glow {
        left: -18.15px;
        top: -374.42px;
        width: 819.38px;
        height: 809.65px;
    }

    .hero__glow-rotor {
        width: 611.34px;
        height: 547.28px;
        transform: rotate(-141.17deg);
    }

    .hero__glow-rotor img {
        top: -54.56%;
        left: -48.84%;
        width: 197.68%;
        height: 209.12%;
    }

    .hero__media {
        width: 136%;
        max-width: none;
        margin: 94.43px -18% 0;
    }

    .hero__bottom {
        display: block;
        margin: 6px 15px 0;
        padding-top: 0;
    }

    .hero__sub {
        margin-top: 19px;
        font-size: 14px;
    }

    .hero__cta {
        display: flex;
        width: 100%;
        margin-top: 38.5px;
        font-size: 14px;
    }

    /* ---------- Stats: continua sobre o fundo preto ---------- */
    .stats {
        background: #000;
        padding: 49.7px 15px 49.5px;
    }

    .stats__panel {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .stats__bg {
        inset: 0 0 auto 0;
        height: 375.3px;
        border-radius: 24px;
    }

    .stats__left {
        min-height: 375.3px;
        padding: 15px 23.6px 20px;
    }

    .stats__figure-label {
        font-size: 14px;
        font-family: var(--font-display);
        font-weight: 300;
        opacity: 1;
    }

    .stats__right {
        width: auto;
        margin-top: 15px;
        gap: 14.7px;
    }

    .note--solid {
        padding: 0 23.6px;
    }

    .note--panel {
        min-height: 237.94px;
        padding: 26.7px 23.6px 26px;
    }

    .note__box {
        height: 84.28px;
        padding: 0 22.5px;
    }

    .note__stat {
        margin-top: 43px;
        padding-left: 0;
    }

    .note__stat-label {
        margin-top: 7px;
        max-width: 200px;
        font-size: 12px;
    }

    /* ---------- Como ajudamos ---------- */
    .help {
        padding: 35px 15px 0;
    }

    /* deslocamento menor: no mobile as etapas ocupam a largura toda */
    .js [data-reveal='left'] {
        transform: translateX(-28px);
    }

    .avatars--inline img {
        width: 26px;
        height: 26px;
    }

    .avatars--inline img+img {
        margin-left: -6px;
    }

    .help__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 27px;
    }

    .help__steps {
        order: 1;
    }

    .help__media {
        order: 2;
        height: 302.67px;
    }

    .help__media-caption {
        display: block;
    }

    .help__media-actions {
        left: 22px;
        right: 19.6px;
        bottom: 21.2px;
    }

    .step {
        grid-template-columns: 45px minmax(0, 1fr);
        column-gap: 12px;
        padding-bottom: 19.5px;
    }

    .step+.step {
        padding-top: 19.5px;
    }

    .step__num {
        font-size: 14px;
        grid-row: span 2;
    }

    .step__title {
        margin-top: 0;
        font-size: 12px;
        font-weight: 500;
    }

    .step__desc {
        margin-top: 6px;
        font-size: 12px;
    }

    .help__foot {
        display: block;
        margin-top: 19.6px;
    }

    .help__foot-note {
        display: none;
    }

    .badge-25k {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        width: 100%;
        height: 77.99px;
        padding: 0 20px;
    }

    .badge-25k__value {
        flex: none;
    }

    /* ---------- O APP ---------- */
    .app {
        padding: 37px 15px 0;
    }

    .chips {
        gap: 13.5px;
        margin-top: 19px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .chip {
        font-size: 10px;
        padding: 12px 15px;
    }

    .features {
        margin-top: 70.4px;
        gap: 24.43px;
    }

    .feature {
        grid-template-columns: 45px minmax(0, 1fr) 6px;
        column-gap: 13px;
        padding: 0 35px 0 27px;
    }

    .feature--active {
        background: none;
        border-color: var(--line);
    }

    .feature--active .feature__desc {
        color: rgba(67, 67, 67, .6);
    }

    .feature--active .feature__chevron {
        display: block;
    }

    .feature--active .feature__round {
        display: none;
    }

    .feature__title {
        display: none;
    }

    /* ---------- Depoimentos ---------- */
    .stories {
        padding-top: 37px;
    }

    .stories__title,
    .stories__sub {
        padding-inline: 15px;
    }

    .stories__sub {
        margin-top: 18px;
        font-size: 14px;
    }

    .carousel {
        margin-top: 39px;
        padding-inline: calc((100% - 203px) / 2);
        scroll-padding-inline: calc((100% - 203px) / 2);
    }

    .carousel__track {
        gap: 15px;
    }

    .story {
        flex: 0 0 203px;
        height: 359px;
    }

    .story__play {
        width: 57px;
        height: 56px;
    }

    .story__play img {
        width: 18px;
        height: 20px;
    }

    .story__note {
        top: 83.16%;
    }

    .story__amount {
        height: 28.05px;
        bottom: 12.45px;
        font-size: 14px;
        padding: 0 15px;
    }

    .stories__foot {
        flex-direction: column;
        gap: 22px;
        margin-top: 30.3px;
        padding: 0 15px;
    }

    .stories__caption {
        order: 2;
    }

    .carousel__controls {
        order: 1;
    }

    .carousel__controls .carousel__dots {
        margin: 0 40px;
    }

    /* ---------- Preço ---------- */
    .pricing {
        padding: 35.9px 15px 0;
    }

    .pricing__grid {
        display: flex;
        flex-direction: column;
        gap: 20.6px;
        margin-inline: -15px;
    }

    .pricing__head {
        order: 1;
        flex-direction: column;
        align-items: center;
        gap: 19.2px;
        padding: 0 15px;
        text-align: center;
    }

    .pricing__title {
        text-align: center;
    }

    .pricing__social {
        align-items: center;
        flex-direction: column-reverse;
        gap: 8.6px;
        padding-top: 0;
    }

    .pricing__social-text {
        text-align: center;
        font-size: 14px;
    }

    .plan {
        order: 2;
        min-height: 556.75px;
        margin: 0 15px;
        padding: 31.8px 23.5px 26px;
    }

    .plan--featured {
        order: 3;
    }

    .promo {
        order: 4;
        min-height: 848.88px;
        margin-top: 3px;
        padding: 31.5px 38.5px 51.4px;
        border-radius: 24px;
    }

    .promo__title {
        font-size: var(--fs-display);
        font-weight: 500;
        line-height: var(--lh-display);
    }

    .promo__text {
        max-width: none;
        margin-top: 24px;
    }

    .promo__gallery {
        width: 231px;
    }

    .promo__slide {
        flex-basis: 231px;
    }

    .promo__slide img {
        width: 231px;
        height: 469.22px;
    }

    /* no mobile o par fica centralizado, alinhado com a galeria */
    .promo__badges {
        justify-content: center;
        padding-top: 24px;
        gap: 9.33px;
    }

    .promo__badges a {
        flex: 0 1 110.83px;
    }

    /* ---------- CTA final ---------- */
    .final {
        padding: 50.4px 15px 0;
    }

    .final__title {
        margin-top: 24px;
    }

    .final__cta {
        display: flex;
        width: 100%;
        margin-top: 39.7px;
        font-size: 14px;
        justify-content: space-between;
    }

    /* ---------- FAQ ---------- */
    .faq {
        margin-top: 39.7px;
        padding: 0 15px;
    }

    .faq__list {
        gap: 10.44px;
    }

    .faq__q {
        gap: 16px;
        padding: 20px 28px 20px 35.5px;
        font-size: 14px;
    }

    .faq__a {
        padding: 0 35.5px 24px;
        font-size: 14px;
    }

    /* ---------- Rodapé ---------- */
    /* A ordem no mobile é: marca › redes › links › copyright.
       `display:contents` promove os filhos de .site-footer__brand
       a itens do grid para que possam ser reordenados. */
    .site-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 0;
        margin-top: 39.7px;
        padding: 0 15px 20px;
        text-align: center;
    }

    .site-footer__brand {
        display: contents;
    }

    .site-footer__brand img {
        order: 1;
        width: 151.8px;
        height: 34.05px;
    }

    .site-footer__social {
        order: 2;
        margin-top: 24px;
    }

    .site-footer__nav {
        order: 3;
        flex-direction: column;
        align-items: center;
        gap: 31px;
        margin-top: 40px;
        font-size: 14px;
    }

    .site-footer__copy {
        order: 4;
        margin-top: 39px;
        font-size: 14px;
    }
}

/* Entre 901px e 1100px os cartões de plano ficam estreitos demais para
   nome + preço na mesma linha; empilha os dois. */
@media (min-width: 901px) and (max-width: 1100px) {

    .plan__head {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan__amount,
    .plan__year {
        justify-self: start;
    }
}

/* Telas muito estreitas (abaixo do artboard de 375px) */
@media (max-width: 374px) {
    .chips {
        flex-wrap: wrap;
        justify-content: center;
    }

    .plan__head {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan__amount,
    .plan__year {
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    /* nada de entrada deslizante: o conteúdo já nasce no lugar */
    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
