:root {
  --ink: #1e1d03;
  --gold: #c89d65;
  --cream: #f7f2e9;
  --paper: #fffdf8;
  --muted: #706d60;
  --line: rgba(30, 29, 3, 0.13);
  --shadow: 0 24px 70px rgba(20, 18, 7, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(480px, 610px);
}

.visual-panel {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  background:
    url("../img/ilha-do-mel-farol.webp") center center / cover no-repeat;
}

.visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 7, 0.04) 35%, rgba(20, 18, 7, 0.55) 100%),
    linear-gradient(90deg, rgba(20, 18, 7, 0.18), transparent 55%);
}

.visual-caption {
  position: absolute;
  left: clamp(28px, 4vw, 64px);
  bottom: clamp(28px, 5vw, 64px);
  color: white;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 22px rgba(0,0,0,.38);
}

.visual-caption span,
.visual-caption strong {
  display: block;
}

.visual-caption span {
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
}

.visual-caption strong {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.content-panel {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(200,157,101,.16), transparent 38%),
    var(--cream);
}

.wood-detail {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 430px;
  height: 630px;
  opacity: .055;
  filter: sepia(1);
  transform: rotate(-8deg);
  background: url("../img/detalhe-madeira.webp") center / cover no-repeat;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: auto;
  padding: clamp(40px, 7vh, 74px) clamp(28px, 5vw, 58px) 34px;
}

.brand {
  margin-bottom: clamp(34px, 5vh, 52px);
}

.brand img {
  display: block;
  width: min(330px, 80%);
  height: auto;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: #8a693f;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 57px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.035em;
}

.lead {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 20px;
  padding: 15px 17px;
  border: 1px solid rgba(200,157,101,.45);
  border-radius: 14px;
  background: rgba(255,253,248,.68);
}

.notice-mark {
  flex: 0 0 auto;
  color: #9a713d;
  font-size: 15px;
  line-height: 1.4;
}

.notice p {
  margin: 0;
  color: #625c4c;
  font-size: 12.5px;
  line-height: 1.5;
}

.contacts {
  display: grid;
  gap: 12px;
}

.contact-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,253,248,.93);
  box-shadow: 0 8px 30px rgba(30,29,3,.045);
  text-decoration: none;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200,157,101,.78);
  background: #fff;
  box-shadow: 0 15px 38px rgba(30,29,3,.105);
  outline: none;
}

.contact-photo {
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid rgba(200,157,101,.7);
  object-fit: cover;
  object-position: center;
  background: #eadbc6;
}

.contact-copy {
  min-width: 0;
}

.contact-copy strong,
.contact-copy small {
  display: block;
}

.contact-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.contact-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-action svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

footer {
  padding-top: 28px;
  text-align: center;
}

footer p {
  margin: 0;
  color: #8a8678;
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

  .visual-panel {
    position: relative;
    min-height: 280px;
    height: 38svh;
    background-position: center 51%;
  }

  .visual-caption {
    left: 24px;
    bottom: 23px;
  }

  .visual-caption span {
    font-size: 33px;
  }

  .content-panel {
    min-height: auto;
    overflow: visible;
    border-radius: 28px 28px 0 0;
    margin-top: -25px;
  }

  .content {
    max-width: 620px;
    padding: 38px 22px 30px;
  }

  .brand {
    margin-bottom: 34px;
  }

  .brand img {
    width: min(290px, 78%);
  }
}

