:root {
    --bg-dark: #181A1B;
    --bg-light: #F9F9F6;
    --bg-alt-light: #F2F2EF;
    --bg-soft-panel: #F4F1EA;
    --bg-white: #FFFFFF;

    --accent-gold: rgba(200, 169, 126, 0.85);
    /* Tom do badge e ícones do card esquerda */
    --accent-gold-hover: rgba(200, 169, 126, 1);
    --accent-gold-dark: #C8A97E;
    /* Dourado do texto */

    --text-dark: #1A1A1A;
    --text-body: #4A4A4A;
    --text-light: #FFFFFF;
    --text-light-body: #D1D1D1;
    --text-muted: #8E8E8E;

    --red-section: #A20E18;
    --red-card: #8F0C15;

    --border-light: 1px solid #E9E5DE;
    --border-soft: 1px solid rgba(255, 255, 255, 0.14);
    --border-dark: 1px solid rgba(255, 255, 255, 0.08);

    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.05);
    --shadow-dark: 0 12px 32px rgba(0, 0, 0, 0.20);

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --container: 1180px;
    --radius-lg: 28px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden; /* Previne scroll horizontal em todo o site */
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.text-center {
    text-align: center;
}

.mt-48 {
    margin-top: 48px;
}

.mt-64 {
    margin-top: 64px;
}

/* =========================
   BOTÕES
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: 0.25s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: #1A1A1A;
    padding: 16px 34px;
    min-width: 260px;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-hero {
    min-width: 340px;
}

/* =========================
   HERO
========================= */
.hero-ref {
    position: relative;
    min-height: 600px; /* Reduzido para diminuir o espaço exagerado da próxima seção */
    display: flex; /* Centraliza conteúdo dinamicamente com a nova altura */
    align-items: center;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-ref__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 0; /* Removido para a imagem respirar em tela cheia */
    overflow: hidden;
}

.hero-ref__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url('vivi-hero.jpg.png');
    background-size: contain; /* Exibe enquadramento de corpo inteiro sem cortar a altura */
    background-position: right bottom; /* Fixa rigorosamente na margem direita e base */
    background-repeat: no-repeat;
    border-radius: 0;
    filter: brightness(1.15) contrast(1.05); /* Melhorando a exposição da foto no rosto */
}

/* Camada base de proteção e fusão cruzada das texturas (substituindo a mask pra garantir máxima estabilidade dos blocos) */
.hero-ref__image::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Overlay opaco recuado para a extrema esquerda, sumindo logo após os 35% e zerando aos 65% pra dar total respiro */
    background: linear-gradient(to right, rgba(24, 26, 27, 1) 0%, rgba(24, 26, 27, 1) 32%, rgba(24, 26, 27, 0) 62%);
}

/* RESPONSIVO MOBILE E TABLET */
@media (max-width: 900px) {
    .hero-ref {
        min-height: 0;
        padding-top: 40px; 
        display: flex;
        flex-direction: column; /* Força o fluxo vertical rigoroso */
    }
    .hero-ref__container {
        order: 1; /* Garante que o texto venha PRIMEIRO, no topo */
        display: block;
        width: 100%;
    }
    .hero-ref__content {
        max-width: 100%;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0px; 
    }
    .hero-ref__bg {
        order: 2; /* A imagem da Vivi entra EXATAMENTE ABAIXO do bloco de texto e botão */
        position: relative; /* Corta o posicionamento absoluto que jogava ela pra trás do texto */
        inset: auto;
        width: 100%;
        height: 350px; /* Bastante compacto, focando no enquadramento meio-corpo/rosto, mantendo agilidade na dobra */
        margin-top: 24px;
    }
    .hero-ref__image {
        position: absolute;
        inset: 0;
        background-size: cover; 
        background-position: center 15%; /* Enquadramento de meio corpo refinado pro celular */
        filter: brightness(0.88) contrast(1.08); /* Corta o extremo detalhe do estouro de luz branco na lente */
        
        /* Efeito Cinema Premium: ao invés de manchar a foto de preto por cima, nós APAGAMOS AS BORDAS
           fazendo com que a foto real derreta puramente para dentro do vazio escuro da seção */
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    }
    .hero-ref__image::after {
        display: none; /* Fim definitivo da faixa preta pesada de transição */
    }
}

