@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
    --dark: #043c24;
    --green: #08733d;
    --lime: #83bd3d;
    --gold: #f2c300;
    --cream: #f7f8ef;

    --red-card: #cf302d;
    --green-card: #08733d;
    --yellow-card: #e49b00;
    --purple-card: #6d3b91;
    --blue-card: #1478b8;
    --olive-card: #607c2c;
    --orange-card: #e57c00;
    --violet-card: #633b8f;
}

/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Montserrat, Arial, sans-serif;
    background: var(--dark);
    color: #163522;
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark);
    color: #fff;
}

.logo {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1.15;
}

.logo b {
    color: var(--lime);
}

.nav {
    display: flex;
    gap: 25px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nav a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    padding: 70px 6%;
    display: flex;
    align-items: center;

    background: linear-gradient(
        110deg,
        #f8f7ec,
        #edf4e5 55%,
        #75ae5c
    );
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: 55%;
}

.eyebrow {
    font-weight: 800;
    letter-spacing: 1px;
}

.eyebrow i {
    color: var(--gold);
    font-style: normal;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.08;
    color: var(--dark);
    font-weight: 900;
    margin: 14px 0;
}

.hero h1 span {
    color: var(--green);
}

.subtitle {
    margin: 20px 0;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 30px;
    background: var(--dark);
    color: #fff;
    font-weight: 800;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px #0003;
}

/* FOTO */

.person {
    position: absolute;
    z-index: 2;
    right: 9%;
    bottom: 0;
    width: 30%;
}

.person img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
}

/* CARTÃO DO CANDIDATO */

.candidate {
    position: absolute;
    z-index: 4;
    right: 9%;
    bottom: 0;
    width: 30%;
    padding: 16px 20px;
    border-radius: 18px 18px 0 0;

    background: #04512e;
    color: #fff;

    box-shadow: 0 10px 25px #0004;
}

.candidate small {
    color: var(--gold);
    font-style: italic;
}

.candidate strong,
.candidate b {
    display: block;
    line-height: 1;
}

.candidate strong {
    font-size: 2rem;
}

.candidate b {
    font-size: 1.35rem;
    color: var(--lime);
}

.candidate span {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

.candidate em {
    color: var(--gold);
    font-style: normal;
}

.number {
    display: inline-block;
    margin-top: 9px;
    padding: 4px 13px;
    border-radius: 11px;
    background: var(--gold);
    color: #173c24;
    font-size: 1.65rem;
    font-weight: 900;
}

/* =========================
   SEÇÕES
========================= */

.section {
    width: min(1180px, 92%);
    margin: auto;
    padding: 65px 0;
}

/* =========================
   SOBRE
========================= */

.about {
    margin-top: 30px;
    padding: 38px;
    border-radius: 26px;
    background: var(--cream);

    display: flex;
    gap: 25px;
    align-items: center;
}

.about-icon {
    min-width: 85px;
    height: 85px;

    border: 3px solid var(--lime);
    border-radius: 50%;

    display: grid;
    place-items: center;

    font-size: 2.7rem;
    color: var(--dark);
}

h2 {
    font-weight: 900;
}

.about p {
    margin-top: 9px;
    max-width: 820px;
}

.link {
    display: inline-block;
    margin-top: 15px;
    color: var(--green);
    font-weight: 900;
}

/* =========================
   TÍTULOS
========================= */

.heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    color: #fff;
}

.heading > span {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--lime);
}

.heading h2 {
    color: inherit;
}

.heading p {
    color: #dcefe3;
}

.heading.dark {
    color: var(--dark);
}

/* =========================
   CARDS DAS PROPOSTAS
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.card {
    position: relative;
    min-height: 200px;
    padding: 17px;

    border-radius: 17px;

    color: #fff;
    border: 2px solid transparent;

    transition: 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px #0003;
}

.card > b {
    font-size: 2rem;
}

/* =========================
   CORES DOS CARDS
========================= */

.card.red {
    background: var(--red-card);
    border-color: var(--red-card);
}

.card.green {
    background: var(--green-card);
    border-color: var(--green-card);
}

.card.yellow {
    background: var(--yellow-card);
    border-color: var(--yellow-card);
}

.card.purple {
    background: var(--purple-card);
    border-color: var(--purple-card);
}

.card.blue {
    background: var(--blue-card);
    border-color: var(--blue-card);
}

.card.olive {
    background: var(--olive-card);
    border-color: var(--olive-card);
}

.card.orange {
    background: var(--orange-card);
    border-color: var(--orange-card);
}

.card.violet {
    background: var(--violet-card);
    border-color: var(--violet-card);
}

/* =========================
   ÍCONES DOS CARDS
========================= */