@media (max-width: 520px) {
  .visual-panel {
    min-height: 230px;
    height: 31svh;
  }

  .visual-caption span {
    font-size: 27px;
  }

  .visual-caption strong {
    font-size: 9px;
  }

  .content {
    padding-inline: 16px;
  }

  h1 {
    font-size: 41px;
  }

  .lead {
    font-size: 15px;
  }

  .contact-card {
    min-height: 86px;
    grid-template-columns: 58px minmax(0, 1fr) 39px;
    gap: 13px;
    padding: 12px;
    border-radius: 16px;
  }

  .contact-photo {
    width: 58px;
    height: 58px;
  }

  .contact-copy strong {
    font-size: 17px;
  }

  .contact-copy small {
    font-size: 10.5px;
  }

  .contact-action {
    width: 39px;
    min-height: 39px;
    justify-content: center;
    padding: 0;
  }

  .contact-action span {
    display: none;
  }

  .contact-action svg {
    width: 19px;
    height: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ── FORMULÁRIO DE PRÉ-ATENDIMENTO ───────────────────────────── */
body.modal-open {
  overflow: hidden;
}

.sdr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(19, 17, 9, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sdr-modal.open {
  display: flex;
}

.sdr-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  border: 1px solid rgba(200, 157, 101, .42);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(200, 157, 101, .18), transparent 34%),
    var(--cream);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

.sdr-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(30, 29, 3, .16);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 248, .86);
  font: 300 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

.sdr-close:hover,
.sdr-close:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.sdr-inner {
  padding: 34px;
}

.sdr-eyebrow {
  margin: 0 44px 20px 0;
  color: #8a693f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sdr-eyebrow strong {
  color: var(--ink);
}

.sdr-heading {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 17px;
  align-items: center;
  margin-bottom: 26px;
}

.sdr-heading img {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(200, 157, 101, .72);
  border-radius: 50%;
  object-fit: cover;
  background: #eadbc6;
}

.sdr-heading h2 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.025em;
}

.sdr-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.sdr-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.sdr-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.sdr-full,
.sdr-submit,
.sdr-hint {
  grid-column: 1 / 3;
}

.sdr-field label {
  color: #8a693f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sdr-field input,
.sdr-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(30, 29, 3, .15);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 253, 248, .96);
  font: 14px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
}

.sdr-field input:focus,
.sdr-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 157, 101, .14);
  outline: none;
}

