﻿:root {
  --ink: #3d241b;
  --clay: #6a3f2f;
  --paper: #f3efe2;
  --muted: rgba(231, 219, 201, 0.86);
  --gold: #d6b46b;
  --gold-strong: #efd085;
  --line: rgba(255, 247, 232, 0.22);
  --panel: rgba(255, 247, 232, 0.105);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-header {
  display: none;
}

.desktop-hero {
  min-height: 680px;
  height: min(100vh, 56.28vw);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 20, 14, 0.5) 0%, rgba(28, 27, 18, 0.22) 42%, rgba(19, 18, 12, 0.04) 100%),
    linear-gradient(180deg, rgba(4, 7, 6, 0.08), rgba(4, 7, 6, 0.02) 44%, rgba(4, 7, 6, 0.28)),
    url("../img/hero-piscina-alqueva.jpg");
  background-size: cover;
  background-position: center center;
  padding: clamp(24px, 3.2vw, 46px) clamp(28px, 5.2vw, 92px) clamp(54px, 7vw, 96px);
}

.desktop-hero__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 76%, rgba(61, 36, 27, 0.28), transparent 34%);
  pointer-events: none;
}

.desktop-hero__nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
}

.desktop-hero__brand img {
  width: clamp(132px, 14vw, 230px);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.35));
}

.desktop-hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
  color: rgba(255, 247, 232, 0.9);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-hero__links a,
.desktop-hero__button {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.desktop-hero__links a:hover,
.desktop-hero__links a:focus-visible {
  color: var(--gold-strong);
}

.desktop-hero__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(239, 208, 133, 0.8);
  border-radius: 999px;
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(7, 17, 14, 0.42);
  backdrop-filter: blur(12px);
}

.desktop-hero__button:hover,
.desktop-hero__button:focus-visible {
  background: rgba(214, 180, 107, 0.14);
}

.desktop-hero__content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin-top: auto;
  padding-top: clamp(60px, 12vh, 150px);
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
}

.desktop-hero__content h1 {
  max-width: 760px;
  font-size: clamp(58px, 7.6vw, 118px);
}

.desktop-hero__content p {
  max-width: 620px;
  color: rgba(255, 247, 232, 0.9);
}

.hero-signup {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  width: min(900px, calc(100vw - 56px));
  margin-top: 30px;
  padding: 0;
}

.hero-signup input,
.hero-signup button,
.mobile-signup input,
.mobile-signup button,
.reserve-form input,
.reserve-form button {
  min-height: 54px;
  border-radius: 999px;
}

.hero-signup input,
.hero-signup button {
  width: 100%;
  min-height: 58px;
  font-size: 16px;
}

.hero-signup input,
.mobile-signup input,
.reserve-form input {
  border: 1px solid rgba(214, 180, 107, 0.42);
  padding: 0 22px;
  background: rgba(61, 36, 27, 0.82);
  color: var(--paper);
  outline: 0;
  backdrop-filter: blur(14px);
}

.hero-signup input::placeholder,
.mobile-signup input::placeholder,
.reserve-form input::placeholder {
  color: rgba(255, 247, 232, 0.62);
}

.hero-signup button,
.mobile-signup button,
.reserve-form button {
  border: 0;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #24120d;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  padding: 0 30px;
  white-space: nowrap;
}

.hero-signup button:disabled,
.mobile-signup button:disabled,
.reserve-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.hero-signup__message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.mobile-hero {
  display: none;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 7vw, 120px);
  border-top: 1px solid var(--line);
  background: #3d241b;
}

.section:nth-of-type(even) {
  background: #6a3f2f;
}

.section#experiencia,
.section#spa,
.section#regiao,
.section#contactos {
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 23, 18, 0.62) 0%, rgba(13, 23, 18, 0.34) 45%, rgba(13, 23, 18, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 10, 8, 0.2) 0%, rgba(7, 10, 8, 0.08) 44%, rgba(7, 10, 8, 0.44) 100%);
  background-size: cover;
  background-position: center;
}

