/* ============================================================
   Évrima Solar — Global Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:        #D4AF37;
    --gold-light:  #F3E5AB;
    --gold-dark:   #B8960C;
    --navy:        #0B1D3A;
    --navy-light:  #132E5B;
    --navy-mid:    #1A3A6B;
    --white:       #FFFFFF;
    --gray-50:     #F8FAFC;
    --gray-100:    #F1F5F9;
    --gray-200:    #E2E8F0;
    --gray-300:    #CBD5E1;
    --gray-400:    #94A3B8;
    --gray-500:    #64748B;
    --gray-600:    #475569;
    --gray-700:    #334155;
    --gray-800:    #1E293B;
    --green-wa:    #25D366;
    --green-wa-dk: #128C7E;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --shadow:      0 4px 24px rgba(0,0,0,.08);
    --shadow-lg:   0 8px 40px rgba(0,0,0,.12);
    --transition:  .3s ease;
    --max-w:       1200px;
    --header-h:    104px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem);  font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem);  font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { font-size: 1.05rem; color: var(--gray-600); }

.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: inherit; font-size: 1rem; font-weight: 600;
    cursor: pointer; border: 2px solid transparent;
    transition: var(--transition);
}
.btn-gold {
    background: var(--gold); color: var(--navy);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,.35); }

.btn-navy {
    background: var(--navy); color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }

.btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

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

.btn-wa {
    background: var(--green-wa); color: var(--white);
}
.btn-wa:hover { background: var(--green-wa-dk); transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: .9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-h);
    background: rgba(11,29,58,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,175,55,.15);
    transition: var(--transition);
}
.site-header.scrolled { background: rgba(11,29,58,.98); box-shadow: 0 2px 20px rgba(0,0,0,.25); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.header-logo { padding: 5px 0; }
.header-logo img { height: 94px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    color: rgba(255,255,255,.8); font-size: .92rem; font-weight: 400;
    transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }

/* Mobile menu */
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 32px; position: relative;
}
.menu-toggle span {
    display: block; width: 24px; height: 2px; background: var(--white);
    position: absolute; left: 4px; transition: var(--transition);
}
.menu-toggle span:nth-child(1) { top: 8px; }
.menu-toggle span:nth-child(2) { top: 15px; }
.menu-toggle span:nth-child(3) { top: 22px; }
.menu-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: var(--header-h); left: 0; right: 0;
        background: var(--navy); padding: 24px;
        border-bottom: 2px solid var(--gold);
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.1rem; padding: 8px 0; }
    .header-cta {
        display: flex !important; flex-direction: column !important;
        margin-left: 0; margin-top: 24px; width: 100%; gap: 16px;
    }
    .header-cta .btn {
        width: 100% !important; display: flex !important;
        justify-content: center !important; text-align: center;
    }
}

/* --- Hero Sections --- */
.hero {
    position: relative; min-height: 92vh;
    display: flex; align-items: center;
    background: var(--navy); color: var(--white);
    overflow: hidden; padding-top: var(--header-h);
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: .35;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11,29,58,.85) 0%, rgba(26,58,107,.7) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { color: rgba(255,255,255,.8); font-size: 1.2rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Page hero (smaller) */
.hero-page {
    min-height: 44vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: var(--navy); color: var(--white);
    position: relative; overflow: hidden;
    padding-top: var(--header-h);
}
.hero-page .hero-overlay { background: linear-gradient(135deg, rgba(11,29,58,.9), rgba(26,58,107,.8)); }
.hero-page .hero-content { padding: 48px 0; }
.hero-page h1 { margin-bottom: 12px; }
.hero-page p { margin: 0 auto; }

/* --- Sections --- */
section { padding: 80px 0; }
section:nth-child(even) { background: var(--gray-50); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header h2 { margin-bottom: 16px; white-space: nowrap; }
@media (max-width: 768px) { .section-header h2 { white-space: normal; } }

/* --- Benefits Bar --- */
.benefits-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: -60px; position: relative; z-index: 5;
}
.benefit-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px 20px; text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,.12); }
.benefit-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.5rem; color: var(--white);
}
.benefit-card h4 { margin-bottom: 6px; color: var(--navy); }
.benefit-card p { font-size: .9rem; }

@media (max-width: 768px) {
    .benefits-bar { grid-template-columns: repeat(2, 1fr); margin-top: -40px; gap: 12px; }
    .benefit-card { padding: 20px 14px; }
}
@media (max-width: 480px) {
    .benefits-bar { grid-template-columns: 1fr 1fr; }
}

