/* Reset e Variáveis baseadas na paleta de cores fornecida */
:root {
    --color-primary: #c4ac90; /* Dourado/Bege - Destaques e CTA */
    --color-secondary: #56727d; /* Azul acinzentado */
    --color-dark: #42302c; /* Marrom escuro */
    --color-darker: #2a1f1c; /* Marrom muito escuro */
    --color-light: #eef2f3; /* Fundo claro */
    --color-text-light: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-light);
    color: var(--color-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

/* ================= NAV ================= */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1700px;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(42, 31, 28, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(196, 172, 144, 0.3);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    overflow: visible; /* Permite a logo transbordar */
}

.logo-link {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    width: 120px; /* Reservar espaço horizontal */
    height: 40px; /* Altura controlada */
}

.nav-logo {
    position: absolute;
    top: -35px; /* Ajuste manual para não cortar na borda superior da tela */
    left: 0;
    height: 115px; /* Logo aumentada em proporção */
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(196, 172, 144, 0.5));
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.08);
}

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

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    background: none;
    border: none;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--color-primary);
    border-radius: 10px;
    transition: opacity 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
    box-shadow: 0 0 6px rgba(196, 172, 144, 0.3);
}

.hamburger:hover span {
    box-shadow: 0 0 12px rgba(196, 172, 144, 0.6);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--color-text-light);
}

.hamburger.active span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--color-text-light);
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-cta {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--color-primary) !important;
    font-weight: 600;
    transition: opacity 0.3s ease !important, transform 0.3s ease !important, background-color 0.3s ease !important, box-shadow 0.3s ease !important;
}

.nav-cta:hover {
    background-color: var(--color-primary);
    color: var(--color-darker) !important;
    box-shadow: 0 0 15px var(--color-primary);
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinhado à esquerda */
    overflow: hidden;
}

/* Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out, filter 1.5s ease-in-out;
}

/* Slide 1 — Zoom In */
.slide:nth-child(1) {
    transform: scale(1.15);
}
.slide:nth-child(1).active {
    opacity: 1;
    transform: scale(1);
}
.slide:nth-child(1).leaving {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(4px);
}

/* Slide 2 — Deslizar da Esquerda */
.slide:nth-child(2) {
    transform: translateX(-8%) scale(1.02);
}
.slide:nth-child(2).active {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.slide:nth-child(2).leaving {
    opacity: 0;
    transform: translateX(8%) scale(1.02);
}

/* Slide 3 — Deslizar da Direita */
.slide:nth-child(3) {
    transform: translateX(8%) scale(1.02);
}
.slide:nth-child(3).active {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.slide:nth-child(3).leaving {
    opacity: 0;
    transform: translateX(-8%) scale(1.02);
}

/* Slide 4 — Zoom Out + Rotação sutil */
.slide:nth-child(4) {
    transform: scale(0.92) rotate(-1deg);
}
.slide:nth-child(4).active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.slide:nth-child(4).leaving {
    opacity: 0;
    transform: scale(1.1) rotate(1deg);
    filter: blur(3px);
}

/* Overlay escuro para garantir leitura */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Transparência removida */
    z-index: 2;
}

/* Partículas */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Content Text */
.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
    display: flex;
    justify-content: flex-start; /* Conteúdo na esquerda */
}

