/* Estilos globais */
:root {
    --primary-color: #ff6600;
    --primary-hover: #ff8533;
    --secondary-color: #2e4da7;
    --secondary-hover: #3a5fd0;
    --accent-color: #ffcc00;
    --text-color: #333333;
    --text-light: #777777;
    --bg-color: #f8f9fa;
    --bg-dark: #242a38;
    --bg-card: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --header-height: 70px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

/* Botões */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

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

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    position: relative;
    font-weight: 500;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(46, 77, 167, 0.9), rgba(46, 77, 167, 0.8)),
                url('images/1.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-dark);
    padding: 5px 15px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Calculator Section */
.calculator-section {
    padding: 50px 0;
    background-color: white;
}

.calculator-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.calculator-sidebar {
    flex: 0 0 300px;
}

.calculator-main {
    flex: 1;
    min-width: 300px;
}

.bet-type-selector {
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.bet-type-selector h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.bet-types {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bet-type {
    padding: 10px 15px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.bet-type:hover {
    border-color: var(--primary-color);
}

.bet-type.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.calculator-info {
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.calculator-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.calculator-info ul {
    margin-bottom: 20px;
    padding-left: 15px;
}

.calculator-info ul li {
    margin-bottom: 10px;
    list-style-type: disc;
    margin-left: 5px;
}

.info-banner {
    background-color: var(--secondary-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-banner img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.info-banner p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.calculator-form {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 30px;
}

.form-header {
    background-color: var(--bg-dark);
    color: white;
    padding: 20px 25px;
}

.form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.highlight {
    color: var(--accent-color);
}

.form-header p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.form-body {
    padding: 25px;
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-selection {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.add-selection:hover {
    background-color: var(--border-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.form-group input[type="checkbox"] {
    margin-right: 5px;
}

.form-group input[type="number"],
.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.selection-row {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    align-items: center;
}

.selection-number {
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.selection-controls {
    display: flex;
    flex: 1;
    gap: 15px;
    align-items: flex-end;
}

.selection-controls .form-group {
    flex: 1;
    margin-bottom: 0;
}

.selection-remove {
    display: flex;
    align-items: flex-end;
}

.remove-btn {
    background-color: var(--danger-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.remove-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rules-section {
    margin-bottom: 0;
}

.rule-options {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-actions {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.btn-calculate {
    flex: 1;
}

.btn-reset {
    flex-shrink: 0;
}

/* Results Section */
.calculator-results {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.results-header {
    padding: 20px 25px;
    background-color: var(--bg-dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-header h3 {
    font-size: 1.3rem;
}

.btn-share {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-share:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.results-body {
    padding: 25px;
}

.result-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    margin-bottom: 15px;
}

.result-card:last-child {
    margin-bottom: 0;
}

.result-card.main-summary {
    background-color: var(--bg-color);
    border-color: var(--secondary-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item.highlighted {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.disclaimer {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: center;
}

/* Guide Section */
.calculator-guide {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guide-item {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.guide-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 20px auto;
    border-radius: 50%;
}

.guide-content {
    padding: 0 20px 20px;
    text-align: center;
}

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

.guide-content p {
    color: var(--text-light);
}

/* Tipos de Apostas Explicados */
.bet-types-explained {
    padding: 60px 0;
    background-color: white;
}

.bet-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.bet-type-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    padding-bottom: 20px;
}

.bet-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.bet-type-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 20px;
}

.bet-type-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    padding: 0 15px;
}

.bet-type-card p {
    color: var(--text-light);
    padding: 0 15px;
    font-size: 0.95rem;
}

/* Betting Tips */
.betting-tips {
    padding: 60px 0;
    background: linear-gradient(rgba(46, 77, 167, 0.9), rgba(46, 77, 167, 0.8)),
                url('images/1.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.tips-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.tips-text {
    flex: 1;
}

.tips-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.tips-list {
    margin-bottom: 25px;
}

.tips-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.tips-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.tips-list li strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.tips-image {
    flex: 0 0 40%;
}

.tips-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Newsletter */
.newsletter {
    padding: 40px 0;
    background-color: var(--primary-color);
    color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.newsletter-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .calculator-container {
        flex-direction: column;
    }
    
    .calculator-sidebar {
        flex: 0 0 100%;
    }
    
    .bet-type-selector {
        margin-bottom: 20px;
    }
    
    .tips-content {
        flex-direction: column;
    }
    
    .tips-image {
        flex: 0 0 100%;
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        z-index: 99;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .cta-buttons {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .selection-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .selection-controls .form-group {
        margin-bottom: 10px;
    }
    
    .rule-options {
        flex-direction: column;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .bet-types-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-reset {
        margin-top: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo {
        min-width: auto;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
}
