/* ===== Paleta extraída do PDF original ===== */
:root {
    --teal:        #1c6e8a;   /* azul-petróleo dos textos/menu */
    --teal-deep:   #14536b;
    --navy:        #213f59;   /* azul do rodapé */
    --green:       #6cad08;   /* verde dos botões/destaques */
    --green-d:     #5c9406;
    --pill-a:      #24414f;   /* gradiente das pílulas (esquerda) */
    --pill-b:      #4d7d83;   /* gradiente das pílulas (direita) */
    --fb:          #2d8a7d;   /* botão facebook */
    --ig-a:        #e07a45;   /* botão instagram (gradiente) */
    --ig-b:        #cf5b6d;
    --text:        #233140;
    --white:       #ffffff;
    --shadow:      0 8px 26px rgba(0,0,0,.12);
}

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

html { overflow-x: hidden; }
body {
    font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.45;
    background: var(--white);
    overflow-x: hidden;   /* impede a foto/braço de vazar pro lado */
}
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 26px); }

/* botão verde reutilizável */
.btn-green {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--green); color: #fff; font-weight: 600;
    border-radius: 40px; padding: 12px 26px; font-size: 16px;
    transition: background .2s, transform .15s; border: none; cursor: pointer;
    box-shadow: 0 4px 12px rgba(108,173,8,.35);
}
.btn-green:hover { background: var(--green-d); transform: translateY(-1px); }
.btn-green .ico, .btn-green .ico-wpp { width: 18px; height: 18px; }

