/* --- Variáveis e Reset --- */
:root {
    --primary-blue: #0d2644;
    --secondary-blue: #0056b3;
    --cyan: #00aaff;
    --dark-bg: #081b33;
    --gold: #d4af37;
    --text-grey: #555;
    --light-grey: #f4f7fa;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Botões --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary { background-color: var(--primary-blue); color: var(--white); }
.btn-primary:hover { background-color: var(--secondary-blue); }

.btn-cyan { background-color: var(--cyan); color: var(--white); }
.btn-cyan:hover { background-color: #008ecc; }

.btn-outline { border-color: var(--primary-blue); color: var(--primary-blue); }
.btn-outline:hover { background-color: var(--primary-blue); color: var(--white); }

.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background-color: var(--white); color: var(--primary-blue); }

.btn-primary-dark { background-color: var(--primary-blue); color: var(--white); }
.btn-white { background-color: var(--white); color: var(--primary-blue); }

/* --- Header (ALTERADO PARA NÃO SER FIXO) --- */
header {
    height: 80px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative; /* Mudado de fixed para relative */
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.2rem;
}
.logo i { font-size: 2rem; color: var(--cyan); }
.logo div { display: flex; flex-direction: column; line-height: 1; }
.logo small { font-size: 0.7rem; font-weight: 400; letter-spacing: 2px; }

.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--primary-blue); }
.nav-links a:hover { color: var(--cyan); }

