/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #0d78f1;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(-45deg, #2c3e50, #00233a, #010436, #1abc9c);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-color);
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



section {
    padding: 80px 0;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--light-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--light-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    justify-content: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;

    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.text-center {
    text-align: center;
}

/* Barra de Navegação */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    background-color: rgba(44, 62, 80, 0.95);
    padding: 10px 0;
}

header.scrolled .logo a,
header.scrolled nav ul li a {
    color: var(--text-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 06px 0;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color:#006b8c;

}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section *//* Hero responsivo */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* centraliza horizontalmente o conteúdo */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/foto-index.png') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden; /* evita scroll horizontal */
}

/* Conteúdo do hero */
.hero-content {
    max-width: 90%;
    width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

/* Títulos e textos do hero */
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Media query para tablets e celulares */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh; /* reduz altura no mobile */
        background-position: top center; /* foca na parte superior da imagem */
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-content {
        max-width: 95%;
    }
}

/* Sobre a Empresa */

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center; 
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.about-img {
   
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
  .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-img {
    width: 90%;       /* ocupa mais espaço no mobile */
    margin: 0 auto;   /* garante centralização horizontal */
  }
}


.about-image:hover .about-img {
    transform: rotateY(15deg) rotateX(5deg);
}

/* Serviços */
.services {
    background-color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 10px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 300px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Portfólio - Cards de Fotos */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    justify-items: center; /* garante centralização dos cards */
    overflow: hidden; /* evita scroll horizontal */
}

/* Cards */
.portfolio-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
    width: 100%; /* ocupa 100% do grid cell */
    max-width: 400px; /* limita largura máxima */
    transition: transform 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.5);
}

.portfolio-card h3 {
    color: var(--text-light);
}

.portfolio-card:hover {
    transform: scale(1.02);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
    transition: bottom 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    bottom: 0;
}

/* Ajuste para telas médias */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .portfolio-card {
        height: 250px;
        max-width: 300px;
    }
}

/* Ajuste para celulares */
@media (max-width: 500px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .portfolio-card {
        height: 200px;
        max-width: 90%; /* ocupa quase toda a tela, com margem */
    }
}




/* Carrossel de Equipe */
.testimonials {
    background-color: var(--text-light);
    padding: 100px 0;
}

.swiper {
    width: 100%;
    height: 100%;
    padding: 50px 0;
}

.swiper-slide {
    background-color: rgba(255, 255, 255, 0.552);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    max-height: 250px; /* Define uma altura limitada */
    overflow: hidden; /* Esconde o conteúdo excedente */
    position: relative;
}

/* Exibir todo o conteúdo ao passar o mouse ou tocar */
.swiper-slide:hover,
.swiper-slide:active {
    max-height: 100%; /* Expande completamente */
}

.swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid rgba(10, 83, 135, 0.67);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 20px;
    color: black;
    text-shadow: none;
}

.testimonial-author {
    font-weight: 700;
    color: black;
    text-shadow: none;
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-color);
      text-shadow: none;
}

/* Mapa de Localização */
.location {
    padding: 80px 0 0;
}

.map-container {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Formulário de Contato */


.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(6, 173, 179, 0.24);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Rodapé */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    display: flex;          /* coloca ícone e texto na mesma linha */
    align-items: center;    /* centraliza verticalmente */
    gap: 10px;              /* espaço entre ícone e texto */
    margin-bottom: 15px;
    white-space: nowrap;    /* evita quebra de linha */
}


.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botão do WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Avaliação de Página */
.rating-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.rating-btn {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.rating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px #3498db;
}

.rating-modal {
    position: fixed;
    bottom: 100px;
    left: 30px;
    background-color: var(--text-light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    width: 300px;
}

.rating-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rating-modal h3 {
    margin-bottom: 15px;
    text-align: center;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rating-star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-star.active {
    color: #f1c40f;
}

.rating-submit {
    width: 100%;
    padding: 10px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rating-submit:hover {
    background-color: #2980b9;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito Slow Motion ao Rolar */
[data-anime] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-anime="left"] {
    transform: translate3d(-50px, 0, 0);
}

[data-anime="right"] {
    transform: translate3d(50px, 0, 0);
}

[data-anime="top"] {
    transform: translate3d(0, -50px, 0);
}

[data-anime="bottom"] {
    transform: translate3d(0, 50px, 0);
}

[data-anime].animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* 3D Animation */
.card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg) translateY(-10px);
}

/* Responsividade */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        flex: none;
        width: 100%;
    }

    .about-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 30px;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav ul li a {
        color: var(--text-light);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .btn {
        padding: 10px 25px;
    }

    .whatsapp-btn, .rating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 90px;
    }

    .rating-modal {
        width: 250px;
        left: 15px;
        bottom: 80px;
    }

    .contact-form {
        padding: 20px;
    }
}
@media (max-width: 768px) {
  [data-anime] {
    opacity: 1 !important;
    transform: none !important;
  }
}
.logo {
    display: flex;
    align-items: center;   /* alinha verticalmente */
    gap: 10px;             /* espaço entre logo e texto */
}

.logo-img {
  width: 60px; /* ou qualquer tamanho que quiser */
  height: 60px; /* mantém proporção */         /* mesma largura p/ manter redondo */
    border-radius: 80%;
    object-fit: cover;
}

.logo-img:hover {
    transform: rotate(20deg);
    transition: transform 0.5s ease;
}
