/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #0A1128;
    --bright-yellow: #FFCF00;
    --smoky-gray: #E8E9EB;
    --peach-accent: #F76C5E;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(10, 17, 40, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Enhanced smooth scrolling for anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    color: var(--dark-blue);
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
}

h3 {
    font-size: 2rem;
    color: var(--dark-blue);
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark-blue);
    opacity: 0.8;
}

a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--peach-accent);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--bright-yellow), #FFD700);
    color: var(--dark-blue);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(10, 17, 40, 0.15);
    background: linear-gradient(135deg, #FFD700, var(--bright-yellow));
}

.btn-secondary {
    background: var(--peach-accent);
    color: var(--white);
}

.btn-secondary:hover {
    background: #e55a4c;
}

/* ===== HEADER ===== */
header {
    background: var(--white);
    padding: 10px 0;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    border-bottom-color: var(--bright-yellow);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue), #1a2347);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./img/rqNZgA.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--smoky-gray);
    animation: fadeInUp 1s ease 0.2s both;
}

/* ===== GRID SYSTEM ===== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-6 { flex: 0 0 50%; }
.col-8 { flex: 0 0 66.666667%; }
.col-12 { flex: 0 0 100%; }

.col-1, .col-2, .col-3, .col-4, .col-6, .col-8, .col-12 {
    padding: 15px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 17, 40, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bright-yellow), #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--dark-blue);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--light-gray);
}

/* CSS-only tabs */
.services-tabs {
    width: 100%;
}

.service-radio {
    display: none;
}

.service-tabs-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.service-tab-label {
    background: var(--white);
    border: 2px solid var(--smoky-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    text-align: center;
}

.service-tab-label:hover {
    border-color: var(--bright-yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.service-tab-label h4 {
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.service-tab-label p {
    margin: 0;
    color: var(--dark-blue);
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Active tab styles */
.service-radio:checked + .service-tabs-nav .service-tab-label,
#tab-basica:checked ~ .service-tabs-nav label[for="tab-basica"],
#tab-avancada:checked ~ .service-tabs-nav label[for="tab-avancada"],
#tab-premium:checked ~ .service-tabs-nav label[for="tab-premium"] {
    border-color: var(--bright-yellow);
    background: var(--bright-yellow);
    color: var(--dark-blue);
    transform: scale(1.02);
}

#tab-basica:checked ~ .service-tabs-nav label[for="tab-basica"] h4,
#tab-avancada:checked ~ .service-tabs-nav label[for="tab-avancada"] h4,
#tab-premium:checked ~ .service-tabs-nav label[for="tab-premium"] h4 {
    color: var(--dark-blue);
}

#tab-basica:checked ~ .service-tabs-nav label[for="tab-basica"] p,
#tab-avancada:checked ~ .service-tabs-nav label[for="tab-avancada"] p,
#tab-premium:checked ~ .service-tabs-nav label[for="tab-premium"] p {
    color: var(--dark-blue);
    opacity: 1;
}

/* Tab content */
.service-tabs-content {
    position: relative;
}

.service-content-item {
    display: none;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Show content based on checked radio */
#tab-basica:checked ~ .service-tabs-content #content-basica,
#tab-avancada:checked ~ .service-tabs-content #content-avancada,
#tab-premium:checked ~ .service-tabs-content #content-premium {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* ===== FORM STYLES ===== */
.form-section {
    background: var(--dark-blue);
    color: var(--white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--white);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--smoky-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--bright-yellow);
    box-shadow: 0 0 0 3px rgba(255, 207, 0, 0.2);
}

select.form-control {
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--bright-yellow);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--smoky-gray);
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--bright-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(232, 233, 235, 0.2);
    padding-top: 20px;
    text-align: center;
    color: var(--smoky-gray);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(10, 17, 40, 0.3);
    padding: 25px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition);
    max-width: 500px;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.cookie-popup p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.cookie-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--bright-yellow);
    color: var(--dark-blue);
}

.cookie-decline {
    background: var(--smoky-gray);
    color: var(--dark-blue);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logo {
        height: 35px;
    }
    
    .site-name {
        font-size: 1.2rem;
    }
    
    nav ul {
        flex-direction: row;
        gap: 20px;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .row {
        margin: -10px;
    }
    
    .col-1, .col-2, .col-3, .col-4, .col-6, .col-8, .col-12 {
        padding: 10px;
        flex: 0 0 100%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    /* Mobile service tabs */
    .service-tabs-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-tab-label {
        padding: 15px;
    }
    
    .service-tab-label h4 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .service-tab-label p {
        font-size: 0.9rem;
    }
    
    .service-content-item {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    /* Service tabs for small screens */
    .service-tab-label {
        padding: 12px;
    }
    
    .service-tab-label h4 {
        font-size: 1.1rem;
    }
    
    .service-content-item {
        padding: 20px;
    }
    
    .service-content-item img {
        height: 150px !important;
    }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 90px 0 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; } 