:root {
  --olive: #4d6247;
  --olive-dark: #43563e;
  --olive-footer: #41523f;
  --gold: #eda443;
  --blue: #6d96d3;
  --text: #181818;
  --text-secondary: #383838;
  --bg-light: #efefef;
  --line: #cfcfcf;
  --white: #ffffff;
  --hero-overlay: linear-gradient(rgba(8, 10, 14, 0.28), rgba(8, 10, 14, 0.18));
  --radius-xl: 26px;
  --navbar-height: 88px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-light);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.85;
}

section {
  scroll-margin-top: calc(var(--navbar-height) + 16px);
  background-color: var(--white);
}

section:nth-of-type(even) {
  background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hotel-section h2 {
  color: #fff !important;
}

section h2 {
  color: var(--olive-dark);
}

.display-4,
.display-5 {
  font-weight: 500 !important;
  letter-spacing: -0.05em !important;
  line-height: 0.98;
}

.lead,
.fw-light {
  font-weight: 300 !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.container-lg {
  max-width: 1120px;
}

.rounded-4 {
  border-radius: var(--radius-xl) !important;
}

hr {
  border-color: var(--line);
  opacity: 1;
}

/* BOTÕES */
.btn {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus,
.btn:focus-visible {
  box-shadow: none;
  outline: none;
}

.btn-gold {
  background-color: var(--gold);
  color: #1d1d1d;
}

.btn-olive {
  background-color: var(--olive-dark);
  color: var(--white);
}

.btn-blue {
  background-color: var(--blue);
  color: var(--white);
}

/* NAVBAR */
.navbar {
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(8px);
  padding: 1rem 0 !important;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.nav-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

/* HERO */
.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    var(--hero-overlay),
    url("../images/hero.webp") center center / cover no-repeat;
  padding-top: calc(var(--navbar-height) + 48px) !important;
  padding-bottom: 48px !important;
}

.hero-card {
  background: rgba(77, 98, 71, 0.9);
  color: var(--white);
  max-width: 600px;
}

/* SOBRE */
.about-logo {
  max-width: 130px;
}

.about-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.gold-line {
  width: 240px;
  height: 3px;
  background-color: var(--gold);
}

/* HOTEL / SPA */
.hotel-section {
  background:
    var(--hero-overlay),
    url("../images/spa.webp") center center / cover no-repeat;
}

/* GASTRONOMIA */
.gastronomy-image {
  min-height: 500px;
  object-fit: cover;
}

.gastronomy-card {
  background-color: var(--gold);
  color: #222;
  height: 100%;
}

/* EXPERIÊNCIA */
.exp-image-lg {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.exp-image-sm {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* CONTATO */
.contact-section {
  padding-top: 80px;
  padding-bottom: 90px;
  background: var(--bg-light);
  overflow: hidden;
}

.contact-wrapper {
  position: relative;
}

.contact-heading {
  max-width: 620px;
  margin-bottom: 28px;
}

.contact-heading h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #181818;
  margin: 0;
}

.contact-showcase {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.contact-bg-strip {
  position: absolute;
  left: 0;
  right: -100vw;
  top: 80px;
  height: 320px;
  background: var(--blue);
  border-radius: 0 28px 28px 0;
  z-index: 0;
}

.contact-image-card {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.contact-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.contact-floating-card {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 3;
  width: min(100%, 420px);
  background: rgba(77, 98, 71, 0.92);
  color: #fff;
  border-radius: 24px;
  padding: 28px 26px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.contact-floating-card p {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.contact-badge {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #1d1d1d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  white-space: nowrap;
}

/* OPERAÇÕES */
.operations-line {
  width: 320px;
  height: 4px;
  background-color: #111;
  margin: 0 auto 54px;
}

.operation-item {
  font-size: 18px;
}

/* FOOTER */
.footer-custom {
  background-color: var(--olive-footer);
  color: var(--white);
}

.footer-logo {
  height: 50px;
  width: auto;
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-created-by {
  font-size: 12px;
}

.clinc-logo {
  height: 24px;
  width: auto;
}

.footer-bottom {
  font-size: 11px;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}

/* DESKTOP MÉDIO */
@media (max-width: 1199.98px) {
  .contact-image-card img {
    height: 430px;
  }

  .contact-floating-card {
    width: min(100%, 390px);
  }
}

/* TABLET */
@media (max-width: 991.98px) {
  :root {
    --navbar-height: 80px;
  }

  .navbar {
    padding: 0.85rem 0 !important;
  }

  .navbar-brand img {
    height: 34px;
  }

  .navbar-collapse {
    margin-top: 0.9rem;
    padding: 0.75rem 0 0.25rem;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 14px;
  }

  .nav-link {
    padding: 0.7rem 0.5rem !important;
    font-size: 11px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2.1rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 56px) !important;
    padding-bottom: 56px !important;
  }

  .hero-card {
    max-width: 100%;
  }

  .about-image,
  .gastronomy-image {
    max-height: none;
    min-height: 360px;
  }

  .exp-image-lg {
    height: 320px;
  }

  .exp-image-sm {
    height: 154px;
  }

  .contact-section {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .contact-heading {
    max-width: 100%;
    margin-bottom: 22px;
  }

  /* TABLET: empilha corretamente */
  .contact-showcase {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 20px;
  }

  /* TABLET: remove box azul */
  .contact-bg-strip {
    display: none;
  }

  .contact-image-card {
    width: 100%;
    border-radius: 24px;
  }

  .contact-image-card img {
    height: 400px;
  }

  /* TABLET: texto abaixo da foto */
  .contact-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 24px 22px 20px;
    border-radius: 20px;
  }

  .contact-floating-card p {
    font-size: 1.1rem;
    line-height: 1.45;
  }

  .contact-badge {
    top: -14px;
    left: 20px;
  }

  .operation-item {
    font-size: 16px;
  }

  /* FOOTER tablet/mobile centralizado */
  .footer-custom .col-lg-4 {
    text-align: center !important;
  }

  .footer-custom .d-flex {
    justify-content: center !important;
  }

  .footer-logo,
  .clinc-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* MOBILE GRANDE */
@media (max-width: 767.98px) {
  :root {
    --navbar-height: 72px;
  }

  .navbar {
    padding: 0.7rem 0 !important;
  }

  .navbar-brand img {
    height: 30px;
  }

  .navbar-toggler {
    padding: 0.35rem 0.55rem !important;
    border: 0;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .nav-link {
    font-size: 11px;
    padding: 0.75rem 0.4rem !important;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .lead,
  .fs-5 {
    font-size: 1rem !important;
  }

  .fs-6 {
    font-size: 0.95rem !important;
  }

  .hero-section {
    padding-top: calc(var(--navbar-height) + 44px) !important;
    padding-bottom: 40px !important;
    background-position: center center;
  }

  .hero-card,
  .gastronomy-card {
    padding: 1.75rem !important;
  }

  section {
    padding: 3rem 0 !important;
  }

  .about-image,
  .gastronomy-image {
    min-height: 280px;
  }

  .exp-image-lg,
  .exp-image-sm {
    height: 240px;
  }

  .contact-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .contact-heading {
    margin-bottom: 18px;
  }

  .contact-heading h2 {
    font-size: 2rem;
    line-height: 1.02;
  }

  /* Mantém empilhado no mobile */
  .contact-showcase {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 16px;
  }

  .contact-bg-strip {
    display: none;
  }

  .contact-image-card {
    border-radius: 22px;
    width: 100%;
  }

  .contact-image-card img {
    height: 320px;
    border-radius: 22px;
  }

  .contact-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .contact-floating-card p {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .contact-badge {
    top: -14px;
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .contact-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .btn-contact {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
  }

  .operations-line {
    width: 220px;
    margin-bottom: 32px;
  }

  .operation-item {
    font-size: 15px;
  }

  .footer-logo {
    height: 42px;
  }
}

/* MOBILE PEQUENO */
@media (max-width: 575.98px) {
  .container-lg {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .lead,
  .fs-5 {
    font-size: 0.95rem !important;
  }

  .fs-6 {
    font-size: 0.875rem !important;
  }

  .p-5 {
    padding: 1.4rem !important;
  }

  section {
    padding: 2.5rem 0 !important;
  }

  .gold-line {
    width: 160px;
  }

  .about-logo {
    max-width: 110px;
  }

  .about-image,
  .gastronomy-image {
    min-height: 220px;
  }

  .exp-image-lg,
  .exp-image-sm {
    height: 200px;
  }

  .contact-heading h2 {
    font-size: 1.7rem;
  }

  .contact-showcase {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    gap: 16px;
  }

  .contact-bg-strip {
    display: none;
  }

  .contact-image-card {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
  }

  .contact-image-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
  }

  .contact-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 16px 16px;
    border-radius: 18px;
  }

  .contact-floating-card p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .contact-badge {
    position: absolute;
    top: -12px;
    left: 16px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .contact-actions {
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .btn-contact {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  .operations-line {
    width: 180px;
  }

  .footer-bottom {
    font-size: 10px;
  }
}

/* FIX: "Criado por" alinhado junto à marca no mobile/tablet */
@media (max-width: 991.98px) {

  .footer-custom .col-lg-4:last-child .d-flex {
    justify-content: center !important;
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }

  .footer-custom .clinc-logo {
    margin: 0 auto;
  }

  .footer-custom .footer-created-by {
    display: block;
  }
}