/* --- Steps / How it Works --- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step-card {
    text-align: center; padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--white); box-shadow: var(--shadow);
    position: relative; transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--navy); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700;
    margin: 0 auto 16px;
}
.step-card h4 { color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: .92rem; }

/* Step connector line */
@media (min-width: 769px) {
    .steps-grid { position: relative; }
    .step-card + .step-card::before {
        content: ''; position: absolute; top: 55px;
        left: -18px; width: 36px; height: 2px;
        background: var(--gold); opacity: .4;
    }
}

/* --- Plan Cards --- */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.plan-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--white); box-shadow: var(--shadow);
    transition: var(--transition); position: relative;
    border: 2px solid transparent;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border-color: var(--gold); }
.plan-card.featured::before {
    content: 'Mais Popular'; position: absolute; top: 16px; right: -30px;
    background: var(--gold); color: var(--navy);
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    padding: 4px 40px; transform: rotate(45deg);
}
.plan-header {
    background: var(--navy); color: var(--white);
    padding: 28px 24px; text-align: center;
}
.plan-header h3 { color: var(--gold); margin-bottom: 8px; }
.plan-discount {
    font-size: 3rem; font-weight: 700; color: var(--white);
    line-height: 1;
}
.plan-discount small { font-size: 1rem; font-weight: 400; opacity: .7; }
.plan-body { padding: 28px 24px; }
.plan-body ul { margin-bottom: 24px; }
.plan-body li {
    padding: 10px 0; border-bottom: 1px solid var(--gray-100);
    font-size: .95rem; color: var(--gray-600);
    display: flex; align-items: center; gap: 10px;
}
.plan-body li::before { content: '\2713'; color: var(--gold); font-weight: 700; }
.plan-body .btn { width: 100%; justify-content: center; }

.plan-card.featured .plan-header { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }

/* --- Simulator --- */
.simulator {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: var(--radius-xl); padding: 48px;
    color: var(--white); text-align: center;
    max-width: 680px; margin: 0 auto;
}
.simulator h3 { color: var(--gold); margin-bottom: 8px; }
.simulator p { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.sim-input-group {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.1); border-radius: var(--radius-md);
    padding: 6px; max-width: 400px; margin: 0 auto 20px;
}
.sim-input-group span { font-size: 1.2rem; font-weight: 600; padding-left: 16px; color: var(--gold); }
.sim-input-group input {
    flex: 1; background: none; border: none; color: var(--white);
    font-family: inherit; font-size: 1.2rem; padding: 12px;
    outline: none;
}
.sim-input-group input::placeholder { color: rgba(255,255,255,.4); }
.sim-result {
    margin-top: 20px; padding: 20px;
    background: rgba(212,175,55,.12); border-radius: var(--radius-md);
    border: 1px solid rgba(212,175,55,.3);
    display: none;
}
.sim-result.visible { display: block; }
.sim-result .amount { font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.sim-result p { color: rgba(255,255,255,.7); font-size: .9rem; }
.sim-tipo { display: flex; justify-content: center; gap: 24px; margin: 4px 0 20px; }
.sim-tipo label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: rgba(255,255,255,.7); font-size: .92rem; }
.sim-tipo input[type=radio] { accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }
.sim-breakdown { text-align: left; margin-bottom: 8px; }
.sim-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.sim-row:last-child { border-bottom: none; }
.sim-row span { color: rgba(255,255,255,.7); }
.sim-row strong { color: var(--white); }
.sim-row.sim-highlight strong { color: var(--gold); }
.sim-row.sim-total { padding-top: 14px; margin-top: 4px; border-top: 2px solid rgba(212,175,55,.4); border-bottom: none; }
.sim-row.sim-total span { color: var(--white); font-weight: 600; font-size: 1rem; }
.sim-row.sim-total strong { color: var(--gold); font-size: 1.8rem; font-weight: 700; }
.sim-disclaimer { color: rgba(255,255,255,.5) !important; font-size: .76rem !important; margin-top: 14px !important; margin-bottom: 0 !important; line-height: 1.5; text-align: left; }

/* --- Impact Numbers --- */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.impact-item .number {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--gold);
    line-height: 1;
}
.impact-item p { font-size: .92rem; margin-top: 4px; }

@media (max-width: 768px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow);
    position: relative;
}
.testimonial-card::before {
    content: '\201C'; font-size: 4rem; color: var(--gold);
    opacity: .3; position: absolute; top: 8px; left: 20px;
    font-family: serif; line-height: 1;
}
.testimonial-card blockquote {
    font-size: 1rem; color: var(--gray-600); font-style: italic;
    margin-bottom: 16px; padding-top: 16px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gold); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.testimonial-author strong { display: block; color: var(--navy); font-size: .95rem; }
