@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --amarelo: #fe9e00;
    --amarelo-escuro: #bd8827;
    --preto: #000;
    --cinza-meioescuro: #555555;
    --branco: #ece7e7;
    --cinza-claro-1: #555555;
    --cinza-claro2: #101010;
}

* {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.3s ease;
}

::selection {
    background-color: var(--cinza-meioescuro);
    color: var(--branco);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
==================================================
    HEADER
=================================================*/
.fundo {
    background-color: black;
    padding-bottom: 3.6rem;
    padding-top: 2rem;
    width: 100%;
}

.header {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header section .logo img {
    margin: 10px;
}

.header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0;
    padding-top: 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.header nav {
    padding: 15px;
    position: relative;
}

.header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.header nav ul li a {
    color: white;
    font-size: 18px;
    position: relative;
    padding: 5px 0;
}

.header nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--amarelo);
    transition: width 0.3s ease;
}

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

.header .navbar ul .opcao {
    position: relative;
    display: inline-block;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.header .navbar ul .opcao .submenu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    list-style: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header .navbar ul .opcao:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.header .navbar ul .opcao .submenu li {
    padding: 15px 20px;
}

.header .navbar ul .opcao .submenu li a {
    display: block;
    padding: 0;
    margin: 0;
    color: white;
    text-decoration: none;
}

.header .navbar ul .opcao .submenu li:hover {
    background-color: rgba(254, 158, 0, 0.1);
}

.header .navbar ul .opcao .submenu li:hover a {
    color: white;
}

.header nav .inicio-50::after,
.header nav .sobre-50::after,
.header nav .contato-50::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--amarelo);
    transition: width 0.3s ease;
}

.header .forms {
    margin-right: 60px;
}

.header .logo {
    margin-left: 60px;
}

.header .menu {
    display: none;
}

/*
=================================================
 RESPONSIVIDADE HEADER
=============================================*/

@media (max-width: 900px) {
    .header .menu {
        display: block;
        margin-right: 40px;
    }

    .header nav,
    .header .forms {
        display: none;
    }

    .header .logo {
        margin-left: 10px;
    }
}

/* Submenu Desktop */
.opcao {
    position: relative;
}

.opcao > p {
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--preto);
    min-width: 200px;
    padding: 1rem 0;
    list-style: none;
}

.opcao:hover .submenu {
    display: block;
}

.submenu li {
    padding: 0.5rem 1.5rem;
}

.submenu a {
    display: block;
    color: var(--branco);
}

/* Botão Orçamento Desktop */
.forms {
    display: block;
}

