* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: min(1200px, 95%);
    margin: 0 auto;
    padding: 1rem;
}

.main-header {
    background-color: #fff;
    border-bottom: 2px solid #f7931a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #f7931a;
    text-decoration: none;
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    gap: 0.5rem;
}

nav a {
    color: #333;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

nav a:hover {
    background-color: #fff3e0;
    color: #f7931a;
}

.hero {
    background: linear-gradient(135deg, #fff 0%, #fff3e0 100%);
    border: 2px solid #f7931a;
    border-radius: 12px;
    padding: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    position: relative;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 380px;
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.carousel-slide.active {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    padding: 0.5rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hero h1 {
    margin: 0.25rem 0;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #333;
    font-weight: 800;
    line-height: 1.2;
}

.hero .highlight {
    color: #f7931a;
    position: relative;
}

.hero-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #f7931a;
    font-weight: 800;
}

.stat-item span {
    font-size: 0.8rem;
    color: #666;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.benefit-item {
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hero-features {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0.75rem 0;
}

.feature-tag {
    background: white;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hero-cta {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.hero-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    min-height: 250px;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.75rem;
}

.carousel-btn {
    background: #f7931a;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #e08515;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.4rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #f7931a;
    width: 26px;
    border-radius: 6px;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    margin: 0.5rem 0;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trust-item {
    color: #4caf50;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #f7931a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 147, 26, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%);
}

.btn-secondary {
    background: white;
    color: #f7931a;
    border: 2px solid #f7931a;
}

.btn-secondary:hover {
    background: #f7931a;
    color: white;
}

.btn-admin {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.btn-outline {
    background: transparent;
    color: #f7931a;
    border: 2px solid #f7931a;
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #f7931a;
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

.section {
    margin-bottom: 1rem;
}

.section-intro {
    margin-bottom: 0.75rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: #666;
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
}

.page-header {
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%);
    color: white;
    padding: 0.625rem 0;
    margin: -1rem -1rem 1rem -1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.page-header p {
    margin: 0.15rem 0 0 0;
    font-size: 0.85rem;
    opacity: 0.95;
}

.page-header .link {
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.page-header .link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e0e0e0;
    gap: 1rem;
}

.section-header > div {
    flex: 1;
}

.section-header h2 {
    margin: 0.25rem 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.link {
    color: #f7931a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.link:hover {
    color: #e08515;
    text-decoration: underline;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card > div {
    padding: 1.25rem;
}

.card h3 {
    margin: 0.5rem 0;
    color: #333;
    font-size: 1.15rem;
    line-height: 1.4;
}

.card p {
    color: #666;
    margin: 0.5rem 0;
}

.card small {
    color: #999;
    font-size: 0.85rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.exchange {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem;
    background-color: #fff;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: box-shadow 0.3s;
}

.exchange:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.exchange img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.exchange h3 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.exchange p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.empty {
    color: #999;
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.site-footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #333;
    color: #fff;
    margin-top: 4rem;
}

.site-footer p {
    margin: 0;
    color: #ccc;
}

/* Responsividade mobile */
@media (max-width: 768px) {
    .container {
        padding: 0.75rem;
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    nav {
        width: 100%;
        justify-content: space-around;
    }
    
    nav a {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}
}

@media (max-width: 600px) {
    nav {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #f7931a;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent-text h3 {
    margin: 0 0 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.cookie-consent-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: #f7931a;
    color: white;
}

.btn-cookie-accept:hover {
    background: #d67c15;
}

.btn-cookie-reject {
    background: #e0e0e0;
    color: #333;
}

.btn-cookie-reject:hover {
    background: #d0d0d0;
}

.btn-cookie-settings {
    background: transparent;
    color: #f7931a;
    border: 2px solid #f7931a;
}

.btn-cookie-settings:hover {
    background: #fff3e0;
}

.btn-cookie-link {
    background: transparent;
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
}

.btn-cookie-link:hover {
    background: #f5f5f5;
    color: #333;
}

.btn-cookie-primary {
    background: #4caf50;
    color: white;
}

.btn-cookie-primary:hover {
    background: #45a049;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #f5f5f5;
    color: #333;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-category h4 {
    margin: 0 0 0.5rem;
    color: #333;
    font-size: 1.1rem;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #f7931a;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

input:disabled + .slider {
    background-color: #999;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}
