/* ============================================
   REFORMAS.CSS — Página e chamada do serviço
   de reforma de estofados e móveis.
   ============================================ */

.home-reformas { padding-top: 0; }
.home-reformas__card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: 480px; overflow: hidden; border-radius: 28px;
  background: var(--wood-deep); color: #fff; box-shadow: var(--shadow);
}
.home-reformas__content { display: flex; flex-direction: column; justify-content: center; padding: 62px; }
.home-reformas__content .eyebrow { color: var(--accent); }
.home-reformas__content h2 { max-width: 650px; margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.25rem); color: #fff; }
.home-reformas__content p:not(.eyebrow) { max-width: 590px; margin-bottom: 28px; color: #d9d4ce; }
.home-reformas__content .btn { align-self: flex-start; background: var(--accent); color: var(--wood-deep); }
.home-reformas__content .btn:hover { background: #fff; }
.home-reformas__media { min-height: 420px; }
.home-reformas__media picture, .home-reformas__media img { width: 100%; height: 100%; }
.home-reformas__media img { object-fit: cover; object-position: center; }

.reforma-hero { padding: 48px 0 72px; background: var(--cream); }
.reforma-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr); gap: 64px; align-items: center; }
.reforma-hero__content h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.6rem, 5.6vw, 5rem); color: var(--wood-deep); }
.reforma-hero__lead { max-width: 660px; margin-bottom: 26px; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--muted); }
.reforma-hero__highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.reforma-hero__highlights li { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 600; }
.reforma-hero__highlights li::before { content: "✓"; margin-right: 7px; color: var(--wood); font-weight: 800; }
.reforma-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reforma-hero__media { position: relative; min-height: 600px; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.reforma-hero__media picture, .reforma-hero__media img { width: 100%; height: 100%; }
.reforma-hero__media img { position: absolute; inset: 0; object-fit: cover; object-position: center; }
.reforma-hero__seal { position: absolute; right: 20px; bottom: 20px; left: 20px; display: grid; gap: 2px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.32); border-radius: 16px; background: rgba(43,43,43,.82); color: #fff; backdrop-filter: blur(12px); }
.reforma-hero__seal strong { font-size: .95rem; }
.reforma-hero__seal span { color: #d8d3cd; font-size: .78rem; }

.reforma-trust { background: var(--wood-deep); color: #fff; }
.reforma-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0; background: rgba(255,255,255,.13); }
.reforma-trust__grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 30px 34px; background: var(--wood-deep); }
.reforma-trust__grid > div > span { grid-row: 1 / 3; font-size: 1.5rem; color: var(--accent); }
.reforma-trust__grid strong { font-size: .94rem; }
.reforma-trust__grid p { color: #c7c2bd; font-size: .8rem; }

.reforma-servicos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reforma-service { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.reforma-service > span { display: block; margin-bottom: 34px; color: var(--wood); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.reforma-service h3 { margin-bottom: 12px; font-size: 1.25rem; }
.reforma-service p { color: var(--muted); font-size: .9rem; }

.reforma-processo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: processo; }
.reforma-step { position: relative; padding-top: 76px; }
.reforma-step > span { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--wood-dark); color: #fff; font-size: 1rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.reforma-step:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 66px; width: calc(100% - 52px); height: 1px; background: #d5c8b8; }
.reforma-step h3 { margin-bottom: 8px; font-size: 1.08rem; }
.reforma-step p { color: var(--muted); font-size: .88rem; }

.transformacoes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.transformacao { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.transformacao h3 { padding: 22px 24px; font-size: 1rem; }
.transformacao__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.transformacao figure { position: relative; overflow: hidden; background: var(--sand); }
.transformacao figure > span { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(43,43,43,.82); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.transformacao figure:last-child > span { background: var(--accent); color: var(--wood-deep); }
.transformacao picture { display: block; }
.transformacao img { width: 100%; height: 260px; object-fit: contain; background: #eee8e0; transition: transform .45s ease; }
.transformacao figure:hover img { transform: scale(1.035); }

.reforma-visita__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.reforma-visita h2 { max-width: 520px; font-size: clamp(2rem, 4vw, 3rem); }
.reforma-visita__inner > div:last-child > p { color: var(--muted); font-size: 1.02rem; }
.reforma-visita__garantia { margin-top: 24px; padding: 20px 22px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 14px 14px 0; }
.reforma-visita__garantia strong { display: block; color: var(--ink); }

.atendimento-reformas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.regiao-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.regiao-card__label { display: inline-block; margin-bottom: 28px; color: var(--wood); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.regiao-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.regiao-card p { min-height: 58px; margin-bottom: 24px; color: var(--muted); font-size: .9rem; }
.regiao-card .btn { min-height: 50px; }

.reforma-faq__inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: start; }
.reforma-faq h2 { font-size: clamp(2rem, 4vw, 3rem); }
.reforma-faq__list { display: grid; gap: 12px; }
.reforma-faq details { padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.reforma-faq summary { position: relative; padding: 20px 34px 20px 0; font-weight: 700; cursor: pointer; list-style: none; }
.reforma-faq summary::-webkit-details-marker { display: none; }
.reforma-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; color: var(--wood); font-size: 1.5rem; font-weight: 400; }
.reforma-faq details[open] summary::after { content: "−"; }
.reforma-faq details p { padding: 0 0 20px; color: var(--muted); font-size: .9rem; }

@media (max-width: 960px) {
  .home-reformas__card, .reforma-hero__inner { grid-template-columns: 1fr; }
  .home-reformas__media { order: -1; min-height: 380px; }
  .reforma-hero__media { min-height: 520px; max-width: 720px; width: 100%; }
  .reforma-trust__grid, .reforma-servicos__grid, .reforma-processo__grid { grid-template-columns: repeat(2, 1fr); }
  .reforma-step:nth-child(2)::after { display: none; }
  .reforma-visita__inner, .reforma-faq__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .home-reformas__content { padding: 38px 26px 42px; }
  .home-reformas__media { min-height: 300px; }
  .home-reformas__card { min-height: 0; border-radius: 20px; }
  .reforma-hero { padding: 30px 0 50px; }
  .reforma-hero__inner { gap: 38px; }
  .reforma-hero__media { min-height: 430px; border-radius: 20px; }
  .reforma-hero__actions .btn { flex: 1 1 100%; }
  .reforma-trust__grid { grid-template-columns: 1fr; }
  .reforma-trust__grid > div { padding: 24px; }
  .transformacoes__grid, .atendimento-reformas__grid { grid-template-columns: 1fr; }
  .transformacao h3 { padding: 18px 20px; }
  .transformacao img { height: 220px; }
  .regiao-card { padding: 28px 24px; }
}

@media (max-width: 520px) {
  .reforma-servicos__grid, .reforma-processo__grid { grid-template-columns: 1fr; }
  .reforma-service { min-height: 0; }
  .reforma-service > span { margin-bottom: 22px; }
  .reforma-step:not(:last-child)::after { display: none; }
  .reforma-hero__media { min-height: 360px; }
  .reforma-hero__seal { right: 12px; bottom: 12px; left: 12px; }
  .transformacao figure > span { top: 8px; left: 8px; padding: 5px 8px; font-size: .62rem; }
  .transformacao img { height: 180px; }
}