/* Menu Hambúrguer */
.menu {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.menu img {
    transition: transform 0.3s ease;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1500;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Menu Mobile */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background-color: var(--preto);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem 0;
}

.sidebar.active {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .sidebar {
        width: 400px;
        max-width: 400px;
    }
    
    .navbar {
        display: block;
    }

    .forms {
        display: block;
    }

    .menu {
        display: none;
    }
}

/* Cabeçalho do Sidebar */
.sidebar-header {
    padding: 0 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    transform: scale(1.5);
}

.close-btn:hover {
    color: var(--amarelo);
}

/* Menu Mobile List */
.mobile-menu-list {
    list-style: none;
    padding: 2rem 0;
}

.mobile-menu-list > li {
    border-bottom: 1px solid #333;
}

.mobile-menu-list a {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu-list a:hover {
    background-color: #2a2a2a;
    color: var(--amarelo);
}

/* Submenu Mobile */
.mobile-submenu-toggle {
    padding: 1rem 2rem;
    color: white;
    font-size: 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-submenu-toggle:hover {
    background-color: #131212;
    color: var(--amarelo);
}

.mobile-submenu-toggle::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle.active::after {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    list-style: none;
    background-color: #0a0a0a;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu a {
    padding-left: 3rem;
    font-size: 15px;
}

/* Botão Orçamento Mobile */
.mobile-orcamento {
    padding: 0 2rem;
}

.mobile-btn-s {
    width: 100%;
    background-color: var(--amarelo);
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.mobile-btn-s:hover {
    background-color: var(--amarelo-escuro);
}

/* Conteúdo da Página */
.content {
    margin-top: 100px;
    padding: 2rem;
    min-height: 100vh;
}

.hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 10px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--amarelo);
}

/*
=================================================
HOME CONTAINER
=============================================*/
.home-container {
    background: url("/img/cozinha-marcenaria-scott-3.png") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.home-container section {
    height: 850px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-container .conteudo {
    display: flex;
    max-width: 90rem;
    padding: 20px;
    color: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.home-container .conteudo h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.home-container .conteudo h1 span {
    color: #ffa500;
    border-bottom: 4px solid var(--amarelo);
}

.home-container .conteudo p {
    max-width: 60rem;
    font-size: 22px;
    margin-bottom: 50px;
}

.home-container .conteudo button {
    display: flex;
    background: transparent;
    width: 490px;
    height: 85px;
    border-radius: 50px;
    border: 3.5px solid var(--amarelo);
    color: var(--amarelo);
    font-size: 35px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-container .conteudo button:hover {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.home-container .conteudo button img {
    user-select: none;
}

.home-container .conteudo button:active {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

@media (max-width: 1023px) {
    .home-container .conteudo {
        max-width: 100%;
    }

    .home-container section {
        height: 570px;
    }

    .home-container .conteudo h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .home-container .conteudo p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .home-container .conteudo button {
        transform: scale(0.6);
    }
}

/* =======================================================
   SEÇÃO HISTÓRIA
======================================================= */
.historia-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px auto;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 0 20px;
}

.historia-container .caixa {
    max-width: 580px;
    text-align: center;
}

.historia-container .caixa h1 {
    font-size: 37px;
    margin-bottom: 30px;
}

.historia-container .caixa p {
    font-size: 18px;
    color: var(--cinza-meioescuro);
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-s {
    width: 200px;
    height: 50px;
    padding-bottom: 5px;
    font-size: 17px;
    background: var(--amarelo);
    color: var(--preto);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-s:hover {
    background: var(--amarelo-escuro);
}

.historia-container img {
    width: 450px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .historia-container {
        max-width: 100%;
    }

    .historia-container .caixa h1 {
        font-size: 27px;
    }

    .historia-container .caixa p {
        font-size: 15px;
    }

    .historia-container img {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .home-container .conteudo h1 {
        font-size: 2.8rem;
    }

    .historia-container {
        flex-direction: column;
    }
}

/* =======================================================
   HISTÓRIA CONTAINER 2
======================================================= */

.historia-container2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 0 20px;
    flex-direction: row-reverse;
}

.historia-container2 .caixa {
    max-width: 580px;
    text-align: center;
}

.historia-container2 .caixa h1 {
    font-size: 37px;
    margin-bottom: 30px;
}

.historia-container2 .caixa p {
    font-size: 18px;
    color: var(--cinza-meioescuro);
    margin-bottom: 30px;
    line-height: 1.5;
}

.historia-container2 img {
    width: 450px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .historia-container2 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        padding: 0 20px;
    }

    .historia-container2 .caixa h1 {
        font-size: 27px;
    }

    .historia-container2 .caixa p {
        font-size: 15px;
    }

    .historia-container2 img {
        max-width: 100%;
        height: auto;
    }
}

/* ==================================================
    SESSÃO DE IMAGENS (Galeria)
================================================== */
.sessao-imagens {
    background-color: var(--cinza-claro2);
    padding: 100px 20px;
}

.sessao-imagens h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: var(--branco);
    margin-bottom: 10px;
}

.sessao-imagens h5 {
    font-size: 18px;
    text-align: center;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.linha-circulo {
    position: relative;
    width: 100px;
    height: 3px;
    background: var(--amarelo);
    margin: 30px auto 60px;
}

.linha-circulo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--amarelo);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--amarelo);
}

.caixa-img {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.caixa-img .imagem {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}

.caixa-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 15px;
}

.caixa-img img:hover {
    transform: scale(1.1);
}

/* ==================================================
    LIGHTBOX/MODAL
================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-conteudo {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

#imagemAmpliada {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.fechar-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    z-index: 100001;
    transition: color 0.3s ease;
}

.fechar-btn:hover {
    color: var(--amarelo);
}

.seta {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-size: 35px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    z-index: 100001;
    transition: background-color 0.3s ease;
}

.anterior {
    left: 20px;
}

.proxima {
    right: 20px;
}

.seta:hover {
    background-color: rgba(254, 158, 0, 0.8);
}

.contador-texto {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    font-size: 18px;
}

/* ==================================================
    CARROSSEL DE AMBIENTES
================================================== */
.ambientes {
    background-color: var(--preto);
    padding: 100px 20px;
}

.ambientsContainer {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.ambientes h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--branco);
    margin-bottom: 20px;
}

.carrosel {
    position: relative;
    width: 90%;
    margin: 60px auto;
    overflow: hidden;
}

.carrossel-inner {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.carrossel-inner .caixa-1 {
    background: white;
    color: #222;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    flex-shrink: 0;
}

.carrossel-inner .caixa-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(254, 158, 0, 0.4);
}

.carrossel-inner .caixa-1 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carrossel-inner .caixa-1 a {
    color: var(--preto);
    display: block;
}

.carrossel-inner .caixa-1 h1 {
    color: #000000;
    margin-top: 20px;
    font-size: 1.5rem;
}

.carrossel-inner .caixa-1 p {
    padding: 15px 20px 25px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.linha {
    width: 60px;
    height: 3px;
    background-color: var(--amarelo);
    margin: 12px auto;
}

/* Botões do Carrossel */
.btn1 {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.btn1:hover {
    background: rgba(254, 158, 0, 0.8);
}

.carrosel .prev {
    left: 20px;
}

.carrosel .next {
    right: 20px;
}

/* Dots de Navegação */
.dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--amarelo);
}

@media (max-width: 1023px) {
    .ambientsContainer {
        max-width: 100%;
    }
}

/* ==================================================
    GALERIA DE IMAGENS (CARROSSEL COM 3 ITENS)
================================================== */
.galeria-cozinha {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.slide-item {
    width: calc(33.333% - 20px);
    flex-shrink: 0;
    height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    padding: 60px 10px 20px;
    text-align: center;
}

.slide-caption h2 {
    color: var(--branco);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.slide-item:hover .slide-caption h2 {
    color: var(--amarelo);
    transition: color 0.3s ease;
}

/* Botões de Navegação */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background: var(--amarelo);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Indicadores (Dots) */
.slider-dots {
    text-align: center;
    padding: 20px 0 0;
}

.slider-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--amarelo);
}

@media (max-width: 1023px) {
    .slider-container {
        max-width: 100%;
    }

    .slider-wrapper {
        gap: 30px;
    }

    .slide-item {
        width: calc(100% - 30px);
    }
}

/* =======================================================
   SEÇÃO DIFERENCIAIS
======================================================= */
.diferenciais {
    text-align: center;
    padding: 100px 40px;
    background: #d4d4d4;
}

.diferenciais h2 {
    font-size: 45px;
    color: var(--preto);
    margin-bottom: 60px;
}

.diferenciais .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.diferenciais .card {
    background: var(--branco);
    width: 300px;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.diferenciais .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(254, 158, 0, 0.3);
}

.diferenciais .card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.diferenciais .card h3 {
    color: var(--amarelo);
    margin-bottom: 15px;
}

.diferenciais .card p {
    color: var(--cinza-meioescuro);
    font-size: 17px;
    line-height: 1.4;
}

/* ==================================================
    SOBRE NÓS
================================================== */
.sobre-nos {
    padding: 100px 40px;
    background: var(--branco);
}

.sobre-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 60px auto;
}

.sobre-content {
    flex: 1;
    min-width: 300px;
}

.sobre-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--preto);
    margin-bottom: 20px;
}

.linha-destaque {
    width: 100px;
    height: 4px;
    background: var(--amarelo);
    margin-bottom: 30px;
}

.sobre-texto {
    font-size: 18px;
    color: var(--cinza-meioescuro);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sobre-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--amarelo);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--cinza-meioescuro);
    font-size: 16px;
}

