/* ==========================================================================
   FLÁVIO MÓVEIS PLANEJADOS — Design System v4
   Fonte: Poppins | Identidade: Azul Marinho + Laranja Vibrante
   Tábua de Madeira Interativa | Diferenciais Expansíveis
   ========================================================================== */

/* === 1. DESIGN TOKENS === */
:root {
  --navy-dark: #0D1526;
  --navy: #142036;
  --navy-mid: #1B2B47;
  --navy-light: #24385C;
  --orange: #E8742A;
  --orange-hover: #D0621F;
  --orange-light: #F9C9A3;
  --orange-glow: rgba(232, 116, 42, 0.14);
  --cream: #FAF8F5;
  --cream-dark: #F2EFE9;
  --text-main: #1E232D;
  --text-muted: rgba(30, 35, 45, 0.65);
  --text-light: rgba(255, 255, 255, 0.88);
  --text-dim: rgba(255, 255, 255, 0.55);
  --radius-pill: 100px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 4px 15px rgba(13, 21, 38, 0.05);
  --shadow-md: 0 8px 30px rgba(13, 21, 38, 0.08);
  --shadow-lg: 0 16px 45px rgba(13, 21, 38, 0.14);
}

/* === 2. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  background-color: var(--cream);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

::selection { background-color: var(--orange); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* Accessibility */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  padding: 0.75rem 1.5rem; background: var(--orange); color: #fff;
  font-weight: 600; z-index: 200; border-radius: var(--radius-md);
  transition: top 0.3s;
}
.skip-link:focus { top: 0.5rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0; white-space: nowrap;
}