.mobile-menu-icon { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- Hero Section (MARGEM REMOVIDA) --- */
.hero {
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0; /* Removido o margin-top de 80px */
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(13,38,68,0.9) 0%, rgba(13,38,68,0.6) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--cyan); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.trust-badges-hero { display: flex; gap: 30px; margin-bottom: 40px; }
.badge-item { display: flex; align-items: center; gap: 10px; opacity: 0.8; }
.badge-item i { font-size: 2rem; }
.badge-item span { font-size: 0.7rem; font-weight: 700; line-height: 1.2; }

/* --- Services Cards --- */
.services-cards { padding: 80px 0; background: var(--light-grey); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; margin-bottom: 40px; }

.card-blue, .card-cyan, .card-dark {
    padding: 50px 30px;
    color: var(--white);
    position: relative;
    transition: transform 0.3s;
}
.card-blue { background-color: #003366; }
.card-cyan { background-color: #0099cc; }
.card-dark { background-color: #001a33; }

.card-blue:hover, .card-cyan:hover, .card-dark:hover { transform: translateY(-10px); z-index: 10; }

.card-icon { font-size: 3rem; margin-bottom: 20px; opacity: 0.8; }
.card-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-top: 20px; font-size: 0.9rem; }
.center-btn { text-align: center; margin-top: 40px; }

/* --- Savings Section --- */
.savings-section { background-color: var(--primary-blue); color: var(--white); padding: 80px 0; text-align: center; }
.savings-section h2 { font-size: 2.5rem; margin-bottom: 10px; }
.highlight-bg { background-color: var(--secondary-blue); padding: 0 10px; }
.subtitle { font-size: 1.2rem; margin-bottom: 40px; color: var(--cyan); }
.desc { max-width: 800px; margin: 0 auto 20px; font-size: 1.1rem; }
.desc-small { font-size: 0.9rem; opacity: 0.7; margin-bottom: 50px; }

.savings-icons { display: flex; justify-content: center; gap: 60px; margin-bottom: 50px; flex-wrap: wrap; }
.saving-item { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.saving-item i { font-size: 2.5rem; color: var(--white); border: 2px solid var(--white); padding: 20px; border-radius: 50%; }
.saving-item span { font-weight: 600; font-size: 0.9rem; }

/* --- Specialist Section --- */
.specialist-section { 
    background-color: var(--white);
}
.specialist-grid { display: flex; }
.specialist-text { 
    flex: 1; 
    padding: 80px 40px 80px 0; 
    color: var(--primary-blue);
    background: transparent; 
}
.specialist-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.tagline { font-size: 0.9rem; margin-bottom: 30px; opacity: 0.8; color: #666; }
.specialist-text p { margin-bottom: 20px; font-size: 1rem; line-height: 1.8; }

.specialist-icons { display: flex; gap: 30px; margin: 40px 0; text-align: center; }
.spec-icon i { font-size: 2rem; margin-bottom: 10px; color: var(--cyan); }
.spec-icon span { font-size: 0.8rem; display: block; font-weight: 600; }

.specialist-image {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') no-repeat center center/cover;
    position: relative;
}
.specialist-image::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 38, 68, 0.1);
}

/* --- Leader Section --- */
.leader-section {
    background: radial-gradient(circle at center, #2a2a2a 0%, #000000 100%);
    color: var(--white);
    padding: 100px 0;
    overflow: hidden;
}
.leader-grid { display: flex; align-items: center; justify-content: space-between; }
.leader-text { flex: 1; max-width: 600px; }
.leader-text h2 { font-size: 2.5rem; margin-bottom: 30px; line-height: 1.2; }
.leader-text h2 strong { color: var(--white); }
.leader-text p { margin-bottom: 20px; opacity: 0.8; }

.leader-trophy { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.trophy-circle {
    width: 200px; height: 200px; border: 10px solid var(--gold); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 8rem; font-weight: 800; color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.laurel-wreath { position: absolute; bottom: -40px; font-size: 5rem; color: var(--gold); }

/* --- Testimonials --- */
.testimonials-section { padding: 80px 0; background: var(--light-grey); text-align: center; }
.testimonials-section h2 { color: var(--primary-blue); font-size: 2.2rem; margin-bottom: 50px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: left; }
.stars { color: #f1c40f; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: #666; }
.testimonial-card h4 { color: var(--primary-blue); margin-bottom: 5px; }
.testimonial-card span { font-size: 0.8rem; color: #999; }

/* --- Institutional --- */
.institutional-section { padding: 80px 0; background: var(--white); }
.institutional-grid { display: flex; gap: 50px; align-items: center; }
.inst-text { flex: 1; }
.inst-text h2 { color: var(--primary-blue); font-size: 2.2rem; margin-bottom: 20px; }
.highlight-text { font-size: 1.1rem; color: #333; margin-bottom: 20px; border-left: 4px solid var(--cyan); padding-left: 15px; }
.trust-badges-inst { display: flex; gap: 20px; margin: 40px 0; }
.badge-item-dark { text-align: center; color: var(--primary-blue); }
.badge-item-dark i { font-size: 2rem; margin-bottom: 5px; display: block; }
.badge-item-dark small { font-size: 0.6rem; display: block; color: #888; }
.badge-item-dark span { font-weight: 700; font-size: 0.8rem; }

.inst-image {
    flex: 1; height: 500px;
    background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') no-repeat center center/cover;
    border-radius: 5px;
    box-shadow: 20px 20px 0px var(--light-grey);
}

/* --- LGPD Bar --- */
.lgpd-bar { background-color: #2c3e50; color: var(--white); padding: 20px 0; }
.lgpd-container { display: flex; justify-content: space-between; align-items: center; }
.lgpd-info { display: flex; align-items: center; gap: 15px; }
.lgpd-info i { font-size: 2rem; color: var(--cyan); }

/* --- Footer --- */
footer { background-color: var(--dark-bg); color: #aab2bd; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; border-bottom: 2px solid var(--cyan); display: inline-block; padding-bottom: 5px; }
.contact-list li { margin-bottom: 15px; display: flex; gap: 10px; align-items: flex-start; }
.contact-list i { color: var(--cyan); margin-top: 5px; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; }

/* --- Modal --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); }
.modal-content { background-color: #fefefe; margin: 10% auto; padding: 40px; border: 1px solid #888; width: 80%; max-width: 600px; border-radius: 8px; position: relative; }
.close-modal { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; }
.close-modal:hover { color: black; }
.modal-body { margin-top: 20px; line-height: 1.8; color: #333; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-container { padding: 0 20px; }
    .nav-links, .header-btn { display: none; }
    .mobile-menu-icon { display: block; color: var(--primary-blue); }

    .hero h1 { font-size: 2rem; }
    .trust-badges-hero { flex-wrap: wrap; justify-content: center; }

    .specialist-grid, .leader-grid, .institutional-grid { flex-direction: column; }
    .specialist-text { padding: 40px 20px; background: var(--primary-blue); }
    .specialist-image { height: 300px; width: 100%; }
    .specialist-section { background: var(--primary-blue); }

    .inst-image { width: 100%; height: 300px; margin-top: 30px; box-shadow: none; }

    .lgpd-container { flex-direction: column; text-align: center; gap: 20px; }
}
