/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
/* Google Fonts loaded via <link> in HTML for better performance (no render-blocking @import) */

:root {
    /* Color Palette */
    --color-primary-dark: #071D39;   /* Deep Blue / Footer */
    --color-primary: #0F3D7A;        /* Brand Blue */
    --color-primary-light: #EBF3FC;  /* Light Ice Blue */
    --color-accent: #0073E6;         /* Bright Blue Action */
    --color-accent-hover: #005ec2;
    --color-whatsapp: #25D366;       /* WhatsApp Green */
    --color-whatsapp-hover: #1ebd59;
    
    /* Neutrals */
    --color-text-dark: #1E293B;      /* Off-Black Slate-800 */
    --color-text-muted: #64748B;     /* Slate-500 */
    --color-bg-light: #F8FAFC;       /* Off-White Slate-50 */
    --color-bg-white: #FFFFFF;
    
    /* Layout Variables */
    --radius-container: 16px;
    --radius-input: 8px;
    --radius-button: 50px;           /* Pill locked for actions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
    --shadow-soft: 0 4px 20px -2px rgba(15, 61, 122, 0.08), 0 2px 8px -1px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 10px 30px -5px rgba(15, 61, 122, 0.15), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Visually hidden but accessible to screen readers */
.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;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 61, 122, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.02);
}

.footer-logo-img {
    opacity: 0.95;
    height: 44px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: var(--color-bg-white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--color-primary);
    box-shadow: 0 2px 4px rgba(15, 61, 122, 0.1);
}

.header-cta:hover {
    background-color: transparent;
    color: var(--color-primary) !important;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary-dark);
}

/* ==========================================================================
   HERO / MAIN CONTENT
   ========================================================================== */
