/* ========================================
   ESTÚDIO CAETÉ - CSS OTIMIZADO
   ======================================== */

/* FONTES */
@font-face {
    font-family: 'Svarge';
    src: url('../fonts/Svarge.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Founders Grotesk';
    src: url('../fonts/FoundersGrotesk-Regular.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Founders Grotesk';
    src: url('../fonts/FoundersGrotesk-Bold.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

/* VARIÁVEIS */
:root {
    /* Cores principais - extraídas do projeto original */
    --cor-bege: #EFE5D3;
    --cor-header: #D3B48C;
    --cor-terracota: #B73715;
    --cor-laranja: #9C5A1F;
    --cor-verde-escuro: #17332E;
    --cor-verde-medio: #5D7C71;
    --cor-texto: #3D3D3D;
    --cor-texto-claro: #F5F0EB;

    /* Fontes */
    --fonte-titulo: 'Svarge', serif;
    --fonte-corpo: 'Founders Grotesk', sans-serif;

    /* Espaçamentos */
    --espacamento-secao: 80px;
    --espacamento-container: 40px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-corpo);
    font-size: 18px;
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-bege);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background-color: var(--cor-header);
    padding: 15px var(--espacamento-container);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-family: var(--fonte-corpo);
    font-size: 18px;
    color: var(--cor-texto);
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
    width: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--fonte-corpo);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--cor-terracota);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--cor-terracota);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--cor-texto);
    transition: 0.3s;
}

/* Menu Mobile Ativo */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--cor-header);
    padding: 20px;
    gap: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   DOBRA 1: HERO
   ======================================== */
.hero {
    min-height: calc(100vh - 70px);
    padding: 60px var(--espacamento-container);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background-color: var(--cor-bege);
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-family: var(--fonte-titulo);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: normal;
    line-height: 1.3;
    color: var(--cor-texto);
    margin-bottom: 25px;
}

.hero-content h1 strong {
    font-weight: normal;
    color: var(--cor-terracota);
}

.hero-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--cor-texto);
}

.hero-content p strong {
    color: var(--cor-terracota);
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   DOBRA 2: COMO PODEMOS TE AJUDAR
   ======================================== */
.ajuda {
    background-image: url('../images/sobre/Background-Natureza-scaled.webp');
    background-size: cover;
    background-position: center;
    padding: 80px var(--espacamento-container);
    text-align: center;
}

.ajuda h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: normal;
    color: var(--cor-texto-claro);
    margin-bottom: 25px;
}

.ajuda p {
    font-family: var(--fonte-corpo);
    font-size: 18px;
    line-height: 1.8;
    color: var(--cor-texto-claro);
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   DOBRA 3: REALIDADE VIRTUAL
   ======================================== */
.realidade-virtual {
    display: flex;
    align-items: stretch;
    background-color: var(--cor-laranja);
    position: relative;
}

.rv-content {
    flex: 1;
    padding: 60px var(--espacamento-container);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.rv-content h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: normal;
    color: #FFFFFF;
    line-height: 1.4;
    margin-bottom: 30px;
}

.rv-filtros {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rv-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-family: var(--fonte-corpo);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--cor-terracota);
    color: var(--cor-texto-claro);
}

.rv-btn:hover,
.rv-btn.active {
    background-color: var(--cor-verde-escuro);
}

.rv-iframe {
    flex: 1.2;
    min-height: 450px;
    padding: 30px;
    padding-left: 0;
}

.rv-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Momento360 Facade - Lazy Loading */
.momento360-facade {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--cor-verde-escuro);
}

.momento360-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
}

.momento360-facade:hover img {
    transform: scale(1.02);
    filter: brightness(0.8);
}

.momento360-facade .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 40px;
    background: rgba(183, 55, 21, 0.95);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.momento360-facade:hover .play-button {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(183, 55, 21, 1);
}

.momento360-facade .play-button svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.momento360-facade .play-button span {
    font-family: var(--fonte-corpo);
    font-size: 16px;
    color: white;
    font-weight: 500;
}

