/* ==========================================================================
   DEL VIDAL - DESIGN SYSTEM & STYLESHEET (style.css)
   Modern Corporate & Facilities Design System
   ========================================================================== */

:root {
    --primary: #0B2545;
    --primary-dark: #061528;
    --primary-light: #134074;
    --secondary: #1D4ED8;
    --accent-gold: #C9A227;
    --accent-gold-light: #FDE68A;
    --accent-green: #10B981;
    --accent-green-dark: #059669;
    
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;
    
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-dark: #0B2545;
    
    --border-color: #E2E8F0;
    --border-subtle: #CBD5E1;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(11, 37, 69, 0.12), 0 4px 6px -2px rgba(11, 37, 69, 0.05);
    --shadow-xl: 0 20px 35px -5px rgba(11, 37, 69, 0.18);
    --shadow-glow: 0 0 20px rgba(29, 78, 216, 0.35);

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

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

a:hover {
    color: var(--primary-light);
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-white);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--text-white);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.badge-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(29, 78, 216, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-dark .badge-tag {
    background: rgba(201, 162, 39, 0.2);
    color: var(--accent-gold-light);
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.section-dark .section-subtitle {
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.65rem;
    font-size: 0.975rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--text-white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B38F1E 100%);
    color: #061528;
    font-weight: 700;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
    color: #061528;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-subtle);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(29, 78, 216, 0.05);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.btn-outline-white:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--text-white);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
    color: var(--text-white);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0;
}

.brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0 auto;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 21, 40, 0.92) 0%, rgba(11, 37, 69, 0.85) 100%), url('../images/hero_banner.jpg') center/cover no-repeat;
    color: var(--text-white);
    padding: 6.5rem 0 5.5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.25rem;
    color: var(--text-white);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-content h1 span.highlight {
    color: #FDE68A;
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-content p {
    font-size: 1.18rem;
    color: #E2E8F0;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent-gold-light);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: #CBD5E1;
    margin-bottom: 0;
}

.hero-card-form {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-main);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card-form h3 {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
}

.hero-card-form p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #FFFFFF;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* About / Empresa */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* Selo de Garantia e Fundação (Desde 1995) */
.about-seal-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #134074 0%, #0B2545 70%, #061528 100%);
    border: 3px solid #FDE68A;
    outline: 2px dashed #C9A227;
    outline-offset: -7px;
    box-shadow: 0 12px 30px rgba(6, 21, 40, 0.45), 0 0 25px rgba(201, 162, 39, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    transform: rotate(-6deg);
    transition: var(--transition);
    z-index: 10;
    cursor: default;
    user-select: none;
}

.about-seal-badge:hover {
    transform: rotate(0deg) scale(1.08);
    box-shadow: 0 16px 35px rgba(6, 21, 40, 0.55), 0 0 30px rgba(201, 162, 39, 0.5);
}

.about-seal-badge .seal-stars {
    color: #FDE68A;
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.about-seal-badge .seal-top-text {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FDE68A;
    line-height: 1;
}

.about-seal-badge .seal-year {
    font-size: 1.95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #FFFFFF 0%, #FDE68A 50%, #C9A227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 3px 0 2px;
    letter-spacing: -0.5px;
}

.about-seal-badge .seal-bottom-text {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #E2E8F0;
    line-height: 1.15;
    max-width: 105px;
}

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

.pillar-card {
    background: var(--bg-alt);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary);
}

.pillar-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(29, 78, 216, 0.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
}

/* Differentials */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.diff-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.diff-icon {
    font-size: 2.25rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.diff-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.diff-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Budget Simulator */
.calculator-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

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

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.option-checkbox:hover, .option-checkbox.checked {
    border-color: var(--secondary);
    background: rgba(29, 78, 216, 0.06);
    color: var(--secondary);
}

/* Contact & Trabalhe Conosco */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.contact-info-card {
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(29, 78, 216, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.contact-detail-text p, .contact-detail-text a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-wrapper {
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-sm);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Direct Contact & Trabalhe Conosco Action Cards */
.direct-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    justify-content: center;
}

.direct-action-card {
    background: #FFFFFF;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-align: left;
    width: 100%;
}

.direct-action-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
    background: rgba(29, 78, 216, 0.02);
}

.direct-action-card.rh-card:hover {
    border-color: var(--primary);
}

.direct-action-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(29, 78, 216, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.direct-action-card:hover .direct-action-icon {
    background: var(--secondary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.direct-action-card.rh-card .direct-action-icon {
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent-gold);
}

.direct-action-card.rh-card:hover .direct-action-icon {
    background: var(--accent-gold);
    color: #061528;
}

.direct-action-text {
    flex-grow: 1;
}

.direct-action-text h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.direct-action-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.direct-action-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.direct-action-card:hover .direct-action-arrow {
    background: var(--secondary);
    color: #FFFFFF;
    border-color: var(--secondary);
    transform: translateX(4px);
}

.direct-action-card.rh-card:hover .direct-action-arrow {
    background: var(--primary);
    border-color: var(--primary);
}

/* ==========================================================================
   BARRA DE REDES SOCIAIS & WHATSAPP ANTES DO RODAPÉ
   ========================================================================== */

.pre-footer-social-section {
    background: #061528;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.25rem 0;
    color: #FFFFFF;
}

.pre-footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.pre-footer-title h3 {
    color: #FFFFFF;
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.pre-footer-title p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.social-icons-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-full);
    font-size: 0.925rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
    transition: var(--transition);
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    color: #FFFFFF;
}

.social-icon-btn.wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.social-icon-btn.wa:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.social-icon-btn.ig {
    border-color: rgba(225, 48, 108, 0.4);
}

.social-icon-btn.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
}

.social-icon-btn.fb {
    border-color: rgba(24, 119, 242, 0.4);
}

.social-icon-btn.fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}

.social-icon-btn.in {
    border-color: rgba(10, 102, 194, 0.4);
}

.social-icon-btn.in:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.45);
}

