@font-face {
    font-family: 'Cunia';
    src: url('assets/font/cunia.ttf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', sans-serif;
    background: #5c6266;
    color: white;
    line-height: 1.8;
}

/* CABEÇALHO */
#cabecalho {
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    height: 100px;
    color: black;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#logo {
    width: 250px;
    height: auto;
}

/* NAVBAR */
#navbar {
    display: flex;
    gap: 30px;
    align-items: center;
}

#navbar a {
    text-decoration: none;
    color: #2c688b;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s, color 0.3s;
}

#navbar a:hover {
    color: #1a4a6b;
    border-bottom: 2px solid #2c688b;
}

/* CONTEÚDO */
.conteudo {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: justify;
}

.conteudo p {
    margin-bottom: 20px;
}

/* TÍTULO */
#titulo {
    font-family: 'Cunia', sans-serif;
    font-size: 50px;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}

/* SEÇÕES */
#texto-principal {
    background: #3e5f8a;
    font-size: 16px;
    color: white;
}

#texto-principal .conteudo {
    padding: 20px 10px;
}

#texto-principal h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

/* SEPARADORES */
.separador-ondulado-azul-para-branco {
    background: #3e5f8a;
    line-height: 0;
}

.separador-ondulado-azul-para-branco svg {
    display: block;
    width: 100%;
}

.separador-ondulado-branco-para-azul {
    background: white;
    line-height: 0;
}

.separador-ondulado-branco-para-azul svg {
    display: block;
    width: 100%;
}

/* CARDS */
#solucoes {
    background: white;
    font-size: 16px;
    color: #2c688b;
}

#solucoes h2 {
    color: #2c688b;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.card {
    background: #f4f8fb;
    border: 1px solid #d0e4f0;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(44, 104, 139, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(44, 104, 139, 0.2);
}

.card-icone {
    font-size: 40px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 16px;
    color: #2c688b;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* FINALIZAÇÃO */
#finalizacao-apresentacao {
    background: #3e5f8a;
    font-size: 16px;
    text-align: center;
}

/* BOTÃO WHATSAPP */
#contato {
    background: #3e5f8a;
    text-align: center;
    padding-bottom: 60px;
}

#btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: bold;
    font-family: 'Trebuchet MS', sans-serif;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: background 0.3s, transform 0.2s;
}

#btn-whatsapp:hover {
    background: #1ebe5d;
    transform: scale(1.03);
}

#icone-whatsapp {
    width: 28px;
    height: 28px;
}

/* RODAPÉ */
#rodape {
    background: #1a3a52;
    color: #ccc;
    font-size: 14px;
}

.rodape-conteudo {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    text-align: left;
    padding-top: 50px;
    padding-bottom: 30px;
}

.rodape-coluna {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 180px;
}

.rodape-coluna h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.rodape-coluna a {
    color: #aac4d8;
    text-decoration: none;
    transition: color 0.3s;
}

.rodape-coluna a:hover {
    color: white;
}

.rodape-logo {
    width: 160px;
    margin-bottom: 10px;
}

.rodape-inferior {
    text-align: center;
    padding: 16px;
    border-top: 1px solid #2c4a60;
    color: #888;
    font-size: 13px;
}

/* FADE IN */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visivel {
    opacity: 1;
    transform: translateY(0);
}
/* MENU HAMBURGUER */
#menu-hamburguer {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

#menu-hamburguer span {
    display: block;
    width: 28px;
    height: 3px;
    background: #2c688b;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {

    /* Cabeçalho */
    #cabecalho {
        height: auto;
        padding: 15px 20px;
        flex-wrap: wrap;
        position: relative;
    }

    #logo {
        width: 160px;
    }

    /* Hamburguer visível */
    #menu-hamburguer {
        display: flex;
    }

    /* Navbar vira menu dropdown */
    #navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: #fafafa;
        margin-top: 10px;
        border-top: 1px solid #ddd;
    }

    #navbar.aberto {
        display: flex;
    }

    #navbar a {
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
        font-size: 15px;
    }

    #navbar a:hover {
        background: #f0f0f0;
        border-bottom: 1px solid #eee;
    }

    /* Título */
    #titulo {
        font-size: 32px;
    }

    /* Conteúdo */
    .conteudo {
        padding: 40px 16px;
    }

    /* Cards em coluna única */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Botão WhatsApp */
    #btn-whatsapp {
        font-size: 14px;
        padding: 14px 20px;
        text-align: center;
    }

    /* Rodapé */
    .rodape-conteudo {
        flex-direction: column;
        gap: 30px;
        padding: 30px 16px;
    }

    .rodape-coluna {
        min-width: unset;
    }
    
    #contato {
        width: 100%;
        overflow: hidden;
    }

    .conteudo {
        padding: 40px 20px;
        width: 100%;
        word-break: break-word;
    }

    /* Título quebrando melhor */
    #titulo {
        font-size: 32px;
        word-break: break-word;
        padding: 0 10px;
    }
}
/* HERO SECTION */
#hero {
    width: 100%;
    height: 520px;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 90, 0.65);  /* azul escuro da marca */
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-conteudo {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 800px;
}

#hero-conteudo #titulo {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

#hero-subtitulo {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 0.5px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* HERO MOBILE */
@media (max-width: 768px) {
    #hero {
        height: 350px;
    }

    #hero-conteudo #titulo {
        font-size: 32px;
    }

    #hero-subtitulo {
        font-size: 15px;
    }
}