/* Studio Decor – tema e layout (a partir do Figma) */
:root {
  --studio-beige: #eae4dc;
  --studio-dark: #231f1d;
  --studio-dark-alt: #3a3633;
  --studio-terracotta: #c57949;
  --studio-green: #4b5a3d;
  --studio-gray: #717182;
  --font-size: 16px;
}

html { scroll-behavior: smooth; font-size: var(--font-size); }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; background: #fff; color: var(--studio-dark); }
* { box-sizing: border-box; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.sd-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--studio-beige); border-bottom: 1px solid var(--studio-terracotta);
  backdrop-filter: blur(4px);
}
.sd-header .inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem; }
.sd-header img { height: 60px; }
.sd-nav { display: none; }
.sd-nav a { color: var(--studio-dark); font-weight: 500; text-decoration: none; margin: 0 1rem; }
.sd-nav a:hover { opacity: .7; }
.sd-cta-whatsapp {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; background: var(--studio-green); color: #fff; border-radius: 8px;
  text-decoration: none; font-weight: 500;
}
.sd-cta-whatsapp:hover { opacity: .9; }

@media (min-width: 768px) {
  .sd-nav { display: flex; align-items: center; gap: 2rem; }
}

/* Hero */
.sd-hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.sd-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--studio-dark) url("../images/hero-bg.png") center/cover no-repeat;
}
.sd-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(35,31,29,.9), rgba(35,31,29,.7));
}
.sd-hero .container { position: relative; z-index: 10; padding: 6rem 1rem 4rem; }
.sd-hero-grid { display: grid; gap: 3rem; max-width: 80rem; margin: 0 auto; }
.sd-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.sd-hero-sub { color: var(--studio-beige); font-size: 1.125rem; line-height: 1.6; margin-bottom: 2rem; }
.sd-hero-cta {
  display: inline-block; padding: 1rem 2rem; background: var(--studio-terracotta); color: #fff;
  font-weight: 600; font-size: 1.25rem; border-radius: 8px; text-decoration: none;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}
.sd-hero-cta:hover { opacity: .9; transform: scale(1.02); }
.sd-hero-note { margin-top: 1rem; font-size: .875rem; color: var(--studio-beige); }
.sd-hero-video { border-radius: 8px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); aspect-ratio: 16/9; }
.sd-hero-video img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .sd-hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* Scroll indicator */
.sd-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.5); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.sd-scroll-indicator::after {
  content: ""; width: 4px; height: 12px; background: rgba(255,255,255,.5); border-radius: 2px;
}

/* Sections comum */
.sd-section { padding: 5rem 0; }
.sd-section-title { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; color: var(--studio-dark); text-align: center; margin-bottom: 1rem; }
.sd-section-subtitle { font-size: 1.25rem; font-weight: 600; color: var(--studio-terracotta); text-align: center; margin-bottom: 1rem; }
.sd-section-desc { font-size: 1.125rem; color: var(--studio-dark); text-align: center; max-width: 48rem; margin: 0 auto 3rem; line-height: 1.6; }