.hero-ref__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-ref__content {
    position: relative;
    z-index: 1;
    max-width: 520px; /* Mais contido para garantir respiro no rosto dela */
    padding: 60px 0; /* Removido o padding da esquerda para ele encostar perfeitamente na margem e liberar espaço */
}

.hero-ref__brand {
    font-family: var(--font-serif);
    color: var(--accent-gold);
    font-size: 34px;
    line-height: 1;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.hero-ref__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 22px;
}

.hero-ref__title {
    font-family: var(--font-serif);
    color: var(--text-light);
    font-size: 72px;
    line-height: 1.04;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-ref__text {
    font-size: 21px;
    line-height: 1.65;
    color: var(--text-light-body);
    max-width: 540px;
    margin-bottom: 34px;
}

/* =========================
   BASE DAS SEÇÕES
========================= */
.section-beige {
    background: var(--bg-light);
    padding: 88px 0;
}

.section-red {
    background: var(--red-section);
    padding: 88px 0;
}

.section-heading {
    font-family: var(--font-serif);
    line-height: 1.12;
    font-weight: 500;
}

.section-heading--dark {
    color: var(--text-dark);
    font-size: 58px;
    letter-spacing: -1px;
}

.section-heading--light {
    color: var(--text-light);
    font-size: 56px;
    letter-spacing: -1px;
}

.section-first-beige {
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    padding-top: 50px;
    /* Reduzindo do padding base que era provavalemnte herdado */
}

.split-grid {
    display: grid;
    gap: 54px;
    align-items: center;
}

.split-grid--benefits {
    grid-template-columns: 1.05fr 0.95fr;
}

/* =========================
   LISTA SUAVE
========================= */
.soft-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
}

.soft-list__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-white);
    border: var(--border-light);
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: var(--shadow-soft);
}

.soft-list__icon {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: var(--accent-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    flex-shrink: 0;
    padding-top: 1px;
    /* Optical adjustment downwards */
}

.soft-list__text {
    font-size: 18px;
    line-height: 1.55;
    color: #57524c;
}

.split-grid__footnote {
    margin-top: 24px;
    font-size: 20px;
    color: #3f3a35;
}

/* =========================
   MOCKUP BOX
========================= */
.mockup-box {
    position: relative;
    background: var(--bg-soft-panel);
    border-radius: 30px;
    padding: 34px 34px 28px;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.mockup-phone {
    width: min(420px, 100%);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(24, 26, 27, 0.10), rgba(24, 26, 27, 0.22)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    color: rgba(44, 40, 36, 0.50);
}

.mockup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--accent-gold);
    font-size: 46px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    padding: 10px;
    /* Expandir área de clique */
}

.mockup-nav:hover {
    color: var(--accent-gold-hover);
}

.mockup-nav--left {
    left: 14px;
}

.mockup-nav--right {
    right: 14px;
}

.mockup-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(200, 169, 126, 0.35);
}

.mockup-dots .is-active {
    background: var(--accent-gold);
}

/* =========================
   CTA STRIP
========================= */
.cta-strip {
    margin-top: 40px;
    background: var(--bg-soft-panel);
    border-radius: 24px;
    padding: 28px 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    border: var(--border-light);
}

.cta-strip__text {
    font-size: 18px;
    line-height: 1.6;
    color: #3d3935;
    max-width: 720px;
}

/* =========================
   BLOCO DE QUALIFICAÇÃO
========================= */
.section-qualify {
    padding: 88px 0;
}

.section-qualify__header {
    max-width: 900px;
    margin: 0 auto 44px;
}

.qualify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.qualify-card {
    background: #1f2223;
    /* Fundo do card escuro (igual da oferta) */
    border: var(--border-dark);
    border-radius: 22px;
    padding: 34px 34px 28px;
    box-shadow: var(--shadow-dark);
    /* Sombras mais profundas no card escuro */
}

.qualify-card__title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 26px;
    font-family: var(--font-sans);
}

