@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&family=Petrona:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --azul: #12325c; --azul-esc: #0c2342; --cal: #fbfaf6; --areia: #ede7da;
  --ocre: #c6862f; --texto: #2b3038; --linha: rgba(18, 50, 92, 0.14);
  --ff-display: "Petrona", Georgia, serif; --ff-body: "Karla", system-ui, -apple-system, sans-serif;
  --max: 1180px; --gut: clamp(20px, 5vw, 56px); --r: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cal); color: var(--texto); font: 16px/1.65 var(--ff-body); }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - (var(--gut) * 2))); margin-inline: auto; }

/* O mesmo cabeçalho da homepage */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 18px; transition: background .35s, box-shadow .35s, padding .35s; }
.topo__int { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca { position: relative; display: flex; align-items: center; gap: 15px; color: #fff; text-decoration: none; transition: color .35s; }
.marca__logo { width: auto; height: 58px; transition: opacity .35s, height .35s; }
.marca__logo--escuro { position: absolute; top: 50%; left: 0; opacity: 0; pointer-events: none; transform: translateY(-50%); }
.marca__local { max-width: 90px; padding-left: 16px; border-left: 1px solid currentColor; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.lang { display: inline-flex; align-items: center; margin-left: auto; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; transition: color .35s; }
.lang a, .lang span { padding: 5px 7px; color: inherit; text-decoration: none; opacity: .6; transition: opacity .25s, color .25s; }
.lang a:hover, .lang a:focus-visible { color: var(--ocre); opacity: 1; }
.lang [aria-current="true"] { box-shadow: inset 0 -1.5px 0 var(--ocre); opacity: 1; }
.lang__sep { padding: 0; opacity: .3; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; padding-block: 4px; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: color .35s, opacity .25s; }
.nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1.5px; background: var(--ocre); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ocre); }
.topo__zap { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.topo__zap::after { display: none; }
.topo__zap:hover { color: var(--ocre); }
.hamb { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.hamb span { display: block; width: 100%; height: 2px; background: #fff; transition: transform .3s, opacity .3s, background .35s; }
.hamb[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamb[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamb[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.topo--fixo { padding-block: 11px; background: var(--cal); box-shadow: 0 1px 0 var(--linha), 0 8px 24px -18px rgba(12, 35, 66, .5); }
.topo--fixo .marca, .topo--fixo .nav a, .topo--fixo .lang { color: var(--azul); }
.topo--fixo .marca__logo { height: 50px; }
.topo--fixo .marca__logo--claro { opacity: 0; }
.topo--fixo .marca__logo--escuro { opacity: 1; }
.topo--fixo .hamb span { background: var(--azul); }

.btn { display: inline-block; padding: 15px 28px; border: 1.5px solid transparent; border-radius: var(--r); background: var(--ocre); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { background: #b0741f; transform: translateY(-2px); }
.nav .btn { padding: 11px 22px; }
.btn--reserva { border-color: var(--ocre); background: transparent; color: var(--ocre); }
.nav a.btn--reserva { color: var(--ocre); }
.nav a.btn--reserva:hover { background: var(--ocre); color: #fff; box-shadow: 0 12px 24px -12px rgba(198, 134, 47, .9); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 94px; color: #fff; background: linear-gradient(90deg, rgba(12, 35, 66, .96), rgba(12, 35, 66, .72)), url('hero-albufeira.jpg') center/cover; }
.hero::after { content: ""; position: absolute; right: 6%; bottom: -57px; z-index: -1; width: 180px; height: 180px; border: 1px solid rgba(255, 255, 255, .32); transform: rotate(45deg); }
.eyebrow { color: #f1c579; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 13px 0 22px; font: 500 clamp(2.45rem, 5.6vw, 4.9rem)/.98 var(--ff-display); }
.hero p { max-width: 710px; margin: 0 0 28px; font-size: 1.1rem; }
.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
section { padding: 76px 0; }
section:nth-of-type(2) { background: var(--areia); }
h1, h2, h3 { font-family: var(--ff-display); }
h2, h3 { color: var(--azul); font-weight: 500; }
h2 { max-width: 760px; margin: 0 0 28px; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.06; }
h3 { margin: 0 0 10px; font-size: 1.65rem; line-height: 1.15; }
p { max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; border: 1px solid var(--linha); background: var(--linha); }
.card { padding: 30px; background: var(--cal); }
.card p { margin: 0; }
.band { position: relative; overflow: hidden; background: var(--azul); color: #fff; }
.band::before { content: "FC"; position: absolute; right: 3%; bottom: -75px; color: rgba(255, 255, 255, .06); font: 700 240px/1 var(--ff-display); }
.band h2 { position: relative; color: #fff; }
.band p, .band .btn { position: relative; }
.footer { padding: 35px 0; border-top: 4px solid var(--ocre); background: var(--azul-esc); color: #fff; }
.footer a { color: #fff; }
.small { font-size: .9rem; }
.property { padding: 0; background: var(--cal); }
.property img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.property div { padding: 24px; }
.page-content { padding-top: 125px; }

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .marca { gap: 11px; }
  .marca__local { max-width: 78px; padding-left: 12px; font-size: 9px; letter-spacing: .17em; }
  .marca__logo { height: 46px; }
  .topo--fixo .marca__logo { height: 42px; }
  .lang { margin-right: 2px; font-size: 12.5px; }
  .hamb { display: flex; }
  .nav { position: fixed; inset: 0 0 auto 0; align-items: stretch; flex-direction: column; gap: 0; padding: 96px 24px 32px; background: var(--cal); box-shadow: 0 20px 40px -20px rgba(12, 35, 66, .5); transform: translateY(-102%); transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
  .nav.aberta { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linha); color: var(--azul); font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 20px; color: #fff; }
  .hero { padding: 135px 0 68px; }
  .hero h1 { font-size: 2.65rem; }
  section { padding: 58px 0; }
}
@media (max-width: 380px) {
  .marca { gap: 9px; }
  .marca__logo { height: 42px; }
  .topo--fixo .marca__logo { height: 38px; }
  .marca__local { max-width: 70px; padding-left: 9px; font-size: 8.5px; letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