/* Container */
.container {
  max-width: 78rem; margin-left: auto; margin-right: auto;
  padding-left: 1.25rem; padding-right: 1.25rem;
}
.container--narrow { max-width: 52rem; }
@media (min-width: 1024px) { .container { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* Section Headers & Labels */
.section { padding: 4.5rem 0; }
.section--light { background-color: var(--cream); }
.section--dark { background-color: var(--navy-dark); color: #fff; }
.section--alt { background-color: var(--cream-dark); }
@media (min-width: 1024px) { .section { padding: 6.5rem 0; } }

.section-label {
  display: inline-block; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 700; color: var(--orange);
  background: var(--orange-glow); padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill); margin-bottom: 0.5rem;
}
.section-label--light { background: rgba(232, 116, 42, 0.15); }

.section-title {
  font-size: 1.75rem; line-height: 1.25; font-weight: 600; color: var(--navy);
  margin-top: 0.25rem;
}
.section-title--light { color: #fff; }
.section-title--center { text-align: center; max-width: 44rem; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .section-title { font-size: 2.375rem; } }

.section-desc {
  font-size: 0.9375rem; color: var(--text-muted);
  line-height: 1.7; margin-top: 0.75rem;
}
.section-desc--center { text-align: center; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animate-fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }

.scroll-animate {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.scroll-animate--visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.84375rem; font-weight: 600; padding: 0.8125rem 1.625rem;
  border-radius: var(--radius-md); transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  cursor: pointer; border: none; text-decoration: none; font-family: var(--font-family);
}
.btn--orange {
  background: linear-gradient(135deg, var(--orange) 0%, #F08C4A 100%);
  color: #fff; box-shadow: 0 4px 18px rgba(232, 116, 42, 0.35);
}
.btn--orange:hover {
  box-shadow: 0 6px 26px rgba(232, 116, 42, 0.5); transform: translateY(-2px);
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn--outline-light {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--outline-light:hover { border-color: var(--orange); color: #fff; background: rgba(255,255,255,0.14); }
.btn--sm { padding: 0.5625rem 1.125rem; font-size: 0.75rem; }
.btn--lg { padding: 1rem 2rem; font-size: 0.875rem; }
.btn--full { width: 100%; }
.btn--pill { border-radius: var(--radius-pill); }
.text-navy { color: var(--navy) !important; border-color: rgba(20, 32, 54, 0.2) !important; }


/* ============================================================
   3. FLOATING NAVBAR
   ============================================================ */
.header-floating {
  position: fixed; top: 1rem; left: 0; width: 100%; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
  padding: 0 1.25rem;
}

.header-floating__pill {
  pointer-events: auto; width: 100%; max-width: 72rem;
  background: rgba(13, 21, 38, 0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill); padding: 0.625rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.35s ease;
}

.brand-logo { display: flex; flex-direction: column; line-height: 1.1; }
.brand-logo__main { font-size: 1.125rem; font-weight: 700; color: #fff; letter-spacing: 0.05em; }
.brand-logo__sub { font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.12em; color: var(--orange); }

.nav-links { display: none; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.8125rem; font-weight: 500; color: rgba(255, 255, 255, 0.78); transition: color 0.3s; }
.nav-link:hover { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; color: #fff; font-size: 1.375rem;
  border-radius: 50%; background: rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-toggle { display: none; }
}


/* ============================================================
   4. MOBILE DRAWER
   ============================================================ */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(13, 21, 38, 0.65); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-drawer.mobile-drawer--open { opacity: 1; pointer-events: auto; }

.mobile-drawer__panel {
  position: absolute; right: 0; top: 0; width: min(100%, 20rem); height: 100%;
  background: var(--navy-dark); color: #fff; padding: 1.75rem;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(100%); transition: transform 0.35s ease;
}
.mobile-drawer.mobile-drawer--open .mobile-drawer__panel { transform: translateX(0); }

.mobile-drawer__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-drawer__close { font-size: 1.5rem; color: #fff; }

.mobile-drawer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav-link {
  display: block; padding: 0.75rem 1rem; font-size: 0.9375rem; font-weight: 500;
  color: rgba(255,255,255,0.8); border-radius: var(--radius-md); transition: all 0.3s;
}
.mobile-nav-link:hover { background: var(--orange-glow); color: var(--orange); }

.mobile-drawer__footer { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-drawer__city { font-size: 0.8125rem; color: var(--text-dim); margin-bottom: 1rem; }


/* ============================================================
   5. HERO STUDIO
   ============================================================ */
.hero-studio {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding-top: 7rem; padding-bottom: 4rem;
  display: flex; align-items: center;
  background: radial-gradient(circle at 80% 20%, #1B2B47 0%, #0D1526 70%);
  color: #fff; overflow: hidden;
}

.hero-studio__container {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) {
  .hero-studio__container { grid-template-columns: 12fr 10fr; gap: 4rem; }
}

.hero-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(232, 116, 42, 0.14); border: 1px solid rgba(232, 116, 42, 0.28);
  padding: 0.4rem 1rem; border-radius: var(--radius-pill); margin-bottom: 1.5rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange-light);
}
.hero-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.hero-studio__heading {
  font-size: 2.125rem; line-height: 1.2; font-weight: 600; color: #fff; margin-bottom: 1.25rem;
}
.hero-studio__heading em { font-style: normal; color: var(--orange); }
@media (min-width: 768px) { .hero-studio__heading { font-size: 2.875rem; } }
@media (min-width: 1024px) { .hero-studio__heading { font-size: 3.375rem; } }

.hero-studio__sub {
  font-size: 0.9375rem; color: rgba(255,255,255,0.72); line-height: 1.75;
  max-width: 36rem; margin-bottom: 2rem; font-weight: 300;
}
@media (min-width: 768px) { .hero-studio__sub { font-size: 1.0625rem; } }

.hero-studio__actions {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .hero-studio__actions { flex-direction: row; align-items: center; }
}

.hero-studio__stats-row {
  display: flex; align-items: center; gap: 1.25rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-chip { display: flex; flex-direction: column; }
.stat-chip__val { font-size: 1.375rem; font-weight: 700; color: var(--orange); }
.stat-chip__lbl { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }
.stat-chip__divider { width: 1px; height: 1.75rem; background: rgba(255,255,255,0.1); }

/* Composition Image */
.hero-studio__right { position: relative; }
.main-composition {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 1024px) { .main-composition { aspect-ratio: 16/11; } }

.main-composition__img { width: 100%; height: 100%; object-fit: cover; }
.main-composition__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,21,38,0.6) 0%, transparent 60%);
}

.floating-badge {
  position: absolute; z-index: 10; padding: 0.875rem 1.125rem;
  display: flex; align-items: center; gap: 0.75rem; color: var(--text-main);
}
.floating-badge__icon {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--orange-glow); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.floating-badge__title { font-weight: 700; font-size: 0.8125rem; }
.floating-badge__sub { font-size: 0.6875rem; color: var(--text-muted); }
.floating-badge__review { font-size: 0.75rem; font-weight: 500; font-style: italic; max-width: 12rem; }

.badge-top-right { top: 1.25rem; right: 1.25rem; }
.badge-bottom-left { bottom: 1.25rem; left: 1.25rem; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.avatar-stack { display: flex; gap: 0.15rem; font-size: 0.875rem; }
.text-orange { color: var(--orange); }

@media (max-width: 639px) { .floating-badge { display: none; } }


/* ============================================================
   6. BENTO GRID (SOBRE A EMPRESA)
   ============================================================ */
.bento-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: 12fr 6fr 10fr; }
}

.bento-tile {
  background: #fff; border-radius: var(--radius-xl); padding: 2rem;
  border: 1px solid rgba(20, 32, 54, 0.06); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
}

.bento-tile--featured {
  min-height: 22rem; color: #fff; background: var(--navy-dark);
}
.bento-tile__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5; filter: contrast(1.05);
}
.bento-tile__content { position: relative; z-index: 10; margin-top: auto; }
.bento-badge {
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; color: var(--orange); background: rgba(232, 116, 42, 0.2);
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); margin-bottom: 1rem; display: inline-block;
}
.bento-tile__title { font-size: 1.25rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.75rem; }
.bento-tile__author { font-size: 0.75rem; color: var(--orange-light); font-weight: 600; }

.bento-tile--stat { background: var(--orange-glow); border-color: rgba(232, 116, 42, 0.2); justify-content: center; text-align: center; }
.stat-box__icon { font-size: 2.25rem; color: var(--orange); margin-bottom: 0.5rem; }
.stat-box__num { font-size: 2.75rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-box__title { font-weight: 700; font-size: 0.875rem; color: var(--navy); margin-top: 0.25rem; }
.stat-box__desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }

.bento-tile--pillars { background: #fff; }
.bento-tile__subtitle { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 1.25rem; }
.pillar-list { display: flex; flex-direction: column; gap: 1.125rem; }
.pillar-list li { display: flex; gap: 0.875rem; }
.pillar-icon {
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius-md);
  background: var(--cream-dark); color: var(--orange); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.125rem;
}
.pillar-list strong { display: block; font-size: 0.8125rem; color: var(--navy); font-weight: 600; }
.pillar-list p { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }


/* ============================================================
   7. PORTFÓLIO DE PROJETOS
   ============================================================ */
.lookbook-bar {
  display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .lookbook-bar { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-pill {
  padding: 0.45rem 1.125rem; font-size: 0.75rem; font-weight: 500;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s; font-family: var(--font-family);
}
.filter-pill:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.filter-pill--active { background: var(--orange); border-color: var(--orange); color: #fff; }

.lookbook-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .lookbook-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lookbook-grid { grid-template-columns: repeat(3, 1fr); } }

.lookbook-card {
  background: var(--navy-mid); border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); transition: transform 0.35s, box-shadow 0.35s;
}
.lookbook-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

.lookbook-card__image-wrap { position: relative; aspect-ratio: 4/3; cursor: pointer; overflow: hidden; }
.lookbook-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.lookbook-card:hover .lookbook-card__img { transform: scale(1.06); }

.lookbook-card__category-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(13, 21, 38, 0.82); backdrop-filter: blur(6px);
  color: var(--orange-light); font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}

.lookbook-card__body { padding: 1.5rem; color: #fff; }
.lookbook-card__title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.lookbook-card__spec { font-size: 0.75rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 0.35rem; margin-bottom: 1rem; }

.lookbook-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.875rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.lookbook-card__tag { font-size: 0.6875rem; color: var(--orange); display: flex; align-items: center; gap: 0.25rem; font-weight: 600; }

.btn-icon {
  width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,0.1);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background 0.3s;
}
.btn-icon:hover { background: var(--orange); }


/* ============================================================
   8. LIGHTBOX MODAL
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(13, 21, 38, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.25rem;
}
.lightbox.hidden { display: none; }
@media (min-width: 768px) { .lightbox { padding: 2rem; } }

.lightbox__top { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.lightbox__counter { font-size: 1.125rem; font-weight: 600; color: var(--orange); }
.lightbox__close { font-size: 1.75rem; color: rgba(255,255,255,0.75); min-width: 2.75rem; min-height: 2.75rem; display: flex; align-items: center; justify-content: center; transition: color 0.3s; }
.lightbox__close:hover { color: var(--orange); }

.lightbox__stage { display: flex; align-items: center; justify-content: center; flex-grow: 1; max-height: 70vh; gap: 1rem; position: relative; }
.lightbox__nav { color: rgba(255,255,255,0.7); font-size: 2rem; transition: color 0.3s; padding: 0.5rem; flex-shrink: 0; }
.lightbox__nav:hover { color: var(--orange); }

.lightbox__img-container { display: flex; align-items: center; justify-content: center; max-width: 90vw; max-height: 100%; }
.lightbox__img { max-height: 65vh; max-width: 100%; object-fit: contain; border-radius: var(--radius-lg); box-shadow: 0 8px 50px rgba(0,0,0,0.4); }

.lightbox__caption { text-align: center; color: #fff; max-width: 36rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.lightbox__title { font-size: 1.25rem; font-weight: 600; }
.lightbox__desc { font-size: 0.8125rem; color: rgba(255,255,255,0.65); }
.lightbox__cta { margin-top: 0.75rem; }

.lightbox__thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  overflow-x: auto;
  max-width: 90vw;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lightbox__thumbs::-webkit-scrollbar { display: none; }

.lightbox__thumb {
  width: 3.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.lightbox__thumb:hover { opacity: 0.85; }
.lightbox__thumb.active {
  opacity: 1;
  border-color: var(--orange);
  transform: scale(1.08);
}


/* ============================================================
   9. MOSTRUÁRIO DE ACABAMENTOS (TÁBUA DE MADEIRA 3D)
   ============================================================ */
.material-lounge {
  background: #fff; border-radius: var(--radius-xl); padding: 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(20, 32, 54, 0.06);
}
@media (min-width: 1024px) { .material-lounge { padding: 3rem; } }

.material-lounge__header { max-width: 36rem; margin-bottom: 2.5rem; }

.material-lounge__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .material-lounge__grid { grid-template-columns: 10fr 12fr; gap: 3.5rem; } }

.control-group { margin-bottom: 1.75rem; }
.control-group__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 0.75rem; display: block; }

.swatches-palette { display: flex; flex-direction: column; gap: 0.5rem; }
.swatch-card {
  display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem 1rem;
  border-radius: var(--radius-md); border: 1px solid rgba(20, 32, 54, 0.08);
  background: var(--cream); transition: all 0.3s; text-align: left;
}
.swatch-card:hover { border-color: var(--orange); }
.swatch-card--active { border-color: var(--orange); background: rgba(232, 116, 42, 0.06); box-shadow: 0 2px 10px rgba(232, 116, 42, 0.1); }

.swatch-circle {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.1);
}
.swatch-card strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.swatch-card p { font-size: 0.6875rem; color: var(--text-muted); }

/* Wood Board Stage */
.material-lounge__stage { display: flex; flex-direction: column; gap: 1.25rem; }
.wood-board-stage {
  perspective: 1000px; display: flex; justify-content: center; align-items: center; padding: 1.5rem;
  background: var(--navy-dark); border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
}

.wood-board {
  position: relative; width: 100%; max-width: 28rem; height: 16rem;
  border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.2);
  transition: all 0.5s ease; transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-5deg); overflow: hidden; display: flex; align-items: flex-end; padding: 1.25rem;
}