.card .icon {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.card .icon svg {
    width: 42px;
    height: 42px;
    display: block;
}

/* =========================
   TEXTOS DOS CARDS
========================= */

.card h3 {
    margin-top: 55px;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #fff;
}

.card small {
    display: block;
    margin-top: 15px;
    font-weight: 800;
    color: #fff;
}

/* =========================
   PDF
========================= */

.pdf {
    margin-top: 24px;
    padding: 18px 22px;

    border-radius: 17px;

    background: #0b6338;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.pdf p {
    color: #dcefe3;
    font-size: 0.85rem;
}

.gold {
    background: var(--gold);
    color: #173c24;
}

/* =========================
   PRINCÍPIOS
========================= */

.principles {
    background: var(--cream);
    border-radius: 26px;
    padding: 38px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
}

.principles-grid div {
    padding: 12px;

    border-right: 1px solid #cad8cf;

    font-size: 1.8rem;
    color: var(--green);
}

.principles-grid div:last-child {
    border: 0;
}

.principles-grid b {
    display: block;
    font-size: 0.68rem;
    line-height: 1.2;
    color: #163522;
}

/* =========================
   RODAPÉ
========================= */

footer {
    margin-top: 40px;
    padding: 38px 5% 15px;

    background: #043c24;
    color: #fff;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.social {
    display: flex;
    gap: 15px;
    margin-right: 10px;
}

.social a {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--gold);
    color: #173c24;

    font-size: 1.8rem;

    transition: 0.2s;
}

.social a:hover {
    transform: translateY(-4px) scale(1.05);
}

.copyright {
    width: 100%;

    text-align: center;

    border-top: 1px solid #ffffff22;

    padding-top: 12px;

    font-size: 0.72rem;
}

.copyright b {
    color: var(--gold);
}

a:hover {
    text-decoration: underline;
}

/* =========================
   PÁGINA DE PROPOSTAS
========================= */

.propostas-page {
    background: var(--cream);
    border-radius: 25px;
    margin-top: 30px;
}

.propostas-page > h1 {
    color: var(--dark);
    font-weight: 900;
}

.propostas-page > p {
    color: #163522;
    margin-top: 5px;
}

.propostas-list {
    margin-top: 30px;
    display: grid;
    gap: 25px;
}

/* =========================================
   PÁGINA DE PROPOSTAS
========================================= */

.propostas-page {
    background: var(--cream);
    border-radius: 25px;
    margin-top: 30px;
}

.propostas-page > h1 {
    color: var(--dark);
    font-weight: 900;
}

.propostas-page > p {
    color: #163522;
    margin-top: 5px;
}

.propostas-list {
    margin-top: 30px;
    display: grid;
    gap: 25px;
}

/* =========================================
   PROPOSTAS INDIVIDUAIS
========================================= */

.proposta {
    display: none;
    padding: 30px;
    border-radius: 20px;
    color: white;
    border-left: 8px solid rgba(255,255,255,0.45);
    scroll-margin-top: 100px;
    box-shadow: 0 8px 20px #0002;
}

.proposta:target {
    display: block;
}

.proposta-numero {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.proposta h2 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.5rem;
    line-height: 1.2;
}

.proposta b {
    color: white;
}

.proposta p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* =========================================
   CORES DAS 8 PROPOSTAS
========================================= */

/* 01 - Saúde */
.proposta.red {
    background: #cf302d;
}

/* 02 - Meio Ambiente */
.proposta.green {
    background: #08733d;
}

/* 03 - Educação */
.proposta.yellow {
    background: #e49b00;
}

/* 04 - Cultura e Turismo */
.proposta.purple {
    background: #6d3b91;
}

/* 05 - Esporte */
.proposta.blue {
    background: #1478b8;
}

/* 06 - Produção */
.proposta.olive {
    background: #607c2c;
}

/* 07 - Infraestrutura */
.proposta.orange {
    background: #e57c00;
}

