:root {
  --ink: #171411;
  --soft-ink: #5c554d;
  --paper: #f7f3ed;
  --paper-deep: #ede3d6;
  --surface: #fffaf4;
  --line: #ded0c0;
  --brand: rgb(54, 3, 3);
  --brand-soft: #7d3430;
  --wood: #8f5b3f;
  --clay: var(--brand);
  --forest: var(--brand);
  --olive: #68735c;
  --cream: #fffaf0;
  --shadow: 0 22px 58px rgba(54, 3, 3, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--cream);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(255, 250, 244, 0.95);
  box-shadow: 0 10px 30px rgba(54, 3, 3, 0.1);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 210px;
  min-width: 160px;
}

.brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.scrolled .brand img,
.site-header.menu-active .brand img {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 11px 18px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  place-items: center;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  background: var(--brand);
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(54, 3, 3, 0.92), rgba(54, 3, 3, 0.44) 52%, rgba(54, 3, 3, 0.18)),
    linear-gradient(0deg, rgba(54, 3, 3, 0.84), rgba(54, 3, 3, 0.08) 46%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(178px, 22vh, 230px) clamp(18px, 7vw, 92px);
}

.eyebrow {
  color: var(--clay);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8b9a4;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(34px, 4.6vw, 70px);
  line-height: 1;
}

h3,
p {
  margin-top: 0;
}

h3 {
  font-weight: 600;
}

p {
  color: var(--soft-ink);
  font-size: 17px;
  line-height: 1.7;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 20px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 500;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.hero .button.primary,
.contact .button.primary {
  background: var(--cream);
  color: var(--brand);
}

.button.secondary {
  border-color: currentColor;
  color: inherit;
}

.social-button {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  color: var(--cream);
  font-weight: 500;
}

.social-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.social-button:hover,
.button:hover {
  transform: translateY(-1px);
}

.social-button:hover {
  background: var(--cream);
  color: var(--brand);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 34px;
  left: clamp(18px, 7vw, 92px);
  z-index: 2;
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 250, 240, 0.28);
  background: rgba(255, 250, 244, 0.12);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 112px;
  padding: 22px;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 250, 240, 0.22);
}

.hero-panel strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.75);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.statement {
  display: grid;
  place-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 8vw, 120px);
  background: var(--surface);
  text-align: center;
}

.statement p {
  max-width: 1040px;
  margin: 0;
  color: var(--brand);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 700;
  line-height: 1.03;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 6vw, 86px);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: var(--brand);
  color: var(--cream);
}

.video-copy {
  display: grid;
  gap: 22px;
}

.video-copy p {
  color: rgba(255, 250, 240, 0.76);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1d0101;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(54, 3, 3, 0.72), rgba(54, 3, 3, 0.38)),
    url("https://www.detalheinteriores.com.br/assets/img/general/capa.jpeg") center/cover no-repeat;
  text-align: center;
  pointer-events: none;
}

.video-placeholder span {
  color: #e8b9a4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-placeholder strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.98;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 0.95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.intro-media {
  min-height: 520px;
  overflow: hidden;
}

.intro-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.intro-content {
  display: grid;
  gap: 30px;
}

.section-kicker {
  display: grid;
  gap: 16px;
}

.intro-copy {
  display: grid;
  gap: 20px;
}

.intro-copy p {
  margin-bottom: 0;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--forest);
  color: var(--cream);
}

.showcase-media {
  min-height: 560px;
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.showcase p,
.contact p {
  color: rgba(255, 250, 240, 0.76);
}

.showcase-content {
  display: grid;
  gap: 24px;
}

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--surface);
}

.service-area p {
  max-width: 650px;
  margin: 24px 0 0;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(54, 3, 3, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--brand);
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--brand-soft);
  font-weight: 600;
}

.showcase .text-link,
.contact .text-link {
  color: #e8b9a4;
}

.text-link::after {
  content: "→";
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  background: var(--line);
}

.process-grid article {
  min-height: 270px;
  background: var(--surface);
  padding: 28px;
}

.process-grid h3,
.advantage-list h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.process-grid p,
.advantage-list p {
  margin-bottom: 0;
  font-size: 15px;
}

.advantages {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  background: var(--paper-deep);
}

.advantages-copy {
  display: grid;
  gap: 34px;
}