.sobre-imagem {
    flex: 1;
    min-width: 300px;
}

.sobre-imagem img {
    width: 100%;
    max-width: 500px;
    height: 500px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sobre-nos .btn-s {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ==================================================
    SOBRE A HISTORIA DA MARCENARIA
================================================== */

.sobre-scott-art {
    text-align: center;
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.sobre-scott-art .conteudo p {
    font-size: 28px;
    margin-bottom: 40px;
}

/* =======================================================
   RESPONSIVIDADE SOBRE
======================================================= */

@media (max-width: 1023px) {
    .sobre-nos {
        max-width: 100%;
        padding: 60px 20px;
    }

    .sobre-stats {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
        width: 100%;
        max-width: 1200px;
    }

    .stat-item {
        flex-grow: 1;
        flex-basis: 0;
        text-align: center;
        padding: 10px;
    }

    .sobre-container {
        max-width: 100%;
    }

    .sobre-scott-art {
        max-width: 100%;
    }

    .sobre-scott-art .conteudo p {
        font-size: 19px;
    }
}

@media (min-width: 769px) {
    .sobre-stats {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
        width: 100%;
        max-width: 1200px;
    }

    .stat-item {
        flex-grow: 1;
        flex-basis: 0;
        text-align: center;
        padding: 10px;
    }
}

/* =======================================================
   DEPOIMENTOS
======================================================= */
.depoimentos {
    background: var(--cinza-claro2);
    color: var(--branco);
    text-align: center;
    padding: 100px 30px;
}

.depoimentos h2 {
    font-size: 45px;
    margin-bottom: 50px;
    color: var(--amarelo);
}

.depoimentos-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.depoimento {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    max-width: 350px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.depoimento p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.depoimento h4 {
    color: var(--amarelo);
    font-weight: 500;
}

.depoimento:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

/* ==================================================
    CONTAINER PAGE - SOBRE NÓS
================================================== */

.container-page {
    background: url("/img/cozinha-marcenaria-scott-3.png") center 20% no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.container-page section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    width: 100%;
}

.container-page .conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 90px;
    padding: 0 20px;
}

.container-page .conteudo h2 {
    color: var(--branco);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.container-page .conteudo p {
    color: var(--branco);
    font-size: 20px;
}

@media (max-width: 1023px) {
    .container-page .conteudo {
        max-width: 100%;
    }

    .container-page .conteudo h2 {
        font-size: 20px;
    }

    .container-page .conteudo p {
        font-size: 15px;
    }
}

/* =======================================================
   CONTAINER PAGE 2 - COZINHA
======================================================= */

.container-page-2 {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  background: url("/img/cozinha-planejada.png") center 50% no-repeat;
  background-size: cover;
  overflow: hidden;
}

.container-page-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.556); /* escurecimento: 0.4 = 40% */
  z-index: 0;
}

.container-page-2 > * {
  position: relative;
  z-index: 1; /* garante que o conteúdo fique visível acima da camada escura */
}

.container-page-2 section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    width: 100%;
}

.container-page-2 .conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 90px;
    padding: 0 20px;
}

