/* ============================================ */
/* CONFIGURAÇÕES GLOBAIS E VARIÁVEIS             */
/* ============================================ */

html {
    scroll-behavior: smooth; /* A magia da rolagem suave! */
}

section[id] {
    scroll-margin-top: 5px; /* A altura aproximada do seu menu */
}
:root {
    /* Paleta de Cores do Guia de Marca */
    --cor-primaria: #0D1B2A;       /* Azul Meia-Noite */
    --cor-fundo: #FAFFFF;          /* Luz Adriática */
    --cor-acento: #ffc947;         /* Laranja Amanhecer */
    --cor-secundaria-1: #E8C547;   /* Dourado Crepúsculo */
    --cor-secundaria-2: #C32F5A;   /* Magenta Intenso */
    
    /* Fontes do Guia de Marca */
    --fonte-titulos: 'Lato';
    --fonte-corpo: 'Lato';
    
    /* Gradientes */
    --cor-gradiente-1: rgba(13, 27, 42, 0.7); 
    --cor-gradiente-2: rgba(13, 27, 42, 0.8);  
	--cor-gradiente-3: rgba(254, 202, 17, 0.5); 
	--cor-gradiente-4: rgba(255, 123, 37, 0.6); 
    --cor-gradiente-5: rgba(13, 27, 42, 0.75); 
	--cor-gradiente-6: rgba(13, 27, 42, 0.75); 
	--cor-gradiente-7: rgba(13, 27, 42, 0.75); 
}

body {
    font-family: var(--fonte-corpo);
    margin: 0;
    padding: 0;
    background-color: var(--cor-fundo);
    color: var(--cor-primaria);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--fonte-titulos);
    font-weight: 700;
}

/* ============================================ */
/* ESTILOS DO MENU DE NAVEGAÇÃO                   */
/* ============================================ */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
}

.nav-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--cor-primaria);
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cor-acento);
}

.cta-button {
    background-color: var(--cor-acento);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #e66a1e; /* Tom mais escuro do laranja */
}

/* ============================================ */
/* ESTILOS DA SEÇÃO HERO                          */
/* ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, var(--cor-gradiente-1), var(--cor-gradiente-2), var(--cor-gradiente-3), var(--cor-gradiente-4), var(--cor-gradiente-5), var(--cor-gradiente-6), var(--cor-gradiente-7));
    background-size: 400% 400%;
    animation: liquid-gradient 45s ease infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-hero {
    background-color: var(--cor-acento);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button-hero:hover {
    transform: scale(1.05);
    background-color: #e66a1e;
}

@keyframes liquid-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================ */
/* ESTILOS GERAIS PARA SEÇÕES                     */
/* ============================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--cor-primaria);
    margin-bottom: 40px;
}

/* ============================================ */
/* CARROSSEL DE LOGOS                             */
/* ============================================ */
.logos-section {
    margin-top: -40px; 
    position: relative;
    z-index: 10; 
    padding: 0; 
    background-color: transparent;
}

.logos-section .container {
    background-color: var(--cor-fundo);
    border-radius: 30px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
}

.logos-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-slider img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logos-slider img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================ */
/* SEÇÃO DE APRESENTAÇÃO                          */
/* ============================================ */
.presentation-section {
    padding: 80px 0;
    background-color: var(--cor-fundo); 
}

.presentation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.text-content {
    flex: 1;
    max-width: 50%;
}

.text-content h2 {
    font-size: 2.2rem;
    color: var(--cor-primaria);
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.video-thumbnail {
    flex: 1;
    max-width: 50%;
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--cor-acento);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 0 rgba(255, 123, 37, 0.7);
    animation: pulse 1.5s infinite;
}

.play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 123, 37, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 123, 37, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 123, 37, 0); }
}


/* ============================================ */
/* SEÇÃO DE PRODUTOS (USLUGE)                    */
/* ============================================ */
.products-section {
    padding: 80px 0;
    background-color: var(--cor-fundo);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Cria 3 colunas iguais */
    gap: 30px;
    align-items: flex-start; /* Alinha os itens no topo de suas células */
}