.sdr-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.sdr-choice-btn {
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid rgba(30, 29, 3, .14);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(255, 253, 248, .9);
  font: 600 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.sdr-choice-btn.selected {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(200, 157, 101, .18);
}

.sdr-submit {
  min-height: 52px;
  margin-top: 5px;
  border: 0;
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.sdr-submit:hover,
.sdr-submit:focus-visible {
  transform: translateY(-1px);
  background: #34320a;
  outline: none;
}

.sdr-hint {
  margin: 0;
  color: #898477;
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 620px) {
  .sdr-modal {
    align-items: flex-end;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  .sdr-dialog {
    width: 100%;
    max-height: 90svh;
    border-radius: 22px 22px 16px 16px;
  }

  .sdr-inner {
    padding: 25px 18px 19px;
  }

  .sdr-eyebrow {
    margin-bottom: 16px;
  }

  .sdr-heading {
    grid-template-columns: 54px 1fr;
    gap: 13px;
    margin-bottom: 20px;
    padding-right: 24px;
  }

  .sdr-heading img {
    width: 54px;
    height: 54px;
  }

  .sdr-heading h2 {
    font-size: 25px;
  }

  .sdr-heading p {
    font-size: 12px;
  }

  .sdr-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sdr-full,
  .sdr-submit,
  .sdr-hint {
    grid-column: 1;
  }

  .sdr-field input,
  .sdr-field select {
    min-height: 45px;
    padding: 10px 11px;
  }

  .sdr-submit {
    min-height: 48px;
  }
}


/* ── REVISÃO RESPONSIVA 2026 ───────────────────────────────── */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
}

button,
a,
input,
select {
  touch-action: manipulation;
}

.content-panel,
.content,
.contacts,
.contact-card {
  min-width: 0;
}

.sdr-dialog {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.sdr-field input,
.sdr-field select {
  appearance: none;
  -webkit-appearance: none;
}

.sdr-field select {
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, #8a693f 50%),
    linear-gradient(135deg, #8a693f 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 50%,
    calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

@media (max-width: 980px) {
  .page-shell {
    width: 100%;
  }

  .visual-panel {
    width: 100%;
    height: clamp(240px, 34svh, 340px);
    min-height: 240px;
    background-position: center 52%;
  }

  .content-panel {
    width: 100%;
    margin-top: -24px;
    border-radius: 25px 25px 0 0;
  }

  .content {
    width: 100%;
    padding-top: 36px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }

  .wood-detail {
    display: none;
  }
}

@media (max-width: 620px) {
  .visual-panel {
    height: clamp(220px, 30svh, 275px);
    min-height: 220px;
  }

  .visual-caption {
    left: 18px;
    bottom: 35px;
  }

  .content-panel {
    margin-top: -22px;
  }

  .content {
    padding: 31px 15px calc(24px + env(safe-area-inset-bottom));
  }

  .brand {
    margin-bottom: 27px;
  }

  .brand img {
    width: min(255px, 76vw);
  }

  h1 {
    font-size: clamp(36px, 11vw, 43px);
    line-height: 1;
  }

  .lead {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .notice {
    margin: 22px 0 16px;
    padding: 13px 14px;
  }

  .contact-card {
    grid-template-columns: 58px minmax(0, 1fr) 42px;
    gap: 12px;
    min-height: 84px;
    padding: 11px;
  }

  .contact-photo {
    width: 58px;
    height: 58px;
  }

  .contact-copy strong {
    overflow-wrap: anywhere;
  }

  .contact-action {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  footer {
    padding-top: 23px;
  }

  .sdr-modal {
    padding:
      max(8px, env(safe-area-inset-top))
      8px
      max(8px, env(safe-area-inset-bottom));
  }

  .sdr-dialog {
    max-height: calc(100svh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .sdr-close {
    top: 11px;
    right: 11px;
    width: 40px;
    height: 40px;
  }

  .sdr-inner {
    padding: 23px 16px 18px;
  }

  .sdr-eyebrow {
    margin-right: 46px;
    margin-bottom: 15px;
  }

  .sdr-heading {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding-right: 28px;
  }

  .sdr-heading img {
    width: 52px;
    height: 52px;
  }

  .sdr-heading h2 {
    font-size: clamp(22px, 7vw, 26px);
  }

  .sdr-heading p {
    font-size: 11.5px;
    line-height: 1.48;
  }

  .sdr-form {
    gap: 9px;
  }

  /* Evita o zoom automático do Safari/iPhone ao tocar nos campos */
  .sdr-field input,
  .sdr-field select {
    min-height: 47px;
    font-size: 16px;
  }

  .sdr-choice-btn {
    min-height: 47px;
    font-size: 12px;
  }

  .sdr-submit {
    min-height: 50px;
    padding: 11px 17px;
    font-size: 10.5px;
  }
}

@media (max-width: 360px) {
  .visual-panel {
    min-height: 205px;
    height: 27svh;
  }

  .content {
    padding-inline: 12px;
  }

  .eyebrow {
    font-size: 9.5px;
  }

  h1 {
    font-size: 35px;
  }

  .contact-card {
    grid-template-columns: 52px minmax(0, 1fr) 40px;
    gap: 9px;
  }

  .contact-photo {
    width: 52px;
    height: 52px;
  }

  .contact-copy strong {
    font-size: 16px;
  }

  .contact-copy small {
    font-size: 10px;
    line-height: 1.3;
  }

  .sdr-choice {
    grid-template-columns: 1fr;
  }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 980px) {
  .visual-panel {
    height: 200px;
    min-height: 200px;
  }

  .sdr-modal {
    align-items: stretch;
  }

  .sdr-dialog {
    max-height: calc(100svh - 16px);
  }
}


/* ── AJUSTE DE RESPIRO ENTRE FOTO E CONTEÚDO ───────────────── */
@media (max-width: 620px) {
  .visual-panel {
    height: clamp(245px, 34svh, 305px);
    min-height: 245px;
  }

  .visual-caption {
    bottom: 54px;
  }

  .content-panel {
    margin-top: -26px;
  }
}

@media (max-width: 360px) {
  .visual-panel {
    min-height: 230px;
    height: 31svh;
  }

  .visual-caption {
    bottom: 50px;
  }
}


/* ── FRASE PRINCIPAL DE VALOR ─────────────────────────────── */
.value-line {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.015em;
}

.value-line + .lead {
  margin-top: 13px;
}

@media (max-width: 620px) {
  .value-line {
    font-size: clamp(18px, 5.7vw, 22px);
    line-height: 1.34;
  }
}