.container-page-2 .conteudo h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--branco);
}

.container-page-2 .conteudo p {
    font-size: 20px;
    color: var(--branco);
}

.container-page-2 .conteudo .nick-home {
    color: var(--branco);
}

@media (max-width: 1024px) {
    .container-page-2 {
        background-position: center center;
    }

    .container-page-2 .conteudo {
        max-width: 100%;
    }

    .container-page-2 .conteudo h1 {
        font-size: 45px;
    }
}

/* ==================================================
    CONTAINER CARD - FLIP CARDS
================================================== */

.container-card {
    text-align: center;
    margin-top: 40px;
}

.flip-card {
    width: 300px;
    height: 350px;
    perspective: 1000px;
    display: inline-block;
    margin: 10px;
    margin-bottom: 50px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
}

.flip-card-front {
    background-color: #222;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    transform: rotateY(0deg);
}

.flip-card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1;
}

.flip-card-back {
    background-color: #333;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotateY(180deg);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card .flip-card-inner .conteudo-frente {
    z-index: 2;
    position: relative;
}

.estrela {
    font-size: 60px;
    color: var(--amarelo);
}

@media (max-width: 1023px) {
    .flip-card {
        width: 300px;
        height: 250px;
        margin: 5px;
    }
}

/*==================================================
    FORMULARIO - CONTAINER PAGE
==================================================*/