.products-intro-text {
    /* O texto já ocupará a primeira coluna por padrão */
    grid-column: 1 / 2; /* Ocupa a primeira coluna */
}

/* --- AJUSTES DE RESPONSIVIDADE PARA O NOVO LAYOUT --- */

@media (max-width: 992px) {
    /* Em tablets, o texto ocupa a linha inteira e os cards ficam em 2 colunas */
    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-intro-text {
        grid-column: 1 / -1; /* Faz o texto ocupar todas as colunas (a linha inteira) */
    }
}

@media (max-width: 768px) {
    /* Em telemóveis, tudo fica em 1 coluna */
    .products-container {
        grid-template-columns: 1fr;
    }
    .products-intro-text .section-title {
        text-align: center;
    }
}

.product-card {
    flex: 1 1 30%;
    min-width: 300px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.product-card i {
    font-size: 3rem;
    color: var(--cor-acento);
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-bottom: 15px;
}

.product-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================ */
/* SEÇÃO DA EQUIPE (TIM)                          */
/* ============================================ */
.team-section {
    padding: 80px 0;
    background-color: var(--cor-fundo);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.team-member-card {
    position: relative; 
    max-width: 350px;
    width: 100%;
    aspect-ratio: 3 / 4; 
    border-radius: 10px;
    overflow: hidden; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

.team-member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease; 
}

.member-info-overlay {
    position: absolute; 
    top: 0; bottom: 0; left: 0; right: 0;
    background-color:rgba(254, 202, 17, 0.8); /* Laranja com transparência */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member-info-overlay h3 {
    margin: 0;
    font-size: 1.8rem;
}

.member-info-overlay p {
    margin: 5px 0 0;
    font-size: 1rem;
    color: white;
}

.team-member-card:hover .member-info-overlay {
    opacity: 1;
}

.team-member-card:hover img {
    transform: scale(1.05);
}

/* ============================================ */
/* SEÇÃO DE CTA                                   */
/* ============================================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 27, 42, 0.8);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

/* ============================================ */
/* SEÇÃO DOS CONTADORES                           */
/* ============================================ */
.counters-section {
    background-color: var(--cor-fundo);
}

.counters-container {
    margin-top: -60px; 
    position: relative;
    z-index: 10;
    max-width: 1100px;     
    margin-left: auto;    
    margin-right: auto;      
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: 1.9rem;
    font-weight: bold;
    color: var(--cor-primaria);
}

.counter-item p {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 10px;
}

/* ============================================ */
/* SEÇÃO DE PREÇOS (PAKETI)                       */
/* ============================================ */
.pricing-section {
    padding: 80px 0;
    background-color: var(--cor-fundo);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
	background-color: #ffffff;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border: 2px solid var(--cor-acento);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -45px;
    background-color: var(--cor-acento);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: bold;
    width: 180px;
    text-align: center;
}

.pricing-icon {
    font-size: 3.5rem;
    color: var(--cor-acento);
    margin-bottom: 15px;
}

.pricing-card h4 {
    font-size: 1.8rem;
    color: var(--cor-primaria);
    margin-bottom: 5px;
}

.pricing-subtitle {
    font-style: italic;
    color: #6c757d;
    margin-top: 0;
    margin-bottom: 30px;
    min-height: 40px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1rem;
}

.features-list i {
    color: var(--cor-acento);
    margin-right: 10px;
}

.cumulative-feature {
    font-weight: 500;
    color: var(--cor-primaria);
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    list-style-type: none;
}

.cumulative-feature i {
    display: none;
}

.pricing-card .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: auto;
}

/* ============================================ */
/* SEÇÃO DE CONTATO E MAPA                        */
/* ============================================ */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--cor-acento);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contact-map {
    flex: 1;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* ============================================ */
/* SEÇÃO NEWSLETTER                               */
/* ============================================ */
.newsletter-section {
    padding: 80px 0;
    background-image: url('images/newsletter-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(13, 27, 42, 0.85);
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    width: 300px;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    border: none;
    cursor: pointer;
}

/* ============================================ */
/* RODAPÉ (FOOTER)                                */
/* ============================================ */
.site-footer {
    background-color: var(--cor-primaria);
    color: #a9d6e5;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links h4, .footer-social h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a9d6e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--cor-acento);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #1c3d5a;
}

/* ============================================ */
/* ESTILOS DO MODAL DE VÍDEO (VERSÃO CORRIGIDA)   */
/* ============================================ */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none; /* Começa oculto */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden; /* Impede que conteúdo interno 'vaze' */
}

.video-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    box-sizing: border-box;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2001; /* Garante que o botão esteja acima do vídeo */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px; /* Opcional: bordas arredondadas para o vídeo */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ============================================ */
/* MENU HAMBÚRGUER E RESPONSIVIDADE               */
/* ============================================ */

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger-btn .line {
    width: 25px;
    height: 3px;
    background-color: var(--cor-primaria);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .presentation-container { flex-direction: column; }
    .text-content, .video-thumbnail { max-width: 100%; }
    .products-intro-text { flex-basis: 100%; text-align: center; }
    .products-intro-text .section-title { text-align: center; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .contact-container { flex-direction: column; }
    .newsletter-form { flex-direction: column; align-items: center; }

    /* Lógica do Menu Hambúrguer */
    .navbar .cta-button { display: none; }
    .hamburger-btn { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease-in-out;
    }
    
    .nav-links ul {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav-links.nav-active { right: 0; }

    .hamburger-btn.is-active .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-btn.is-active .line:nth-child(2) { opacity: 0; }
    .hamburger-btn.is-active .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* AJUSTES FINAIS PARA MODAL DE VÍDEO MOBILE */
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -35px;
        right: 5px;
        font-size: 2rem;
    }
}

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


/* ============================================ */
/* ** NOVA SEÇÃO GORAPUT ** */
/* ============================================ */
.goraput-section {
    padding: 80px 0;
    /* Este verde é sofisticado, natural e único no site, como pedido */
    background-color: #2C3D3F; 
    color: #FAFFFF; /* Cor "Luz Adriática" para o texto, para consistência */
}

.goraput-container {
    display: flex;
    align-items: center;
    gap: 60px; /* Espaço entre o logo e o texto */
}

.goraput-logo {
    flex: 1; /* Ocupa uma parte do espaço */
    max-width: 300px; /* Limita o tamanho do logo */
    text-align: center;
}

.goraput-logo img {
    max-width: 100%;
    height: auto;
}

.goraput-text {
    flex: 2; /* Ocupa duas partes do espaço, dando mais ênfase ao texto */
}

/* Subtítulo pequeno para "Nosso Projeto de Orgulho" */
.goraput-text .section-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cor-acento); /* Usa a cor de destaque laranja para conectar as marcas */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.goraput-text h3 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #FFFFFF; /* Garante que o título principal seja branco puro */
}

.goraput-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(250, 255, 255, 0.85); /* Texto um pouco transparente para melhor leitura */
}

/* Reutilizando o estilo do botão hero para consistência */
.goraput-text .cta-button-hero {
    display: inline-block; /* Garante que o botão se comporte como um bloco */
}

/* --- AJUSTES DE RESPONSIVIDADE PARA A SEÇÃO GORAPUT --- */

@media (max-width: 768px) {
    .goraput-container {
        flex-direction: column; /* Coloca o logo em cima do texto em telas menores */
        text-align: center; /* Centraliza todo o conteúdo */
        gap: 40px;
    }

    .goraput-logo {
        max-width: 250px; /* Reduz um pouco o logo em mobile */
    }

    .goraput-text h3 {
        font-size: 2rem; /* Reduz o tamanho da fonte do título */
    }
}