/* ---------- Tokens & Paleta "Warm Neutral" Agradável ---------- */
@property --finish {
    syntax: '<color>';
    inherits: true;
    initial-value: #B98A55;
}

:root {
    /* Paleta Bege Suave e Aconchegante (Estilo Casa de Luxo) */
    --bg-color: #F4F2EE; /* Um bege acinzentado muito suave */
    --surface-color: #FFFFFF;
    --text-main: #2A2826; /* Preto aquecido, mais suave aos olhos */
    --text-muted: #736E6A; 
    --border-light: rgba(42, 40, 38, 0.1);
    
    --oak: #B48C5F; 
    --ink: #2A2826;

    --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --grain:
        repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 12px);

    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --light-x: 50%;
    --light-y: 50%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 3px solid #9c6c37; outline-offset: 4px; }

/* ---------- SPLASH SCREEN 3D ---------- */
.splash-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color); z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}
.splash-screen.hide { transform: translateY(-100%); }

.splash-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.splash-logo {
    width: min(82vw, 500px); max-height: 160px; object-fit: contain;
    opacity: 0; transform: translateY(12px) scale(0.96);
    filter: drop-shadow(0 12px 18px rgba(20, 20, 20, 0.12));
    animation: splash-logo-in 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}
@keyframes splash-logo-in { to { opacity: 1; transform: translateY(0) scale(1); } }
.splash-loading {
    width: min(220px, 70vw); display: grid; gap: 10px;
    color: var(--text-muted); font-size: 12px; text-align: center;
    opacity: 0; animation: fade-up 0.55s ease 0.3s forwards;
}
.loading-track { position: relative; display: block; height: 2px; overflow: hidden; background: rgba(42,40,38,0.14); }
.loading-progress { position: absolute; inset: 0 auto 0 0; width: 36%; background: var(--text-main); animation: loading-sweep 1.1s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
@keyframes loading-sweep { from { transform: translateX(-110%); } to { transform: translateX(320%); } }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* ---------- Botões Tradicionais Premium ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: 999px;
    background: var(--ink); color: #FFF;
    font-weight: 600; font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none; cursor: pointer;
    border: none;
}

.btn:hover { 
    background: #000; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-small { 
    padding: 10px 24px; font-size: 14px; 
}

/* Correção do botão "Abrir portas" (Ghost Button) */
.btn-ghost { 
    background: #FFFFFF; 
    color: var(--text-main); 
    box-shadow: inset 0 0 0 1.5px var(--text-main), 0 4px 10px rgba(0,0,0,0.03); 
}

.btn-ghost:hover { 
    background: var(--text-main); 
    color: #FFFFFF; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* ---------- Navegação ---------- */
.nav {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    z-index: 50; width: min(1100px, calc(100% - 40px));
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 10px 10px 10px 28px; border-radius: 999px;
    background: rgba(244, 242, 238, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    transition: background 0.4s, box-shadow 0.4s, width 0.4s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.95); box-shadow: 0 10px 40px rgba(0,0,0,0.05); width: min(1000px, calc(100% - 40px)); border: 1px solid transparent; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-img { height: 24px; filter: brightness(0); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.04em; color: var(--text-main); }
.nav-links { display: flex; gap: 36px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--text-muted); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-main); }
.menu-toggle { display: none; }

