/* Revisão visual mobile local — superfícies, ritmo e hierarquia. */
@media (max-width: 768px) {
    :root {
        --mobile-gutter: clamp(20px, 6.2vw, 28px);
        --mobile-ink: #082f62;
        --mobile-copy: #52627a;
        --mobile-line: #d9e3ee;
        --mobile-mist: #f2f6fa;
        --mobile-warm: #fff8dc;
    }

    ::selection {
        background: #f9c515;
        color: #082f62;
    }

    .container {
        padding-inline: var(--mobile-gutter);
    }

    main > section:not(.hero) {
        position: relative;
        isolation: isolate;
        overflow: hidden;
    }

    main > section:not(.hero) > .container {
        position: relative;
        z-index: 2;
    }

    .section {
        padding-block: clamp(66px, 17vw, 84px);
    }

    .section-header {
        max-width: none;
        margin: 0 0 36px;
        text-align: left;
    }

    .section-title,
    .manifesto-title {
        font-size: clamp(2rem, 9.4vw, 2.75rem);
        line-height: 1.06;
        letter-spacing: -.035em;
        text-wrap: balance;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.62;
    }

    .section-tag {
        margin-bottom: 18px;
        padding: 7px 11px;
        border-radius: 8px;
        letter-spacing: .1em;
    }

    .support-heart {
        flex: 0 0 auto;
        stroke-width: 1.9;
    }

    .hero-mobile-primary:active .support-heart,
    .btn-yellow:active .support-heart {
        transform: scale(.9);
    }

    /* Faixa de experiência: mais editorial, menos coleção de ícones. */
    .trust-bar {
        padding: 24px 0;
        background:
            radial-gradient(circle at 100% 0, rgba(249, 197, 21, .18), transparent 42%),
            #fff9e6;
        box-shadow: inset 0 1px rgba(249, 197, 21, .28), inset 0 -1px rgba(249, 197, 21, .22);
    }

    .trust-container {
        gap: 0;
        padding-inline: var(--mobile-gutter);
    }

    .trust-item {
        width: 100%;
        min-height: 94px;
        gap: 16px;
        padding: 18px 0;
        border-bottom: 1px solid rgba(8, 47, 98, .12);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .trust-icon {
        width: 52px;
        height: 52px;
        border: 1px solid rgba(8, 47, 98, .13);
        border-radius: 14px;
        background: rgba(255, 255, 255, .72);
        box-shadow: 0 10px 26px rgba(8, 47, 98, .07);
        color: #0752a5;
    }

    .trust-number {
        font-size: clamp(1.12rem, 5.2vw, 1.35rem);
        line-height: 1.18;
    }

    .trust-label {
        margin-top: 3px;
        color: #5d6b81;
        font-size: .88rem;
    }

    /* História */
    .about.section {
        padding-block: 62px 76px;
        background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
    }

    .about::before {
        content: '';
        position: absolute;
        z-index: -1;
        top: 92px;
        right: -172px;
        width: 330px;
        height: 330px;
        border: 1px solid rgba(7, 82, 165, .1);
        border-radius: 50%;
        box-shadow: inset 0 0 0 48px rgba(7, 82, 165, .025);
    }

    .about-container {
        gap: 24px;
    }

    .about-content-column .section-tag {
        padding: 7px 11px;
        border: 1px solid rgba(7, 82, 165, .15);
        border-left-width: 1px;
        border-radius: 8px;
        background: #edf3f9;
    }

    .about-content-column .section-title {
        margin-top: 2px;
        margin-bottom: 8px;
    }

    .about-text-body p {
        margin-bottom: 18px;
        color: #5b6980;
        font-size: .98rem;
        line-height: 1.72;
    }

    .about-text-body p.lead-p {
        color: #17243a;
        font-size: 1.04rem;
        line-height: 1.62;
    }

    .about-image-card {
        border-radius: 16px;
        box-shadow: 0 24px 50px rgba(8, 47, 98, .14);
    }

    .about-image {
        height: min(126vw, 520px);
    }

    .about-image-caption {
        padding: 54px 20px 18px;
    }

    .about-highlight-box {
        padding: 21px 20px;
        border: 0;
        border-radius: 14px;
        background: #082f62;
        box-shadow: 0 18px 38px rgba(8, 47, 98, .16);
    }

    .about-highlight-box svg {
        color: #f9c515;
    }

    .about-highlight-box span {
        color: #fff;
        font-size: 1rem;
        line-height: 1.45;
    }

    /* Experiência: uma única trilha visual contínua. */
    .experience {
        background:
            radial-gradient(circle at 108% 8%, rgba(7, 82, 165, .09), transparent 36%),
            #eef4f9;
    }

    .experience::after {
        content: '20+';
        position: absolute;
        z-index: -1;
        right: -18px;
        top: 18px;
        color: rgba(7, 82, 165, .045);
        font-size: 8rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.08em;
    }

    .experience-grid {
        gap: 0;
        padding: 8px 20px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 22px 50px rgba(8, 47, 98, .09);
    }

    .experience-card {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 15px;
        align-items: center;
        padding: 25px 0;
        border: 0;
        border-bottom: 1px solid #dfe7f0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .experience-card:last-child {
        border-bottom: 0;
    }

    .experience-card .card-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 52px;
        height: 52px;
        margin: 0;
        border: 1px solid rgba(7, 82, 165, .12);
        border-radius: 14px;
        background: #edf3f9;
    }

    .experience-card .card-big-stat,
    .experience-card .card-title {
        grid-column: 2;
        margin: 0 0 4px;
        font-size: 1.16rem;
        line-height: 1.25;
    }

    .experience-card .card-desc {
        grid-column: 2;
        color: #65738a;
        font-size: .88rem;
        line-height: 1.45;
    }

    /* Motivação */
    .why-politics {
        background:
            radial-gradient(circle at 118% 12%, rgba(45, 124, 210, .34), transparent 42%),
            linear-gradient(155deg, #074584 0%, #032a5e 72%);
    }

    .why-politics::after {
        content: '22.192';
        position: absolute;
        z-index: -1;
        right: -30px;
        bottom: -24px;
        color: rgba(255, 255, 255, .035);
        font-size: 6.8rem;
        font-weight: 800;
        letter-spacing: -.08em;
        line-height: 1;
    }

    .why-politics .section-tag-light {
        border: 1px solid rgba(249, 197, 21, .35);
        background: rgba(3, 30, 67, .42);
    }

    .why-body-text p {
        color: rgba(255, 255, 255, .78);
        font-size: 1rem;
        line-height: 1.7;
    }

    .quote-box {
        margin: 30px 0;
        padding: 24px 22px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 14px;
        background: rgba(2, 28, 62, .58);
        box-shadow: 0 20px 46px rgba(0, 0, 0, .14);
    }

    .quote-box p {
        font-size: 1.18rem;
        line-height: 1.48;
    }

    .pillars-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .pillar-pill {
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .1);
        text-align: center;
    }

    /* Prioridades: números como navegação da narrativa, sem caixas repetidas. */
    .priorities {
        background:
            radial-gradient(circle at -8% 100%, rgba(249, 197, 21, .18), transparent 34%),
            #fffdf7;
    }

    .priorities .section-header {
        margin-bottom: 24px;
    }

    .priorities-grid {
        gap: 0;
    }

    .priority-card {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        column-gap: 16px;
        padding: 26px 0;
        border: 0;
        border-top: 1px solid rgba(8, 47, 98, .14);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .priority-card::before {
        display: none;
    }

    .priority-number {
        display: grid;
        grid-column: 1;
        grid-row: 1 / 3;
        width: 46px;
        height: 46px;
        margin: 0;
        place-items: center;
        border-radius: 12px;
        background: #082f62;
        color: #f9c515;
        font-size: .95rem;
        letter-spacing: .04em;
    }

    .priority-title,
    .priority-desc {
        grid-column: 2;
    }

    .priority-title {
        margin-bottom: 7px;
        font-size: 1.18rem;
        line-height: 1.32;
    }

    .priority-desc {
        color: #5f6d82;
        font-size: .94rem;
        line-height: 1.58;
    }

    /* Manifesto */
    .manifesto {
        padding-block: 68px 76px;
        background:
            radial-gradient(circle at 102% 18%, rgba(32, 104, 181, .35), transparent 40%),
            linear-gradient(155deg, #074584 0%, #032a5e 72%);
    }

    .manifesto::after {
        content: 'REN';
        position: absolute;
        z-index: -1;
        right: -18px;
        bottom: -28px;
        color: rgba(255, 255, 255, .035);
        font-size: 9rem;
        font-weight: 800;
        line-height: 1;
    }

    .manifesto-container {
        gap: 34px;
        text-align: left;
    }

    .manifesto-image-wrap {
        border-radius: 16px;
        box-shadow: 0 26px 52px rgba(0, 0, 0, .2);
    }

    .manifesto-img {
        height: min(118vw, 500px);
    }

    .manifesto .section-tag-light {
        border: 1px solid rgba(249, 197, 21, .38);
        background: rgba(3, 30, 67, .45);
    }

    .manifesto-body p {
        color: rgba(255, 255, 255, .78);
        font-size: 1rem;
        line-height: 1.66;
        text-align: left;
    }

    .manifesto-highlights {
        gap: 10px;
        margin: 30px 0;
        padding: 21px 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .mh-item {
        font-size: 1.07rem;
    }

    .mh-main {
        font-size: 1.25rem;
    }

    .manifesto-signature {
        align-items: flex-start;
        text-align: left;
    }

    /* Lembrete de voto: passa a funcionar como peça editorial, não como banner genérico. */
    .vote-number.section {
        padding-block: 72px 76px;
        background: #f1f5f9;
        color: var(--mobile-ink);
    }

    .vote-number::before {
        content: '';
        position: absolute;
        z-index: -1;
        top: -84px;
        right: -104px;
        width: 250px;
        height: 250px;
        border: 28px solid rgba(7, 82, 165, .055);
        border-radius: 56px;
        transform: rotate(13deg);
    }

    .vote-bg-accents .accent-green {
        top: auto;
        right: -55px;
        bottom: -88px;
        width: 190px;
        height: 190px;
        border: 26px solid rgba(249, 197, 21, .16);
        border-radius: 50%;
        background: none;
    }

    .vote-bg-accents .accent-yellow {
        top: 36%;
        bottom: auto;
        left: -78px;
        width: 150px;
        height: 150px;
        border-radius: 32px;
        background: rgba(7, 82, 165, .045);
        transform: rotate(-16deg);
    }

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

    .vote-subtext {
        display: inline-flex;
        margin-bottom: 18px;
        padding: 7px 11px;
        border: 1px solid rgba(7, 82, 165, .16);
        border-radius: 8px;
        background: #e7eef6;
        color: #0752a5;
        font-size: .73rem;
        line-height: 1.2;
        letter-spacing: .11em;
    }

    .big-number-display {
        margin: 0 0 18px;
        color: #0752a5;
        font-size: clamp(4.7rem, 22vw, 6.1rem);
        font-variant-numeric: tabular-nums;
        line-height: .88;
        letter-spacing: -.055em;
        text-shadow: none;
    }

    .vote-candidate-name {
        color: #082f62;
        font-size: 1.58rem;
        line-height: 1.16;
        letter-spacing: -.02em;
    }

    .vote-candidate-role {
        margin-top: 7px;
        margin-bottom: 0;
        color: #0752a5;
        font-size: .86rem;
        letter-spacing: .12em;
    }

    .vote-slogan {
        max-width: 300px;
        margin: 24px 0 30px;
        color: #56657b;
        font-size: 1.02rem;
        font-style: normal;
        line-height: 1.55;
    }

    .vote-final-call {
        display: block;
        width: 100%;
        padding: 20px;
        border: 0;
        border-radius: 14px;
        background: #082f62;
        box-shadow: 0 20px 42px rgba(8, 47, 98, .16);
        color: #fff;
        font-size: 1.2rem;
        line-height: 1.35;
        text-align: left;
    }

    .vote-final-call::after {
        content: '22.192';
        display: block;
        margin-top: 5px;
        color: #f9c515;
        font-size: .9rem;
        letter-spacing: .1em;
        white-space: nowrap;
    }

    /* Campanha e rodapé */
    .campaign-live {
        border-top-color: #d9e3ee;
    }

    .footer {
        padding: 50px 0 max(30px, env(safe-area-inset-bottom));
        background:
            radial-gradient(circle at 100% 0, rgba(17, 92, 172, .28), transparent 38%),
            #032a5e;
    }

    .footer-container {
        gap: 24px;
    }
}

@media (max-width: 360px) {
    .section-title,
    .manifesto-title {
        font-size: 1.9rem;
    }

    .priority-card {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 13px;
    }

    .priority-number {
        width: 42px;
        height: 42px;
    }

    .vote-candidate-name {
        font-size: 1.4rem;
    }
}
