/* --- Variables & Setup --- */
:root {
    --primary: #0077b6;
    /* Azul Sereno */
    --primary-dark: #005f91;
    --secondary: #cca43b;
    /* Dourado */
    --secondary-light: #eecf73;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);

    --font-main: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    --section-padding: 6rem 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header.left-align {
    text-align: left;
    margin: 0 0 2rem;
}

.subtitle {
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.title {
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background-color: transparent;
    /* Initially transparent */
}

.header.scrolled {
    background-color: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo span {
    color: var(--secondary);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('hero-bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem 0;
    margin-top: -3rem;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    border-radius: 0;
    /* Full width visually, handled by inner container maybe? No, let's keep it straight block */
}

@media (min-width: 768px) {
    .trust-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .trust-bar {
        width: 80%;
        margin: -4rem auto 0;
        border-radius: 10px;
        box-shadow: var(--shadow-md);
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-item i {
    font-size: 2rem;
    color: var(--secondary);
}

.trust-item h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.trust-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
}

.image-wrapper {
    position: relative;
    /* height: 400px; Remove fixed height to let image dictate or keep it and use object-fit */
    /* Let's keep a nice aspect ratio or let image fill naturally. */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .about-img {
    transform: scale(1.05);
}

.benefits-list {
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.benefits-list i {
    color: var(--primary);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 119, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary);
    color: var(--white);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.8rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
}

.cta-container h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.stars {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Footer --- */
.footer {
    background-color: #1a1a1a;
    /* Almost black */
    color: #f0f0f0;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a,
.footer-col ul li {
    color: #aaa;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--secondary);
}

/* --- Resposive Details --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 4rem 2rem;
        transition: var(--transition);
        z-index: 1001;
        /* Above header */
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    .header .btn {
        display: none;
        /* Hide header CTA on mobile, rely on hero CTA */
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeIn 0.8s ease forwards;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.6s;
}