.hero-text-wrapper {
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Efeito elegante no Logo do Hero (Texto) */
.hero-text-logo {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 8px rgba(196, 172, 144, 0.4),
                 0 0 20px rgba(196, 172, 144, 0.15),
                 2px 2px 8px rgba(0,0,0,0.7);
    background: linear-gradient(135deg, #c4ac90 0%, #e8d5b8 45%, #c4ac90 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.headline {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 600; /* Um pouco mais de peso para destacar */
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* Botões */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-darker);
    box-shadow: 0 4px 15px rgba(196, 172, 144, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 172, 144, 0.6);
    background-color: #d1bda5;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-text-light);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Shape Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 4;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--color-light); /* Cor de fundo da próxima seção */
}

/* Responsividade Hero */
@media (max-width: 900px) {
    .headline { font-size: 1.2rem; }
    .hero-text-logo { font-size: 2rem; letter-spacing: 2px; }
    .hero-overlay { background: transparent; }
    .hero { justify-content: center; }
    .hero-text-wrapper { align-items: center; text-align: center; margin-top: 60px; }
    .hero-buttons { justify-content: center; }
    .nav-links { display: none; }
}

/* ================= SEÇÃO CONFIANÇA ================= */
.trust-section {
    position: relative;
    background-color: var(--color-light);
    padding: 100px 5% 140px;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: rgba(196, 172, 144, 0.15);
    color: var(--color-primary);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(196, 172, 144, 0.3);
}

.section-badge-light {
    background: rgba(196, 172, 144, 0.1);
    border-color: rgba(196, 172, 144, 0.25);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title-light { color: var(--color-text-light); }

.highlight {
    color: var(--color-primary);
    position: relative;
}

.section-description {
    font-size: 1.05rem;
    color: #685C55;
    line-height: 1.7;
    margin-bottom: 35px;
}

.section-desc-light { color: rgba(255,255,255,0.75); }

/* Stats Grid */
.trust-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(196, 172, 144, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.stat-icon {
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.stat-number::after { content: '+'; color: var(--color-primary); }

.stat-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
}

.stat-label {
    font-size: 0.85rem;
    color: #685C55;
    font-weight: 400;
}

/* Gallery Mosaic */
.trust-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 14px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gi-1 { grid-row: 1 / 3; border-radius: 20px; }
.gi-2 { border-radius: 20px 8px 8px 8px; }
.gi-3 { border-radius: 8px 8px 8px 20px; }
.gi-4 { display: none; }

/* Feature Cards - Diferenciais */
.features-grid {
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0 0;
}

.feature-card {
    background: white;
    border-radius: 18px;
    padding: 30px 22px 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(196, 172, 144, 0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    cursor: default;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #854D49);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(66, 48, 44, 0.15);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(196, 172, 144, 0.15), rgba(133, 77, 73, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-primary);
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--color-primary), #854D49);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(196, 172, 144, 0.4);
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.85rem;
    color: #685C55;
    line-height: 1.5;
    font-weight: 400;
}

/* Shape Divider Trust */
.shape-divider-trust {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.shape-divider-trust svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotate(180deg);
}

.shape-fill-dark { fill: var(--color-darker); }

/* ================= SEÇÃO SERVIÇOS ================= */
.services-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-darker) 0%, #352723 100%);
    padding: 120px 5% 140px;
    overflow: hidden;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 3D Carousel */
.carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.carousel-3d {
    width: 100%;
    height: 380px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-scene {
    width: 220px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card {
    position: absolute;
    width: 220px;
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    backface-visibility: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transition: filter 0.6s ease, opacity 0.6s ease;
    cursor: pointer;
}

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

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-info p {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(196, 172, 144, 0.4);
    background: rgba(196, 172, 144, 0.1);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: var(--color-darker);
    box-shadow: 0 0 20px rgba(196, 172, 144, 0.4);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(196, 172, 144, 0.3);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(196, 172, 144, 0.5);
    transform: scale(1.2);
}

/* Services Content */
.services-content { color: white; }

.services-list {
    list-style: none;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-list li {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-check {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Shape Divider Services */
.shape-divider-services {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    transform: rotate(180deg);
}

.shape-divider-services svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.shape-fill-light { fill: var(--color-light); }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ================= SEÇÃO FOTOS ESPALHADAS ================= */
.scattered-gallery {
    position: relative;
    height: 700px;
    background-color: var(--color-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.gallery-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    z-index: 1;
}

.scattered-slot {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.scattered-slot img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 1.8s ease-in-out, transform 12s linear;
}

.scattered-slot img.hidden {
    opacity: 0;
}

.scattered-slot img.active {
    opacity: 1;
    transform: scale(1.1);
}

/* Posições bagunçadas: cada slot ocupa áreas diferentes do grid */
.slot-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.slot-2 { grid-column: 3 / 4; grid-row: 1 / 3; }
.slot-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.slot-4 { grid-column: 1 / 2; grid-row: 2 / 3; }

/* Gradientes por cima das imagens */
.gallery-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(42, 31, 28, 0.7) 0%, rgba(42, 31, 28, 0.1) 30%, rgba(42, 31, 28, 0.1) 70%, rgba(42, 31, 28, 0.75) 100%),
        linear-gradient(90deg, rgba(196, 172, 144, 0.2) 0%, transparent 50%, rgba(86, 114, 125, 0.2) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(42, 31, 28, 0.5) 100%);
}

.gallery-text-center {
    position: relative;
    z-index: 3;
    text-align: center;
    background: rgba(42, 31, 28, 0.6);
    padding: 40px 70px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 172, 144, 0.4);
}

.gallery-title {
    font-size: 2.8rem;
    color: var(--color-text-light);
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.4);
}

.gallery-text-center p {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

/* Shape Divider Gallery */
.shape-divider-gallery {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
    transform: rotate(180deg);
}

.shape-divider-gallery svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* ================= SEÇÃO COMO FUNCIONA ================= */
.how-it-works {
    position: relative;
    background-color: var(--color-light);
    padding: 120px 5% 150px;
    z-index: 1;
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 12%;
    right: 12%;
    height: 3px;
    background-image: linear-gradient(90deg, var(--color-primary) 50%, transparent 50%);
    background-size: 15px 3px;
    z-index: 0;
    opacity: 0.4;
}

.step-card {
    background: white;
    padding: 40px 25px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(196, 172, 144, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--color-darker);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary), #a68f74);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon-3d {
    box-shadow: inset 2px 2px 5px rgba(255,255,255,0.4), inset -3px -3px 5px rgba(0,0,0,0.2), 4px 6px 12px rgba(0,0,0,0.2);
    transform: perspective(200px) translateZ(5px);
    transition: transform 0.3s ease;
}

.step-card:hover .icon-3d {
    transform: perspective(200px) translateZ(15px) scale(1.08);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.95rem;
    color: #685C55;
    line-height: 1.5;
}

/* Shape Divider How it works */
.shape-divider-how {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider-how svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.shape-fill-secondary {
    fill: var(--color-secondary);
}

/* ================= SEÇÃO CTA FORTE ================= */
.cta-section {
    position: relative;
    background-color: var(--color-secondary);
    padding: 120px 5% 150px;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content {
    color: white;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.cta-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-cta-whatsapp, .btn-cta-instagram {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    width: fit-content;
}

.btn-cta-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.btn-cta-whatsapp:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.btn-cta-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 6px 15px rgba(220, 39, 67, 0.3);
}

.btn-cta-instagram:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(220, 39, 67, 0.4);
}

.cta-map {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.1);
}

.shape-divider-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider-footer svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.shape-fill-darker {
    fill: var(--color-darker);
}

/* ================= FOOTER ================= */
.footer {
    background-color: var(--color-darker);
    color: white;
    padding: 80px 5% 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(196, 172, 144, 0.3));
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= FLOATING WHATSAPP ================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #d1b795; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(124, 70, 64, 0.4), inset -2px -2px 6px rgba(0,0,0,0.1), inset 2px 2px 6px rgba(255,255,255,0.4);
    animation: rotate360Y 4s linear infinite;
    transform-style: preserve-3d;
}

@keyframes rotate360Y {
    0% { transform: perspective(400px) rotateY(0deg); }
    100% { transform: perspective(400px) rotateY(360deg); }
}

/* ================= RESPONSIVIDADE GERAL ================= */
@media (max-width: 900px) {
    /* Menu Hamburger Mobile */
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: linear-gradient(160deg, rgba(42, 31, 28, 0.98) 0%, rgba(66, 48, 44, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 45;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transform: scale(1.05);
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-links.open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    
    /* Links entram com stagger animation */
    .nav-links li {
        opacity: 0;
        transform: translateY(25px);
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-links.open li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
    .nav-links.open li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
    .nav-links.open li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
    .nav-links.open li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.34s; }
    
    .nav-links a {
        font-size: 1.6rem;
        font-weight: 600;
        padding: 18px 0;
        position: relative;
        letter-spacing: 1px;
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 40px;
        height: 2px;
        background: var(--color-primary);
        border-radius: 10px;
        transition: transform 0.3s ease;
    }
    
    .nav-links a:hover::after,
    .nav-links a.active::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .nav-cta {
        font-size: 1.2rem !important;
        margin-top: 10px;
    }
    
    /* Decoração do menu mobile */
    .nav-links::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(196, 172, 144, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .trust-container { grid-template-columns: 1fr; gap: 40px; }
    .trust-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
    .gi-1 { grid-row: auto; }
    .section-title { font-size: 1.8rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .features-grid .feature-card:last-child { grid-column: 1 / -1; max-width: 300px; margin: 0 auto; }
    .services-container { grid-template-columns: 1fr; gap: 40px; }
    .carousel-3d { height: 320px; }
    .carousel-scene { width: 180px; height: 250px; }
    .carousel-card { width: 180px; height: 250px; }
    .services-content { text-align: center; }
    .services-list { align-items: center; }
    
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 50px 20px; }
    .steps-grid::before { display: none; }
    .cta-container { grid-template-columns: 1fr; text-align: center; }
    .cta-actions { align-items: center; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-contact p { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; }
    
    .scattered-slot { width: 180px; height: 260px; }
    .slot-1 { top: 2%; left: -5%; }
    .slot-2 { bottom: 5%; left: 15%; }
    .slot-3 { top: 5%; right: 15%; }
    .slot-4 { bottom: 2%; right: -5%; }
    .gallery-text-center { padding: 25px 40px; }
    .gallery-title { font-size: 2.2rem; }
}

@media (max-width: 500px) {
    .steps-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 2.2rem; }
    
    .scattered-gallery { height: 450px; }
    .scattered-slot { width: 130px; height: 200px; }
    .slot-1 { top: 5%; left: -10%; }
    .slot-2 { bottom: 10%; left: 5%; }
    .slot-3 { top: 10%; right: 5%; }
    .slot-4 { bottom: 5%; right: -10%; }
    .gallery-text-center { padding: 20px; width: 85%; }
    .gallery-title { font-size: 1.8rem; }
}

/* ================= NAVBAR ACTIVE STATE ================= */
.nav-links a.active {
    color: var(--color-primary);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 10px;
}

/* ================= PAGE HERO (Sobre / Serviços) ================= */
.page-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(42,31,28,0.7) 0%, rgba(42,31,28,0.5) 50%, rgba(42,31,28,0.85) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 5%;
}

.page-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--color-text-light);
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ================= SOBRE - HISTÓRIA ================= */
.about-story {
    padding: 120px 5% 100px;
    background-color: var(--color-light);
}

.about-story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.about-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-story-image:hover img {
    transform: scale(1.05);
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-darker);
    padding: 18px 22px;
    border-radius: 20px;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(196,172,144,0.4);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-story-text .section-description {
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    color: var(--color-secondary);
    font-style: italic;
    font-weight: 600;
}

.signature-line {
    width: 50px;
    height: 2px;
    background: var(--color-primary);
}

/* ================= SOBRE - VALORES ================= */
.about-values {
    position: relative;
    background-color: var(--color-dark);
    padding: 120px 5% 160px;
}

.about-values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(196,172,144,0.15);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(5px);
}

.value-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    border-color: rgba(196,172,144,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #d4b896);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-darker);
    box-shadow: 0 8px 25px rgba(196,172,144,0.3);
}

.value-card h3 {
    color: var(--color-text-light);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================= SOBRE - NÚMEROS ================= */
.about-numbers {
    background-color: var(--color-dark);
    padding: 0 5% 100px;
}

.about-numbers-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: linear-gradient(135deg, rgba(196,172,144,0.15), rgba(196,172,144,0.05));
    border: 1px solid rgba(196,172,144,0.2);
    border-radius: 24px;
    padding: 50px 30px;
    backdrop-filter: blur(10px);
}

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

.number-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.number-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.number-label {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 400;
}

/* ================= SOBRE - GALERIA MASONRY ================= */
.about-gallery-section {
    position: relative;
    background-color: var(--color-light);
    padding: 120px 5% 160px;
}

.about-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
    margin-top: 60px;
}

.masonry-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item.mi-tall {
    grid-row: span 2;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(42,31,28,0.85), transparent);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.masonry-item:hover .masonry-caption {
    transform: translateY(0);
}

/* ================= SOBRE / SERVIÇOS - CTA ================= */
.about-cta {
    background-color: var(--color-darker);
    padding: 100px 5%;
    text-align: center;
}

.about-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 2.6rem;
    color: var(--color-text-light);
    font-weight: 800;
    margin-bottom: 16px;
}

.about-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.about-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================= SERVIÇOS - BLOCOS DETALHADOS ================= */
.services-detail {
    position: relative;
    background-color: var(--color-light);
    padding: 120px 5% 160px;
}

.services-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-block-reverse {
    direction: rtl;
}

.service-block-reverse > * {
    direction: ltr;
}

.service-block-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    position: relative;
}