.wood-board__grain {
  position: absolute; inset: 0; opacity: 0.25; mix-blend-mode: overlay; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 2px, transparent 2px, transparent 8px),
                    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%);
}

.wood-board__reflection {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 40%, transparent 60%);
}

.wood-board__bevel {
  position: absolute; inset: 0; border: 2px solid rgba(255,255,255,0.15); border-radius: 12px; pointer-events: none;
}

.wood-board__tag {
  position: relative; z-index: 10; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #fff;
  background: rgba(13, 21, 38, 0.85); backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.2);
}

/* Wood Finish Variants */
.wood-board--nogueira { background: linear-gradient(135deg, #2b1809 0%, #4a2d13 50%, #2f1b0a 100%); }
.wood-board--freijo { background: linear-gradient(135deg, #a06e3b 0%, #c99359 50%, #8f5d2b 100%); }
.wood-board--carvalho { background: linear-gradient(135deg, #b89363 0%, #dfc097 50%, #ad8654 100%); }
.wood-board--champagne { background: linear-gradient(135deg, #b0a38d 0%, #ded2be 50%, #9e917b 100%); }
.wood-board--grafite { background: linear-gradient(135deg, #292d34 0%, #42454a 50%, #22252a 100%); }

.stage-info {
  background: var(--navy-dark); color: #fff; padding: 1.5rem; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) { .stage-info { flex-direction: row; align-items: center; justify-content: space-between; } }
.stage-info__badge { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); }
.stage-info__title { font-size: 1.25rem; font-weight: 600; margin-top: 0.25rem; }
.stage-info__desc { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 0.25rem; }


/* ============================================================
   10. DIFERENCIAIS INTERATIVOS (EXPANDABLE CARDS)
   ============================================================ */
.expandable-diff-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem;
}
@media (min-width: 768px) { .expandable-diff-grid { grid-template-columns: repeat(2, 1fr); } }

.expand-card {
  background: #fff; border-radius: var(--radius-xl); padding: 1.75rem;
  border: 1px solid rgba(20, 32, 54, 0.06); box-shadow: var(--shadow-sm);
  cursor: pointer; transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
}
.expand-card:hover { transform: translateY(-4px); border-color: rgba(232, 116, 42, 0.3); box-shadow: var(--shadow-md); }
.expand-card.active {
  background: var(--navy); color: #fff; border-color: var(--orange);
  box-shadow: 0 12px 35px rgba(13, 21, 38, 0.2); transform: translateY(-4px);
}

.expand-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.expand-card__icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md);
  background: var(--orange-glow); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.375rem;
  transition: all 0.3s;
}
.expand-card.active .expand-card__icon { background: var(--orange); color: #fff; }
.expand-card__num { font-size: 1.25rem; font-weight: 700; color: rgba(20, 32, 54, 0.2); }
.expand-card.active .expand-card__num { color: var(--orange); }

.expand-card__title { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; transition: color 0.3s; }
.expand-card.active .expand-card__title { color: #fff; }

.expand-card__summary { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; transition: color 0.3s; }
.expand-card.active .expand-card__summary { color: var(--orange-light); font-weight: 500; }

.expand-card__details {
  display: none; font-size: 0.78125rem; color: rgba(255,255,255,0.75);
  line-height: 1.65; margin-top: 0.875rem; padding-top: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.12); animation: fadeIn 0.4s ease;
}
.expand-card.active .expand-card__details { display: block; }

.expand-card__hint {
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-top: 1.25rem; display: flex; align-items: center; gap: 0.35rem;
  transition: color 0.3s;
}
.expand-card.active .expand-card__hint { color: var(--orange); font-weight: 600; }


/* ============================================================
   11. PLANNER INTERATIVO (WIZARD)
   ============================================================ */
.planner-wizard {
  background: #fff; border-radius: var(--radius-xl); padding: 1.75rem;
  box-shadow: var(--shadow-md); border: 1px solid rgba(20, 32, 54, 0.06);
}
@media (min-width: 768px) { .planner-wizard { padding: 2.5rem; } }

.wizard-steps-bar {
  display: flex; justify-content: space-between; margin-bottom: 2rem;
  border-bottom: 1px solid rgba(20, 32, 54, 0.08); padding-bottom: 1rem;
}
.wizard-step-item {
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem;
}
.wizard-step-item span {
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--cream-dark);
  color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 0.6875rem;
}
.wizard-step-item.active { color: var(--orange); }
.wizard-step-item.active span { background: var(--orange); color: #fff; }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fadeIn 0.4s ease; }

.wizard-panel__title { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 1.25rem; text-align: center; }

.wizard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .wizard-grid { grid-template-columns: repeat(3, 1fr); } }

.wizard-card {
  border: 1px solid rgba(20, 32, 54, 0.08); border-radius: var(--radius-md); padding: 1.25rem 1rem;
  text-align: center; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; transition: all 0.3s;
}
.wizard-card:hover { border-color: var(--orange); background: var(--orange-glow); }
.wizard-card i { font-size: 1.5rem; color: var(--orange); }
.wizard-card span, .wizard-card strong { font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
.wizard-card p { font-size: 0.6875rem; color: var(--text-muted); }
.wizard-card.selected { border-color: var(--orange); background: var(--orange-glow); box-shadow: 0 0 0 2px var(--orange); }

.wizard-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) {
  .wizard-form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: span 2; }
}

.form-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.wizard-input {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius-md); border: 1px solid rgba(20, 32, 54, 0.12);
  background: var(--cream); font-size: 0.9375rem; font-family: var(--font-family);
}
.wizard-input:focus { outline: none; border-color: var(--orange); }

.tone-pills-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.tone-pill {
  font-size: 0.6875rem; font-weight: 500; padding: 0.25rem 0.65rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(20, 32, 54, 0.1); background: #fff; color: var(--navy); font-family: var(--font-family);
}
.tone-pill:hover { border-color: var(--orange); color: var(--orange); }

.wizard-nav-btns { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; }

.wizard-summary { text-align: center; max-width: 28rem; margin: 0 auto; }
.wizard-summary__icon { font-size: 3.5rem; color: var(--orange); margin-bottom: 0.5rem; }
.wizard-summary__text { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.estimator__error {
  display: none; font-size: 0.75rem; color: #c2410c; background: rgba(232, 116, 42, 0.1);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; text-align: center;
}
.estimator__error.visible { display: block; }


/* ============================================================
   12. FOOTER STUDIO
   ============================================================ */
.footer-studio { background: var(--navy-dark); color: #fff; padding-top: 4rem; padding-bottom: 2.5rem; }
.footer-studio__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-studio__grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-studio__desc { font-size: 0.8125rem; color: var(--text-dim); margin-top: 0.75rem; margin-bottom: 1.25rem; max-width: 24rem; }
.footer-studio__socials { display: flex; gap: 0.75rem; }
.footer-studio__socials a {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 1.125rem; color: #fff;
  transition: background 0.3s;
}
.footer-studio__socials a:hover { background: var(--orange); }

.footer-studio__col h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 1rem; }
.footer-studio__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-studio__col a { font-size: 0.8125rem; color: var(--text-dim); transition: color 0.3s; }
.footer-studio__col a:hover { color: var(--orange); }
.footer-studio__col p { font-size: 0.8125rem; color: var(--text-dim); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.35rem; }

.footer-studio__bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.75rem; color: var(--text-dim); }


/* ============================================================
   13. WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); transition: transform 0.3s;
}
.whatsapp-fab:hover { transform: scale(1.1); }
@media (min-width: 768px) { .whatsapp-fab { display: none; } }
