:root {
    --primary: #D31145; /* Mapfre Red */
    --primary-hover: #b30f3a;
    --secondary: #333333;
    --text-main: #2d2d2d;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
    --radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(211, 17, 69, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links a {
    margin-left: 30px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.nav-links .btn {
    margin-left: 30px;
    padding: 8px 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?q=80&w=1949&auto=format&fit=crop') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 17, 69, 0.9) 0%, rgba(100, 8, 33, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-title span {
    font-weight: 300;
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

/* Sobre */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.sobre-stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.stat-card i {
    color: var(--primary);
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

/* Pilares */
.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.pilar-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.pilar-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.pilar-card i {
    color: var(--primary);
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
}

.pilar-card span {
    display: block;
    font-weight: 600;
    color: var(--text-main);
}

/* Categorias */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.categoria-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.categoria-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.categoria-card:hover::before {
    transform: scaleX(1);
}

.categoria-card:hover {
    transform: translateY(-10px);
}

.cat-icon {
    width: 60px; height: 60px;
    background: rgba(211, 17, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cat-icon i {
    color: var(--primary);
    width: 28px; height: 28px;
}

.categoria-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.categoria-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Regras */
.regras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.regras-grid h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1rem;
}

ul.check-list i {
    color: #10b981;
    margin-right: 15px;
    flex-shrink: 0;
}

ul.cross-list i {
    color: var(--primary);
    margin-right: 15px;
    flex-shrink: 0;
}

ul.full-list li {
    font-size: 0.95rem;
    align-items: flex-start;
}

ul.full-list i {
    margin-top: 3px;
}

.analise-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.info-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.participante-box {
    background: var(--primary);
    color: #fff;
    padding: 40px;
    border-radius: var(--radius);
    margin-top: 50px;
    text-align: center;
}

.participante-box h2 {
    color: #fff;
    margin-bottom: 10px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #e2e8f0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary);
    border: 4px solid #fff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(211, 17, 69, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
}

.footer h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.footer p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.duvidas {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.duvidas a {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .nav-links { display: none; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-title span { font-size: 2rem; }
    
    .sobre-grid, .regras-grid, .analise-info {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }
}