.service-block-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-block-image:hover img {
    transform: scale(1.05);
}

.service-block-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(196,172,144,0.15);
    line-height: 1;
    margin-bottom: -10px;
}

.service-block-content h2 {
    font-size: 2rem;
    color: var(--color-dark);
    font-weight: 800;
    margin-bottom: 16px;
}

.service-block-content p {
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-features li {
    color: var(--color-dark);
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* ================= RESPONSIVIDADE PÁGINAS INTERNAS ================= */
@media (max-width: 900px) {
    .page-hero-title { font-size: 2.4rem; }
    .about-story-container { grid-template-columns: 1fr; gap: 50px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .about-numbers-container { grid-template-columns: 1fr 1fr; gap: 40px; }
    .about-masonry { grid-template-columns: 1fr 1fr; }
    .masonry-item.mi-tall { grid-row: span 1; }
    .service-block { grid-template-columns: 1fr; }
    .service-block-reverse { direction: ltr; }
    .service-block-image img { height: 280px; }
    .service-features { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .page-hero { min-height: 400px; }
    .page-hero-title { font-size: 1.8rem; }
    .values-grid { grid-template-columns: 1fr; }
    .about-numbers-container { grid-template-columns: 1fr 1fr; padding: 30px 20px; }
    .number-value { font-size: 2.5rem; }
    .about-masonry { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .about-cta h2 { font-size: 1.8rem; }
    .service-block-number { font-size: 3.5rem; }
}

