/* Resetando padrões e configurações de box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo da página */
body {
    font-family: 'Poppins', sans-serif;
    background: #1a1a1a;
    color: #fff;
    animation: fadeIn 1s ease-out;
}

/* Animação de fade-in */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Rolagem suave */
html {
    scroll-behavior: smooth;
}

/* Barra branca no topo */
.top-bar {
    background: #000000;
    padding: 10px 0;
    text-align: center;
}

.top-bar img {
    max-width: 150px;
    height: auto;
}

/* Carrossel de imagens */
.carousel {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .carousel {
        height: 30vh;
    }
}

.carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 24px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Cabeçalho */
header {
    position: relative;
    background-color: #000000;
    color: #000000;
    text-align: center;
    padding: 20px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

header h1 img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

header h1 span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

header p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

header .btn-cta {
    background: #ff5722;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
}

header .btn-cta:hover {
    background: #e64a19;
    transform: scale(1.05);
}

/* Navegação */
nav {
    background: rgba(27, 37, 47, 0.9);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

nav .logo img {
    max-width: 120px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff5722;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #ff5722;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Menu responsivo */
nav .menu-icon {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(27, 37, 47, 0.9);
        position: absolute;
        top: 60px;
        right: 10px;
        width: 180px;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    nav ul.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    nav .menu-icon {
        display: block;
    }
}

/* Portfólio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
}

.galeria img,
.galeria video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.galeria img.oculta,
.galeria video.oculta {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-detalhes {
    background: #ff5722;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-detalhes:hover {
    background: #e64a19;
    transform: scale(1.05);
}

.ver-mais-imagens,
.minimizar-imagens {
    background: #ff5722;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.ver-mais-imagens:hover,
.minimizar-imagens:hover {
    background: #e64a19;
    transform: scale(1.05);
}

.minimizar-imagens {
    display: none;
}

/* Restante do CSS */
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

section {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    p {
        font-size: 1rem;
    }
}

footer {
    background: url('https://source.unsplash.com/1600x900/?steel-frame') no-repeat center center/cover;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    filter: blur(5px);
    z-index: -1;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 18px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #ff5722;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

input[type="submit"] {
    background: #ff5722;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    color: #ff5722;
    transform: scale(1.1);
}

#sobre {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Seção de Serviços */
#servicos {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

#servicos h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

#servicos ul {
    list-style-type: none;
    padding: 0;
}

#servicos ul li {
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

#servicos ul li:hover {
    background-color: rgba(255, 87, 34, 0.2);
}

#servicos ul li i {
    font-size: 1.5rem;
    color: #ff5722;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    #servicos {
        padding: 15px;
    }

    #servicos h2 {
        font-size: 1.8rem;
    }

    #servicos ul li {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    #servicos ul li i {
        margin-bottom: 10px;
    }

    #servicos ul li strong {
        display: block;
        margin-top: 5px;
    }
}

#depoimentos {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.depoimento {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.depoimento p {
    font-style: italic;
    color: #fff;
}

.depoimento span {
    font-weight: bold;
    color: #ff5722;
}

.banner-cta {
    background: linear-gradient(135deg, #ff5722, #e64a19);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
}

.banner-cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-cta {
    background: #fff;
    color: #ff5722;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cta:hover {
    background: #ff5722;
    color: #fff;
}

#btnTopo {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#btnTopo:hover {
    background-color: #e64a19;
}

/* Nova Tabela Visual */
.tabela-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tabela-visual .item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tabela-visual .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tabela-visual .item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ff5722;
}

.tabela-visual .item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.tabela-visual .item p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

.tabela-visual .item .vantagem {
    color: #4caf50;
    font-weight: bold;
}

.tabela-visual .item .desvantagem {
    color: #f44336;
    font-weight: bold;
}

/* Botão do WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button img {
    width: 60px;
    height: 60px;
    transition: transform 0.2s;
}

.whatsapp-button img:hover {
    transform: scale(1.1);
}

/* Seção de Consultoria */
#consultoria {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
}

#consultoria h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

#consultoria p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 30px;
}

#consultoria ul {
    list-style-type: none;
    padding: 0;
}

#consultoria ul li {
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #fff;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

#consultoria ul li:hover {
    background-color: rgba(255, 87, 34, 0.2);
}

#consultoria ul li i {
    color: #ff5722;
    font-size: 1.5rem;
}