/* Variáveis de cores baseadas no logotipo */
:root {
    --primary-orange: #FF6B00;
    --primary-blue: #0078FF;
    --primary-purple: #8A00FF;
    --primary-pink: #FF0080;
    --dark-blue: #0A1744; /* Azul escuro para texto principal e fundo do rodapé */
    --light-gray: #f8f9fa; /* Cinza claro para fundos de seção */
    --white: #ffffff;
    --black: #343a40; /* Preto suave para texto secundário */
    --gradient: linear-gradient(90deg, var(--primary-orange), var(--primary-pink), var(--primary-purple), var(--primary-blue));
    --whatsapp-green: #25D366;
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%; /* Para centralizar o after */
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-purple);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white) !important; /* Forçar cor branca */
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Cabeçalho */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px; /* Aumentar significativamente o logo */
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: var(--dark-blue);
    cursor: pointer;
    background: none;
    border: none;
}

/* Seção Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(10, 23, 68, 0.85), rgba(10, 23, 68, 0.85)), url('https://images.unsplash.com/photo-1510915228340-29c85a43dcfe?auto=format&fit=crop&w=1350&q=80'); /* Imagem mais relacionada a tech/dev */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px; /* Ajustar padding */
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; /* Ajustar tamanho da marca d'água */
    height: 60%;
    background-image: url('assets/LogoTRANSP..png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08; /* Mais sutil */
    z-index: 0;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative; /* Para ficar acima do ::before */
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

/* Seção Serviços */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito mais elástico */
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--black);
}

/* Seção Sobre */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: var(--black);
}

/* Seção Contato */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Ajustar proporção */
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.6rem;
    margin-right: 20px;
    color: var(--primary-blue);
    width: 30px; /* Alinhar ícones */
    text-align: center;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.social-media {
    margin-top: 35px;
}

.social-media a {
    display: inline-block;
    margin-right: 20px;
    font-size: 1.8rem;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: var(--primary-blue);
    transform: scale(1.1) translateY(-3px);
}

.social-media a.whatsapp-btn i {
    color: var(--whatsapp-green);
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.15);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 15px rgba(0,0,0,0.3);
    color: var(--white);
}

/* Rodapé */
footer {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 65px;
    margin-bottom: 25px;
    opacity: 1; /* Aumentar opacidade para visibilidade máxima */
    filter: brightness(0) invert(1); /* Torna a imagem branca */
}

.footer-text p {
    font-size: 0.95rem;
}

/* Responsividade */
@media screen and (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        transition: left 0.4s ease;
        z-index: 1001;
        padding-top: 80px; /* Espaço para o logo/botão fechar */
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start; /* Alinhar à esquerda */
        padding: 30px;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
    }

    nav ul li a {
        font-size: 1.1rem;
        display: block; /* Ocupar largura total */
        padding: 10px 0;
    }

    nav ul li a::after {
        bottom: 5px;
        height: 1px;
    }

    .menu-toggle {
        display: block;
        z-index: 1002; /* Acima do menu */
        position: relative; /* Para z-index funcionar */
    }

    /* Overlay para fechar menu */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    footer {
        padding: 40px 0;
    }

    .footer-logo img {
        height: 55px;
    }
}

