/* =============================================
   Adyen Latin America - Folha de Estilos Principal
   Versão: 1.0.0
   ============================================= */

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

:root {
    --blue-900: #1e3a5f;
    --blue-800: #1a4480;
    --blue-700: #1e56a0;
    --blue-600: #1A56DB;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --blue-50:  #eff6ff;

    --green-700: #15803d;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-100: #dcfce7;
    --green-50:  #f0fdf4;

    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50:  #f9fafb;
    --white:    #ffffff;

    --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    --transition: all .2s ease;
    --transition-slow: all .35s ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-700); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ---- Tipografia ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }

/* ---- Botões ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-primary {
    background: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
}
.btn-primary:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue-600);
    border-color: var(--blue-600);
}
.btn-secondary:hover {
    background: var(--blue-50);
    color: var(--blue-700);
    border-color: var(--blue-700);
}

.btn-green {
    background: var(--green-600);
    color: var(--white);
    border-color: var(--green-600);
}
.btn-green:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    color: var(--white);
    border-color: var(--white);
}

/* ---- Barra Legal ---- */
.legal-bar {
    background: var(--blue-900);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
    padding: 7px 0;
    text-align: center;
}
.legal-bar .container { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    width: 100%;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--blue-800); }
.logo-tagline { font-size: .65rem; font-weight: 600; color: var(--green-600); letter-spacing: .05em; text-transform: uppercase; }

.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: .9rem;
    color: var(--gray-700);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    background: var(--blue-50);
    color: var(--blue-600);
}
.nav-link .chevron { transition: transform .2s; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.has-dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown-menu li a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    font-size: .875rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}
.dropdown-menu li a:hover { background: var(--blue-50); color: var(--blue-600); }

.header-cta { flex-shrink: 0; }

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border-radius: var(--radius-md);
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
    padding: 16px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav-list { padding: 0 16px; }
.mobile-nav-list > li > a,
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--gray-700);
    font-size: .95rem;
}
.mobile-nav-list > li > a:hover,
.mobile-dropdown-toggle:hover { background: var(--blue-50); color: var(--blue-600); }
.mobile-dropdown { display: none; padding: 4px 0 4px 16px; }
.mobile-dropdown.open { display: block; }
.mobile-dropdown li a {
    display: block;
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-size: .875rem;
    color: var(--gray-600);
}
.mobile-dropdown li a:hover { background: var(--blue-50); color: var(--blue-600); }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-800) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    width: 100%;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { color: var(--white); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--green-400); }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.8);
    font-size: .85rem;
}
.trust-item svg { color: var(--green-400); flex-shrink: 0; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-2xl);
    padding: 32px;
    width: 100%;
    max-width: 380px;
    color: var(--white);
}
.hero-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; color: var(--white); }
.hero-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-card-info { flex: 1; }
.hero-card-label { font-size: .75rem; color: rgba(255,255,255,.65); margin-bottom: 2px; }
.hero-card-value { font-size: .95rem; font-weight: 600; color: var(--white); }
.hero-card-badge {
    font-size: .7rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: var(--green-500);
    color: var(--white);
    font-weight: 600;
}

/* ---- Seções ---- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.section-gray { background: var(--gray-50); }
.section-blue { background: var(--blue-900); color: var(--white); }
.section-blue h2, .section-blue h3, .section-blue p { color: var(--white); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}
.section-blue .section-label { color: var(--green-400); background: rgba(255,255,255,.1); }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--gray-600); }
.section-blue .section-header p { color: rgba(255,255,255,.8); }

/* ---- Cards de Benefícios ---- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition-slow);
}
.benefit-card:hover {
    border-color: var(--blue-300, #93c5fd);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--blue-600);
}
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit-card p { font-size: .9rem; color: var(--gray-600); margin: 0; }

/* ---- Como Funciona ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    position: relative;
}
.step-item { text-align: center; }
.step-number {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--blue-600);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: var(--font-display);
}
.step-item h3 { font-size: 1rem; margin-bottom: 8px; }
.step-item p { font-size: .875rem; color: var(--gray-600); }

/* ---- Serviços Grid ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--blue-600);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: .875rem; color: var(--gray-600); flex: 1; margin-bottom: 20px; }
.service-card .btn { align-self: flex-start; }

/* ---- Segurança ---- */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.security-features { display: flex; flex-direction: column; gap: 20px; }
.security-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.security-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    flex-shrink: 0;
}
.security-feature h4 { margin-bottom: 4px; font-size: 1rem; }
.security-feature p { font-size: .875rem; color: var(--gray-600); margin: 0; }