.testimonial-author span { font-size: .82rem; color: var(--gray-400); }

/* --- FAQ Accordion --- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--gray-200);
}
.faq-question {
    width: 100%; background: none; border: none;
    padding: 20px 0; font-family: inherit; font-size: 1.05rem;
    font-weight: 600; color: var(--navy); text-align: left;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question .icon {
    font-size: 1.5rem; transition: transform .3s; color: var(--gold);
    flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { font-size: .95rem; color: var(--gray-600); line-height: 1.7; }

/* --- Forms --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px; border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm); font-family: inherit;
    font-size: 1rem; color: var(--gray-800);
    transition: var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); outline: none;
    box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .88rem; color: var(--gray-500);
}
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); }

@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* --- Comparison Table --- */
.comparison-table {
    width: 100%; border-collapse: collapse;
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
}
.comparison-table th, .comparison-table td {
    padding: 16px 20px; text-align: left; font-size: .95rem;
}
.comparison-table thead th {
    background: var(--navy); color: var(--white); font-weight: 600;
}
.comparison-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.comparison-table tbody tr:hover { background: var(--gray-50); }
.check { color: var(--gold); font-weight: 700; }
.cross { color: var(--gray-300); }

/* --- Team / About --- */
.team-grid { display: flex; flex-direction: column; gap: 32px; }
.team-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
    display: flex; flex-direction: row;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo {
    width: 280px; min-width: 280px; height: auto; object-fit: cover;
    background: var(--gray-200);
}
.team-photo-placeholder {
    width: 280px; min-width: 280px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: var(--gold);
}
.team-info { padding: 36px; flex: 1; }
.team-info h3 { color: var(--navy); margin-bottom: 4px; }
.team-info .role { font-size: .88rem; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.team-info p { font-size: .92rem; margin-bottom: 10px; }
.team-info p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .team-card { flex-direction: column; }
    .team-photo { width: 100%; min-width: unset; height: auto; max-height: 420px; object-position: top center; }
    .team-photo-placeholder { width: 100%; min-width: unset; height: 260px; }
}

/* --- Values --- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { text-align: center; padding: 32px 20px; }
.value-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(212,175,55,.12); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.6rem;
}
.value-card h4 { color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: .92rem; }

@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: var(--white); text-align: center;
    padding: 64px 24px; border-radius: var(--radius-xl);
}
.cta-banner h2 { margin-bottom: 12px; color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 28px; }

/* --- Footer --- */
.site-footer {
    background: var(--navy); color: rgba(255,255,255,.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 300px; }
.footer-brand img { height: 40px; margin-bottom: 8px; }
.site-footer h4 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { font-size: .9rem; transition: var(--transition); }
.site-footer ul li a:hover { color: var(--gold); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; font-size: .82rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* --- WhatsApp Float --- */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--green-wa); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001;
    background: var(--navy); color: rgba(255,255,255,.85);
    padding: 16px 24px;
    display: none; align-items: center; justify-content: center; gap: 16px;
    font-size: .88rem; flex-wrap: wrap;
}
.cookie-banner.visible { display: flex; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }

/* --- Animations --- */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.py-0 { padding-top: 0; padding-bottom: 0; }

/* --- Legal Pages --- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--navy); }
.legal-content h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin-bottom: 16px; padding-left: 24px; }
.legal-content ul li { list-style: disc; margin-bottom: 8px; font-size: .95rem; color: var(--gray-600); }

/* --- Comparison table mobile --- */
@media (max-width: 600px) {
    .comparison-table thead { display: none; }
    .comparison-table, .comparison-table tbody,
    .comparison-table tr, .comparison-table td { display: block; width: 100%; }
    .comparison-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    .comparison-table td {
        padding: 10px 14px; font-size: .88rem;
        border-bottom: 1px solid var(--gray-100);
        position: relative; padding-left: 45%;
    }
    .comparison-table td:last-child { border-bottom: none; }
    .comparison-table td::before {
        content: attr(data-label);
        position: absolute; left: 14px;
        font-weight: 600; color: var(--navy);
        font-size: .78rem; width: 40%;
    }
}

/* --- Mobile layout fixes --- */
@media (max-width: 600px) {
    .container { padding: 0 28px; }
    section { padding: 56px 0; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
    .simulator { padding: 32px 24px; }
    .sim-input-group { flex-wrap: wrap; }
    .sim-input-group button { width: 100%; margin-top: 4px; }
    .sim-tipo { gap: 16px; flex-direction: column; align-items: flex-start; }
    .sim-row { font-size: .82rem; }
    .sim-row.sim-total strong { font-size: 1.4rem; }
}