/* Venda Programada */
.sd-venda { background: var(--studio-beige); }
.sd-venda-card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.sd-venda-list { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.sd-venda-item { display: flex; align-items: flex-start; gap: 1rem; }
.sd-venda-icon { padding: .75rem; border-radius: 8px; background: var(--studio-beige); color: var(--studio-terracotta); flex-shrink: 0; }
.sd-venda-border { border-top: 1px solid var(--studio-beige); padding-top: 1.5rem; text-align: center; }

@media (min-width: 768px) {
  .sd-venda-list { grid-template-columns: 1fr 1fr; }
}

/* Problem */
.sd-problem { background: var(--studio-beige); }
.sd-problem-cards { display: grid; gap: 1.5rem; margin-top: 3rem; max-width: 56rem; margin-left: auto; margin-right: auto; }
.sd-problem-card { background: #fff; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--studio-terracotta); text-align: center; }
.sd-problem-card .icon { color: var(--studio-terracotta); margin-bottom: 1rem; }
.sd-problem-card p { font-size: 1.125rem; font-weight: 600; color: var(--studio-dark); margin: 0; }

@media (min-width: 768px) {
  .sd-problem-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Solution (Método) */
.sd-solution { background: #fff; }
.sd-solution-grid { display: grid; gap: 2rem; max-width: 72rem; margin: 0 auto; }
.sd-solution-card { padding: 2rem; border-radius: 12px; background: var(--studio-beige); }
.sd-solution-card .icon { color: var(--studio-terracotta); margin-bottom: 1.5rem; }
.sd-solution-card h3 { font-size: 1.5rem; font-weight: 600; color: var(--studio-dark); margin-bottom: 1rem; }
.sd-solution-card p { color: var(--studio-dark); line-height: 1.6; margin: 0; }

@media (min-width: 768px) {
  .sd-solution-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Authority */
.sd-authority { background: linear-gradient(135deg, var(--studio-dark), var(--studio-dark-alt)); color: #fff; }
.sd-authority .sd-section-title { color: #fff; }
.sd-authority-grid { display: grid; gap: 2rem; max-width: 80rem; margin: 0 auto; }
.sd-authority-card { text-align: center; }
.sd-authority-card .icon { color: var(--studio-terracotta); margin-bottom: 1rem; }
.sd-authority-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .75rem; }
.sd-authority-card p { color: var(--studio-beige); line-height: 1.6; margin: 0; }

@media (min-width: 768px) {
  .sd-authority-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sd-authority-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Portfolio */
.sd-portfolio { background: #f9fafb; }
.sd-portfolio .sd-section-title { color: var(--studio-dark); }
.sd-carousel-wrap { max-width: 80rem; margin: 0 auto 3rem; position: relative; }
.sd-carousel { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 0; }
.sd-carousel-item { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.sd-carousel-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.sd-carousel-card .thumb {
  height: 20rem;
  background: #eae4dc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-carousel-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sd-carousel-card .body { padding: 1.5rem; }
.sd-carousel-card .body h3 { font-size: 1.25rem; font-weight: 600; color: var(--studio-dark); margin: 0 0 .5rem; }
.sd-carousel-card .body p { color: var(--studio-gray); margin: 0; }
.sd-carousel-card .body strong { color: var(--studio-terracotta); }
.sd-carousel-prev, .sd-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 9999px; background: rgba(255,255,255,.9); border: none;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); color: var(--studio-terracotta); cursor: pointer;
}
.sd-carousel-prev { left: -1rem; }
.sd-carousel-next { right: -1rem; }
.sd-portfolio-cta {
  display: inline-flex; align-items: center; gap: .75rem; padding: 1rem 2rem;
  background: var(--studio-green); color: #fff; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.sd-portfolio-cta:hover { opacity: .9; }

@media (min-width: 768px) {
  .sd-carousel-item { flex: 0 0 calc(33.333% - 1rem); }
}

/* Simulador */
.sd-simulador { background: var(--studio-dark); color: #fff; }
.sd-simulador .sd-section-title { color: #fff; }
.sd-simulador .sd-section-desc { color: var(--studio-beige); }
.sd-simulador-box { max-width: 56rem; margin: 0 auto; background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.sd-simulador-steps { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.sd-simulador-dot { height: 8px; border-radius: 9999px; background: var(--studio-beige); transition: width .2s; }
.sd-simulador-dot.active { width: 48px; background: var(--studio-terracotta); }
.sd-simulador-dot:not(.active) { width: 24px; }
.sd-simulador-step { display: none; }
.sd-simulador-step.active { display: block; }
.sd-simulador-step h3 { font-size: 1.5rem; font-weight: 700; color: var(--studio-dark); text-align: center; margin-bottom: 1.5rem; }
.sd-simulador-value { font-size: 3rem; font-weight: 700; color: var(--studio-terracotta); text-align: center; margin: 1rem 0; }
.sd-slider-wrap { padding: 1rem 0; }
.sd-slider { width: 100%; height: 8px; -webkit-appearance: none; appearance: none; background: var(--studio-beige); border-radius: 9999px; }
.sd-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 9999px; background: var(--studio-terracotta); cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.sd-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 9999px; background: var(--studio-terracotta); cursor: pointer; border: none; }
.sd-simulador-range { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .875rem; color: var(--studio-dark); }
.sd-simulador-options { display: grid; gap: 1rem; margin: 2rem 0; }
.sd-simulador-option { padding: 1.5rem; border-radius: 8px; border: 2px solid var(--studio-beige); font-weight: 600; cursor: pointer; background: #fff; color: var(--studio-dark); transition: all .2s; }
.sd-simulador-option:hover { border-color: var(--studio-terracotta); }
.sd-simulador-option.selected { background: var(--studio-terracotta); border-color: var(--studio-terracotta); color: #fff; }
.sd-simulador-result { margin: 2rem 0; }
.sd-simulador-result .box { padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; background: var(--studio-beige); }
.sd-simulador-result .box.highlight { background: var(--studio-terracotta); color: #fff; }
.sd-simulador-result .box p { margin: 0; }
.sd-simulador-result .box .big { font-size: 1.875rem; font-weight: 700; }
.sd-simulador-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.sd-btn { padding: 1rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; transition: opacity .2s; }
.sd-btn-primary { background: var(--studio-green); color: #fff; }
.sd-btn-secondary { background: var(--studio-beige); color: var(--studio-dark); }
.sd-btn-terracotta { background: var(--studio-terracotta); color: #fff; }
.sd-btn-full { width: 100%; }

@media (min-width: 768px) {
  .sd-simulador-options { grid-template-columns: repeat(2, 1fr); }
  #simuladorPrazoOptions { grid-template-columns: repeat(3, 1fr); }
}

/* Qualification */
.sd-qual { background: #fff; }
.sd-qual-grid { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
.sd-qual-card { padding: 2rem; border-radius: 12px; border: 2px solid; }
.sd-qual-card.yes { background: #e8f5e9; border-color: var(--studio-green); }
.sd-qual-card.yes h3 { color: var(--studio-green); }
.sd-qual-card.no { background: #fbe9e7; border-color: var(--studio-terracotta); }
.sd-qual-card.no h3 { color: var(--studio-terracotta); }
.sd-qual-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.sd-qual-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.sd-qual-item .icon { flex-shrink: 0; margin-top: 2px; }
.sd-qual-item p { margin: 0; color: var(--studio-dark); line-height: 1.6; }

@media (min-width: 768px) {
  .sd-qual-grid { grid-template-columns: 1fr 1fr; }
}

/* Contact */
.sd-contact { background: #f9fafb; }
.sd-contact-grid { display: grid; gap: 3rem; max-width: 72rem; margin: 0 auto; align-items: stretch; }
.sd-contact-photo {
  min-height: 600px;
  border-radius: 12px;
  overflow: hidden;
  background: #eae4dc;
  align-self: stretch;
}
.sd-contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.sd-contact-form { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.sd-contact-form h2 { font-size: 1.875rem; font-weight: 700; color: var(--studio-dark); margin-bottom: .5rem; }
.sd-contact-form .lead { color: var(--studio-gray); margin-bottom: 2rem; }
.sd-contact-form label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .5rem; color: var(--studio-dark); }
.sd-contact-form input[type="text"], .sd-contact-form input[type="tel"] { width: 100%; padding: .75rem 1rem; border: 1px solid var(--studio-beige); border-radius: 8px; font-size: 1rem; }
.sd-contact-form input:focus { outline: none; box-shadow: 0 0 0 2px var(--studio-terracotta); }
.sd-contact-form .field { margin-bottom: 1.5rem; }
.sd-contact-form .radio-group { margin-top: .5rem; }
.sd-contact-form .radio-group label { display: flex; align-items: center; margin-bottom: .5rem; font-weight: 400; cursor: pointer; }
.sd-contact-form .radio-group input { margin-right: .75rem; accent-color: var(--studio-terracotta); }
.sd-contact-form button[type="submit"] { width: 100%; padding: 1rem; background: var(--studio-green); color: #fff; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; margin-top: .5rem; }
.sd-contact-form button[type="submit"]:hover { opacity: .9; }

@media (min-width: 768px) {
  .sd-contact-grid { grid-template-columns: 1fr 1fr; }
}

/* Showroom */
.sd-showroom { background: linear-gradient(135deg, var(--studio-beige), #f5efe7); }
.sd-showroom-tag { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--studio-terracotta); text-align: center; margin-bottom: .5rem; }
.sd-showroom-cards { display: grid; gap: 2rem; margin-bottom: 3rem; max-width: 72rem; margin-left: auto; margin-right: auto; }
.sd-showroom-card { background: #fff; padding: 1.5rem; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.sd-showroom-card .icon { color: var(--studio-terracotta); margin-bottom: 1rem; }
.sd-showroom-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--studio-dark); margin-bottom: .75rem; }
.sd-showroom-card p { color: var(--studio-dark); margin: 0; line-height: 1.6; }
.sd-showroom-cta { background: var(--studio-dark); color: #fff; padding: 2.5rem; border-radius: 1rem; max-width: 56rem; margin: 0 auto; text-align: center; }
.sd-showroom-cta .icon { color: var(--studio-terracotta); margin-bottom: 1rem; }
.sd-showroom-cta h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.sd-showroom-map {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1rem;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}
.sd-showroom-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 300px;
  border: 0;
}
.sd-showroom-cta .sub { color: var(--studio-beige); margin-bottom: 1.5rem; }
.sd-showroom-cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.sd-showroom-cta a { padding: 1rem 2rem; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.sd-showroom-cta a.primary { background: var(--studio-green); color: #fff; }
.sd-showroom-cta a.secondary { background: #fff; color: var(--studio-dark); }

@media (min-width: 768px) {
  .sd-showroom-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Footer */
.sd-footer { background: var(--studio-dark); color: #fff; padding: 3rem 0; }
.sd-footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
.sd-footer img { height: 4rem; margin-bottom: 1rem; }
.sd-footer p, .sd-footer a { color: var(--studio-beige); text-decoration: none; }
.sd-footer a:hover { color: var(--studio-terracotta); }
.sd-footer h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.sd-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--studio-dark-alt);
  text-align: center;
}
.sd-footer-copy { font-size: .875rem; color: var(--studio-beige); opacity: .7; margin: 0; }

@media (min-width: 768px) {
  .sd-footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Ícones inline (fallback) */
.sd-icon { width: 1.25em; height: 1.25em; vertical-align: -0.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
