/*
Theme Name: O Candidato Digital
Theme URI: https://ocandidatodigital.com.br
Author: O Candidato Digital
Author URI: https://ocandidatodigital.com.br
Description: Tema personalizado para O Candidato Digital - Estratégia Política para Pré-Campanha e Campanha
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ocandidatodigital
*/

/* ============================================
   IMPORTAÇÕES E VARIÁVEIS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Cores principais */
    --background: #0a0a0a;
    --foreground: #fafafa;
    --card: #111111;
    --card-foreground: #fafafa;
    --border: #2d2d2d;
    --muted: #27272a;
    --muted-foreground: #a1a1aa;
    
    /* Cores douradas */
    --gold: #c9a227;
    --gold-light: #e0b830;
    --gold-dark: #a68a1f;
    
    /* Gradientes */
    --gradient-gold: linear-gradient(135deg, #c9a227 0%, #e0b830 50%, #c9a227 100%);
    --gradient-gold-text: linear-gradient(90deg, #c9a227, #e0b830, #c9a227);
    
    /* Sombras */
    --shadow-gold: 0 0 40px rgba(201, 162, 39, 0.2);
    --shadow-gold-subtle: 0 0 20px rgba(201, 162, 39, 0.1);
}

/* ============================================
   RESET E BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient-gold {
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-gold {
    color: var(--gold);
}

.glow-gold {
    box-shadow: var(--shadow-gold);
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--background);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--background);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.main-nav a {
    color: var(--muted-foreground);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-accent-top,
.hero-accent-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 128px;
}

.hero-accent-top {
    top: 0;
    background: linear-gradient(to bottom, transparent, rgba(201, 162, 39, 0.3), transparent);
}

.hero-accent-bottom {
    bottom: 0;
    background: linear-gradient(to top, transparent, rgba(201, 162, 39, 0.3), transparent);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(32px, 6vw, 72px);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--muted-foreground);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(201, 162, 39, 0.4);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator-inner {
    width: 4px;
    height: 8px;
    background: rgba(201, 162, 39, 0.6);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ============================================
   SECTION HEADING
   ============================================ */

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 96px 24px;
}

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

/* Authority Section */
.authority-text {
    text-align: center;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--muted-foreground);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-card {
    padding: 32px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: var(--shadow-gold-subtle);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--gold);
    transition: background 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: rgba(201, 162, 39, 0.2);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Method Section */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.method-card {
    position: relative;
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.method-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: var(--shadow-gold-subtle);
}

.method-number {
    position: absolute;
    top: -16px;
    left: 32px;
    padding: 4px 12px;
    background: var(--gold);
    color: var(--background);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

.method-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--gold);
    transition: background 0.3s ease;
}

.method-card:hover .method-icon {
    background: rgba(201, 162, 39, 0.2);
}

.method-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* For Who Section */
.for-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.for-who-card {
    padding: 32px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.for-who-card.highlight {
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: var(--shadow-gold-subtle);
}

.for-who-card h3 {
    font-size: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.for-who-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.for-who-icon.check {
    background: rgba(201, 162, 39, 0.2);
    color: var(--gold);
}

.for-who-icon.cross {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.for-who-list {
    list-style: none;
}

.for-who-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.for-who-list.muted li {
    color: var(--muted-foreground);
}

.check-icon {
    color: var(--gold);
}

.cross-icon {
    color: rgba(239, 68, 68, 0.7);
}

/* Geo Digital Section */
.geo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--gold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.geo-card {
    padding: 48px;
    background: var(--background);
    border: 2px solid rgba(201, 162, 39, 0.4);
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.geo-card h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

.geo-subtitle {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 32px;
}

.geo-content {
    max-width: 700px;
    margin: 0 auto;
}

.geo-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Geo Bullets */
.geo-bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
    margin-top: 24px;
    text-align: left;
}

.geo-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.geo-bullet-item.full-width {
    grid-column: 1 / -1;
    justify-content: center;
}

.geo-bullet-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 8px;
    color: var(--gold);
    flex-shrink: 0;
}

.geo-bullet-item span {
    font-weight: 500;
    color: var(--foreground);
}

@media (max-width: 600px) {
    .geo-bullets {
        grid-template-columns: 1fr;
    }
    
    .geo-bullet-item.full-width {
        justify-content: flex-start;
    }
}

.geo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.geo-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--background);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.geo-feature:hover {
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: var(--shadow-gold-subtle);
}

.geo-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 50%;
    color: var(--gold);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.geo-feature:hover .geo-feature-icon {
    background: rgba(201, 162, 39, 0.25);
    transform: scale(1.1);
}

.geo-feature span {
    font-weight: 500;
}

.geo-disclaimer {
    margin-top: 40px;
    padding: 24px;
    background: rgba(201, 162, 39, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.geo-disclaimer p {
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    max-width: 700px;
}

.cta-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    margin: 0 auto 32px;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 24px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    padding: 48px 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted-foreground);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--muted-foreground);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-size: 12px;
    color: var(--muted-foreground);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 16px 60px;
    }
    
    section {
        padding: 64px 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .geo-card {
        padding: 32px 24px;
    }
}
