/* ============================================
   POUPA TEMPO IVAIPORA - STYLE.CSS
   Cores inspiradas na Caixa Economica Federal
   ============================================ */

/* ----- CSS VARIABLES ----- */
:root {
    --caixa-blue: #005ca9;
    --caixa-blue-dark: #004080;
    --caixa-blue-light: #0073d4;
    --caixa-yellow: #fedd00;
    --caixa-yellow-dark: #e5c700;
    --caixa-orange: #ff8c00;
    --gradient-primary: linear-gradient(135deg, #005ca9, #0073d4);
    --gradient-hero: linear-gradient(135deg, #004080 0%, #005ca9 50%, #0073d4 100%);
    --gradient-gold: linear-gradient(135deg, #fedd00, #ffb300);
    --text-dark: #1a1a2e;
    --text-gray: #4a4a6a;
    --text-light: #7a7a9a;
    --bg-white: #ffffff;
    --bg-light: #f0f4f8;
    --bg-section: #f8f9fc;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-light: rgba(0, 92, 169, 0.08);
    --border-card: rgba(0, 92, 169, 0.06);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: rgba(0, 92, 169, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 92, 169, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 92, 169, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 92, 169, 0.15);
    --shadow-hover: 0 20px 40px rgba(0, 92, 169, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----- DARK MODE VARIABLES ----- */
[data-theme="dark"] {
    --text-dark: #e4e4ed;
    --text-gray: #9ca3af;
    --text-light: #6b7280;
    --bg-white: #0f172a;
    --bg-light: #1e293b;
    --bg-section: #1a2332;
    --bg-card: #1e293b;
    --bg-card-hover: #253245;
    --border-light: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.04);
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --navbar-border: rgba(255, 255, 255, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #0066cc, #0088ff);
    --gradient-hero: linear-gradient(135deg, #001a33 0%, #002b4d 50%, #003d66 100%);
}

/* ----- RESET ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* Transição suave para troca de tema */
html.transitioning,
html.transitioning * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}
body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ----- TEXT GRADIENT ----- */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- SECTION HEADER ----- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-tag {
    display: inline-block;
    background: rgba(0, 92, 169, 0.08);
    color: var(--caixa-blue);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}
.divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin: 0 auto 20px;
}

/* ----- NAVBAR ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navbar-border);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--caixa-blue-dark);
    line-height: 1.2;
}
.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--caixa-yellow-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link i { font-size: 0.85rem; }
.nav-link:hover,
.nav-link.active {
    background: rgba(0, 92, 169, 0.06);
    color: var(--caixa-blue);
}
.btn-nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.btn-nav-whatsapp:hover { background: #1da851; transform: scale(1.02); }

/* ----- THEME TOGGLE ----- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    color: var(--caixa-yellow-dark);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: var(--caixa-blue);
    color: var(--caixa-yellow);
    border-color: var(--caixa-blue);
    transform: rotate(15deg);
}
.theme-toggle .fa-sun { display: none; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun { display: inline; color: var(--caixa-yellow); }
[data-theme="dark"] .theme-toggle:hover .fa-sun { color: white; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
}

/* ----- DARK MODE OVERRIDES ----- */
[data-theme="dark"] .hamburger-line { background: var(--text-dark); }
[data-theme="dark"] .service-card.highlight-card {
    border-color: var(--caixa-yellow);
    box-shadow: 0 0 0 2px rgba(254, 221, 0, 0.1);
}
[data-theme="dark"] .step-number { color: rgba(255, 255, 255, 0.04); }
[data-theme="dark"] .testimonial-btn { background: var(--bg-card); border-color: var(--border-light); }
[data-theme="dark"] .dot { background: rgba(255, 255, 255, 0.15); }
[data-theme="dark"] .dot.active { background: var(--caixa-blue); }
[data-theme="dark"] .privacy-section { background: var(--bg-card); border-color: var(--border-card); }
[data-theme="dark"] .cookie-banner { background: #0a0f1e; }
[data-theme="dark"] .footer { background: #0a0f1e; }
[data-theme="dark"] .hero-shape { background: var(--bg-white); }

/* ----- HERO ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 72px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--caixa-yellow);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title .text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--caixa-yellow);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--caixa-yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(254, 221, 0, 0.35); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}
.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-white);
    clip-path: ellipse(70% 100% at 50% 100%);
}

/* ----- ANIMATIONS ----- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}
.animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.3s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.5s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- ABOUT ----- */
.about { background: var(--bg-section); }
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.about-card {
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-card);
}
.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(0, 92, 169, 0.1); }
.about-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 92, 169, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--caixa-blue);
    transition: var(--transition);
}
.about-card:hover .about-icon { background: var(--gradient-primary); color: white; }
.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.about-card p { color: var(--text-gray); font-size: 0.92rem; line-height: 1.6; }

/* ----- SERVICES ----- */
.services { background: var(--bg-white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-card.highlight-card {
    border-color: var(--caixa-yellow);
    box-shadow: 0 0 0 2px rgba(254, 221, 0, 0.15);
}
.service-card.highlight-card::before { background: var(--gradient-gold); }
.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 92, 169, 0.08), rgba(0, 115, 212, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--caixa-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gradient-primary); color: white; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.service-card > p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.service-features { list-style: none; }
.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-gray);
}
.service-features li i { color: #22c55e; font-size: 0.75rem; }

/* ----- FINANCING ----- */
.financing { background: var(--bg-section); }
.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.step-card {
    background: var(--bg-card);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    border: 1px solid var(--border-card);
    transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 92, 169, 0.06);
    line-height: 1;
    margin-bottom: 8px;
}
.step-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 92, 169, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--caixa-blue);
    transition: var(--transition);
}
.step-card:hover .step-icon { background: var(--gradient-primary); color: white; }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.step-card p { color: var(--text-gray); font-size: 0.85rem; line-height: 1.6; }
.step-connector {
    color: var(--caixa-blue);
    font-size: 1.2rem;
    opacity: 0.3;
    flex-shrink: 0;
}

