@charset "UTF-8";

/* ===== FONTES ===== */
@font-face {
    font-family: 'Aroma';
    src: url('fonts/AROMA-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aroma';
    src: url('fonts/AROMA-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ===== VARIÁVEIS ===== */
:root {
    --cor0: #1C69AC;
    --cor1: #96bddd;
    --cor2: #0072C9;
    --cor3: #2D3748;
    --cor4: #d5e0eb;

    --fonte-padrao: Arial, Helvetica, sans-serif;
    --fonte-marca: "Aroma", sans-serif;
}

/* ===== RESET ===== */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    padding-top: 100px;
    font-family: var(--fonte-padrao);
}

main {
    margin: 0 auto;
    padding: 0;
}

.fonte-marca {
    font-family: var(--fonte-marca);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
}

header a.logo-link {
    display: flex;
    line-height: 0;
}

header .logo {
    height: auto;
    max-height: 90px;
    width: auto;
    min-width: 30px;
}

/* Menu principal */
.menu-principal ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu-principal a {
    text-decoration: none;
    color: var(--cor3);
    font-weight: 600;
    font-size: 0.95rem;
}

.menu-principal a:hover {
    color: var(--cor2);
}

/* Botão hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--cor0);
    border-radius: 2px;
}

/* Redes sociais */
nav.social ul {
    list-style: none;
    gap: 50px;
    padding: 0;
    margin: 0;
    margin-top: 2px;
    display: flex;
}

nav.social {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-right: 50px;
}

nav.social a {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

nav.social img {
    height: 35px;
    cursor: pointer;
}

/* ===== SEÇÕES (genérico) ===== */
section {
    padding: 60px 20px;
    text-align: center;
}

/* ===== HERO ===== */
section.hero {
    background-color: var(--cor1);
    color: white;
}

.hero h2 {
    padding-bottom: 10px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
}

.btn-whatsapp img {
    height: 22px;
    width: 22px;
}

/* ===== FUNCIONALIDADES (pics.html) ===== */
section.funcionalidades {
    background-color: var(--cor4);
    color: var(--cor2);
}

.funcionalidades h2 {
    font-family: var(--fonte-marca);
    color: var(--cor3);
    padding-bottom: 60px;
    font-size: 1.8rem;
}

/* ===== Tecnologias (pics.html) ===== */
section.tecnologia {
    background-color: #ffffff;
    color: var(--cor3);
}

.tecnologia h2 {
    font-family: var(--fonte-marca);
    color: var(--cor0);
    padding-bottom: 60px;
    font-size: 1.8rem;
}

.tecnologia .cards-container {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== CARDS (genérico) ===== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.card img {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.1rem;
    color: var(--cor0);
    margin-bottom: 8px;
}

.card p {
    font-size: 0.95rem;
    color: var(--cor3);
    line-height: 1.5;
}

.card a {
    color: inherit;
}

.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 1s; }
.card:nth-child(3) { transition-delay: 2s; }
.card:nth-child(4) { transition-delay: 3s; }
.card:nth-child(5) { transition-delay: 3.5s; }
.card:nth-child(6) { transition-delay: 4s; }

/* ===== TRABALHOS (index.html) ===== */
.trabalhos h2 {
    padding-bottom: 20px;
    font-family: var(--fonte-marca);
}

.trabalhos .cards-container {
    grid-template-columns: repeat(4, 1fr);
}

.btn-pics {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--cor1), var(--cor2));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--fonte-padrao);
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(23, 147, 241, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pics span {
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.btn-pics:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 114, 201, 0.4);
}

.btn-pics:hover span {
    transform: translateX(4px);
}

/* ===== DIFERENCIAL ===== */
section.diferencial {
    background-color: var(--cor2);
    color: white;
}

.diferencial h2 {
    font-family: var(--fonte-marca);
    padding-bottom: 40px;
    font-size: 1.8rem;
}

.diferencial-lista {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: left;
}

.diferencial-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    border-radius: 12px;
    padding: 20px 24px;
}

.diferencial-item .numero {
    font-family: var(--fonte-marca);
    font-size: 2rem;
    font-weight: bold;
    color: var(--cor1);
    min-width: 50px;
    line-height: 1;
}

.diferencial-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    padding-top: 6px;
}

