:root {
    --primary: #0E3A4D;
        /* azul mais elegante */
        --secondary: #114B5F;
        --accent: #F4A261;
    --dark: #1E1E1E;
    --light: #F4F6F8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */

.header {
    background: linear-gradient(135deg,
                #0E3A4D,
                #0B2C3D);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;

    /* Destaque sutil */
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
}

.logo span {
    color: var(--accent);
}

/* MENU */
/* MENU PREMIUM */
.nav a {
    margin-left: 25px;
    font-family: Arial, Helvetica, sans-serif;
    /* cursiva elegante */
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    color: #EAF2F6;
    background: none;

    /* Gradiente aplicado via background-clip */
    background: linear-gradient(45deg, #F4A261, #114B5F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: initial;

    /* Sombra suave */
    text-shadow: none;

    transition: all 0.35s ease;
}

/* Hover animado */
.nav a:hover {
    color: var(--accent);
        transform: translateY(-2px);
    /* leve movimento */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
    background: linear-gradient(45deg, #F4A261, #0B2C3D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Linha fina animada embaixo */
.nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #F4A261;
    left: 0;
    bottom: -6px;
    transition: width 0.4s ease;
}

.nav a:hover::after {
    width: 100%;
}
/* HERO */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    align-items: center;
    gap: 40px;
    padding: 20px 20px;
}

.hero-text h1 {
    font-size: 2.6rem;
}

.hero-text p {
    margin: 20px 0;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
}
/* IMAGE BOX */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 360px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}
.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider img.active {
    opacity: 1;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.section.light {
    background: var(--light);
}

.section.dark {
    background: var(--dark);
    color: #fff;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card i {
    font-size: 2rem;
    color: var(--secondary);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.cards a.card {
    text-decoration: none;
    color: inherit;
}

.cards a.card:hover {
    transform: translateY(-5px);
}

/* DARK CARDS */
.section.dark .card {
    background: #2A2A2A;
    color: #fff;
}

/* HIGHLIGHTS */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CONTACT */
.contact-grid p {
    margin: 10px 0;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: #000;
    color: #aaa;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Caixa da imagem */
.image-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 340px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Imagem em si */
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* mantém proporção e corta corretamente */
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

/* Efeito sutil ao passar o mouse */
.image-box:hover img {
    transform: scale(1.05);
}

/* Overlay técnico para contraste */
.image-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(201, 213, 220, 0.45),
            rgba(17, 75, 95, 0.25));
}
/* BOT FLUTUANTE */
/* BOT FLUTUANTE MODERNO */
.bot-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s;
}

.bot-btn:hover {
    transform: scale(1.1);
}

#chatbot {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 370px;
    /* Aumenta a largura */
    max-height: 600px;
    /* Aumenta a altura máxima */
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    display: none;
    z-index: 9999;
}

#chatbot.minimized {
    height: 50px;
    overflow: hidden;
}

.chatbot-header {
    background: var(--primary);
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
}

.chatbot-header i {
    margin-right: 8px;
}

.chatbot-actions button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 500px;
    /* opcional, garante que role se passar do limite */
}

.messages .user {
    background: #f4f4f4;
    color: var(--dark);
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    text-align: right;
}

footer {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
}

footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
}

footer button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 15px;
    margin-left: 5px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {

    /* HEADER */
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        font-size: 1.4rem;
    }

    /* MENU */
    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav a {
        margin: 0;
        font-size: 1rem;
    }

    /* HERO */
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .hero-image {
        order: -1;
        /* imagem sobe */
    }

    .image-box {
        max-width: 100%;
        height: 240px;
    }

    /* SECTIONS */
    .section {
        padding: 60px 0;
        text-align: center;
    }

    /* CARDS */
    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }

    /* HIGHLIGHTS */
    .highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
  
    /* CHATBOT */
    #chatbot {
        width: calc(100% - 30px);
        right: 15px;
        bottom: 80px;
        max-height: 75vh;
    }
                
    .bot-btn {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
                
    .messages {
        max-height: 50vh;
    }
                
    #chatbot footer input {
        font-size: 0.9rem;
    }
                           
}