/* ============================================================
   @font-face — Montserrat
   ============================================================ */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/montserrat-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/montserrat-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   @font-face — Poppins
   ============================================================ */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../assets/fonts/poppins-200-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../assets/fonts/poppins-200-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/poppins-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/poppins-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

a {
    color: #0814dd;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
/* Container estreito do novo layout (conteúdo 778px @1440) */
.container-sm {
    max-width: 826px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

/* Barras cinzas separadoras entre sections */
.bar {
    height: 20px;
    background-color: #eceaef;
}

.bar--edge {
    height: 36px;
}

/* ============================================================
   SECTION TITLES — Poppins UltraLight (100) em #0814dd
   ============================================================ */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    font-size: 2.5rem;
    color: #0814dd;
    line-height: 1.2;
}


/* ============================================================
   HERO — azul chapado, headline + lockup à esq., iPhone à dir.
   ============================================================ */
.hero {
    height: 417px;
    background-color: #0814dd;
    overflow: hidden;
}

.hero__inner {
    display: flex;
    height: 100%;
}

.hero__content-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero__headline {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 88px;
}

.hero__logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero__logo-banestes {
    width: 137px;
}

.hero__logos-divider {
    display: block;
    width: 1px;
    height: 44px;
    background-color: #ffffff;
}

/* logo-pay.png é preto — invertido para branco */
.hero__logo-pay {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero__image-col {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero__iphone {
    width: 311px;
    margin-top: 28px;
}

/* ============================================================
   COMO USAR (STEPS) — section branca, caixas azuis, linha azul
   ============================================================ */
.como {
    background-color: #ffffff;
    padding: 90px 0;
}

/* DESKTOP — 5 caixas em linha horizontal com linha contínua */
.como__steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 746px;
    margin: 0 auto;
}

/* Linha azul horizontal passando pelo centro das caixas */
.como__steps::before {
    content: '';
    position: absolute;
    top: 37px;
    left: 38px;
    right: 38px;
    height: 2px;
    background-color: #0814dd;
    z-index: 0;
}

.como__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Caixa azul arredondada com número branco */
.como__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    background-color: #0814dd;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 3rem;
    border-radius: 12px;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.como__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0814dd;
    line-height: 1.3;
}

/* ============================================================
   ONDE USAR — section azul, título à esq., 3 colunas brancas
   ============================================================ */
.onde {
    background-color: #0814dd;
    padding: 42px 0 50px;
}

.onde__title {
    color: #ffffff;
    margin-bottom: 36px;
}

/* 3 colunas: Lojas físicas / Apps / Sites */
.onde__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 72px;
}

.onde__item {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
    max-width: 196px;
}

.onde__item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #ffffff;
}

/* ============================================================
   VANTAGENS — section branca, duo compacto à esq., 3 colunas
   ============================================================ */
.vantagens {
    background-color: #ffffff;
    padding: 30px 0;
}

.vantagens__inner {
    display: flex;
    align-items: flex-start;
    gap: 52px;
}

/* Coluna esquerda: iPhone + Apple Watch compactos */
.vantagens__image-col {
    flex-shrink: 0;
}

.vantagens__devices {
    width: 133px;
}

.vantagens__content-col {
    flex: 1;
    padding-top: 15px;
}

.vantagens__title {
    font-size: 1.625rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 31px;
}

/* 3 colunas: praticidade / segurança / rapidez */
.vantagens__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
}

.vantagens__item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0814dd;
}

.vantagens__item p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #0814dd;
    line-height: 1.3;
    max-width: 200px;
}

/* ============================================================
   FAQ / ACCORDION — section azul, textos e bordas brancos
   ============================================================ */
.faq {
    background-color: #0814dd;
    padding: 72px 0;
}

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

/* "Dúvidas?" branco, deslocado da borda esquerda do container */
.faq__title {
    flex-shrink: 0;
    width: 210px;
    margin-left: 82px;
    color: #ffffff;
}