.container-page-2-forms {
    background: url("./img/cozinha-planejada.png") center 50% no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 350px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px;
}

.container-page-2-forms section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.container-page-2-forms .conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.container-page-2-forms .conteudo h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--branco);
    margin: 0;
}

.container-page-2-forms .conteudo p {
    font-size: 20px;
    color: var(--branco);
    margin: 0;
}

@media (max-width: 1023px) {
    .container-page-2-forms {
        padding: 40px 20px;
    }

    .container-page-2-forms .conteudo {
        max-width: 100%;
        gap: 20px;
        margin-bottom: 20px;
    }

    .container-page-2-forms .conteudo h1 {
        font-size: 40px;
    }

    .container-page-2-forms .conteudo p {
        font-size: 15px;
    }
}

/* =======================================================
   CONTATOS FORMS - VERSÃO MODERNA
======================================================= */
.contatos-forms {
    background-color: var(--amarelo);
    text-align: center;
    padding: 60px 20px;
}

.contatos-forms h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #000;
}

.contatos-forms p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #333;
}

.container-forms {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    padding: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.contatos-forms .container-forms .bloco {
    border: none;
    border-radius: 30px;
    padding: 50px 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.contatos-forms .container-forms .bloco::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.contatos-forms .container-forms .bloco:hover::before {
    left: 100%;
    opacity: 1;
}

.contatos-forms .container-forms .bloco::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -75px;
    right: -75px;
    transition: all 0.4s ease;
    z-index: 0;
}

.contatos-forms .container-forms .bloco:hover::after {
    transform: scale(1.5);
    opacity: 0.5;
}

.contatos-forms .container-forms .bloco:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.contatos-forms .container-forms .bloco h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.contatos-forms .container-forms .bloco:hover h1 {
    transform: scale(1.08);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.contatos-forms .container-forms .bloco img {
    width: 80px;
    height: 80px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.contatos-forms .container-forms .bloco:hover img {
    transform: scale(1.25) rotate(-5deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: scale(1.25) rotate(-5deg) translateY(0px);
    }
    50% {
        transform: scale(1.25) rotate(-5deg) translateY(-10px);
    }
}

.contatos-forms .container-forms .bloco:nth-child(1):hover {
    background: linear-gradient(
        145deg, 
        rgba(131, 58, 180, 0.4) 0%, 
        rgba(253, 29, 29, 0.4) 50%, 
        rgba(252, 176, 69, 0.4) 100%
    );
    box-shadow: 
        0 20px 50px rgba(131, 58, 180, 0.4),
        0 0 40px rgba(253, 29, 29, 0.3);
}

.contatos-forms .container-forms .bloco:nth-child(2):hover {
    background: linear-gradient(
        145deg,
        rgba(17, 116, 244, 0.82),
        rgba(0, 132, 255, 0.777)
    );
    box-shadow: 
        0 20px 50px rgba(24, 119, 242, 0.4),
        0 0 40px rgba(24, 119, 242, 0.3);
}

.contatos-forms .container-forms .bloco:nth-child(3):hover {
    background: linear-gradient(
        145deg,
        rgba(37, 211, 101, 0.775),
        rgba(14, 231, 90, 0.4)
    );
    box-shadow: 
        0 20px 50px rgba(37, 211, 102, 0.4),
        0 0 40px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .container-forms {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .contatos-forms .container-forms .bloco {
        width: 100%;
        max-width: 350px;
    }
    
    .contatos-forms h2 {
        font-size: 36px;
    }
    
    .contatos-forms .container-forms .bloco h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .contatos-forms {
        padding: 40px 15px;
    }
    
    .contatos-forms .container-forms .bloco {
        padding: 40px 30px;
    }
    
    .contatos-forms h2 {
        font-size: 28px;
    }
    
    .contatos-forms .container-forms .bloco h1 {
        font-size: 24px;
    }
    
    .contatos-forms .container-forms .bloco img {
        width: 70px;
        height: 70px;
    }
}

/* =======================================================
   IMAGEM FINAL
======================================================= */
.img-final img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

/* =======================================================
   FOOTER
======================================================= */

footer {
    background: var(--preto);
    color: var(--branco);
    padding: 40px 20px;
    text-align: center;
}

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

.footer-logo img {
    width: 160px;
}

.footer-content p {
    font-size: 14px;
    color: #ccc;
}

/* ==== Social  ====*/
.footer-content .social {
    width: 300px;
    height: 200px;
    padding: 10px;
}

.footer-content .social a img {
    padding: 10px;
}

.footer-content .social a img:hover {
    transform: scale(1.1);
}

.footer-content .social .footer-logo {
    margin-bottom: 10px;
}


/*ambientes-footer*/
.footer-content .ambientes-footer {
    width: 300px;
    height: 200px;
    color: var(--branco);
    padding: 10px;
}


.footer-content .ambientes-footer h3 {
    font-size: 20px;
}

.footer-content .ambientes-footer .submenu-footer ul {
    position: relative;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    color: var(--branco);
    cursor: pointer;
}

.footer-content .ambientes-footer .submenu-footer ul::before,
.footer-content .ambientes-footer .submenu-footer ul::after {
    color: var(--branco);
}

.footer-content .ambientes-footer .submenu-footer a {
    color: var(--branco);
}

.footer-content .ambientes-footer .submenu-footer ul:hover {
    transform: scale(1.3);
}

.footer-content .ambientes-footer .submenu-footer a:hover {
    color: var(--amarelo);
}


/*contatos footer*/

.footer-content .contatos {
    width: 300px;
    height: 200px;
    text-align: start;
    padding: 10px;
}

.footer-content .contatos h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-content .contatos .contato-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.btn-s-footer {
    width: 150px;
    height: 35px;
    padding-bottom: 5px;
    font-size: 15px;
    background: var(--amarelo);
    color: var(--preto);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

/* Container de cada item (Email, Telefone, etc.) */
.contato-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Define o tamanho da imagem do ícone */
.icon-contato {
    width: 30px;
    height: 30px;
}

/* Estilos de texto (opcional) */
.contato-texto {
    position: relative;
    font-size: 16px;
    color: var(--branco);
    text-decoration: none;
    display: inline-block;
}

.contato-texto:hover {
    color: var(--amarelo);
}

/* =======================================================
   RESPONSIVIDADE FOOTER
======================================================= */
@media (max-width: 1023px) {
    .ambientes-footer {
        text-align: center;
    }

    .footer-content .social .icon-rede img {
        transform: scale(0.6);
    }

    .footer-content .contatos {
        text-align: center;
    }

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

    .footer-content {
        flex-direction: column;
        /* Empilha os blocos do footer */
        gap: 30px;
    }
}

@media (max-width: 768px) {}

/* ==================================================
    WHATSAPP FLUTUANTE
================================================== */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 1024px) {
    .whatsapp-float img {
        width: 70px;
        height: 70px;
    }
}

/* =======================================================
   VALIDAÇÃO DE INPUTS
======================================================= */
input.valid {
    border: 2px solid #4CAF50;
}

input.invalid {
    border: 2px solid #E53935;
}

/* =======================================================
   FORMULÁRIO ORÇAMENTO
======================================================= */
@media (max-width: 1024px) {
    .forms-orcamento {
        width: 100%;
        margin-left: 0;
    }
    
    .forms-orcamento .card {
        flex: 0 0 80%;
    }
}