/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-blue: #009fe3;
    /* Cyan-ish blue from logo/footer */
    --dark-blue: #005c84;
    --text-color: #333;
    --bg-light: #f4f6f9;

    /* Card Colors */
    --card-orange: #f0ad4e;
    --card-green: #5cb85c;
    --card-teal: #006d6d;
    /* Dark Cyan/Teal */
    --card-red: #d9534f;
    --card-blue: #5bc0de;
    --card-grey: #555555;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
    z-index: 1001;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjusted height for logo */
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 30px;
    /* Increased gap */
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-size: 13px;
    /* Adjusted font size */
    font-weight: 500;
    color: #555;
    /* Darker grey */
    text-transform: uppercase;
    transition: color 0.3s;
    font-family: 'Roboto', sans-serif;
    /* Ensure font is consistent */
}

nav a:hover {
    color: var(--primary-blue);
}

.login-btn {
    background-color: var(--primary-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 159, 227, 0.3);
    display: inline-block;
    vertical-align: middle;
    margin-top: -3px;
    /* Fine tuning alignment */
}

.login-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 92, 132, 0.4);
    color: white !important;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center top;
    /* Garantir que o topo da imagem apareça */
    background-color: #2c3e50;
    color: white;
    padding: 180px 0 100px 0;
    /* Padding superior generoso */
    position: relative;
    min-height: 700px;
    /* Mais altura */
    height: auto;
    display: flex;
    align-items: flex-start;
    /* Alinhamento no topo, controlado pelo padding */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 72px);
    font-weight: 800;
    max-width: 900px;
    margin-bottom: 30px;
    line-height: 1.05;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    background: #009FE3;
    /* Azul Ciano da Logo */
    border: none;
    border-radius: 50px;
    /* Pill Shape */
    box-shadow: 0 8px 25px rgba(0, 159, 227, 0.5);
    /* Glow shadow */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
}

.hero-btn:hover {
    background: var(--dark-blue);
    transform: scale(1.05);
    /* Efeito de aumento */
    box-shadow: 0 15px 30px rgba(0, 159, 227, 0.4);
    color: white;
}

.hero-btn i {
    transition: transform 0.3s;
}

.hero-btn:hover i {
    transform: translateX(5px);
    /* Move a setinha */
}

/* Search Bar */
.search-container {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.search-input {
    width: 60%;
    max-width: 600px;
    padding: 10px 20px;
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    outline: none;
}

/* Icon Grid */
.icon-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.grid-item {
    padding: 30px 20px;
    color: white;
    text-align: center;
    border-radius: 3px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s;
}

.grid-item:hover {
    opacity: 0.9;
}

.bg-orange {
    background-color: var(--card-orange);
}

.bg-green {
    background-color: var(--card-green);
}

.bg-teal {
    background-color: var(--card-teal);
}

.bg-red {
    background-color: var(--card-red);
}

.bg-blue {
    background-color: var(--card-blue);
}

.bg-grey {
    background-color: var(--card-grey);
}

.grid-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.grid-item p {
    font-size: 11px;
    opacity: 0.9;
}

/* Content Sections */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.section-full {
    padding: 40px 0;
    text-align: center;
}

.bg-blue-section {
    background-color: var(--primary-blue);
    color: white;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-outline-white {
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
    font-size: 14px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    /* Adjusted columns: Branding wider, menu narrower */
    gap: 40px;
    padding: 0 15px;
    text-align: left;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 18px;
    color: white;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col a {
    color: white;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Specific Footer Components */
.branding-col p {
    line-height: 1.6;
    font-size: 13px;
    margin-top: 15px;
    opacity: 0.9;
}

.footer-logo {
    background: white;
    /* Logo needs white bg if it's transparent, or if it has white bg in image */
    padding: 10px;
    border-radius: 5px;
    height: 50px;
    width: auto;
    display: inline-block;
    margin-bottom: 5px;
}

.contact-list li i {
    width: 20px;
    /* Fixed width for alignment */
    text-align: center;
    margin-top: 3px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-blue);
    border-radius: 50%;
    font-size: 20px;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none !important;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background-color: #f1f1f1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding-top: 80px;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

    .login-btn {
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }

    .hero {
        padding: 140px 0 60px 0;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .section-title {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-btn {
        padding: 10px 24px;
        font-size: 14px;
        margin-top: 15px;
        gap: 6px;
    }

    .banner-item {
        padding: 40px 20px !important;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 45px;
    }
}