:root {
    /* Required Pallete */
    --color-nude: #F8D4D1;        /* Rosa Claro Nude */
    --color-soft: #D6A5A1;        /* Rosa Queimado Suave */
    --color-rose: #A96462;        /* Rosé Terroso Elegante */
    --color-brown: #753928;       /* Marrom Café Premium */

    /* Neutrals */
    --color-white: #ffffff;
    --color-light-bg: #FCF9F9;
    --color-dark-text: #2A1D1A;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth; /* Fallback nativo já que tiramos o Lenis */
}

/* Background Blobs (Esferas flutuantes) */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
    animation: blob-float 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--color-rose);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--color-nude);
    bottom: -10%;
    right: -10%;
    animation-duration: 35s;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--color-rose-dark);
    top: 40%;
    left: 60%;
    animation-duration: 40s;
    animation-delay: -15s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(4vw, -5vh) scale(1.1) rotate(10deg); }
    66% { transform: translate(-3vw, 4vh) scale(0.9) rotate(-5deg); }
    100% { transform: translate(5vw, 6vh) scale(1.05) rotate(15deg); }
}

body {
    font-family: var(--font-body);
    color: var(--color-dark-text);
    background-color: var(--color-light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, .section-title {
    font-family: var(--font-heading);
    color: var(--color-brown);
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-rose);
    color: var(--color-white);
    border: 2px solid var(--color-rose);
}

.btn-primary:hover {
    background-color: var(--color-brown);
    border-color: var(--color-brown);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(169, 100, 98, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-brown);
    border: 2px solid var(--color-brown);
}

.btn-secondary:hover {
    background-color: var(--color-brown);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-brown);
    border: 1px solid var(--color-brown);
    padding: 0.6rem 1.5rem;
}

.btn-outline:hover {
    background-color: var(--color-brown);
    color: var(--color-white);
}

/* Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(252, 249, 249, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(214, 165, 161, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-outline) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-brown);
    position: relative;
    transition: var(--transition);
}

.nav-links a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-rose);
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--color-brown);
    cursor: pointer;
    position: relative;
    z-index: 1005; /* Fica acima do .nav-links */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: stretch;
    position: relative;
    /* O overflow: hidden foi movido para o hero-bg-wrapper para não cortar os botões */
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    background-color: #ffffff; /* Fundo branco para mesclar com o degradê */
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-image: url('img/bg.png');
    background-size: contain; /* Garante que a foto inteira apareça sem cortes no PC */
    background-position: right top; /* Ancora a foto no topo (divisão da seção) e na direita */
    background-repeat: no-repeat;
    animation: zoomBg 30s infinite alternate ease-in-out;
    will-change: transform;
}

@keyframes zoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.03); } /* Zoom extremamente sutil para não cortar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradê global suave da esquerda para a direita cobrindo a foto */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0) 85%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza verticalmente com a foto */
    align-items: flex-start;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; /* Remove os preenchimentos forçados */
    flex: 1;
}

.hero-content {
    max-width: 580px;
    position: relative;
    z-index: 2;
    padding: 2rem 0; /* Apenas espaçamento interno natural, sem caixa visível */
}

.hero-content h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #000000;
}

.hero-content p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-brown);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sobre Section */
.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.sobre-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(117, 57, 40, 0.1);
}

.img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-radius: 200px 20px 20px 200px;
}

.img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-radius: 20px 200px 20px 20px;
}

.img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border-radius: 20px 20px 200px 20px;
}

.sobre-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #4A3B38;
}

/* Trajetória Section */
.trajetoria {
    background-color: var(--color-nude);
    position: relative;
}

.trajetoria-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trajetoria-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-brown);
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.servico-card {
    background-color: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(248, 212, 209, 0.5);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-soft), var(--color-rose));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(214, 165, 161, 0.2);
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-icon {
    font-size: 3rem;
    color: var(--color-rose);
    margin-bottom: 1.5rem;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.servico-card p {
    font-size: 0.95rem;
    color: #5A4A46;
}

/* Videos Slider */
.videos-section {
    background-color: var(--color-light-bg);
}
.video-swiper {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-swiper video {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
}

/* Galeria (Bento Grid Tecnológico) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
    grid-auto-flow: dense;
}

.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.bento-item:hover img {
    transform: scale(1.08);
}

/* Tamanhos do Mosaico (Bento Sizes) */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

/* Overlay Glassmorphism de Hover */
.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 20, 18, 0.9) 0%, rgba(30, 20, 18, 0.2) 50%, rgba(30, 20, 18, 0) 100%);
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    /* Transformação 3D para combinar com o Vanilla Tilt */
    transform: translateZ(30px);
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay i {
    font-size: 2rem;
    color: var(--color-rose);
    margin-right: 15px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1) 0.1s;
}

.bento-overlay span {
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1) 0.2s;
}

.bento-item:hover .bento-overlay i,
.bento-item:hover .bento-overlay span {
    transform: translateY(0);
}

/* Diferenciais */
.diferenciais {
    background-color: var(--color-nude);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.diff-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.diff-card:hover {
    background: var(--color-white);
    transform: translateY(-5px);
}

.diff-card i {
    font-size: 2.5rem;
    color: var(--color-rose);
}

.diff-card h4 {
    font-size: 1.1rem;
    color: var(--color-brown);
}

/* Depoimentos */
.depoimentos-swiper {
    padding-bottom: 3rem;
}

.depoimento-card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--color-nude);
}

.dep-stars {
    color: #FADB14;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 5px;
}

.dep-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #4A3B38;
}

.dep-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-nude);
}

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

.author-info strong {
    display: block;
    color: var(--color-brown);
    font-size: 1.1rem;
}

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

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--color-soft), var(--color-rose));
    text-align: center;
    color: var(--color-white);
}

.cta-container h2 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.btn-cta {
    background-color: var(--color-brown);
    color: var(--color-white);
    border: none;
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

.btn-cta:hover {
    background-color: var(--color-white);
    color: var(--color-brown);
}

/* Footer */
.footer {
    background-color: var(--color-brown);
    color: var(--color-nude);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1) sepia(1) saturate(10) hue-rotate(330deg) brightness(1.2);
}

.footer-contact h4 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.footer-contact i {
    font-size: 1.3rem;
    color: var(--color-nude);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 212, 209, 0.2);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* GSAP Preparations */
.reveal {
    visibility: hidden; /* Evita piscar na tela antes do GSAP agir */
}
/* Para elements clip-path no about/gallery */
.image-wipe {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    visibility: visible;
}
.text-split {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
    /* Otimização da Foto de Fundo para Mobile */
    .hero-bg {
        background-size: cover; /* No celular, preenche a tela como um BG tradicional */
        background-position: center top;
    }

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

    /* Responsivo Bento Grid */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    
    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .bento-tall {
        grid-row: span 2;
    }
    
    .bento-wide {
        grid-column: span 2;
    }

    .sobre-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-container {
        align-items: center;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .sobre-images {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-container h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
