/* VARIÁVEIS */
:root {
    /* Cores principais (mantidas com ajustes sutis) */
    --primary: #7A1C38;
    /* Vinho mais terroso */
    --primary-dark: #5C142B;
    /* Vinho mais profundo */
    --secondary: #B89A5F;
    /* Dourado envelhecido */

    /* Tons de pedra (novos) */
    --stone-light: #E8DFD0;
    /* Travertino claro */
    --stone-medium: #C4B6A0;
    /* Pedra natural */
    --stone-dark: #6B5D4D;
    /* Pedra escura */
    --rust: #9A4A3A;
    /* Ferrugem (Melodio Ferrugem) */

    /* Neutros atualizados */
    --light: #F8F4EC;
    /* Bege mais quente */
    --dark: #2A2A2A;
    /* Quase preto */
    --white: #FFFFFF;
    --gray: #6D6D6D;
    /* Cinza mais suave */
    --light-gray: #E0DAD1;
    /* Cinza terroso */

    /* Efeitos (mantidos) */
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);

    /* Novas texturas */
    --stone-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), transparent);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* HEADER */
header {
    background-color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    /* Detalhe luxo */
    color: var(--white);
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 5%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 3px;
    transition: var(--transition);
}

.slogan {
    font-size: 0.7rem;
    color: var(--secondary);
    font-style: italic;
    transition: var(--transition);
}

/* NAVEGAÇÃO */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    transition: all 0.5s ease-out;
}

.nav-links a {
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.burger {
    display: none;
    cursor: pointer;
    margin-left: 20px;
    background: none;
    border: none;
    outline: none;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: var(--transition);
}

/* SLIDER */
.hero {
    margin-top: 80px;
    padding: 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    will-change: transform;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(139, 30, 63, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    opacity: 1;
}

.slider:hover .slide-btn {
    opacity: 1;
}

.slide-btn:hover {
    background-color: rgba(139, 30, 63, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slide-btn.prev {
    left: 20px;
}

.slide-btn.next {
    right: 20px;
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* SOBRE */
.sobre {
    padding: 80px 0;
    background-color: var(--white);
    scroll-margin-top: 80px;
}

.sobre h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.sobre h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto 0;
}

.sobre-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sobre-text {
    flex: 1;
}

.sobre-text .destaque {
    font-size: 1.3rem;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}

.sobre-text h3 {
    color: var(--primary-dark);
    margin: 25px 0 15px;
    font-size: 1.3rem;
    position: relative;
    padding-left: 15px;
}

.sobre-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 5px;
    background: var(--secondary);
}

.sobre-text ul {
    margin: 15px 0 25px 20px;
    list-style: none;
}

.sobre-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.sobre-text li::before {
    content: '•';
    color: var(--secondary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.grid-caracteristicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.caracteristica {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.caracteristica:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.caracteristica .icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.materiais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.material {
    border: 1px solid var(--light-gray);
    padding: 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.material:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.material h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.assinatura {
    font-style: italic;
    margin: 40px 0 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.slogan-final {
    text-align: center;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
}

.sobre-imagens {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.img-destaque,
.img-equipe {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
    will-change: transform;
}

.img-destaque:hover,
.img-equipe:hover {
    transform: scale(1.02);
}

/* PRODUTOS */
.produtos {
    padding: 80px 0;
    background-color: var(--light);
    scroll-margin-top: 80px;
}

.produtos h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
}

.produtos h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto 0;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.produto-card {
    background-color: var(--stone-light);
    border-radius: 8px;
    border: 1px solid var(--stone-medium);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--rust);
    /* Efeito ferrugem */
}

.produto-img {
    height: 250px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
}

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

.produto-info {
    padding: 20px;
}

.produto-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.saiba-mais {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    width: 100%;
    margin-top: 15px;
}

.saiba-mais:hover {
    background-color: var(--primary-dark);
}

/* GALERIA DE PRODUTOS */
.galeria-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.galeria-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.galeria-slides .slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    will-change: transform;
}

.galeria-controle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(139, 30, 63, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    opacity: 1;
}

.galeria-container:hover .galeria-controle {
    opacity: 1;
}

.galeria-controle:hover {
    background-color: rgba(139, 30, 63, 1);
}

.galeria-controle.prev {
    left: 15px;
}

.galeria-controle.next {
    right: 15px;
}

.galeria-indicadores {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.galeria-indicadores .indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.galeria-indicadores .indicador.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* PROJETOS */
.projetos {
    padding: 80px 0;
    background-color: var(--white);
    scroll-margin-top: 80px;
}

.projetos h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
}

.projetos h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto 0;
}

.projetos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.projeto-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.projeto-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.projeto-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    will-change: transform;
    cursor: pointer;
}

.projeto-item:hover img {
    transform: scale(1.03);
}

.projeto-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(0);
    transition: var(--transition);
}

.projeto-item:hover figcaption {
    transform: translateY(-5px);
}

.projeto-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.projeto-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* DEPOIMENTOS */
.depoimentos {
    padding: 80px 0;
    background-color: var(--light);
    scroll-margin-top: 80px;
}

.depoimentos h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
}

.depoimentos h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto 0;
}

.depoimentos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.depoimento-card {
    background-color: var(--light);
    border-left: 4px solid var(--secondary);
    /* Toque dourado */
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.depoimento-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: serif;
    color: var(--light-gray);
    z-index: 0;
    line-height: 1;
}

.depoimento-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.depoimento-author {
    position: relative;
    z-index: 1;
}

.depoimento-author p {
    font-weight: bold;
    color: var(--primary);
}

.depoimento-author span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* CONTATO */
.contato {
    padding: 80px 0;
    background-color: var(--white);
    scroll-margin-top: 80px;
}

.contato h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
}