.financing-cta {
    text-align: center;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
}
.financing-cta p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-gray);
}
.financing-cta p i { color: var(--caixa-blue); margin-right: 8px; }

/* ----- LOCATION ----- */
.location { background: var(--bg-white); }
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}
.location-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    height: 100%;
    border: 1px solid var(--border-card);
}
.location-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.location-item:last-of-type { margin-bottom: 32px; }
.location-item i {
    width: 48px;
    height: 48px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--caixa-blue);
    flex-shrink: 0;
}
.location-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.location-item p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.5; }
.btn-location-wpp { width: 100%; justify-content: center; }
.location-map { min-height: 400px; }
.location-map iframe { width: 100%; height: 100%; min-height: 400px; }

/* ----- TESTIMONIALS ----- */
.testimonials { background: var(--bg-section); }
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
    min-width: 100%;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-card);
}
.testimonial-stars {
    color: var(--caixa-yellow);
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.author-avatar i { font-size: 2.5rem; color: var(--caixa-blue-light); }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-light); }

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 92, 169, 0.15);
    background: var(--bg-white);
    color: var(--caixa-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.testimonial-btn:hover { background: var(--caixa-blue); color: white; border-color: var(--caixa-blue); }
.testimonial-dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 92, 169, 0.15);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.dot.active { background: var(--caixa-blue); width: 28px; border-radius: 5px; }

/* ----- CTA ----- */
.cta-section {
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}
.cta-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--caixa-yellow);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}
.btn-cta {
    background: var(--caixa-yellow);
    padding: 18px 44px;
    font-size: 1.1rem;
}
.btn-cta:hover { background: var(--caixa-yellow-dark); }

/* ----- CONTACT ----- */
.contact { background: var(--bg-white); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.contact-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 92, 169, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--caixa-blue);
    transition: var(--transition);
}
.contact-card:hover .contact-icon { background: var(--gradient-primary); color: white; }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.contact-card p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 16px; }
.contact-link {
    color: var(--caixa-blue);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}
.contact-link:hover { color: var(--caixa-blue-light); }

/* ----- FOOTER ----- */
.footer {
    background: var(--caixa-blue-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}
.footer-logo i { color: var(--caixa-yellow); font-size: 1.5rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--caixa-yellow); color: var(--text-dark); }
.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
    font-size: 0.88rem;
    opacity: 0.8;
    transition: var(--transition);
}
.footer-links ul li:hover { opacity: 1; }
.footer-links ul li a:hover { color: var(--caixa-yellow); }
.footer-contact ul li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact ul li i { margin-top: 3px; color: var(--caixa-yellow); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    opacity: 0.7;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-privacy { transition: var(--transition); }
.footer-privacy:hover { color: var(--caixa-yellow); opacity: 1; }
.footer-privacy i { margin-right: 4px; }

/* ----- COOKIE BANNER ----- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    z-index: 9999;
    padding: 16px 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-content i { font-size: 1.5rem; color: var(--caixa-yellow); }
.cookie-content p { font-size: 0.88rem; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-content a { color: var(--caixa-yellow); text-decoration: underline; }
.btn-cookie {
    padding: 10px 28px;
    background: var(--caixa-yellow);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-cookie:hover { background: var(--caixa-yellow-dark); }

/* ----- BACK TO TOP ----- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .section-header p { font-size: 1rem; }

    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--navbar-border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-list { flex-direction: column; width: 100%; gap: 0; }
    .nav-link { width: 100%; padding: 14px 16px; }
    .btn-nav-whatsapp { width: 100%; justify-content: center; margin-top: 12px; }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 2rem; }

    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
    .location-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .steps-container { gap: 16px; }
    .step-card { min-width: 160px; max-width: 100%; flex: 0 0 calc(50% - 8px); }
    .location-card { padding: 24px; }
    .cta-content h2 { font-size: 2rem; }
    .testimonial-card { padding: 24px; }
    .testimonial-text { font-size: 1rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .cookie-content { flex-direction: column; text-align: center; }
    .btn-cookie { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .step-card { flex: 0 0 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 28px 20px; }
}

/* ----- PRIVACY PAGE ----- */
.privacy-page { padding-top: 120px; padding-bottom: 60px; }
.privacy-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.privacy-page .last-update {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
}
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-section {
    margin-bottom: 32px;
    padding: 28px;
    background: var(--bg-section);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 92, 169, 0.06);
}
.privacy-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--caixa-blue);
    margin-bottom: 12px;
}
.privacy-section p, .privacy-section li {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}
.privacy-section ul { padding-left: 20px; list-style: disc; }
.privacy-section ul li { margin-bottom: 6px; }