/* 08 - Mandato */
.proposta.violet {
    background: #633b8f;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .nav {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        padding: 20px;

        flex-direction: column;

        background: var(--dark);
    }

    .nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 720px;
        align-items: flex-start;
        padding-top: 45px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .person {
        width: 75%;
        right: -5%;
    }

    .candidate {
        right: 5%;
        width: 40%;
        bottom: 18px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   CELULAR
========================= */

@media (max-width: 600px) {

    /* HEADER */

    .header {
        min-height: 65px;
        padding: 10px 20px;
    }

    .logo {
        font-size: 0.68rem;
    }

    .menu-toggle {
        font-size: 1.7rem;
    }

    .nav {
        top: 65px;
    }

    /* HERO */

    .hero {
        min-height: 900px;

        padding: 35px 20px 0;

        display: block;
    }

    .hero-copy {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 5;
    }

    .eyebrow {
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.12;
        margin: 12px 0;
    }

    .subtitle {
        margin: 15px 0;
        font-size: 0.9rem;
    }

    .hero .btn {
        font-size: 0.68rem;
        padding: 11px 16px;
    }

    /* FOTO */

    .person {
        width: 95%;
        right: -8%;
        bottom: 145px;
        z-index: 2;
    }

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

    /* CARTÃO VERDE */

    .candidate {
        width: 85%;
        right: 7.5%;
        bottom: 0;

        padding: 14px 17px;

        border-radius: 17px 17px 0 0;
    }

    .candidate strong {
        font-size: 1.55rem;
    }

    .candidate b {
        font-size: 1rem;
    }

    .candidate span {
        font-size: 0.67rem;
    }

    .number {
        font-size: 1.35rem;
        padding: 3px 11px;
    }

    /* SEÇÕES */

    .section {
        width: 92%;
        padding: 45px 0;
    }

    /* SOBRE */

    .about {
        flex-direction: column;
        align-items: flex-start;

        padding: 25px;

        border-radius: 20px;
    }

    .about-icon {
        min-width: 65px;
        width: 65px;
        height: 65px;

        font-size: 2rem;
    }

    .about h2 {
        font-size: 1.25rem;
    }

    .about p {
        font-size: 0.88rem;
    }

    /* TÍTULOS */

    .heading {
        gap: 10px;
    }

    .heading > span {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .heading h2 {
        font-size: 1.3rem;
    }

    .heading p {
        font-size: 0.75rem;
    }

    /* PROPOSTAS */

    .grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card {
        min-height: 185px;
        padding: 15px;
    }

    .card > b {
        font-size: 1.6rem;
    }

    .card .icon {
        width: 55px;
        height: 55px;

        top: 14px;
        right: 14px;
    }

    .card .icon svg {
        width: 32px;
        height: 32px;
    }

    .card h3 {
        margin-top: 58px;
        font-size: 0.78rem;
    }

    .card small {
        margin-top: 12px;
        font-size: 0.7rem;
    }

    /* PDF */

    .pdf {
        flex-direction: column;
        align-items: stretch;
        text-align: center;

        padding: 20px 16px;
    }

    .pdf b {
        font-size: 0.8rem;
    }

    .pdf p {
        font-size: 0.72rem;
        margin-top: 5px;
    }

    .pdf .btn {
        width: 100%;
        text-align: center;
    }

    /* PRINCÍPIOS */

    .principles {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principles-grid div {
        border-right: 1px solid #cad8cf;
        border-bottom: 1px solid #cad8cf;

        padding: 15px 8px;

        font-size: 1.5rem;
    }

    .principles-grid div:nth-child(2n) {
        border-right: 0;
    }

    .principles-grid div:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .principles-grid b {
        font-size: 0.62rem;
    }

    /* FOOTER */

    footer {
        margin-top: 30px;

        padding: 35px 20px 15px;

        text-align: center;

        flex-direction: column;
        align-items: center;
    }

    footer h2 {
        font-size: 1.25rem;
    }

    footer p {
        font-size: 0.8rem;
    }

    .social {
        margin: 15px 0;
        justify-content: center;
    }

    .social a {
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
    }

    .copyright {
        font-size: 0.62rem;
    }

    /* PROPOSTA INDIVIDUAL */

    .proposta {
        padding: 20px;

        border-radius: 15px;

        border-left-width: 5px;
    }

    .proposta h2 {
        font-size: 1.15rem;
    }

    .proposta p {
        font-size: 0.85rem;
    }
}

/* =========================
   CELULARES PEQUENOS
========================= */

@media (max-width: 380px) {

    .hero {
        min-height: 850px;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .hero .btn {
        font-size: 0.62rem;
    }

    .person {
        width: 100%;
        right: -12%;
        bottom: 140px;
    }

    .candidate {
        width: 90%;
        right: 5%;
    }

    .candidate strong {
        font-size: 1.4rem;
    }

    .candidate b {
        font-size: 0.9rem;
    }

    .number {
        font-size: 1.2rem;
    }

    .card {
        min-height: 175px;
    }
}

/* =========================================
   HERO - CELULAR
========================================= */

@media (max-width: 600px) {

    .hero {
        min-height: 900px;
        padding: 35px 6% 0;
        display: block;
        position: relative;
        overflow: hidden;
    }

    .hero-copy {
        position: relative;
        z-index: 5;
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        margin: 12px 0;
    }

    .hero .subtitle {
        font-size: 0.95rem;
        margin: 15px 0;
    }

    .hero .btn {
        position: relative;
        z-index: 10;
        font-size: 0.75rem;
        padding: 12px 16px;
    }

    /* FOTO */

    .person {
        position: absolute;
        z-index: 2;
        width: 100%;
        max-width: 430px;
        right: -12%;
        bottom: 0;
    }

    .person img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* ÁREA DO CANDIDATO */

    .candidate {
        z-index: 6;
        right: 5%;
        bottom: 0;
        width: 205px;
        padding: 12px 15px;
    }
}
.proposta .btn {
    display: none !important;
}