.security-visual {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    border-radius: var(--radius-2xl);
    padding: 40px;
    color: var(--white);
    text-align: center;
}
.security-shield {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green-400);
}
.security-visual h3 { color: var(--white); margin-bottom: 12px; }
.security-visual p { color: rgba(255,255,255,.8); font-size: .9rem; }
.security-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.sec-badge {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 600;
}

/* ---- Aviso de Transparência ---- */
.transparency-box {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-left: 4px solid var(--blue-600);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 32px 0;
}
.transparency-box h4 { color: var(--blue-800); margin-bottom: 12px; }
.transparency-box ul { display: flex; flex-direction: column; gap: 8px; }
.transparency-box ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--gray-700);
}
.transparency-box ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-600);
    flex-shrink: 0;
}

/* ---- Formulários ---- */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-weight: 600;
    font-size: .875rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-label .required { color: #ef4444; margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control.error { border-color: #ef4444; }
.form-error { font-size: .8rem; color: #ef4444; margin-top: 4px; display: none; }
.form-error.show { display: block; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

/* Alertas de Formulário */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: .9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.alert-success { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-700); }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-info    { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-700); }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ---- Página Interna ---- */
.page-hero {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    padding: 60px 0;
    color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 0; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ---- Tabelas ---- */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--blue-900); color: var(--white); }
thead th { padding: 14px 16px; text-align: left; font-size: .875rem; font-weight: 600; }
tbody tr { border-bottom: 1px solid var(--gray-200); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }
tbody td { padding: 13px 16px; font-size: .9rem; color: var(--gray-700); }

/* ---- Badges ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: .75rem;
    font-weight: 600;
}
.badge-blue   { background: var(--blue-100); color: var(--blue-700); }
.badge-green  { background: var(--green-100); color: var(--green-700); }
.badge-gray   { background: var(--gray-100); color: var(--gray-700); }

/* ---- Footer ---- */
.site-footer { background: var(--gray-900); color: var(--gray-400); }

.footer-top { padding: 64px 0 48px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-logo-name small { font-size: .65rem; color: var(--green-400); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-left: 4px; }
.footer-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-badges { display: flex; flex-direction: column; gap: 8px; }
.badge-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--gray-400);
}
.badge-secure svg { color: var(--green-500); }

.footer-heading { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: var(--gray-400); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
}
.footer-contact-list li svg { color: var(--blue-400); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: var(--gray-400); }
.footer-contact-list a:hover { color: var(--white); }

.footer-legal-notice {
    background: var(--gray-800);
    padding: 20px 0;
    border-top: 1px solid var(--gray-700);
    border-bottom: 1px solid var(--gray-700);
}
.footer-legal-notice p { font-size: .78rem; line-height: 1.7; color: var(--gray-500); margin: 0; }

.footer-bottom { padding: 20px 0; }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.copyright { font-size: .8rem; color: var(--gray-500); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .8rem; color: var(--gray-500); }
.footer-bottom-links a:hover { color: var(--white); }

/* ---- Simulação ---- */
.simulation-result {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-xl);
    padding: 28px;
    margin-top: 24px;
    display: none;
}
.simulation-result.show { display: block; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.result-item { text-align: center; }
.result-label { font-size: .78rem; color: var(--gray-600); margin-bottom: 4px; }
.result-value { font-size: 1.3rem; font-weight: 700; color: var(--green-700); }

/* ---- Sobre ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.stat-item {
    background: var(--blue-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--blue-700); font-family: var(--font-display); }
.stat-label { font-size: .8rem; color: var(--gray-600); margin-top: 4px; }

.about-visual {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    border-radius: var(--radius-2xl);
    padding: 40px;
    color: var(--white);
}
.about-visual h3 { color: var(--white); margin-bottom: 20px; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; }
.info-item-label { font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.info-item-value { font-size: .9rem; color: var(--white); font-weight: 500; }

/* ---- Página Legal ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 36px 0 14px; color: var(--blue-800); }
.legal-content h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--gray-800); }
.legal-content p { font-size: .95rem; line-height: 1.8; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li, .legal-content ol li { font-size: .95rem; line-height: 1.8; margin-bottom: 6px; color: var(--gray-700); }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-date { font-size: .85rem; color: var(--gray-500); margin-bottom: 32px; }

/* ---- Utilitários ---- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.gap-4 { gap: 16px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ---- Responsividade ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

@media (max-width: 768px) {
    .main-nav, .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .hero { padding: 60px 0 48px; }
    .section { padding: 56px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .about-stats { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
}

/* ---- Animações ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .5s ease forwards; }

/* ---- Loading Spinner ---- */
.spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Checkbox / Radio ---- */
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px; height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--blue-600);
}
.form-check label { font-size: .9rem; color: var(--gray-700); cursor: pointer; }

/* ---- Select ---- */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
