/* 
  Style for "Eles Merecem Mais" - Mobile First 
  Author: AI Assistant (Antigravity)
*/

:root {
    --primary-color: #0b1c2b; /* Dark Navy/Greenish from references */
    --secondary-color: #ffae00; /* Yellow highlight */
    --text-dark: #2d3748;
    --text-light: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-yellow {
    color: var(--secondary-color);
}

.highlight-orange {
    color: #e67e22;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-color: var(--primary-color); /* Fallback */
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none; /* impede que o clique pause o vídeo ou exiba controles */
    opacity: 0; /* Esconde o vídeo inicialmente */
    transition: opacity 1s ease-in-out;
}

.hero-bg-video.is-playing {
    opacity: 1; /* Mostra o vídeo apenas quando começar a rodar */
}

/* Esconde completamente o botão de play nativo do iPhone/iOS quando o vídeo está em Low Power Mode */
.hero-bg-video::-webkit-media-controls {
    display: none !important;
}
.hero-bg-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(11,28,43,0.95) 0%, rgba(11,28,43,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand {
    max-width: 140px; /* Logo menor no mobile para não quebrar a linha */
    flex-shrink: 0;
}

.brand .logo {
    width: 100%;
    height: auto;
    display: block;
}

.social-follow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.social-follow a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-follow a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.hero-main-text {
    margin-top: auto;
    margin-bottom: auto;
}

.title-main {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.highlight-yellow {
    color: transparent;
    background: linear-gradient(90deg, #ffae00, #ffc843);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 2px 2px 20px rgba(255, 174, 0, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* --- Hero Animations --- */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-list {
    list-style: none;
}

.hero-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-list li i {
    color: var(--secondary-color);
}

/* --- Proposals Banner --- */
.proposals {
    background-color: var(--primary-color);
    padding: 3rem 0;
    position: relative;
    margin-top: -20px;
    z-index: 10;
    border-top: 5px solid var(--secondary-color);
}


.proposals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.proposal-card {
    color: var(--text-light);
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(255,255,255,0.03);
}

.proposal-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: var(--secondary-color);
}

.proposal-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.pm-logo-top {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.proposal-card p {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- About Section --- */
.about {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #4a5568;
}

/* --- Statistics Section --- */
.statistics {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.stat-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.stat-card small {
    display: block;
    font-size: 0.75rem;
    color: #718096;
    margin-top: auto;
}

/* --- Defenses Section --- */
.defenses {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.defenses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.defense-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.defense-item:hover {
    transform: translateX(5px);
    border-left-color: var(--secondary-color);
}

.defense-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.defense-item p {
    font-size: 0.95rem;
    font-weight: 600;
}

/* --- Manifesto Form --- */
.manifesto {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.manifesto-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.manifesto-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.manifesto-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.8;
}

.checkbox-container input {
    margin-top: 4px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form input, .form select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: #f8fafc;
}

.form input:focus, .form select:focus {
    outline: 2px solid var(--secondary-color);
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-submit:hover {
    background-color: #e69d00;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.secure-text {
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

.manifesto-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.badge-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.badge-sub {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: #f1f5f9;
    padding-top: 5rem;
}

.footer-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.footer-hero h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.f-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.f-stat i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.f-stat-text {
    display: flex;
    flex-direction: column;
}

.f-stat-text strong {
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.footer-bottom {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
}

.footer-b-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.brand-footer {
    max-width: 140px;
}

.brand-footer .logo {
    width: 100%;
    height: auto;
    display: block;
}

.contact-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.contact-footer span {
    display: inline-block;
    white-space: nowrap; /* Evita quebra de linha no meio do email ou arroba */
}

.contact-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-footer a:hover {
    color: var(--secondary-color);
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 15px;
    right: 15px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20b858;
    color: #fff;
    transform: scale(1.1);
}

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 90px;
    right: 20px;
    transform: translateX(150%);
    background-color: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: 600;
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

/* --- Responsive Desktop --- */
@media (min-width: 768px) {
    .brand { max-width: 220px; }
    .brand-footer { max-width: 180px; }
    .title-main { font-size: 5rem; }
    .subtitle { font-size: 1.4rem; max-width: 600px; }
    .hero-list li { font-size: 1.3rem; margin-bottom: 1.2rem; gap: 12px; }
    .hero-list li i { font-size: 1.5rem; }
    .proposals-grid { grid-template-columns: repeat(4, 1fr); }
    .about-container { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .defenses-grid { grid-template-columns: repeat(2, 1fr); }
    .manifesto-container { grid-template-columns: 1fr 1fr 1fr; }
    .manifesto-text { grid-column: span 3; text-align: center; }
    .manifesto-form-wrapper { grid-column: span 2; }
    .footer-stats { grid-template-columns: repeat(4, 1fr); }
    .footer-b-container { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
    .hero-header { padding-top: 1rem; }
    .title-main { font-size: 6.5rem; }
    .subtitle { font-size: 1.7rem; max-width: 700px; }
    .hero-list li { font-size: 1.5rem; margin-bottom: 1.5rem; gap: 15px; }
    .hero-list li i { font-size: 1.7rem; }
    .manifesto-text { grid-column: span 1; text-align: left; }
    .manifesto-form-wrapper { grid-column: span 1; }
}