.section#experiencia {
  background-image:
    linear-gradient(90deg, rgba(13, 23, 18, 0.64) 0%, rgba(13, 23, 18, 0.34) 44%, rgba(13, 23, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 10, 8, 0.12) 0%, rgba(7, 10, 8, 0.04) 48%, rgba(7, 10, 8, 0.36) 100%),
    url("../img/section-experiencia.png");
  background-position: center 58%;
}

.section#spa {
  background-image:
    linear-gradient(90deg, rgba(42, 28, 17, 0.6) 0%, rgba(42, 28, 17, 0.28) 48%, rgba(42, 28, 17, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 10, 8, 0.1) 0%, rgba(7, 10, 8, 0.03) 48%, rgba(7, 10, 8, 0.32) 100%),
    url("../img/section-spa.png");
  background-position: center;
}

.section#regiao {
  background-image:
    linear-gradient(90deg, rgba(7, 16, 22, 0.66) 0%, rgba(7, 16, 22, 0.34) 45%, rgba(7, 16, 22, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 10, 8, 0.08) 0%, rgba(7, 10, 8, 0.02) 46%, rgba(7, 10, 8, 0.4) 100%),
    url("../img/section-regiao.png");
  background-position: center 44%;
}

.section#contactos {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 18, 0.66) 0%, rgba(14, 24, 18, 0.34) 44%, rgba(14, 24, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 10, 8, 0.08) 0%, rgba(7, 10, 8, 0.02) 48%, rgba(7, 10, 8, 0.34) 100%),
    url("../img/section-contactos.png");
  background-position: center 54%;
}

.section#experiencia::after,
.section#spa::after,
.section#regiao::after,
.section#contactos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 50%, rgba(255, 247, 232, 0.08), transparent 34%);
  pointer-events: none;
}

.section__inner {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 30px);
}

.section#experiencia .section__inner,
.section#spa .section__inner,
.section#regiao .section__inner,
.section#contactos .section__inner {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58), 0 12px 34px rgba(0, 0, 0, 0.46);
}

.section#experiencia p,
.section#spa p,
.section#contactos p {
  color: rgba(255, 247, 232, 0.92);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section#experiencia .eyebrow,
.section#spa .eyebrow,
.section#regiao .eyebrow,
.section#contactos .eyebrow {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.4vw, 82px);
  font-weight: 400;
  line-height: 0.98;
  text-align: left;
  text-transform: none;
}

.section-heading {
  width: min(680px, 100%);
  max-width: 100%;
}

.section-subtitle {
  width: 100%;
  margin: 14px 0 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  text-align: left;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(52px, 12vw, 92px);
  line-height: 0.92;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.2vw, 78px);
  line-height: 0.98;
}

p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-lead {
  margin-bottom: 28px;
  color: rgba(255, 247, 232, 0.94);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.35;
}

.text-link {
  color: var(--gold-strong);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.feature-list {
  display: grid;
  gap: 10px;
  width: min(640px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 4px 0 4px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.45;
  backdrop-filter: none;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail {
  min-height: 0;
  padding: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.detail h3 {
  margin-bottom: 6px;
  color: var(--paper);
  font-size: 20px;
  line-height: 1.22;
}

.detail p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.55;
}

.positioning-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.positioning-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(214, 180, 107, 0.34);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.1);
  color: var(--paper);
  font-size: 14px;
  font-weight: 900;
}

.section--reserve {
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 180, 107, 0.24), transparent 42%),
    linear-gradient(135deg, #3d241b, #6a3f2f);
}

.reserve-panel {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(214, 180, 107, 0.36);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 247, 232, 0.13), rgba(255, 247, 232, 0.06));
}

.reserve-form,
.mobile-signup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.reserve-form [data-message],
.mobile-signup [data-message] {
  grid-column: 1 / -1;
}

.reserve-form button,
.mobile-signup button {
  padding: 0 24px;
}

[data-message] {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.finance-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 7vw, 120px);
  background: #fffdf6;
  color: #24120d;
}

.finance-strip p {
  margin: 6px 0 0;
  color: rgba(61, 36, 27, 0.72);
  font-size: 15px;
}

.finance-strip img {
  width: min(520px, 100%);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px clamp(20px, 7vw, 120px);
  text-align: center;
  color: rgba(255, 247, 232, 0.74);
  background: #24120d;
}