.qualify-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.qualify-list__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.qualify-list__icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--accent-gold);
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.qualify-list__icon--negative {
    background: rgba(255, 255, 255, 0.08);
    /* Fundo sutil para o "não" na versão dark */
    color: var(--text-light);
}

.qualify-list p {
    color: #E2E2E2;
    /* Texto claro de boa leitura para fundo escuro */
    font-size: 16px;
    line-height: 1.55;
}

.section-qualify__cta {
    text-align: center;
    max-width: 760px;
    margin: 40px auto 0;
}

.section-qualify__cta p {
    color: #E2E2E2;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* =========================
   BLOCOS EMPILHADOS
========================= */
.section-content-blocks {
    padding-top: 92px;
}

.section-block-header {
    margin-bottom: 42px;
}

.feature-panel {
    background: var(--bg-soft-panel);
    border-radius: 28px;
    padding: 34px 38px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    border: var(--border-light);
}

.feature-panel--reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.feature-panel__title {
    font-family: var(--font-serif);
    color: var(--text-dark);
    font-size: 52px;
    line-height: 1.08;
    font-weight: 500;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list__item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding-bottom: 24px;
    padding-top: 24px;
    border-bottom: 1px solid rgba(44, 40, 36, 0.1);
}

.feature-list__item:first-child {
    padding-top: 0;
}

.feature-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-list__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--accent-gold);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
}

.feature-list__item div {
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-body);
}

.feature-list--compact .feature-list__item div {
    font-size: 20px;
}

.feature-panel__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.stacked-cards,
.image-card {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 560px;
    border-radius: 20px;
    background: #E5DDD0;
    color: rgba(44, 40, 36, 0.45);
    box-shadow: none;
    max-width: 100%;
}

.stacked-cards--img,
.image-card--img {
    object-fit: cover;
    object-position: top center;
    background: none;
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 560px;
    border-radius: 20px;
}

/* =========================
   OFERTA / DEMAIS
========================= */
.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light-body);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-light);
}

.section-oferta,
.section-fechamento,
.site-footer {
    padding: 90px 0;
}

.section-title {
    font-size: 48px;
    margin-bottom: 24px;
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.14;
}