/* ========================================
   DOBRA 4: NOSSOS NÚMEROS
   ======================================== */
.numeros {
    background-color: var(--cor-bege);
    background-image: url('../images/ui/Novo-Projeto-1.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px var(--espacamento-container);
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.numeros h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: normal;
    color: var(--cor-texto);
    margin-bottom: 50px;
}

.numeros-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.numero-card {
    background-color: var(--cor-terracota);
    border-radius: 120px;
    padding: 40px 35px;
    width: 180px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.numero-label {
    font-family: var(--fonte-corpo);
    font-size: 16px;
    color: var(--cor-texto-claro);
}

.numero-valor {
    font-family: var(--fonte-titulo);
    font-size: clamp(48px, 6vw, 72px);
    color: var(--cor-texto-claro);
    line-height: 1;
}

.numero-desc {
    font-family: var(--fonte-corpo);
    font-size: 14px;
    color: var(--cor-texto-claro);
    text-align: center;
}

/* ========================================
   DOBRA 5: PROJETOS REALIZADOS
   ======================================== */
.projetos {
    background-image: url('../images/sobre/Background-Natureza-scaled.webp');
    background-size: cover;
    background-position: center;
    padding: 60px var(--espacamento-container);
    text-align: center;
}

.projetos h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: normal;
    color: var(--cor-texto-claro);
    margin-bottom: 15px;
}

.projetos-subtitulo {
    font-family: var(--fonte-corpo);
    font-size: 16px;
    color: var(--cor-texto-claro);
    margin-bottom: 40px;
}

.projetos-carrossel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.carrossel-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    max-width: 900px;
}

.carrossel-slide {
    flex: 0 0 280px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
}

.carrossel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrossel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--cor-texto-claro);
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carrossel-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 35px;
    background-color: #075E54;
    color: #ffffff;
    border-radius: 50px;
    font-family: var(--fonte-corpo);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 15px;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-whatsapp:hover {
    background-color: #054C44;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.projetos-online {
    font-family: var(--fonte-corpo);
    font-size: 14px;
    color: var(--cor-texto-claro);
}

.projetos-online::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    margin-right: 8px;
}

/* ========================================
   DOBRA 6: DEPOIMENTOS
   ======================================== */
.depoimentos {
    background-color: var(--cor-laranja);
    padding: 60px var(--espacamento-container);
    text-align: center;
}

.depoimentos h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: normal;
    color: #FFFFFF;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.depoimentos-subtitulo {
    font-family: var(--fonte-corpo);
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 50px;
}

.depoimentos-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.depoimento-card {
    background-color: var(--cor-texto-claro);
    border-radius: 20px;
    padding: 35px 30px 40px;
    max-width: 350px;
    min-width: 280px;
    flex: 1 1 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.depoimento-img {
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #C4875A;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.depoimento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.depoimento-card h3 {
    font-family: var(--fonte-corpo);
    font-size: 24px;
    font-weight: 600;
    color: #7A4A2A;
    margin-bottom: 15px;
}

.depoimento-card p {
    font-family: var(--fonte-corpo);
    font-size: 18px;
    color: #5C3A1E;
    line-height: 1.7;
    font-style: italic;
}

/* ========================================
   DOBRA 7: BENEFÍCIOS DE CONTRATAR
   ======================================== */
.beneficios {
    background-color: var(--cor-bege);
    background-image: url('../images/ui/Novo-Projeto-3.webp');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto 100%;
    padding: 60px var(--espacamento-container);
    min-height: 400px;
}

.beneficios-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.beneficios-titulo {
    flex: 0 0 auto;
}

.beneficios-titulo h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: normal;
    color: var(--cor-verde-escuro);
    line-height: 1.3;
}