.footer img {
  width: min(220px, 58vw);
  margin: 0 auto;
}

@media (min-width: 901px) {
  .section#experiencia,
  .section#spa,
  .section#regiao,
  .section#contactos {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 86px 52px 70px 92px;
  }

  .section#experiencia .section__inner,
  .section#spa .section__inner,
  .section#regiao .section__inner,
  .section#contactos .section__inner {
    width: min(620px, 48vw);
    margin: 0 auto 0 0;
    gap: 18px;
  }

  .section#experiencia .eyebrow,
  .section#spa .eyebrow,
  .section#regiao .eyebrow,
  .section#contactos .eyebrow {
    font-size: clamp(50px, 4.8vw, 70px);
  }

  .section#experiencia .feature-list li,
  .section#spa .feature-list li,
  .section#regiao p,
  .section#contactos p {
    font-size: 18px;
    line-height: 1.45;
  }
}

@media (max-width: 900px) {
  .desktop-hero {
    display: none;
  }

  .mobile-header {
    position: absolute;
    z-index: 10;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px 36px;
    background: linear-gradient(180deg, rgba(18, 20, 17, 0.72), rgba(18, 20, 17, 0));
    border-bottom: 0;
  }

  .mobile-header img {
    width: clamp(112px, 31vw, 148px);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34));
  }

  .mobile-header a {
    pointer-events: auto;
  }

  .mobile-header__button {
    min-height: 34px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--gold);
    color: #24120d;
    font-size: 13px;
    font-weight: 900;
    pointer-events: auto;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  }

  .mobile-hero {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 150px 18px 28px;
    background:
      linear-gradient(180deg, rgba(8, 12, 11, 0.22) 0%, rgba(8, 12, 11, 0.03) 58%, rgba(61, 36, 27, 0.76) 82%, var(--ink) 100%),
      url("../img/hero-piscina-alqueva.jpg");
    background-color: var(--ink);
    background-size: auto 88svh;
    background-repeat: no-repeat;
    background-position: 80% top;
  }

  .mobile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(8, 12, 11, 0) 0%, rgba(8, 12, 11, 0.04) 42%, rgba(61, 36, 27, 0.48) 70%, rgba(61, 36, 27, 0.88) 100%),
      linear-gradient(90deg, rgba(61, 36, 27, 0.36), rgba(61, 36, 27, 0.05));
    pointer-events: none;
  }

  .mobile-hero__content {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    padding: 0;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.52);
  }

  .mobile-hero h1 {
    font-size: clamp(54px, 14vw, 76px);
  }

  .mobile-hero p {
    font-size: 17px;
    color: rgba(255, 247, 232, 0.94);
  }

  .mobile-signup,
  .reserve-form {
    grid-template-columns: 1fr;
  }

  .mobile-signup {
    gap: 10px;
    margin-top: 18px;
  }

  .mobile-signup input,
  .mobile-signup button {
    min-height: 50px;
  }

  .section {
    padding: 54px 18px;
  }

  .section#experiencia,
  .section#spa,
  .section#regiao,
  .section#contactos {
    align-items: flex-start;
    padding: 96px 22px 42px;
  }

  .section__inner {
    width: 100%;
    margin: 0;
    gap: 18px;
  }

  .section#experiencia .eyebrow,
  .section#spa .eyebrow,
  .section#regiao .eyebrow,
  .section#contactos .eyebrow {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 0.98;
  }

  .section-subtitle {
    margin-top: 10px;
    font-size: clamp(22px, 6vw, 28px);
  }

  .section#experiencia p:not(.section-subtitle),
  .section#spa p:not(.section-subtitle),
  .section#regiao p:not(.section-subtitle),
  .section#contactos p:not(.section-subtitle),
  .feature-list li {
    font-size: 17px;
    line-height: 1.45;
  }

  .section#experiencia {
    background-position: 0% 58%;
  }

  .section#spa {
    background-position: 30% 50%;
  }

  .section#regiao {
    background-position: 20% 44%;
  }

  .section#contactos {
    background-position: 40% 54%;
  }

  .detail {
    min-height: auto;
  }

  .finance-strip {
    align-items: flex-start;
  }
}