.social-icon-btn.tw:hover {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 340px;
}

.footer-legal-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-size: 0.8rem;
    border-left: 3px solid var(--accent-gold);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

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

.footer-legal-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

.footer-legal-links a:hover {
    color: var(--accent-gold-light);
}

/* ==========================================================================
   MINI AGENTE VIRTUAL FLUTUANTE (assistant.js widget styles)
   ========================================================================== */

.floating-assistant {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: inherit;
}

.assistant-trigger {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), 0 0 15px rgba(29, 78, 216, 0.4);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
}

.assistant-trigger:hover {
    transform: scale(1.08);
}

.assistant-trigger .pulse-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: var(--accent-green);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.assistant-tooltip {
    position: absolute;
    right: 74px;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid var(--border-color);
    animation: bounceTooltip 2s infinite;
}

@keyframes bounceTooltip {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-6px); }
}

.assistant-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.assistant-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.assistant-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.assistant-agent-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.agent-meta h4 {
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 0.1rem;
}

.agent-meta span {
    font-size: 0.75rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.agent-meta span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
}

.assistant-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.8;
}

.assistant-close:hover {
    opacity: 1;
}

.assistant-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: var(--bg-alt);
}

.chat-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    border-radius: var(--radius-md);
}

.chat-bubble.bot {
    background: #FFFFFF;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.chat-bubble.bot.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1rem;
    width: fit-content;
}

.chat-bubble.bot.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-bubble.bot.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.chat-bubble.bot.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.chat-bubble.user {
    background: var(--secondary);
    color: var(--text-white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.quick-action-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.quick-action-btn:hover {
    border-color: var(--secondary);
    background: rgba(29, 78, 216, 0.05);
    color: var(--secondary);
    transform: translateX(3px);
}

.assistant-footer {
    padding: 0.75rem;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
}

.assistant-input-wrap {
    display: flex;
    gap: 0.5rem;
}

.assistant-input-wrap input {
    flex-grow: 1;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.assistant-input-wrap input:focus {
    outline: none;
    border-color: var(--secondary);
}

.assistant-input-wrap button {
    background: var(--secondary);
    color: var(--text-white);
    border: none;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
}

/* ==========================================================================
   POPUP / BANNER DE COOKIES (LGPD)
   ========================================================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-top: 2px solid var(--primary-light);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    padding: 1.25rem 0;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex-grow: 1;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-consent-text strong {
    color: var(--primary);
}

.cookie-consent-text a {
    color: var(--secondary);
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

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

/* Adopt-Style Floating Badge */
.lgpd-floating-badge {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9990;
    background: #0B2545;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(11, 37, 69, 0.35);
    transition: all 0.3s ease;
}

.lgpd-floating-badge:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);
}

.lgpd-badge-icon {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .lgpd-floating-badge {
        bottom: 16px;
        left: 16px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   MODAL DE TERMOS DE USO & POLÍTICA DE PRIVACIDADE LGPD
   ========================================================================== */

.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 1.5rem;
}

.legal-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.legal-modal-box {
    background: #FFFFFF;
    width: 760px;
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.legal-modal-header {
    background: var(--primary);
    color: var(--text-white);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h3 {
    color: var(--text-white);
    font-size: 1.25rem;
}

.legal-modal-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.legal-modal-close:hover {
    opacity: 1;
}

.legal-modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 0.925rem;
    color: var(--text-main);
    line-height: 1.7;
}

.legal-modal-body h4 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.legal-modal-body p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.legal-modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.legal-modal-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .calculator-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image-wrapper img {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        gap: 1.25rem;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .calculator-options {
        grid-template-columns: 1fr;
    }

    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: flex-end;
    }

    .floating-assistant {
        bottom: 16px;
        right: 16px;
    }

    .pre-footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