.diferencial-item:nth-child(1) { transition-delay: 0s; }
.diferencial-item:nth-child(2) { transition-delay: 1s; }
.diferencial-item:nth-child(3) { transition-delay: 2s; }
.diferencial-item:nth-child(4) { transition-delay: 3s; }

/* ===== SOBRE (PICS) ===== */
section.sobre-pics {
    background-color: var(--cor4);
    color: var(--cor3);
}

.sobre-pics h2 {
    padding-bottom: 20px;
    font-family: var(--fonte-marca);
}

.sobre-pics p {
    margin-bottom: 16px;
    line-height: 1.7;
    text-align: justify;
    margin-left: 10%;
    margin-right: 10%;
}

/* ===== SOBRE (institucional) ===== */
section.sobre-nos {
    background-color: var(--cor4);
    color: var(--cor3);
}

.sobre-nos h2 {
    padding-bottom: 20px;
    font-family: var(--fonte-marca);
}

.sobre-nos p {
    margin-bottom: 16px;
    line-height: 1.7;
    text-align: justify;
    margin-left: 10%;
    margin-right: 10%;
}

/* ===== CONTATO ===== */
section.contato {
    background-color: var(--cor4);
    color: var(--cor3);
}

.contato h2 {
    font-family: var(--fonte-marca);
    padding-bottom: 10px;
}

.contato > p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--cor3);
}

.form-contato {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-contato input,
.form-contato textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-family: var(--fonte-padrao);
    font-size: 1rem;
    background-color: #ffffff;
    color: var(--cor3);
}

.form-contato input:focus,
.form-contato textarea:focus {
    outline: none;
    border-color: var(--cor2);
    box-shadow: 0 0 0 3px rgba(0, 114, 201, 0.15);
}

.form-contato textarea {
    resize: vertical;
}

.btn-enviar {
    align-self: center;
    background-color: var(--cor2);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-enviar:hover {
    background-color: var(--cor0);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--cor3);
    color: white;
    padding: 5px;
    text-align: center;
}

.footer-box {
    color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-family: var(--fonte-marca);
}

.footer-section p {
    margin-bottom: 8px;
}

.footer-section a {
    text-decoration: none;
    color: inherit;
}

.localizacao {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.localizacao h3 {
    font-family: var(--fonte-marca);
}

.localizacao img {
    height: 25px;
    cursor: pointer;
}

.localizacao a {
    max-width: 250px;
    display: flex;
    flex-shrink: 0;
    color: inherit;
}

.footer-copy {
    font-size: 14px;
    margin-top: 10px;
}

.footer-box > p {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animacao-escondida {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animacao-escondida.aparecer {
    animation: fadeIn 1s ease-out forwards;
}

/* RESPONSIVO — MOBILE (max-width: 768px) */
@media (max-width: 768px) {

    /* Header */
    body {
        padding-top: 100px;
    }

    header {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    header .logo {
        max-width: none;
        max-height: 45px;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
        width: 26px;
        height: 20px;
    }

    .menu-principal {
        display: none;
        width: 100%;
        order: 3;
    }

    .menu-principal.aberto {
        display: block;
    }

    .menu-principal ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .menu-principal li {
        border-top: 1px solid #eee;
    }

    .menu-principal a {
        display: block;
        padding: 14px 0;
    }

    nav.social {
        margin-left: auto;
        margin-right: 0px;
        flex-shrink: 0;
    }

    nav.social ul {
        gap: 12px;
    }
    nav.social img {
        height: 28px;
    }

    /* Cards */
    .cards-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .card {
        width: 100%;
        max-width: 340px;
    }

    /* Tecnologia */
    .tecnologia .cards-container {
    grid-template-columns: 1fr;
    }

    /* Diferencial */
    .diferencial-item {
        gap: 14px;
    }

    .diferencial-item .numero {
        font-size: 1.6rem;
        min-width: 40px;
    }

    /* Contato email */
    .btn-enviar {
    align-self: stretch;
    text-align: center;
    }

    /*Footer*/
    .footer-box {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    }

    .localizacao {
        flex-direction: column;
        align-items: center;
    }

    .localizacao a {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }


    /* Anim 
    .animacao-escondida {
    opacity: 1;
    }
    */
}

/* ===== RESPONSIVO — TRABALHOS (index.html) ===== */
@media (max-width: 900px) {
    .trabalhos .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trabalhos .cards-container {
        grid-template-columns: 1fr;
    }
}