/* ================================
   REPRESENTANTES - HERO
================================ */

.page-hero.representantes-hero {
    position: relative;
    min-height: 520px;
    padding: 220px 0 110px;
    background:
        linear-gradient(rgba(15, 47, 58, .78), rgba(15, 47, 58, .78)),
        url("../img/representantes-hero.jpg") center/cover no-repeat;
    overflow: hidden;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.page-hero-content h1 {
    color: var(--white);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    margin-bottom: 22px;
}

.page-hero-content p {
    color: #dce8eb;
    font-size: 19px;
    line-height: 1.8;
    max-width: 720px;
}


/* ================================
   REPRESENTANTES - INTRO
================================ */

.representantes-intro {
    padding: 90px 0;
    background: var(--white);
}

.representantes-intro-grid {
    display: grid;
    grid-template-columns: 1fr .45fr;
    gap: 60px;
    align-items: center;
}

.representantes-intro-text h2 {
    max-width: 720px;
}

.representantes-intro-text p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 760px;
}

.representantes-intro-card {
    background: #f2f7f8;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(15,47,58,.08);
}

.representantes-intro-card i {
    width: 62px;
    height: 62px;
    background: var(--accent);
    color: var(--white);
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.representantes-intro-card strong {
    display: block;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 10px;
}

.representantes-intro-card span {
    color: var(--text);
    line-height: 1.7;
}


/* ================================
   REPRESENTANTES - MAPA
================================ */

.representantes-page {
    padding: 100px 0;
    background: var(--light);
}

.representantes-topo {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.representantes-topo h2 {
    color: var(--primary);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    margin-bottom: 18px;
}

.representantes-topo p {
    font-size: 17px;
    line-height: 1.8;
}

.mapa-layout {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 36px;
    align-items: stretch;
}

.mapa-brasil-box,
.representante-info {
    background: var(--white);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 20px 50px rgba(15,47,58,.08);
    border: 1px solid var(--border);
}

.mapa-brasil-box svg {
    width: 100%;
    height: auto;
    display: block;
}

.mapa-brasil-box svg path,
.mapa-brasil-box svg polygon,
.mapa-brasil-box svg .state {
    fill: #dbe5e8;
    stroke: #ffffff;
    stroke-width: 1;
    cursor: pointer;
    transition: .25s ease;
}

.mapa-brasil-box svg path:hover,
.mapa-brasil-box svg polygon:hover,
.mapa-brasil-box svg .state:hover {
    fill: var(--accent);
}

.mapa-brasil-box svg path.active,
.mapa-brasil-box svg polygon.active,
.mapa-brasil-box svg .state.active {
    fill: var(--primary);
}


/* ================================
   REPRESENTANTES - CARD INFO
================================ */

.representante-info {
    min-height: 380px;
    display: flex;
    align-items: center;
}

.info-empty,
.info-com-representante,
.info-sem-representante {
    width: 100%;
}

.info-empty i {
    width: 64px;
    height: 64px;
    background: #e8f4f6;
    color: var(--accent);
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 30px;
    margin-bottom: 22px;
}

.representante-info h3 {
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 14px;
}

.representante-info p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 22px;
}

.estado-tag {
    display: inline-block;
    background: #e8f4f6;
    color: var(--secondary);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.info-com-representante ul {
    list-style: none;
    display: grid;
    gap: 14px;
}

.info-com-representante li {
    color: var(--text);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.6;
}

.info-com-representante li i {
    color: var(--accent);
    font-size: 22px;
}

.info-com-representante a {
    color: var(--accent);
    font-weight: 800;
}


/* ================================
   REPRESENTANTES - SEM REPRESENTANTE
================================ */

.info-sem-representante {
    border-left: 5px solid #ffae00;
    padding-left: 26px;
}

.info-sem-representante h4 {
    color: var(--primary);
    font-size: 21px;
    margin: 22px 0 14px;
}

.info-acoes {
    margin-top: 22px;
}

.acao-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f2f7f8;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

.acao-box i {
    color: #25d366;
    font-size: 26px;
    margin-top: 3px;
}

.acao-box strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.acao-box span {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.btn-whatsapp-representante {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25d366;
    color: var(--white);
    padding: 16px;
    border-radius: 50px;
    font-weight: 800;
    margin-bottom: 22px;
    transition: .25s;
}

.btn-whatsapp-representante:hover {
    transform: translateY(-2px);
    filter: brightness(.95);
}

.btn-curriculo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    padding: 15px 24px;
    border-radius: 50px;
    font-weight: 800;
    transition: .25s;
}

.btn-curriculo:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.separador-representante {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}


/* ================================
   RESPONSIVO
================================ */

@media (max-width: 980px) {
    .page-hero.representantes-hero {
        padding: 180px 0 80px;
    }

    .representantes-intro-grid,
    .mapa-layout {
        grid-template-columns: 1fr;
    }

    .representantes-intro-card {
        max-width: 520px;
    }
}

@media (max-width: 620px) {
    .page-hero.representantes-hero {
        min-height: auto;
        padding: 150px 0 70px;
    }

    .page-hero-content h1 {
        font-size: 38px;
    }

    .page-hero-content p {
        font-size: 16px;
    }

    .representantes-intro,
    .representantes-page {
        padding: 70px 0;
    }

    .mapa-brasil-box,
    .representante-info,
    .representantes-intro-card {
        padding: 24px;
        border-radius: 22px;
    }

    .representante-info {
        min-height: auto;
    }

    .info-sem-representante {
        padding-left: 18px;
    }
}