:root {
  --bg: #f8f5f2;
  --surface: #fffdfb;
  --text: #2f2926;
  --text-soft: #5d5551;
  --line: #e8ddd8;
  --accent: #cf8d90;
  --accent-strong: #bb7379;
  --radius-lg: 24px;
  --radius-md: 14px;
  --shadow-soft: 0 12px 30px rgba(104, 72, 72, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  background: radial-gradient(
      circle at 8% 10%,
      rgba(207, 141, 144, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 0%,
      rgba(237, 223, 217, 0.75),
      transparent 30%
    ),
    var(--bg);
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background-color: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(232, 221, 216, 0.85);
  background: rgba(248, 245, 242, 0.92);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-strong);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  padding: 6px 2px;
  font-size: 0.95rem;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

.hero-grid,
.about-grid,
.specialties-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-content h1,
h2 {
  margin-top: 0;
  line-height: 1.1;
  font-family: "Cormorant Garamond", serif;
}

.hero-content h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 3.4rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 4.6vw, 2.5rem);
}

.hero-content p {
  max-width: 52ch;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-strong);
}

.btn-primary {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 48px;
  font: inherit;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 8px 20px rgba(187, 115, 121, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(187, 115, 121, 0.36);
}

.hero-image-wrapper,
.about-image-wrapper,
.specialties-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 221, 216, 0.78);
}

.hero-image,
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p,
.contact-intro p {
  color: var(--text-soft);
}

.about-cta {
  margin-top: 22px;
}

.specialties-layout {
  display: grid;
  gap: 24px;
}

.specialties-intro {
  max-width: 68ch;
}

.specialties-cards {
  display: grid;
  gap: 16px;
}

.specialty-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.specialty-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.2;
}

.specialty-card p {
  margin: 0;
  color: var(--text-soft);
}

.specialties-cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.specialties-cta {
  margin-top: 0;
  text-align: center;
}

/* Contato: margens laterais confortáveis e colunas alinhadas */
#contato .container.contact-wrapper {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.25rem);
}

.contact-wrapper {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

.contact-intro,
.contact-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-intro p {
  margin: 0;
}

.contact-room-image-wrapper {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 100%;
}

.contact-room-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 100%;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  font-weight: 700;
  color: var(--text-soft);
}

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #d9cfca;
  background: #fff;
  color: var(--text);
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"] {
  min-height: 48px;
  line-height: 1.45;
}

.form-field textarea {
  line-height: 1.45;
  min-height: 120px;
  resize: vertical;
}

/* Select alinhado aos inputs (altura, padding e seta customizada) */
.form-field select {
  font: inherit;
  width: 100%;
  margin: 0;
  min-height: 48px;
  line-height: 1.45;
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #d9cfca;
  background-color: #fff;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath stroke='%235d5551' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.form-field select::-ms-expand {
  display: none;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid rgba(187, 115, 121, 0.28);
  border-color: var(--accent-strong);
}

.full-width {
  width: 100%;
}

.site-footer {
  padding: 22px 0 34px;
  border-top: 1px solid rgba(232, 221, 216, 0.85);
  color: var(--text-soft);
  text-align: center;
  font-size: 0.94rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
}

.footer-credit a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(187, 115, 121, 0.45);
  text-underline-offset: 3px;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent-strong);
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .nav-list {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 66px 0;
  }
}

/* Mobile: textos centralizados + CTAs centralizados (layout empilhado) */
@media (max-width: 879px) {
  .hero-content,
  .about-content,
  .specialties-intro,
  .contact-intro {
    text-align: center;
  }

  .hero-content p,
  .about-content p,
  .contact-intro p {
    margin-inline: auto;
  }

  .specialties-intro {
    margin-inline: auto;
    max-width: min(68ch, 100%);
  }

  .specialty-card {
    text-align: center;
  }

  .hero-content,
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content .btn-primary,
  .about-content .about-cta {
    align-self: center;
    text-align: center;
  }

  .specialties-cta-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .specialties-cta-wrap .specialties-cta {
    margin-inline: auto;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }

  /* Centraliza o envio: .full-width força 100% — precisa sobrescrever no mobile */
  .contact-form > .btn-primary.full-width {
    align-self: center;
    width: fit-content !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: inline-flex;
    justify-content: center;
  }

  #contato .container.contact-wrapper {
    padding-inline: clamp(1.125rem, 5.5vw, 1.75rem);
  }

  .contact-wrapper {
    gap: clamp(1.75rem, 5vw, 2.5rem);
  }

  .contact-room-image-wrapper {
    margin-top: 20px;
  }
}

@media (min-width: 880px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }

  .specialties-cards {
    grid-template-columns: 1fr 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    column-gap: clamp(2rem, 4vw, 3rem);
    row-gap: 2rem;
  }

  .contact-intro {
    min-height: 100%;
  }

  .contact-room-image-wrapper {
    margin-top: auto;
  }

  .contact-room-image {
    max-height: min(340px, 42vh);
  }
}