.advantages-media {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 12px;
  align-items: end;
}

.advantages-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.advantages-media img + img {
  min-height: 260px;
}

.advantage-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.advantage-list article {
  background: var(--paper-deep);
  padding: 4px 0 28px;
}

.advantage-list article + article {
  padding-top: 28px;
}

.advantage-list h3 {
  margin-top: 0;
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-grid button,
.gallery-placeholder {
  position: relative;
  min-height: 280px;
  grid-column: span 4;
  border: 0;
  overflow: hidden;
  padding: 0;
  background: var(--line);
  cursor: zoom-in;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(54, 3, 3, 0.34);
  background:
    linear-gradient(135deg, rgba(54, 3, 3, 0.08), rgba(255, 250, 244, 0.74)),
    var(--paper-deep);
  color: var(--brand);
  cursor: default;
}

.gallery-placeholder span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-grid button:nth-child(1),
.gallery-grid button:nth-child(4) {
  grid-column: span 7;
  min-height: 420px;
}

.gallery-grid button:nth-child(2),
.gallery-grid button:nth-child(5) {
  grid-column: span 5;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-grid button:hover img {
  transform: scale(1.04);
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  background: var(--brand);
  color: var(--cream);
}

.testimonials .section-kicker .eyebrow {
  color: #e8b9a4;
}

.testimonial-grid {
  display: grid;
  gap: 12px;
}

.testimonial-grid article {
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: rgba(255, 250, 240, 0.07);
  padding: clamp(24px, 4vw, 34px);
}

.testimonial-grid p {
  margin-bottom: 22px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 17px;
}

.testimonial-grid strong {
  color: var(--cream);
  font-weight: 600;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  background: var(--paper-deep);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  color: var(--brand);
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  float: right;
  content: "+";
  font-weight: 600;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 15px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--brand);
  color: var(--cream);
}

.contact-content {
  display: grid;
  gap: 22px;
}

.contact-card {
  border: 1px solid rgba(255, 250, 240, 0.18);
  padding: clamp(24px, 4vw, 42px);
}

.contact-card dl {
  display: grid;
  gap: 26px;
  margin: 0;
}

.contact-card dt {
  color: #e8b9a4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 8px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: 18px;
  line-height: 1.55;
}

.map-panel {
  grid-column: 1 / -1;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.18);
}

.map-panel iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.12) contrast(0.96);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 86px);
  background: #1d0101;
  color: rgba(255, 250, 240, 0.68);
  font-size: 13px;
}

.site-footer img {
  width: 180px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(12, 10, 8, 0.88);
  padding: 24px;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-nav {
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  background: rgba(54, 3, 3, 0.34);
  font-size: 38px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 250, 240, 0.16);
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 16px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 8px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 292px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: auto;
    padding: 16px 18px;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 250, 240, 0.22);
    border-left: 0;
  }

  .intro,
  .video-section,
  .showcase,
  .service-area,
  .advantages,
  .testimonials,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .advantages-media img {
    min-height: 320px;
  }

  .advantages-media img + img {
    min-height: 240px;
  }

  .intro-media {
    min-height: 390px;
  }

  .intro-media img {
    min-height: 390px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .brand {
    width: 170px;
  }

  .hero {
    min-height: 900px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-bottom: 306px;
    margin-left: 16px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .contact-actions {
    display: flex;
  }

  .hero-panel {
    right: 16px;
    bottom: 18px;
    left: 16px;
  }

  .showcase-media,
  .showcase-media img {
    min-height: 360px;
  }

  .intro-media,
  .intro-media img {
    min-height: 340px;
  }

  .advantages-media {
    grid-template-columns: 1fr;
  }

  .advantages-media img,
  .advantages-media img + img {
    min-height: 280px;
  }

  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: auto;
  }

  .gallery-head {
    display: grid;
  }

  .gallery-grid button,
  .gallery-placeholder,
  .gallery-grid button:nth-child(1),
  .gallery-grid button:nth-child(2),
  .gallery-grid button:nth-child(4),
  .gallery-grid button:nth-child(5) {
    grid-column: span 1;
    min-height: 310px;
  }

  .site-footer {
    display: grid;
  }

  .lightbox {
    padding: 68px 14px;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 72vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 66px);
  }

  .lightbox-next {
    right: calc(50% - 66px);
  }
}