/* ===================== HEADER ===================== */
.topbar {
    height: 16px;
    background: linear-gradient(90deg, #1b3551 0%, #244a60 55%, #2f5a6c 100%);
    border-bottom: 3px solid var(--green);
}
.header {
    position: relative; z-index: 50; padding: 8px 0;
    background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.logo-card {
    background: #fff; border-radius: 14px; padding: 10px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.14); display: inline-flex; align-items: center;
    margin-top: -34px;   /* sobe e cobre a faixa azul, como no PDF */
}
.logo-card img { height: 76px; width: auto; display: block; }
.logo-card span { color: var(--teal); font-weight: 800; font-size: 20px; }

.nav { display: flex; align-items: center; gap: 26px; }
.menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.menu-item { position: relative; }
.menu-item > a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 16px; font-weight: 500; color: var(--teal); padding: 8px 0;
    transition: color .2s;
}
.menu-item > a:hover { color: var(--green); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; display: inline-block; }

.submenu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: #fff; border-radius: 12px; box-shadow: var(--shadow);
    list-style: none; min-width: 210px; padding: 8px 0; opacity: 0; visibility: hidden;
    transition: all .22s ease;
}
.menu-item.has-submenu:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.submenu li a { display: block; padding: 10px 18px; font-size: 15px; color: var(--text); }
.submenu li a:hover { background: #f1f5f7; color: var(--green); }

.btn-header { font-size: 15px; padding: 10px 22px; }
.search-ico { color: var(--teal); display: inline-flex; }
.search-ico svg { width: 20px; height: 20px; }

/* ===================== HERO ===================== */
.hero {
    position: relative; min-height: 560px;
    background-color: #eef2f4;
    background-size: cover; background-position: left bottom; background-repeat: no-repeat;
    display: flex; align-items: center;
    overflow: visible;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(238,242,244,.92) 0%, rgba(238,242,244,.55) 38%, rgba(238,242,244,0) 62%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 30px; }
.hero-text { max-width: 560px; }
.hero-tagline { color: var(--teal); font-size: clamp(1.25rem, 4.2vw, 28px); font-weight: 600; margin-bottom: 8px; }
.hero-title { color: var(--green); font-size: clamp(2rem, 6.5vw, 56px); font-weight: 800; line-height: 1.05; margin-bottom: clamp(18px, 3vw, 30px); }
.hero-title .green { color: var(--green); }
.hero-title .excl { color: var(--teal); }
.btn-hero { font-size: 17px; padding: 14px 30px; }

/* ===================== COMUNIDADES ===================== */
.communities { background: #fff; padding: 70px 0 80px; text-align: center; }
.comm-title {
    color: var(--teal); font-size: clamp(1.7rem, 5.5vw, 44px); font-weight: 800; letter-spacing: .5px; margin-bottom: 4px;
}
.comm-subtitle { font-size: clamp(1.1rem, 3.6vw, 24px); font-weight: 600; color: var(--green); margin-bottom: clamp(28px, 5vw, 44px); }
.comm-subtitle strong { color: var(--teal-deep); font-weight: 800; }

.comm-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px;
    max-width: 960px; margin: 0 auto;
}
.comm-pill {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(90deg, var(--pill-a) 0%, var(--pill-b) 100%);
    border-radius: 40px; padding: 12px 18px; color: #fff;
    box-shadow: 0 6px 16px rgba(33,63,89,.22);
    transition: transform .15s, box-shadow .2s;
}
.comm-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(33,63,89,.3); }
.comm-pill .pin {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
    background: rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center;
}
.comm-pill .pin svg { width: 24px; height: 24px; color: #bfe0e3; }
.pill-text { text-align: left; display: flex; flex-direction: column; }
.pill-text strong { font-size: 19px; font-weight: 600; }
.pill-text small { font-size: 12px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.pill-text .dot { width: 7px; height: 7px; border-radius: 50%; background: #7fc7cb; display: inline-block; }

.comm-grid > .comm-pill:last-child:nth-child(odd) {
    grid-column: 1 / -1; max-width: 467px; margin: 0 auto;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--navy); color: #fff; padding: 50px 0 26px; }
.footer-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-logo img { height: 88px; width: auto; }
.footer-logo span { font-size: 24px; font-weight: 800; }

.footer-social { text-align: right; }
.social-title { line-height: 1; margin-bottom: 16px; }
.social-title .small { display: block; font-size: clamp(1.2rem, 4.5vw, 26px); font-weight: 500; }
.social-title .big { display: block; font-size: clamp(2rem, 8vw, 46px); font-weight: 800; letter-spacing: .5px; }

.social-buttons { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; }
.social-btn {
    display: inline-flex; align-items: center; gap: 10px;
    border-radius: 40px; padding: 11px 22px; color: #fff; font-weight: 600; font-size: 16px;
    transition: transform .15s, filter .2s;
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.social-btn.fb { background: var(--fb); }
.social-btn.ig { background: linear-gradient(90deg, var(--ig-a), var(--ig-b)); }

.footer-legal { text-align: center; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.8); }
.footer-admin { text-align: center; margin-top: 8px; }
.footer-admin a { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-admin a:hover { color: #fff; }

/* ===================== MENU MOBILE ===================== */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 27px; height: 3px; background: var(--teal); border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== RESPONSIVO (MOBILE — fiel ao PDF) ===================== */
@media (max-width: 980px) {
    /* HEADER: hamburguer a esquerda, logo ao centro, botao verde redondo a direita */
    .header { padding: 6px 0; }
    .header-inner { position: relative; justify-content: space-between; gap: 10px; }
    .nav-toggle { display: flex; order: 1; position: relative; z-index: 1101; }
    .logo-card {
        position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
        margin-top: 0; padding: 6px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12);
    }
    .logo-card img { height: 52px; }
    .header-cta { order: 3; }

    /* menu off-canvas */
    .nav {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; z-index: 1100;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 80px 22px 22px; box-shadow: -4px 0 20px rgba(0,0,0,.15);
        transition: right .3s ease; overflow-y: auto; gap: 4px;
    }
    .nav.open { right: 0; }
    .menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .menu-item > a { padding: 12px 0; border-bottom: 1px solid #eee; }
    .submenu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; max-height: 0; overflow: hidden; padding: 0; transition: max-height .25s ease;
    }
    .menu-item.open .submenu { max-height: 400px; padding: 4px 0 8px; }
    .btn-header { margin-top: 14px; justify-content: center; }
    .search-ico { display: none; }

    /* HERO: tudo centralizado; foto da candidata ABAIXO do texto, no fluxo */
    .hero {
        flex-direction: column; min-height: auto; overflow: visible;
        background-position: center top; padding-top: 26px; text-align: center;
    }
    .hero-overlay { background: linear-gradient(180deg, rgba(238,242,244,.6) 0%, rgba(238,242,244,.15) 70%); }
    .hero-inner { order: 1; padding-top: 0; }
    .hero-text { max-width: 100%; margin: 0 auto; }
    .hero-title { margin-bottom: clamp(16px, 4vw, 22px); }
    .btn-hero { margin-bottom: 6px; }
    .hero-photo {
        order: 2; position: relative; z-index: 1;   /* acima da sobreposicao */
        height: auto; width: min(86%, 340px); max-width: 100%;
        margin: 6px auto 0; pointer-events: auto;
    }
    .hero-photo img { height: auto; width: 100%; max-width: 100%; display: block; }

    /* FOOTER centralizado; botoes empilhados (Instagram em cima, como no PDF) */
    .footer-inner { flex-direction: column; text-align: center; gap: 22px; }
    .footer-social { text-align: center; }
    .social-buttons { flex-direction: column; align-items: center; gap: 14px; }
    .social-btn { width: 100%; max-width: 320px; justify-content: center; }
    .social-btn.ig { order: -1; }
}

/* comunidades em 1 coluna */
@media (max-width: 820px) {
    .comm-grid { grid-template-columns: 1fr; max-width: 460px; }
    .comm-grid > .comm-pill:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
    .comm-title { font-size: 30px; }
    .comm-subtitle { font-size: 18px; }
}

@media (max-width: 380px) {
    .logo-card img { height: 46px; }
    .container { padding: 0 14px; }
}

/* ===== Foto da candidata em primeiro plano (DESKTOP, sobre o menu) ===== */
@media (min-width: 981px) {
    .hero-photo {
        position: absolute; right: 0; bottom: 0;
        height: calc(100% + 88px);
        z-index: 999;
        pointer-events: none;
    }
    .hero-photo img { height: 100%; width: auto; display: block; }
}

/* botao redondo verde do header (so no mobile) */
.header-cta { display: none; }
@media (max-width: 980px) {
    .header-cta {
        display: inline-flex; align-items: center; justify-content: center;
        width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
        background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(108,173,8,.4);
    }
    .header-cta:hover { background: var(--green-d); }
    .header-cta svg { width: 22px; height: 22px; }
}

.footer-resp { text-align: center; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.6); }