/* ---------- NOVA HERO COVER ---------- */
.hero-cover {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-cover-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
}
.hero-cover-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(244, 242, 238, 0.97) 0%, rgba(244, 242, 238, 0.82) 47%, rgba(244, 242, 238, 0.22) 100%);
}
.hero-cover-content {
    position: relative; z-index: 1; max-width: 1300px; width: 100%; padding: 0 24px;
}
.hero-title {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(50px, 8vw, 110px);
    line-height: 0.95; letter-spacing: -0.04em; color: var(--text-main); margin-bottom: 24px;
}
.typewriter-line { display: block; }
.typewriter-char {
    display: inline-block;
    white-space: pre;
    opacity: 0;
    animation: typewriter-appear 0.01s linear forwards;
}
.typewriter-caret {
    display: inline-block;
    width: 0.055em;
    height: 0.82em;
    margin-left: 0.06em;
    vertical-align: -0.04em;
    background: currentColor;
    opacity: 0;
    animation: typewriter-caret-blink 0.75s steps(2, start) infinite;
}
@keyframes typewriter-appear { to { opacity: 1; } }
@keyframes typewriter-caret-blink { 50% { opacity: 1; } }
.hero-desc {
    font-size: clamp(18px, 2vw, 24px); color: var(--text-muted); max-width: 500px; line-height: 1.5; margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.reveal-fade { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body:not(.is-locked) .reveal-fade { opacity: 1; transform: translateY(0); }

/* ---------- DETALHES ---------- */
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.03em; max-width: 16ch; }

.details { padding: 120px 24px; }
.details-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.detail-list { margin-top: 60px; }
.detail { border-top: 1px solid var(--border-light); }
.detail:last-child { border-bottom: 1px solid var(--border-light); }
.detail-btn { width: 100%; text-align: left; padding: 28px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; color: var(--text-muted); transition: color 0.3s; }
.detail-btn:hover { color: var(--text-main); }
.detail.is-active .detail-btn { color: var(--text-main); padding-bottom: 12px; }
.detail-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.detail.is-active .detail-body { grid-template-rows: 1fr; }
.detail-body p { overflow: hidden; max-width: 48ch; color: var(--text-muted); font-size: 17px; }
.detail.is-active .detail-body p { padding-bottom: 30px; }

.media { position: sticky; top: 120px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #E6E4E0; box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 0.8s ease, transform 1.6s var(--ease); }
.media img.is-active { opacity: 1; transform: scale(1); }

/* ---------- SECÇÃO DO SIMULADOR (Armário 3D Movidado) ---------- */
.simulator-section { padding: 100px 24px; background: var(--surface-color); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.simulator-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.simulator-sub { margin-top: 24px; max-width: 42ch; font-size: 19px; color: var(--text-muted); line-height: 1.6; }
.finish-picker { margin-top: 40px; }
.finish { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch {
    min-width: 150px; min-height: 48px; padding: 0 18px; border-radius: 999px;
    background: var(--surface-color); color: var(--text-main);
    border: 1px solid var(--border-light); box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600;
}
.swatch span { white-space: nowrap; }
.swatch:hover { transform: translateY(-1px); }
.swatch[aria-checked="true"], .swatch.is-active {
    box-shadow: 0 0 0 3px var(--surface-color), 0 0 0 5px var(--text-main); border-color: var(--text-main);
    transform: translateY(-1px);
}
.finish-name { margin-top: 18px; font-size: 16px; color: var(--text-muted); }
.finish-name strong { color: var(--text-main); font-weight: 600; }
.simulator-actions { margin-top: 30px; }

/* Armário 3D CSS */
.hero-stage { display: flex; justify-content: center; padding: 20px 20px 50px; perspective: 2000px; cursor: grab; }
.hero-stage:active { cursor: grabbing; }
.ambient-shadow {
    position: absolute; bottom: -60px; left: -10%; right: -10%; height: 80px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 60%);
    filter: blur(15px); transform: rotateX(70deg) translateZ(-80px);
}
.cab-wrap { --finish: #B98A55; position: relative; width: min(400px, 100%); aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: --finish 0.6s ease; }
.cab { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.1s linear; }
.module { position: absolute; inset: 0; display: none; transform-style: preserve-3d; }
.module.is-active { display: block; }
.variant-wardrobe .module-wardrobe,
.variant-drawers .module-drawers,
.variant-upper .module-upper { display: block; }

.surface { background: var(--grain), linear-gradient(180deg, rgba(255,255,255,0.1), rgba(0,0,0,0.05)), var(--finish); position: relative; overflow: hidden; }
.surface::after { content: ""; position: absolute; inset: -100%; background: radial-gradient(circle at var(--light-x) var(--light-y), rgba(255,255,255,0.3) 0%, transparent 50%); mix-blend-mode: overlay; pointer-events: none; transition: background 0.1s linear; }

.shell { position: absolute; inset: 0; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.inner { position: absolute; inset: 12px; transform-style: preserve-3d; }
.upper { position: absolute; inset: 0 0 auto 0; height: 76%; transform-style: preserve-3d; }
.cavity { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(180deg, #333, #222); box-shadow: inset 0 10px 30px rgba(0,0,0,0.4); }
.cavity::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 4px); width: 8px; background: var(--finish); filter: brightness(0.7); }
.led { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3; background: #fff0d4; box-shadow: 0 10px 40px 10px rgba(255, 214, 150, 0.6); opacity: 0; transition: opacity 0.6s ease; }
.is-open .led { opacity: 1; transition-delay: 0.3s; }

.shelves { display: flex; flex-direction: column; position: relative; z-index: 1; }
.slot { flex: 1; display: flex; align-items: flex-end; gap: 4px; padding: 0 10px; border-bottom: 7px solid var(--finish); box-shadow: 0 -5px 15px rgba(0,0,0,0.3); }
.box { display: block; width: 26%; border-radius: 2px; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
.b1 { height: 46%; background: #A3AFA2; } .b2 { height: 30%; background: #D6BA90; }
.b3 { height: 58%; background: #5d6b5f; } .b4 { height: 38%; background: #8E7A63; } .b5 { height: 24%; background: #a9b5a6; }
.hang { position: relative; z-index: 1; display: flex; gap: 4px; align-items: flex-start; padding: 20px 10px 0 12px; }
.hang::before { content: ""; position: absolute; top: 14px; left: 6px; right: 6px; height: 4px; border-radius: 2px; background: linear-gradient(180deg, #b8b3a6, #7a776e); }
.g { display: block; flex: 1; border-radius: 2px 2px 8px 8px; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
.g1 { height: 62%; background: #D6BA90; } .g2 { height: 52%; background: #5d6b5f; }
.g3 { height: 68%; background: #A3AFA2; } .g4 { height: 56%; background: #8E7A63; }
.g5 { height: 64%; background: #2c3a30; } .g6 { height: 48%; background: #a9b5a6; }

.door { position: absolute; top: 0; bottom: 0; width: calc(50% - 1.5px); transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(0.25, 1, 0.25, 1); }
.door { position: absolute; top: 0; bottom: 0; width: calc(50% - 1.5px); transform-style: preserve-3d; transition: transform 0.95s cubic-bezier(0.19, 1, 0.22, 1); }
.door-l { left: 0; transform-origin: left center; }
.door-r { right: 0; transform-origin: right center; transition-delay: 0.1s; }
.variant-wardrobe.is-open .door-l { transform: rotateY(-115deg); }
.variant-wardrobe.is-open .door-r { transform: rotateY(115deg); }
.cab.variant-wardrobe .cavity {
    opacity: 0; visibility: hidden;
    transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}
.cab.variant-wardrobe.is-open .cavity {
    opacity: 1; visibility: visible;
    transition: opacity 0.42s ease 0.18s, visibility 0s;
}
.face { position: absolute; inset: 0; border-radius: 2px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); }
.door .front { transform: translateZ(4px); }
.door .back { transform: rotateY(180deg) translateZ(4px); filter: brightness(0.85); }
.handle { position: absolute; top: 42%; height: 18%; width: 5px; border-radius: 4px; background: linear-gradient(90deg, #e0e0e0, #a0a0a0); box-shadow: 1px 0 4px rgba(0,0,0,0.2); }
.door-l .handle { right: 14px; } .door-r .handle { left: 14px; }

.lower { position: absolute; left: 0; right: 0; top: calc(76% + 8px); bottom: 0; display: flex; flex-direction: column; gap: 8px; transform-style: preserve-3d; }
.drawer { flex: 1; position: relative; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); transition: transform 1s var(--ease) 0.4s; }
.drawer::after { content: ""; position: absolute; top: 50%; left: 32%; right: 32%; height: 4px; margin-top: -2px; border-radius: 2px; background: linear-gradient(180deg, #d0d0d0, #a0a0a0); }
.variant-wardrobe.is-open .drawer:nth-child(1) { transform: translateZ(40px); }
.variant-wardrobe.is-open .drawer:nth-child(2) { transform: translateZ(20px); transition-delay: 0.55s; }

.module-drawers { padding: 18px 18px 14px; }
.drawer-stack {
    position: absolute; inset: 7% 12% 8%; display: flex; flex-direction: column; gap: 10px;
    border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
    transform-style: preserve-3d; perspective: 1000px; padding: 8px;
}
.stack-drawer {
    position: relative; flex: 1; border-radius: 5px; background: var(--grain), linear-gradient(180deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), var(--finish);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 5px 12px rgba(38,31,23,0.12);
    transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.85s ease;
    transform: translateZ(0); transform-style: preserve-3d;
}
.handle-small {
    position: absolute; left: 50%; top: 50%; width: 55%; height: 5px; border-radius: 20px; transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.4); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.drawer-floor {
    position: absolute; left: 12%; right: 12%; bottom: 10px; height: 12px; border-radius: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.2));
}

.variant-drawers.is-open .stack-drawer:nth-child(1) { transform: translateZ(100px); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 20px 28px rgba(38,31,23,0.22); }
.variant-drawers.is-open .stack-drawer:nth-child(2) { transform: translateZ(82px); transition-delay: 0.1s; }
.variant-drawers.is-open .stack-drawer:nth-child(3) { transform: translateZ(64px); transition-delay: 0.2s; }
.variant-drawers.is-open .stack-drawer:nth-child(4) { transform: translateZ(46px); transition-delay: 0.3s; }

.module-upper { padding: 24px 18px 14px; }
.upper-suite {
    position: absolute; inset: 18% 5% 28%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    border-radius: 8px; background: var(--finish); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 24px 36px rgba(38,31,23,0.14); padding: 7px;
    transform-style: preserve-3d; perspective: 1000px;
}
.upper-bay { position: relative; min-width: 0; transform-style: preserve-3d; }
.upper-interior {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-evenly;
    padding: 10px; border-radius: 4px; background: linear-gradient(145deg, #51483d, #2d2924);
    box-shadow: inset 0 0 16px rgba(0,0,0,0.35);
}
.upper-interior span { display: block; height: 3px; background: rgba(232,219,196,0.7); box-shadow: 0 3px 5px rgba(0,0,0,0.25); }
.upper-cab {
    position: absolute; top: 0; bottom: 0; width: 50%; border-radius: 4px; background: var(--grain), linear-gradient(145deg, rgba(255,255,255,0.18), rgba(0,0,0,0.08)), var(--finish);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 5px 12px rgba(38,31,23,0.14);
    transform-style: preserve-3d; backface-visibility: hidden;
    transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.85s ease;
}
.upper-door-left { left: 0; transform-origin: left center; }
.upper-door-right { right: 0; transform-origin: right center; }
.upper-handle { position: absolute; top: 50%; width: 4px; height: 30px; border-radius: 4px; transform: translateY(-50%); background: linear-gradient(90deg, #e9e4da, #9f978a); box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.upper-door-left .upper-handle { right: 8px; }
.upper-door-right .upper-handle { left: 8px; }

.variant-upper.is-open .upper-door-left { transform: rotateY(-52deg) translateZ(18px); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 18px 24px rgba(38,31,23,0.2); }
.variant-upper.is-open .upper-door-right { transform: rotateY(52deg) translateZ(18px); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 18px 24px rgba(38,31,23,0.2); }
.variant-upper.is-open .upper-bay:nth-child(2) .upper-cab { transition-delay: 0.12s; }
.variant-upper.is-open .upper-bay:nth-child(3) .upper-cab { transition-delay: 0.24s; }

.is-assembling .part { opacity: 0; }
.is-assembling .shell { transform: scale(0.9) translateZ(-100px); opacity: 0; }
.is-assembling .door-l { transform: translateX(-50px) rotateY(-40deg); }
.is-assembling .door-r { transform: translateX(50px) rotateY(40deg); }
.is-assembling .drawer { transform: translateZ(100px); }
.is-assembling .shelves .slot { transform: translateY(-30px); }

body:not(.is-assembling) .shell { transition: transform 1.5s var(--ease), opacity 1s; }
body:not(.is-assembling) .cavity { transition: opacity 1s ease 0.5s; }
body:not(.is-assembling) .shelves .slot { transition: transform 1s var(--ease), opacity 1s; }
body:not(.is-assembling) .drawer { transition: transform 1.5s var(--ease), opacity 1s; }

/* Cotas de engenharia */
.dim { position: absolute; color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; pointer-events: none; }
.dim span { position: absolute; background: var(--surface-color); padding: 0 14px; white-space: nowrap; }
.dim-h { left: 0; right: 0; bottom: -50px; height: 12px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.dim-h::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; opacity: 0.3; }
.dim-h span { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dim-v { top: 0; bottom: 0; left: -40px; width: 12px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.dim-v::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid currentColor; opacity: 0.3; }
.dim-v span { left: 50%; top: 50%; writing-mode: vertical-rl; transform: translate(-50%, -50%) rotate(180deg); padding: 14px 0; }

/* ---------- PROCESSO ---------- */
.process { padding: 120px 24px; }
.process-inner { max-width: 1300px; margin: 0 auto; }
.steps { list-style: none; margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { position: relative; padding-top: 32px; }
.step::before, .step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; }
.step::before { background: var(--border-light); }
.step::after { background: var(--text-main); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.step.is-reached::after { transform: scaleX(1); }
.step-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--border-light); transition: color 0.8s; }
.step.is-reached .step-n { color: var(--text-main); }
.step h3 { margin-top: 24px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.step p { margin-top: 12px; color: var(--text-muted); max-width: 32ch; font-size: 16px; }

/* ---------- CTA ---------- */
.cta { padding: 24px; }
.cta-card { background: var(--surface-color); border: 1px solid var(--border-light); color: var(--text-main); border-radius: 24px; padding: 100px 24px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.03); }
.cta-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 7vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.cta-sub { margin: 24px auto 0; max-width: 40ch; font-size: 19px; color: var(--text-muted); }
.cta-choice { margin: 16px 0 40px; font-size: 16px; color: var(--text-muted); }

/* ---------- FOOTER ---------- */
.footer { padding: 60px 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; border-top: 1px solid var(--border-light); background: var(--bg-color); }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: 0.1em; color: var(--text-main); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-weight: 600; font-size: 15px; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--text-main); }
.copyright { color: var(--text-muted); font-size: 14px; margin-top: 16px; }

/* ---------- AMBIENTES E CONTEUDO EXTRA ---------- */
.section-kicker { margin-bottom: 18px; color: var(--text-muted); font-size: 12px; font-weight: 700; }
.inspiration-section { padding: 110px 24px; background: var(--bg-color); }
.inspiration-inner, .planning-inner, .faq-inner { max-width: 1300px; margin: 0 auto; }
.inspiration-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 44px; }
.inspiration-heading .h2 { max-width: 18ch; }
.inspiration-heading > p { max-width: 38ch; color: var(--text-muted); font-size: 17px; }
.inspiration-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 25vw)); gap: 14px; }
.inspiration-item { position: relative; min-height: 220px; overflow: hidden; border-radius: 6px; background: #dedbd4; isolation: isolate; }
.inspiration-item:first-child { grid-row: 1 / 3; }
.inspiration-item:last-child { grid-column: 2 / 4; }
.inspiration-item::after { content: ""; position: absolute; inset: 35% 0 0; z-index: 0; background: linear-gradient(transparent, rgba(17,17,17,0.72)); }
.inspiration-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.inspiration-item:hover img { transform: scale(1.035); }
.inspiration-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; }
.inspiration-caption span { font-size: 11px; font-weight: 600; }
.inspiration-caption h3 { margin-top: 6px; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; }

.planning-section { padding: 110px 24px; background: var(--surface-color); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.planning-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; align-items: start; }
.planning-intro > p:not(.section-kicker) { max-width: 42ch; margin-top: 22px; color: var(--text-muted); font-size: 18px; }
.planning-intro .btn { margin-top: 30px; }
.planning-points { border-top: 1px solid var(--border-light); }
.planning-point { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.planning-point > span { color: #aaa49c; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.planning-point h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.planning-point p { max-width: 48ch; margin-top: 8px; color: var(--text-muted); font-size: 16px; }

.faq-section { padding: 110px 24px; background: var(--bg-color); }
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 100px; align-items: start; }
.faq-intro > p:not(.section-kicker) { max-width: 40ch; margin-top: 20px; color: var(--text-muted); font-size: 17px; }
.faq-contact { display: inline-block; margin-top: 24px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 600; }
.faq-list { border-top: 1px solid var(--border-light); }
.faq-list details { border-bottom: 1px solid var(--border-light); }
.faq-list summary { position: relative; padding: 22px 36px 22px 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; color: var(--text-muted); font-family: var(--font-body); font-size: 24px; font-weight: 400; transform: translateY(-50%); transition: transform 0.25s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { max-width: 58ch; padding: 0 30px 22px 0; color: var(--text-muted); font-size: 16px; }

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 960px) {
    .hero-title { margin-top: 60px; }
    .details-grid { grid-template-columns: 1fr; gap: 60px; }
    .media { position: relative; top: 0; aspect-ratio: 4 / 3; border-radius: 16px; }
    .simulator-grid { grid-template-columns: 1fr; gap: 50px; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
    .inspiration-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 230px 230px; }
    .planning-inner, .faq-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 600px) {
    .nav { padding-left: 20px; width: calc(100% - 24px) !important; top: 12px; gap: 12px; }
    .brand-img { height: 21px; }
    .nav .btn-small { padding: 10px 15px; font-size: 13px; }
    .menu-toggle { display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-light); }
    .menu-toggle > span:not(.sr-only) { display: block; width: 18px; height: 1.5px; background: var(--text-main); transition: transform 0.25s ease; }
    .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: grid; gap: 2px; padding: 10px; border: 1px solid var(--border-light); border-radius: 18px; background: rgba(255,255,255,0.98); box-shadow: 0 16px 40px rgba(42,40,38,0.12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
    .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
    .nav-links a:hover { background: var(--bg-color); }
    .nav.is-menu-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav.is-menu-open .menu-toggle > span:nth-child(2) { transform: translateY(3.25px) rotate(45deg); }
    .nav.is-menu-open .menu-toggle > span:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }
    .dim-v { display: none; }
    .steps { grid-template-columns: 1fr; }
    .inspiration-heading { display: block; }
    .inspiration-heading > p { margin-top: 18px; }
    .inspiration-grid { grid-template-rows: 340px 210px 210px; gap: 10px; }
    .inspiration-item:first-child { grid-column: 1 / 3; grid-row: auto; }
    .inspiration-item:last-child { grid-column: 1 / 3; }
    .inspiration-caption { left: 16px; right: 16px; bottom: 16px; }
    .planning-inner, .faq-inner { grid-template-columns: 1fr; gap: 44px; }
    .planning-intro .btn { width: auto; }
    .cta-card { padding: 60px 20px; }
    .btn { width: 100%; } .btn-small { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .splash-screen { display: none; }
    body.is-locked { overflow: auto; height: auto; }
}