.beneficios-lista {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.beneficios-lista ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.beneficios-lista li {
    font-family: var(--fonte-corpo);
    font-size: 18px;
    color: var(--cor-texto);
    line-height: 2.2;
}

.beneficios-lista li::marker {
    color: var(--cor-verde-medio);
}

.beneficios-online {
    font-family: var(--fonte-corpo);
    font-size: 14px;
    color: #2D4A3E;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
}

/* ========================================
   DOBRA 8: QUEM SOMOS
   ======================================== */
.quem-somos {
    background-image: url('../images/sobre/Background-Natureza-scaled.webp');
    background-size: cover;
    background-position: center;
    padding: 60px var(--espacamento-container);
}

.quem-somos-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.quem-somos-imagem {
    flex: 1;
    max-width: 450px;
}

.quem-somos-imagem img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.quem-somos-texto {
    flex: 1;
}

.quem-somos-texto h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: normal;
    color: var(--cor-texto-claro);
    margin-bottom: 25px;
    line-height: 1.2;
}

.quem-somos-texto p {
    font-family: var(--fonte-corpo);
    font-size: 18px;
    color: var(--cor-texto-claro);
    line-height: 1.6;
}

.quem-somos-texto p.destaque {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ========================================
   DOBRA 9: FAQ
   ======================================== */
.faq {
    background-color: var(--cor-laranja);
    padding: 60px var(--espacamento-container);
    text-align: center;
}

.faq h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: normal;
    color: #FFFFFF;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.faq-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    flex: 1 1 300px;
    max-width: 400px;
    border: 2px solid #FFFFFF;
    border-radius: 15px;
    padding: 25px;
    background: transparent;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.faq-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-family: var(--fonte-titulo);
    font-size: 28px;
    color: #FFFFFF;
}

.faq-card h3 {
    font-family: var(--fonte-corpo);
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.3;
}

.faq-card p {
    font-family: var(--fonte-corpo);
    font-size: 17px;
    color: #FFFFFF;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--cor-laranja);
    padding: 30px var(--espacamento-container);
    text-align: center;
    border-top: 1px solid rgba(239, 229, 211, 0.2);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--cor-verde-escuro);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--cor-texto-claro);
}

.footer p {
    font-family: var(--fonte-corpo);
    font-size: 14px;
    color: #FFFFFF;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 768px) {
    :root {
        --espacamento-container: 20px;
    }

    .nav-menu,
    .btn-primary {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        max-width: 350px;
    }

    /* Realidade Virtual */
    .realidade-virtual {
        flex-direction: column;
    }

    .rv-content {
        padding: 40px 20px;
    }

    .rv-filtros {
        justify-content: center;
    }

    .rv-iframe {
        min-height: 450px;
        padding: 20px;
        padding-left: 20px;
        display: flex;
    }

    .rv-iframe iframe {
        flex: 1;
        min-height: 400px;
    }

    /* Números */
    .numeros {
        min-height: auto;
        padding: 40px 20px;
        background-image: none;
        background-color: var(--cor-bege);
    }

    .numero-card {
        width: 150px;
        height: 250px;
        padding: 30px 20px;
    }

    /* Projetos */
    .projetos-carrossel {
        flex-direction: column;
        gap: 15px;
    }

    .carrossel-btn {
        display: none;
    }

    .carrossel-container {
        max-width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .carrossel-slide {
        flex: 0 0 85%;
        scroll-snap-align: center;
        height: 180px;
    }

    /* Depoimentos */
    .depoimentos-cards {
        flex-direction: column;
        align-items: center;
    }

    .depoimento-card {
        max-width: 350px;
    }

    /* Benefícios */
    .beneficios {
        background-size: auto 50%;
    }

    .beneficios-container {
        flex-direction: column;
        text-align: center;
    }

    .beneficios-lista {
        align-items: center;
    }

    .beneficios-lista ul {
        text-align: left;
    }

    /* Quem Somos */
    .quem-somos-container {
        flex-direction: column;
        text-align: center;
    }

    .quem-somos-imagem {
        max-width: 350px;
    }

    /* FAQ */
    .faq-cards {
        flex-direction: column;
        align-items: center;
    }

    .faq-card {
        max-width: 350px;
    }
}