.grid-pricing {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.grid-pricing--single {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.grid-pricing--single .card-pricing {
    max-width: 100%;
}

.card {
    background: #1f2223;
    border: var(--border-dark);
    border-radius: 12px;
    padding: 46px 36px 36px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 420px;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
}

.card-pricing {
    max-width: 420px;
}

.pricing-destaque {
    border: 1px solid var(--accent-gold);
}

.tag-recomendado {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: #1A1A1A;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-title {
    font-family: var(--font-sans);
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 700;
}

.pricing-desc {
    font-size: 15px;
    margin-bottom: 32px;
    color: #E2E2E2;
    line-height: 1.5;
}

.pricing-value {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
    color: var(--text-light);
}

.currency {
    font-size: 20px;
    font-weight: 600;
    margin-top: 14px;
    margin-right: 6px;
}

.amount {
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 1;
}

.pricing-installments {
    font-size: 13px;
    color: #9a9a9a;
    margin-bottom: 48px;
}

.pricing-features li {
    font-size: 15px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Linha sutil separando itens */
    color: #E2E2E2;
}

.pricing-features li:first-child {
    border-top: none;
}

.pricing-features li:last-child {
    margin-bottom: 40px;
}

.pricing-btn {
    width: 100%;
    margin-bottom: 0;
    min-width: auto;
}

.pricing-garantia {
    text-align: center;
    font-size: 12px;
    color: #8e8e8e;
}

.section-light {
    background: var(--bg-soft-panel);
    /* Mudou para fundo creme */
    color: var(--text-body);
    padding: 88px 0;
}

.container-medium {
    max-width: 860px;
}

.accordion-group {
    margin-top: 48px;
}

.accordion {
    border-bottom: 1px solid rgba(44, 40, 36, 0.08);
    /* Mais suave */
}

.accordion.active {
    /* Fundo transparente para manter o visual clean */
    background: transparent;
}

.accordion-header:focus,
.accordion-header:focus-visible {
    /* Remove a borda preta padrão do navegador ao clicar */
    outline: none;
}

.accordion-header {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.accordion-header h3 {
    font-family: var(--font-sans);
    font-size: 18px;
    /* Título um pouco menor conforme referência */
    font-weight: 700;
    margin: 0;
    color: #554D44;
    /* Cor de texto das perguntas da referência */
}

.icon-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 16px;
    border-radius: 6px;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.icon-toggle::before,
.icon-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--text-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon-toggle::before {
    top: 11px;
    left: 6px;
    width: 12px;
    height: 2px;
}

.icon-toggle::after {
    top: 6px;
    left: 11px;
    width: 2px;
    height: 12px;
}

.accordion.active .icon-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.accordion-body p {
    padding-bottom: 28px;
    font-size: 17px;
    line-height: 1.7;
    color: #5b5860;
}

.accordion.active .accordion-body {
    max-height: 500px;
    opacity: 1;
}

.cta-final-title {
    font-size: 60px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.12;
    font-family: var(--font-serif);
}

.footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.footer-info {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-light-body);
    text-decoration: underline;
    text-decoration-color: var(--text-muted);
}

.fade-in-up {
    opacity: 1;
    transform: none;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

@media (max-width: 1100px) {
    .hero-ref__title {
        font-size: 58px;
    }

    .section-heading--dark,
    .section-heading--light {
        font-size: 46px;
    }

    .feature-panel__title {
        font-size: 42px;
    }

    .split-grid--benefits,
    .feature-panel,
    .feature-panel--reverse {
        grid-template-columns: 1fr;
    }

    .qualify-grid {
        grid-template-columns: 1fr;
    }

    .grid-pricing {
        flex-direction: column;
        align-items: center;
    }

    .pricing-destaque {
        transform: none;
    }

    .pricing-destaque:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px; /* Mais margem e elegancia lateral */
    }

    /* TIPOGRAFIA APURADA */
    .hero-ref__title {
        font-size: 40px;
        line-height: 1.1;
    }
    
    .hero-ref__text {
        font-size: 17px;
        line-height: 1.55;
        margin-bottom: 34px;
    }

    .hero-ref__brand {
        font-size: 24px;
        margin-bottom: 22px;
    }

    .section-heading--dark,
    .section-heading--light,
    .section-title,
    .cta-final-title {
        font-size: 34px;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .feature-panel__title {
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    /* ESPAÇOS UNIFICADOS E COMPORTAMENTO DE GRID */
    .section-beige,
    .section-red,
    .section-dark,
    .section-light,
    .section-oferta,
    .section-fechamento,
    .site-footer {
        padding: 68px 0; /* Espaço premium mas limpo */
    }

    .feature-panel {
        padding: 32px 24px;
        gap: 24px;
    }

    .cta-strip {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 32px 24px;
    }

    /* BOTÕES COM TOUCH-MINDED */
    .btn {
        padding: 18px 24px; /* Ampla área de clique */
        font-size: 17px;
    }
    
    .btn-primary,
    .btn-hero {
        width: 100%;
        min-width: unset;
    }

    /* TEXTOS CORRIDOS EM LISTAS (BOM RESPIRO) */
    .feature-list__item div,
    .soft-list__text,
    .qualify-list p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* ACORDION E ITENS CLICÁVEIS FAQ */
    .accordion-header {
        padding: 24px 0;
    }

    .accordion-header h3 {
        font-size: 16px;
        line-height: 1.45;
        padding-right: 16px;
    }

    /* CARROSSEL MOCKUP SEM QUEBRAR NAVS */
    .mockup-box {
        min-height: 0;
        padding: 24px 16px 32px;
    }

    .mockup-nav {
        /* RETORNA O DISPLAY DAS SETAS PARA PODER MEXER NO TOUCH */
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 36px;
        padding: 20px 10px; /* Touch target absurdamente claro */
        color: var(--accent-gold);
        background: transparent;
        z-index: 99;
    }
    
    .mockup-nav--left { left: 0px; }
    .mockup-nav--right { right: 0px; }

    .mockup-dots {
        margin-top: 24px;
        gap: 14px;
    }

    .mockup-dots span {
        width: 10px;
        height: 10px;
    }

    .mockup-phone {
        width: 82%; /* Espaço suficiente do lado pro dedão bater nas setas e não quebrar largura */
    }

    /* PRICING CARD E INFO FINANCEIRA */
    .card {
        padding: 40px 24px 32px;
    }

    .amount {
        font-size: 58px;
    }
    
    .pricing-title {
        font-size: 26px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}

/* =========================
   BREAKPOINT EXTRA PEQUENO (≤ 480px)
   Para iPhones SE, Android compactos, etc.
========================= */
@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    /* Tipografia ainda mais compacta */
    .hero-ref__title {
        font-size: 34px;
        line-height: 1.08;
    }

    .hero-ref__text {
        font-size: 16px;
    }

    .hero-ref__brand {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .hero-ref__eyebrow {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .section-heading--dark,
    .section-heading--light,
    .section-title,
    .cta-final-title {
        font-size: 28px;
        line-height: 1.18;
    }

    .feature-panel__title {
        font-size: 26px;
    }

    .qualify-card__title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    /* Padding de seções mais compacto */
    .section-beige,
    .section-red,
    .section-dark,
    .section-light,
    .section-oferta,
    .section-fechamento,
    .site-footer {
        padding: 52px 0;
    }

    /* Botões 100% largura em telas micro */
    .btn-primary,
    .btn-hero {
        width: 100%;
        min-width: unset;
        font-size: 16px;
        padding: 18px 20px;
    }

    /* Cards de qualificação com padding menor */
    .qualify-card {
        padding: 26px 20px 22px;
    }

    /* Feature panels mais compactos */
    .feature-panel {
        padding: 26px 18px;
        gap: 20px;
    }

    /* Imagens de módulos não ficam altíssimas */
    .stacked-cards,
    .image-card {
        min-height: 260px;
    }

    /* Cards de pricing ajustados */
    .card {
        padding: 36px 20px 28px;
    }

    .amount {
        font-size: 52px;
    }

    .pricing-title {
        font-size: 24px;
    }

    /* Texto do CTA strip */
    .cta-strip__text {
        font-size: 16px;
    }

    /* Mockup phone mais estreito */
    .mockup-phone {
        width: 76%;
    }

    /* Accordion mais compacto */
    .accordion-header {
        padding: 20px 0;
    }

    .accordion-header h3 {
        font-size: 15px;
    }

    /* Margem das utilidades */
    .mt-48 {
        margin-top: 32px;
    }

    .mt-64 {
        margin-top: 40px;
    }

    /* Footnote */
    .split-grid__footnote {
        font-size: 16px;
    }

    /* Itens da lista suave */
    .soft-list__text {
        font-size: 15px;
    }
}

/* =====================================================
   CORREÇÃO CRÍTICA DE CASCATA — HERO MOBILE
   
   O @media (max-width: 900px) declarado no MEIO do CSS
   estava sendo sobrescrito pelos estilos base de
   .hero-ref__container (display: flex) e
   .hero-ref__content (padding: 60px 0) declarados DEPOIS.
   
   Este bloco, por estar no FINAL do arquivo, garante que
   os overrides mobile sempre vençam a cascata.
====================================================== */
@media (max-width: 900px) {

    /* 1. Container: força display block para o texto
          ocupar toda a largura sem flex alignment */
    .hero-ref__container {
        display: block !important;
        position: static;
        z-index: 2;
    }

    /* 2. Conteúdo: remove o padding: 60px 0 do desktop
          que criava o enorme vazio escuro acima e abaixo */
    .hero-ref__content {
        padding: 32px 0 28px;   /* respiro controlado, sem excesso */
        max-width: 100%;
    }

    /* 3. Título: reduz agressivamente para caber bem
          e não ocupar a tela inteira em 3 linhas grandes */
    .hero-ref__title {
        font-size: 36px;
        line-height: 1.1;
    }

    /* 4. Parágrafo: confortável e sem zoom */
    .hero-ref__text {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 28px;
        max-width: 100%;
    }

    /* 5. Imagem da Vivi: compacta, integrada,
          sem a margem enorme top que a separava do texto */
    .hero-ref__bg {
        margin-top: 0;     /* remove o gap de 24px que isolava a foto */
        height: 300px;     /* altura contida — foco meio-corpo/rosto */
    }

    /* 6. Botão CTA: largura total para facilitar clique mobile */
    .btn-primary,
    .btn-hero {
        width: 100%;
        min-width: unset;
        display: flex;
        justify-content: center;
    }
}

/* =====================================================
   CORREÇÃO — SEÇÃO "OS 3 PILARES" (soft-list)
   Garante que nenhum card transborde horizontalmente
====================================================== */
@media (max-width: 900px) {

    /* Grid de 2 colunas → 1 coluna garantido */
    .split-grid,
    .split-grid--benefits {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Cada item da lista ocupa 100% sem overflow */
    .soft-list__item {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;        /* impede overflow horizontal */
        word-break: break-word;  /* quebra palavras longas se necessário */
    }

    /* Ícone "+" alinhado ao topo do texto */
    .soft-list__icon {
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 2px;
    }

    /* Texto dos pilares nunca mais largo que o container */
    .soft-list__text {
        flex: 1;
        min-width: 0;            /* fix flex overflow clássico */
        overflow-wrap: break-word;
    }

    /* Footnote da seção com fonte legível */
    .split-grid__footnote {
        font-size: 17px;
        line-height: 1.6;
    }
}

/* =====================================================
   CORREÇÃO — TELAS 375px (iPhone padrão)
====================================================== */
@media (max-width: 420px) {
    .hero-ref__title {
        font-size: 30px;
        line-height: 1.1;
    }

    .hero-ref__text {
        font-size: 16px;
    }

    .hero-ref__bg {
        height: 260px;
    }

    /* Container com respiro lateral equilibrado */
    .container {
        padding: 0 20px;
    }
}

/* =====================================================
   HERO MOBILE — TEMA CLARO (FUNDO BEGE UNIFICADO)
   
   Substitui o fundo preto por bege taupe, criando a
   ilusão de que a foto da expert se estende por trás
   do texto sem interrupções visíveis.
====================================================== */
@media (max-width: 900px) {

    /* 1. Seção: fundo bege que combina com o bg da foto */
    .hero-ref {
        background-color: #EDE8DF;
    }

    /* 2. Título: branco → marrom escuro elegante */
    .hero-ref__title {
        color: #1C1713;
    }

    /* 3. Parágrafo: cinza claro → marrom médio legível */
    .hero-ref__text {
        color: #4A433B;
    }

    /* 4. Eyebrow: dourado fica ótimo no fundo claro — mantido */
    /* .hero-ref__eyebrow já usa var(--accent-gold) — sem mudança */

    /* 5. Marca "HERA SISTERS": dourado mantido — OK no bege */
    /* .hero-ref__brand já usa var(--accent-gold) — sem mudança */

    /* 6. Imagem da expert:
          - Remove o fade preto do TOPO (que antes se dissolvia no bg escuro)
          - Mantém fade suave APENAS na base para fundir com a próxima seção
          - Remove o filter de escurecimento — foto no fundo claro precisa de brilho natural
          - Adiciona background-color bege para cobrir os cantos da máscara */
    .hero-ref__image {
        filter: brightness(1.0) contrast(1.02);
        background-color: #EDE8DF;

        /* Fade apenas embaixo, sem escurecer o topo */
        -webkit-mask-image: linear-gradient(
            to bottom,
            black 0%,
            black 80%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to bottom,
            black 0%,
            black 80%,
            transparent 100%
        );
    }

    /* 7. Container da imagem: bg bege para que os
          cantos transparentes da máscara se integrem */
    .hero-ref__bg {
        background-color: #EDE8DF;
    }

    /* 8. Garantia: overlay preto removido no mobile */
    .hero-ref__image::after {
        display: none;
    }
}

/* =====================================================
   HERO MOBILE — LAYOUT FLUTUANTE COM SOBREPOSIÇÃO
   
   O card de texto flutua com sombra sobre a foto.
   A seção "Os 3 pilares" sobe sobre a base da foto.
   Sem linhas de corte — tudo flui organicamente.
====================================================== */
@media (max-width: 900px) {

    /* -- HERO SECTION -- */

    /* Permite overflow para a sobreposição funcionar */
    .hero-ref {
        overflow: visible;
        background-color: #EDE8DF;
        padding-top: 20px;
        padding-bottom: 0;
    }

    /* Container do texto: recuo lateral para o card não encostar nas bordas */
    .hero-ref__container {
        padding: 0 16px;
        position: relative;
        z-index: 4;
    }

    /* CARD FLUTUANTE DE TEXTO:
       Bege semi-translúcido, bordas arredondadas, sombra suave.
       Margin-bottom negativo = sobrepõe a parte superior da foto. */
    .hero-ref__content {
        background: rgba(242, 237, 228, 0.98);
        border-radius: 24px;
        padding: 28px 22px 26px;
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.07),
            0 12px 40px rgba(0, 0, 0, 0.06);
        margin-bottom: -48px; /* puxa a foto para dentro do card */
        position: relative;
        z-index: 4;
        max-width: 100%;
    }

    /* BLOCO DA FOTO:
       z-index baixo (fica atrás do card de texto e da seção abaixo).
       Sem margin-top — a foto começa logo após o espaço do card. */
    .hero-ref__bg {
        z-index: 1;
        margin-top: 0;
        height: 400px;
        background-color: #EDE8DF;
        overflow: hidden;
    }

    /* FOTO DA EXPERT:
       Fade suave no TOPO: dissolve para o bege do card acima.
       Fade suave na BASE: dissolve para o branco da seção abaixo.
       Enquadramento centrado no rosto/corpo. */
    .hero-ref__image {
        background-size: cover;
        background-position: center 10%;
        filter: brightness(1.02) contrast(1.02);
        background-color: #EDE8DF;

        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 22%,
            black 68%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 22%,
            black 68%,
            transparent 100%
        );
    }
}

/* =====================================================
   SEÇÃO "OS 3 PILARES" — SOBREPOSIÇÃO NA BASE DA FOTO
   
   A seção sobe sobre a foto com margin-top negativo,
   bordas arredondadas e sombra criam efeito de cartão
   flutuante saindo do fundo.
====================================================== */
@media (max-width: 900px) {

    /* Puxa a seção para cima sobre a foto  */
    .section-first-beige {
        position: relative;
        z-index: 3;
        margin-top: -56px;
        border-radius: 28px 28px 0 0;  /* arredonda só os cantos superiores */
        border-top: none;
        padding-top: 44px;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.07);
        background: #F9F9F6; /* branco-bege da próxima seção */
    }

    /* Título da seção: sem margin extra no topo */
    .section-first-beige .section-heading--dark {
        margin-top: 0;
    }

    /* Cards da soft-list: sombra e bordas já existem,
       mas reforçamos em mobile para o efeito tátil */
    .soft-list__item {
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.05),
            0 6px 20px rgba(0, 0, 0, 0.04);
        border-radius: 16px;
    }
}

/* =====================================================
   CONTRASTE MOBILE — TEXTOS DOURADOS NO CARD BEGE
   
   No desktop (fundo escuro #181A1B), var(--accent-gold)
   = rgba(200,169,126,0.85) tem contraste excelente.
   
   No mobile (fundo bege #EDE8DF), a mesma cor some.
   Solução: #A07B45 — mesma família dourada, 15% mais
   escuro → contraste ~4.1:1 (WCAG AA ✓).
   
   Desktop: SEM alteração — cores originais mantidas.
====================================================== */
@media (max-width: 900px) {

    /* "HERA SISTERS" — mais escuro e levemente mais pesado */
    .hero-ref__brand {
        color: #A07B45;
        font-weight: 600; /* levemente mais peso para a serif ganhar presença */
    }

    /* "AUTORIDADE NÃO É SORTE. É CONSTRUÇÃO."
       já tem font-weight: 700 — apenas corrigimos a cor */
    .hero-ref__eyebrow {
        color: #A07B45;
    }
}