.contato h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto 0;
}

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

.contato-form {
    background: var(--light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contato-form:hover {
    box-shadow: var(--shadow-hover);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    background-color: #FFFFFF;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #fff;
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(139, 30, 63, 0.1);
}

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

.form-group label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--gray);
    transition: var(--transition);
    pointer-events: none;
    background-color: var(--light);
    padding: 0 5px;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary);
}

.submit-btn {
    width: 100%;
    box-shadow: inset 0 -3px 0 var(--primary-dark);
    /* Profundidade */
    padding: 12px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

.form-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
}

.form-feedback.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contato-info h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contato-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contato-info .icon {
    font-size: 1.2rem;
    color: var(--secondary);
    min-width: 25px;
}

.horario h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.mapa {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FOOTER - VERSÃO FINAL */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 20px 100px;
    position: relative;
    border-top: 3px solid var(--secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Seção da Logo */
.footer-section:first-child {
    align-items: flex-start;
}

/* Seção de Redes Sociais */
.footer-section:nth-child(2) {
    align-items: center;
}

/* Seção de Copyright */
.footer-section:last-child {
    align-items: flex-end;
    text-align: right;
}

.logo-img {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

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

.social-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.social-item {
    transition: var(--transition);
}

.social-item a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-item i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-item:hover {
    transform: translateY(-3px);
}

.social-item:hover i {
    color: var(--secondary);
}

.copyright-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ===== SCROLL TOP CORRETO ===== */
.scroll-top {
    position: fixed;
    bottom: 110px;
    /* Aumentei de 25px para 80px */
    right: 28px;
    width: 55px;
    height: 55px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.scroll-top.active {
    opacity: 1;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* MOBILE - Scroll Top */
@media (max-width: 768px) {
    .scroll-top {
        bottom: 85px;
        right: 20px;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.ativo {
    display: flex;
    opacity: 1;
}

.lightbox-conteudo {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
    cursor: default;
    animation: fadeIn 0.3s;
}

.lightbox-img {
    max-height: 80vh;
    max-width: 90vw;
    border: 3px solid var(--secondary);
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.fechar-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.fechar-lightbox:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

.lightbox-controle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(139, 30, 63, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    opacity: 1;
}

.lightbox-controle:hover {
    background-color: rgba(139, 30, 63, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-controle.prev {
    left: 20px;
}

.lightbox-controle.next {
    right: 20px;
}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* MEDIA QUERIES */
@media (max-width: 1200px) {
    .sobre-content {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-section:last-child {
        grid-column: span 2;
        align-items: center;
        text-align: center;
        margin-top: 20px;
    }

    .sobre-content {
        flex-direction: column;
    }

    .sobre-imagens {
        order: -1;
        width: 100%;
    }

    .slider {
        height: 50vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: circle(0px at 90% -10%);
        -webkit-clip-path: circle(0px at 90% -10%);
    }

    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
    }

    .burger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active div:nth-child(2) {
        opacity: 0;
    }

    .burger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .slider {
        height: 45vh;
        min-height: 350px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section:first-child,
    .footer-section:nth-child(2),
    .footer-section:last-child {
        align-items: center;
        text-align: center;
    }

    .footer-section:last-child {
        grid-column: span 1;
        margin-top: 0;
    }

    .social-list {
        justify-content: center;
    }

    .social-item span {
        display: none;
    }

    .contato-container {
        grid-template-columns: 1fr;
    }

    .slide-btn,
    .galeria-controle {
        width: 35px;
        height: 35px;
        font-size: 16px;
        opacity: 0.7;
        /* Visível mas semi-transparente */
    }

    .lightbox-controle {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    header {
        padding: 10px 5%;
    }

    .hero {
        margin-top: 70px;
    }

    .slider {
        height: 40vh;
        min-height: 300px;
    }

    .container {
        width: 95%;
        padding: 0 10px;
    }

    section {
        padding: 60px 0;
    }

    .logo img {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .sobre h2,
    .produtos h2,
    .projetos h2,
    .depoimentos h2,
    .contato h2 {
        font-size: 1.8rem;
    }

    .produtos-grid,
    .projetos-gallery {
        grid-template-columns: 1fr;
    }

    .social-item i {
        font-size: 24px;
    }
}

/* Botão WhatsApp */
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-popup {
    background-color: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 15px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: popupFade 10s infinite;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    order: 1;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    transition: all 0.3s;
    order: 2;
}

@keyframes popupFade {

    0%,
    60%,
    100% {
        opacity: 0;
        transform: translateX(10px);
    }

    10%,
    50% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .whatsapp-container {
        bottom: 20px;
        right: 20px;
    }

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

    .whatsapp-popup {
        font-size: 12px;
        padding: 6px 12px;
        animation: mobilePopupFade 10s infinite;
    }

    @keyframes mobilePopupFade {

        0%,
        70%,
        100% {
            opacity: 0;
            transform: translateX(10px);
        }

        10%,
        60% {
            opacity: 1;
            transform: translateX(0);
        }
    }
}