/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Colors based on pamphlets (Blue & Orange) */
    --primary-color: #0b246a; /* Deep Blue */
    --primary-light: #1640a8;
    --accent-color: #fbbc04; /* Bright Yellow */
    --accent-light: #fcd04b;
    
    /* Neutrals */
    --bg-color: #ffffff;
    --bg-light: #f4f7fb;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e5e7eb;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-cursive: 'Caveat', cursive;
    --font-number: 'Montserrat', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(11, 36, 106, 0.15);
    
    /* Spacing */
    --section-pad: 3rem 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-pad);
}

.bg-light { background-color: var(--bg-light); }
.bg-primary { 
    background-color: var(--primary-color); 
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}
.text-white { color: #ffffff !important; }
.text-white-50 { color: rgba(255,255,255,0.8); }
.text-accent { color: var(--accent-color); }
.text-center { text-align: center; }
.position-relative { position: relative; }
.z-index-1 { position: relative; z-index: 1; }
.mb-5 { margin-bottom: 3rem; }

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(241, 120, 34, 0.4);
}

.btn-primary:hover {
    background-color: #d76515;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(241, 120, 34, 0.6);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #f0f4f9; /* Azul bem clarinho/gelo */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 55%;
    height: 130%;
    background-color: #fff9e6; /* Amarelo bem clarinho/bege */
    border-radius: 40% 0 0 50%;
    transform: rotate(-10deg);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 25px 25px;
    z-index: 1;
}



.hero-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    animation: slideInLeft 1s ease forwards;
}

.badge {
    display: inline-block;
    background-color: rgba(241, 120, 34, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(241, 120, 34, 0.2);
}

.badge i { margin-right: 5px; }

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.hero h1 .highlight {
    color: var(--primary-color);
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    max-width: 500px;
}

.campaign-brand {
    text-align: left;
    margin-bottom: 1rem;
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-logo-main {
    width: 130%;
    max-width: 800px;
    margin-left: -5%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}



.vote-number {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: -15px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.cursive-subtitle {
    font-family: var(--font-cursive);
    font-size: 3rem;
    color: var(--text-main);
    line-height: 1;
    margin-top: -15px;
    transform: rotate(-3deg);
    display: inline-block;
}

.cursive-text {
    font-family: var(--font-cursive);
    font-weight: 700;
}

.number-text {
    font-family: var(--font-number);
    font-style: italic;
    font-weight: 800;
    letter-spacing: -1px;
}

.subtitle-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.quote-box {
    background-color: #fff;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 550px;
}

.quote-box blockquote {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.quote-icon {
    color: rgba(241, 120, 34, 0.15);
    font-size: 2rem;
    position: absolute;
}
.fa-quote-left { top: 10px; left: 10px; }
.fa-quote-right { bottom: 10px; right: 10px; }

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease forwards;
}

.image-bg-shape {
    display: none; /* Desativado a pedido para testar a máscara circular na foto */
}

#hero-img {
    width: 550px;
    height: 550px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 10px solid #ffffff;
    box-shadow: 0 15px 35px rgba(11, 36, 106, 0.15);
    background-color: #fff; /* Caso a imagem seja PNG, ajuda no contraste da borda */
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--bg-light);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: var(--font-cursive);
    font-size: 3.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1;
}

.section-title span {
    color: var(--accent-color);
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   Sobre (Trajetória) Section
   ========================================================================== */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--accent-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(11, 36, 106, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: #fff;
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-muted);
}

/* ==========================================================================
   Trabalho Social Section
   ========================================================================== */
.social-impact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.icon-wrapper {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.impact-item h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Mandato Section
   ========================================================================== */
.mandato-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.mandato-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-showcase {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(11, 36, 106, 0.05) 0%, rgba(241, 120, 34, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary-color);
    position: relative;
    box-shadow: inset 0 0 50px rgba(255,255,255,0.5);
    animation: float 6s ease-in-out infinite;
}

.icon-showcase::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px dashed rgba(241, 120, 34, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.mandato-text {
    flex: 1.5;
}

.mandato-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mandato-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--bg-light);
    padding: 1.25rem;
    border-radius: 12px;
    transition: var(--transition);
}

.mandato-list li:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
    transform: translateX(10px);
}

.list-icon {
    background-color: var(--accent-color);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 0.8rem;
}

.mandato-list strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.mandato-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Videos Section
   ========================================================================== */
.videos-section {
    background-color: #f4f7fb;
    padding-bottom: 5rem;
}

.videos-slider {
    padding: 10px 40px 40px; /* Espaço para as setas laterais e a paginação embaixo */
}

.videos-slider .swiper-slide {
    display: flex;
    justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
}
.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-info .tagline {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.logo-psb {
    height: 130px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin: -40px 0 -40px 15px; /* Evita que a altura grande afaste os outros textos */
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-slogan {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 10px;
}

.slogan-main {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slogan-main i {
    color: var(--accent-color);
}

.handwriting {
    font-style: italic;
    font-size: 1.5rem;
    color: var(--accent-light);
    font-family: 'Georgia', serif;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero h1 .highlight { font-size: 3.5rem; }
    .hero-container { flex-direction: column; text-align: center; gap: 2rem; padding-top: 2rem; }
    .hero-text { align-self: center !important; margin-top: 0 !important; }
    .hero-logo-wrapper { align-items: center; }
    .hero-logo-main { width: 100%; max-width: 90%; margin-left: 0; }
    
    .hero::before {
        width: 150%;
        height: 60%;
        bottom: -10%;
        right: -25%;
        border-radius: 50% 50% 0 0;
        transform: rotate(-5deg);
    }

    .quote-box { margin: 0 auto 2rem; text-align: left; }
    .mandato-grid { flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-info { display: flex; flex-direction: column; align-items: center; }
    .social-links { justify-content: center; }
    .footer-slogan { justify-content: center; align-items: center; margin-top: 1rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
    }
    .nav-links.active { left: 0; }
    
    .hero { padding-top: 100px; min-height: auto; padding-bottom: 80px;}
    .hero-text { padding: 0 1rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero h1 .highlight { font-size: 3rem; }
    
    .hero::before {
        height: 55%;
        bottom: -5%;
    }
    
    .section { padding: 3rem 0; }
    .section-title { font-size: 2rem; }
    
    .mandato-list li:hover { transform: translateY(-5px); }
}
