/* ==================== RESET E BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    --green-50: #f0fdf4;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
    --purple-50: #faf5ff;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: #ffffff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #F8F9FA;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0.5rem 0;
}

/* LOGO - TAMANHO OTIMIZADO PARA MOBILE */
.logo {
    cursor: pointer;
    flex-shrink: 0;
}

.logo img {
    height: auto !important;
    width: auto !important;
    max-width: 200px !important;
    max-height: 60px !important;
    /* Fits within 80px header */
    object-fit: contain !important;
    display: block;
}

@media (min-width: 768px) {
    .header-content {
        height: 110px;
    }

    .logo img {
        max-width: 300px !important;
        max-height: 90px !important;
        /* Fits within 110px header */
    }
}

@media (min-width: 1024px) {
    .header-content {
        height: 130px;
    }

    .logo img {
        max-width: 400px !important;
        max-height: 110px !important;
        /* Fits within 130px header */
    }
}

@media (min-width: 1280px) {
    .header-content {
        height: 140px;
    }

    .logo img {
        max-width: 500px !important;
        max-height: 120px !important;
        /* Fits within 140px header */
    }
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: var(--blue-900);
}

.desktop-nav .parceiro-link {
    color: var(--blue-900);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.desktop-nav .parceiro-link:hover {
    border-bottom-color: var(--blue-900);
}

.btn-cta {
    background: var(--red-600);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 44px;
    /* WCAG touch target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-cta:hover,
.btn-cta:focus {
    background: var(--red-700);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    outline: 2px solid rgba(220, 38, 38, 0.3);
    outline-offset: 2px;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--gray-200);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a,
.mobile-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    /* Aumentado para melhor toque */
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background 0.2s;
    min-height: 48px;
    /* WCAG mobile touch target */
    display: flex;
    align-items: center;
}

.mobile-menu a:hover,
.mobile-menu button:hover,
.mobile-menu a:focus,
.mobile-menu button:focus {
    background: var(--gray-50);
    outline: 2px solid var(--blue-200);
    outline-offset: -2px;
}

.mobile-menu .parceiro-link {
    color: var(--blue-900);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(to bottom, var(--blue-50), white);
    position: relative;
}

@media (max-width: 767px) {
    .hero-section {
        padding: 120px 0 80px;
        /* Aumentado padding para evitar sobreposição */
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-badge {
    display: inline-block;
    background: var(--blue-100);
    color: var(--blue-900);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 2rem;
    /* Reduzido para mobile */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-600);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-height: 44px;
    /* WCAG touch target */
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Mobile: Botões maiores e mais espaçados */
@media (max-width: 767px) {

    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem;
        min-height: 48px;
        font-size: 1.05rem;
    }
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    outline: 2px solid var(--blue-300);
    outline-offset: 2px;
}

.btn-secondary {
    background: white;
    color: var(--blue-600);
    border: 2px solid var(--blue-600);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--blue-50);
    outline: 2px solid var(--blue-300);
    outline-offset: 2px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-card {
    position: relative;
    /* Mudado de absolute para relative em mobile */
    bottom: auto;
    right: auto;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    /* Espaçamento em mobile */
}

/* Desktop: posicionamento absoluto */
@media (min-width: 1024px) {
    .hero-card {
        position: absolute;
        bottom: 2rem;
        right: 2rem;
        margin-top: 0;
    }
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    background: var(--green-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.hero-card-title {
    font-weight: 700;
    color: var(--gray-900);
}

.hero-card-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ==================== SECTIONS ==================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--blue-100);
    color: var(--blue-900);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.service-benefits {
    list-style: none;
}

.service-benefits li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.875rem;
}

/* ==================== CALCULATOR ==================== */
.calculator-section {
    background: linear-gradient(to bottom, white, var(--blue-50), white);
}

.btn-tutorial {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--blue-600);
    border: 2px solid var(--blue-600);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-tutorial:hover {
    background: var(--blue-50);
}

.loan-type-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .loan-type-selector {
        grid-template-columns: repeat(3, 1fr);
    }
}

.loan-type-btn {
    position: relative;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.loan-type-btn:hover {
    border-color: var(--blue-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.loan-type-btn.active {
    border-color: var(--blue-600);
    background: var(--blue-50);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.loan-type-btn[data-type="portabilidade"].active {
    border-color: var(--green-600);
    background: var(--green-50);
}

.loan-type-btn[data-type="refinanciamento"].active {
    border-color: var(--purple-600);
    background: var(--purple-50);
}

.loan-type-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.loan-type-btn.active .loan-type-icon {
    background: var(--blue-600);
    color: white;
}

.loan-type-btn[data-type="portabilidade"].active .loan-type-icon {
    background: var(--green-600);
}

.loan-type-btn[data-type="refinanciamento"].active .loan-type-icon {
    background: var(--purple-600);
}

.loan-type-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.loan-type-rate {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.loan-type-selected {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--blue-600);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    display: none;
}

.loan-type-btn.active .loan-type-selected {
    display: block;
}

.loan-type-btn[data-type="portabilidade"].active .loan-type-selected {
    background: var(--green-600);
}

.loan-type-btn[data-type="refinanciamento"].active .loan-type-selected {
    background: var(--purple-600);
}

.calculator-content {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-content.active {
    display: block;
}

.calculator-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid var(--gray-100);
}

.calc-mode-selector {
    background: var(--blue-50);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--blue-200);
    margin-bottom: 2rem;
}

.calc-mode-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: 0.75rem;
}

.calc-mode-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 767px) {
    .calc-mode-buttons {
        flex-direction: column;
    }
}

.calc-mode-btn {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--blue-200);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.calc-mode-btn:hover {
    background: white;
}

.calc-mode-btn.active {
    background: white;
    border-color: var(--blue-600);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.calc-mode-icon {
    font-size: 1.25rem;
}

.calc-mode-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.calc-mode-btn.active .calc-mode-text {
    color: var(--blue-900);
    font-weight: 600;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .calculator-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-input-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.calc-input-lg {
    height: 4rem;
    padding: 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--blue-200);
    border-radius: 0.75rem;
    background: var(--blue-50);
    color: var(--blue-900);
    text-align: center;
}

.calc-input-wrapper {
    position: relative;
}

.calc-input-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-500);
}

.calc-input-wrapper .calc-input-lg {
    padding-left: 3rem;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--blue-600) 0%, var(--blue-300) 100%);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-600);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-600);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.calc-hint {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.calc-select {
    height: 3.5rem;
    padding: 0 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    background: var(--gray-50);
    color: var(--gray-900);
}

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

.calc-input-lg.center {
    text-align: center;
}

.btn-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.calc-results {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    border-radius: 1rem;
    padding: 2rem;
    color: white;
}

.calc-results.portabilidade {
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
}

.calc-results.refinanciamento {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
}

.calc-results-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calc-result-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.calc-result-card.highlight {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.calc-result-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.calc-result-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.calc-result-note {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Alert Message for No Change Available */
.calc-info-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.calc-info-alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.calc-info-alert-content {
    flex: 1;
}

.calc-info-alert-content strong {
    display: block;
    color: #856404;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.calc-info-alert-content p {
    color: #856404;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.calc-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.calc-result-sm {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
}

.calc-result-label-sm {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.calc-result-value-sm {
    font-size: 1.5rem;
    font-weight: 700;
}

.calc-info {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
}

.calc-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
}

.calc-info-banner {
    background: var(--blue-50);
    border: 2px solid var(--blue-200);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.calc-info-banner.portabilidade {
    background: var(--green-50);
    border-color: var(--green-200);
}

.calc-info-banner.refinanciamento {
    background: var(--purple-50);
    border-color: var(--purple-200);
}

.calc-info-banner h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calc-info-banner.refinanciamento h4 {
    color: white;
}

.calc-results.refinanciamento .calc-results-title {
    color: #667eea;
}

/* CLT Calculator Styles */
.calc-info-banner.clt {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.calc-info-banner.clt h4 {
    color: white;
}

.calc-results.clt .calc-results-title {
    color: #f5576c;
}

/* Radio Group Styles */
.calc-radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.calc-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
}

.calc-radio-label:hover {
    border-color: #f5576c;
    background: #fef2f2;
}

.calc-radio-label input[type="radio"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #f5576c;
}

.calc-radio-label input[type="radio"]:checked+span {
    font-weight: 600;
    color: #f5576c;
}

.calc-radio-label span {
    font-size: 0.95rem;
    color: #374151;
    transition: all 0.3s ease;
}

.calc-info-banner p {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* ==================== PARTNERS ==================== */
.partners-section {
    background: var(--gray-50);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.partner-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    width: 100%;
    height: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==================== WHY CHOOSE US ==================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.why-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--blue-100);
    font-family: Georgia, serif;
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author-name {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.testimonial-author-info {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ==================== ABOUT ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-content p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-value-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-value-text h4 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.about-value-text p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ==================== CONTACT ==================== */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
}

.contact-info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    padding: 1rem;
    background: var(--blue-600);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--green-50);
    color: var(--green-900);
    border: 1px solid var(--green-200);
}

.form-message.error {
    display: block;
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-text {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: 1rem;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-600);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--gray-900);
}

.modal-body {
    padding: 2rem;
}

.tutorial-section,
.tutorial-tips {
    margin-bottom: 2rem;
}

.tutorial-section h3,
.tutorial-tips h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.tutorial-section ul,
.tutorial-tips ul {
    list-style: none;
    padding-left: 0;
}

.tutorial-section li,
.tutorial-tips li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    line-height: 1.6;
}

.tutorial-tips {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid #fbbf24;
}

.tutorial-tips h3 {
    color: #92400e;
}

.tutorial-tips li {
    color: #78350f;
    font-size: 0.9375rem;
}

.modal-body .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* ==================== COOKIE BANNER (LGPD) ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 1280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
}

.cookie-text {
    flex: 1;
    color: white;
}

.cookie-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.cookie-text p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #93c5fd;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-accept,
.btn-reject {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}

.btn-accept {
    background: var(--blue-600);
    color: white;
}

.btn-accept:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    .cookie-actions {
        width: 100%;
    }

    .btn-accept,
    .btn-reject {
        flex: 1;
    }
}

/* Utility class for success messages */
.calc-result-note.success {
    color: #ffffff;
    /* White for better contrast on blue background */
    font-weight: 700;
    /* Bold */
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Required field indicator */
.required-field {
    color: #dc2626;
    /* Red 600 */
    font-size: 0.85em;
    font-weight: normal;
    margin-left: 4px;
}