.hero-section {
    padding: 60px 0 80px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.hero-side-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-creative-card {
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background-color: var(--color-bg-white);
}

.hero-creative-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Left Hero Column */
.hero-content-card {
    background: linear-gradient(135deg, #0a274c 0%, #153c6b 100%);
    border-radius: var(--radius-container);
    padding: 48px;
    color: var(--color-bg-white);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Background overlay graphic */
.hero-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(0, 115, 230, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-bg-white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    order: 1;
}

.badge-tag i {
    color: #38bdf8;
}

.hero-title {
    color: var(--color-bg-white);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    max-width: 15rem; /* Cap line wrapping beautifully */
    width: 100%;
    max-width: 100%;
    order: 2;
}

.hero-video-wrap {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-soft);
    background-color: rgba(7, 29, 57, 0.35);
    order: 3;
}

.hero-video-frame {
    display: block;
    width: 100%;
    border: none;
    aspect-ratio: 16 / 9;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 36px;
    font-weight: 400;
    order: 4;
}

.hero-coverage-panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(7, 29, 57, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    order: 5;
}

.hero-coverage-header {
    margin-bottom: 18px;
}

.hero-coverage-kicker {
    display: inline-block;
    color: #7dd3fc;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.hero-coverage-title {
    color: var(--color-bg-white);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-coverage-description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
    line-height: 1.6;
}

.hero-coverage-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-coverage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-bg-white);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-coverage-item i {
    color: #facc15;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    order: 6;
}

.hero-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hero-bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.hero-bullet-text h4 {
    color: var(--color-bg-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.hero-bullet-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Right Hero Column - The Form */
.form-card {
    background-color: #003E8A; /* Reference color match */
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    color: var(--color-bg-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-header {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.form-header h3 {
    color: var(--color-bg-white);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-body {
    padding: 24px;
}

/* Reference Text block inside the form */
.form-instruction {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    border-radius: var(--radius-input);
    border-left: 4px solid #38bdf8;
}

.form-instruction strong {
    color: #38bdf8;
}

/* Form Grid Elements */
.form-row {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row-2col {
    grid-template-columns: 1fr 1fr;
}

.form-row-3col {
    grid-template-columns: 80px 1fr 1.5fr; /* Match DDD narrow, Celular medium, Email wide */
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Inputs styling replica of exemplo de formulario.PNG */
.form-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background-color: var(--color-bg-white);
    border: 2px solid transparent;
    border-radius: var(--radius-input);
    color: var(--color-text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase; /* Match uppercase text entry from reference image */
    transition: var(--transition-fast);
}

.form-input::placeholder {
    color: #94A3B8; /* Muted slate grey placeholder */
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 400;
}

.form-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

/* Email input overrides uppercase force */
.form-input-email {
    text-transform: none;
}
.form-input-email::placeholder {
    text-transform: uppercase;
}

/* Toggle type of vehicle */
.vehicle-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-input);
    color: var(--color-bg-white);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    user-select: none;
}

.toggle-input {
    display: none;
}

.toggle-input:checked + .toggle-label {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    border-color: var(--color-bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Submit Button styled as 'CALCULE AGORA!' in print-exemplo */
.form-submit-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(180deg, #2ee573 0%, var(--color-whatsapp) 100%);
    color: var(--color-bg-white);
    border: none;
    border-radius: var(--radius-input);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.form-submit-btn:hover {
    background: linear-gradient(180deg, #3dfb82 0%, var(--color-whatsapp-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.form-submit-btn:active {
    transform: translateY(1px) scale(0.99);
}

/* Error feedback styling */
.input-error {
    border-color: #F87171 !important;
}

.input-error-msg {
    color: #FCA5A5;
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 500;
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */
.benefits-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
    border-top: 1px solid rgba(15, 61, 122, 0.05);
    border-bottom: 1px solid rgba(15, 61, 122, 0.05);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-container);
    padding: 36px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 61, 122, 0.04);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(15, 61, 122, 0.1);
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(15, 61, 122, 0.05);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info .logo-text {
    color: var(--color-bg-white);
    margin-bottom: 16px;
}

.footer-about-text {
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--color-bg-white);
    font-size: 1rem;
}

.social-link:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-nav h4, .footer-contact h4 {
    color: var(--color-bg-white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-nav-link:hover {
    color: var(--color-bg-white);
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-icon {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-top: 2px;
}

.footer-contact-item a:hover {
    color: var(--color-bg-white);
}

/* Footer WhatsApp Button */
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-whatsapp);
    color: var(--color-bg-white);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-button);
    margin-top: 10px;
}

.footer-whatsapp-btn:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-susep {
    font-style: italic;
}

/* Floating WhatsApp and Scroll to Top buttons on the side (Replica layout detail) */
.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 1.4rem;
}

.floating-btn-whatsapp {
    background-color: var(--color-whatsapp);
}

.floating-btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.08);
}

.floating-btn-scroll {
    background-color: var(--color-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.floating-btn-scroll.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn-scroll:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.08);
}

/* ==========================================================================
   RESPONSIVENESS BREAKPOINTS
   ========================================================================== */

/* Laptop / Large Tablets */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-side-column {
        gap: 18px;
    }
    
    .hero-content-card {
        padding: 36px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-coverage-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablets (MD breakpoint) */
@media (max-width: 768px) {
    .site-header {
        height: 64px;
    }
    
    .nav-menu {
        display: none; /* In production, toggles via JS */
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-white);
        padding: 24px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(15, 61, 122, 0.08);
        gap: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-cta {
        display: none; /* Moved into mobile navigation or hidden for screen real estate */
    }
    
    .hero-section {
        padding: 40px 0 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-coverage-title {
        font-size: 1.25rem;
    }

    .hero-coverage-list {
        grid-template-columns: 1fr;
    }
    
    .benefits-section {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content-card {
        padding: 24px 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-coverage-panel {
        padding: 20px 16px;
    }

    .hero-coverage-item {
        min-height: auto;
        padding: 11px 12px;
        font-size: 0.9rem;
    }
    
    .form-body {
        padding: 16px;
    }
    
    .form-row-3col {
        grid-template-columns: 70px 1fr; /* Stack email below */
    }
    
    .form-row-3col .form-group:nth-child(3) {
        grid-column: span 2;
        margin-top: 4px;
    }
    
    .floating-actions {
        right: 16px;
        bottom: 16px;
    }
}

/* ==========================================================================
   INSTITUTIONAL PAGES (TERMS & PRIVACY)
   ========================================================================== */
.legal-section {
    padding: 80px 0 100px 0;
    min-height: calc(100vh - 72px - 380px); /* Fill screen space */
}

.legal-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 61, 122, 0.05);
    padding: 48px;
    max-width: 850px;
    margin: 0 auto;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(15, 61, 122, 0.08);
    padding-bottom: 16px;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 28px 0 12px 0;
    color: var(--color-primary);
}

.legal-content p {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
    color: var(--color-text-dark);
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */
.error-section {
    padding: 100px 0;
    min-height: calc(100vh - 72px - 380px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 61, 122, 0.05);
    padding: 60px 40px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.error-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary-light);
    color: var(--color-accent);
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.error-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.error-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.error-btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border: 1px solid var(--color-primary);
}

.error-btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.error-btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-bg-white);
    border: 1px solid var(--color-whatsapp);
}

.error-btn-whatsapp:hover {
    background-color: transparent;
    color: var(--color-whatsapp);
    transform: translateY(-2px);
}

/* Responsiveness overrides for legal pages */
@media (max-width: 768px) {
    .legal-card {
        padding: 24px 16px;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .error-card {
        padding: 40px 20px;
    }
    
    .error-title {
        font-size: 1.75rem;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .error-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   ADDITIONAL CUSTOM STYLES
   ========================================================================== */

/* Centralização do ícone e título nos cards de serviços/benefícios */
.benefit-card .benefit-icon-wrapper {
    margin-left: auto;
    margin-right: auto;
}

.benefit-card h3 {
    text-align: center;
}

/* Imagens responsivas dos cards de serviços/benefícios */
.benefit-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin: 16px 0;
    display: block;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 61, 122, 0.06);
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-card-image {
    border-color: rgba(15, 61, 122, 0.12);
    box-shadow: 0 6px 15px -3px rgba(15, 61, 122, 0.1);
}

/* Duas colunas para páginas de serviços/artigos */
.service-layout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .service-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Imagem de destaque do artigo */
.service-featured-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-container);
    margin-bottom: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 61, 122, 0.06);
}

@media (max-width: 768px) {
    .service-featured-image {
        height: 240px;
    }
}

/* Widget Lateral de Conversão */
.service-sidebar-widget {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-container);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(15, 61, 122, 0.05);
    position: sticky;
    top: 96px;
}

@media (max-width: 992px) {
    .service-sidebar-widget {
        position: static;
        margin-top: 10px;
    }
}

.sidebar-video-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 61, 122, 0.08);
    margin-bottom: 20px;
    background-color: rgba(7, 29, 57, 0.03);
}

.sidebar-video-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.sidebar-widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.sidebar-widget-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.sidebar-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background-color: var(--color-whatsapp);
    color: var(--color-bg-white) !important;
    border-radius: var(--radius-input);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.sidebar-whatsapp-btn:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

/* FAQ Accordion Component */
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.faq-item {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-input);
    border: 1px solid rgba(15, 61, 122, 0.06);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item[open] {
    box-shadow: var(--shadow-soft);
    border-color: rgba(15, 61, 122, 0.12);
}

.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    color: var(--color-primary-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\2b';
    font-size: 1.2rem;
    font-weight: 400;
    transition: var(--transition-smooth);
    color: var(--color-primary);
}

.faq-item[open] summary::after {
    content: '\2212';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 24px 20px 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(15, 61, 122, 0.04);
    padding-top: 16px;
}

/* Passo a Passo (Steps list) */
.steps-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

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

.step-item {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-input);
    padding: 24px;
    border: 1px solid rgba(15, 61, 122, 0.05);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary-light);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    z-index: 0;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Banner de CTA de Conversão Final */
.service-cta-banner {
    background: linear-gradient(135deg, #0a274c 0%, #153c6b 100%);
    border-radius: var(--radius-container);
    padding: 48px;
    color: var(--color-bg-white);
    text-align: center;
    margin-top: 50px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.service-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 115, 230, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.service-cta-title {
    color: var(--color-bg-white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.service-cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 24px auto;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    background-color: var(--color-whatsapp);
    color: var(--color-bg-white) !important;
    padding: 0 32px;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.service-cta-btn:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Link interno de serviços (usado na listagem de serviços) */
.benefit-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.benefit-card-link:hover {
    color: var(--color-accent-hover);
    gap: 10px;
}