/* Borda única envolvendo todo o accordion */
.accordion {
    width: 415px;
    border: 1px solid #ffffff;
}

.accordion__item {
    border-bottom: 1px solid #ffffff;
}

.accordion__item:last-child {
    border-bottom: none;
}

.accordion__trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px;
    text-align: left;
}

.accordion__question {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: #ffffff;
    line-height: 1.4;
}

.accordion__trigger:hover .accordion__question {
    opacity: 0.8;
}

/* Ícone chevron ">" à esquerda, branco */
.accordion__icon {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
    transform: rotate(135deg);
}

.accordion__panel {
    padding: 0 16px 14px 36px;
}

.accordion__panel p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 10px;
}

.accordion__panel p:last-child {
    margin-bottom: 0;
}

.accordion__panel a {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA — fade in left
   ============================================================ */
h2.section-title,
.hero__headline {
    opacity: 0.01;
    -webkit-transform: translate3d(-48px, 0, 0);
    transform: translate3d(-48px, 0, 0);
    -webkit-transition: opacity 0.65s ease, -webkit-transform 0.65s ease;
    transition: opacity 0.65s ease, transform 0.65s ease;
    will-change: transform, opacity;
}

h2.section-title.is-visible,
.hero__headline.is-visible {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {
    .section-title {
        font-size: 2rem;
    }

    /* TABLET — hero mantém 2 colunas, apenas reduz o respiro */
    .hero__headline {
        margin-bottom: 48px;
    }

    /* TABLET — lista vertical: número esq. + texto dir. */
    .como {
        padding: 56px 0;
    }

    .como__steps {
        flex-direction: column;
        gap: 20px;
    }

    .como__steps::before {
        display: none;
    }

    .como__step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 24px;
        flex: none;
        width: 100%;
    }

    .como__number {
        width: 70px;
        height: 70px;
        font-size: 2.75rem;
        border-radius: 10px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .como__label {
        text-align: left;
        max-width: none;
    }

    /* Quebras fixas do desktop não se aplicam ao layout em linha */
    .como__label br {
        display: none;
    }

    /* ONDE — colunas empilhadas */
    .onde__list {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .onde__item {
        max-width: none;
    }

    /* VANTAGENS — imagem acima, itens empilhados */
    .vantagens {
        padding: 48px 0;
    }

    .vantagens__inner {
        flex-direction: column;
        gap: 32px;
    }

    .vantagens__image-col {
        align-self: center;
    }

    .vantagens__content-col {
        padding-top: 0;
    }

    .vantagens__title {
        font-size: 1.5rem;
    }

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

    .vantagens__item p {
        max-width: none;
    }

    .faq__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .faq__title {
        width: auto;
        margin-left: 0;
    }

    .accordion {
        width: 100%;
    }
}

/* ============================================================
   RESPONSIVE — HERO MOBILE (≤ 768px) — colunas na vertical
   ============================================================ */
@media (max-width: 768px) {
    .hero {
        height: auto;
    }

    .hero__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__content-col {
        order: 1;
        width: 100%;
        padding: 48px 0 40px;
    }

    .hero__image-col {
        order: 2;
        width: 100%;
    }

    .hero__headline {
        font-size: 1.7rem;
        margin-bottom: 40px;
    }

    .hero__iphone {
        width: 260px;
        margin-top: 0;
        margin-bottom: -80px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }

    .onde,
    .faq {
        padding: 48px 0;
    }

    /* MOBILE — mantém número esq. + texto dir., caixas menores */
    .como {
        padding: 48px 0;
    }

    .como__number {
        width: 50px;
        height: 50px;
        font-size: 2.25rem;
        border-radius: 8px;
    }

    .como__label {
        font-size: 0.85rem;
    }

    .hero__logo-banestes {
        width: 118px;
    }

    .hero__logos-divider,
    .hero__logo-pay {
        height: 38px;
    }
}
