/* =============================================
   Salinas Park Resort — Landing Page
   Paleta: azul oceano · branco · areia · dourado
   ============================================= */

:root {
  --ocean-deep: #0a3d62;
  --ocean: #0c5c7a;
  --ocean-light: #1a8aab;
  --ocean-pale: #e8f4f8;
  --sand: #f5ebe0;
  --sand-dark: #d9c5a8;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --white: #ffffff;
  --off-white: #faf8f5;
  --text: #1e2d3d;
  --text-muted: #5a6b7d;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --shadow-sm: 0 2px 8px rgba(10, 61, 98, 0.08);
  --shadow-md: 0 8px 30px rgba(10, 61, 98, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 61, 98, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ocean);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--ocean-light);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--xl {
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--ocean);
  border-color: var(--ocean);
}

.btn--outline:hover {
  background: var(--ocean);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--ocean-deep);
  border-color: var(--white);
}

/* ---- Top Bar ---- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 61, 98, 0.08);
  transition: box-shadow var(--transition);
}

.top-bar--scrolled {
  box-shadow: var(--shadow-sm);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--text);
  line-height: 1.2;
}

.logo:hover {
  color: var(--ocean);
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo__tag {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.top-bar__nav {
  display: flex;
  gap: 0.5rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 61, 98, 0.75) 0%,
    rgba(10, 61, 98, 0.55) 40%,
    rgba(10, 61, 98, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-block: 3rem 5rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: var(--gold);
  color: var(--ocean-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  opacity: 0.92;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero__price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  margin-bottom: 2.5rem;
}

.hero__price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.hero__price-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold-light);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hero__scroll:hover {
  opacity: 1;
  color: var(--gold-light);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Sections ---- */
.section {
  padding-block: 5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ocean-deep);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* ---- Highlights ---- */
.highlights {
  background: var(--white);
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  list-style: none;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--off-white);
  border: 1px solid rgba(10, 61, 98, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.highlight-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.highlight-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.highlight-card__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-deep);
}

/* ---- Opportunity ---- */
.opportunity {
  background: var(--sand);
}

.opportunity__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.opportunity__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.opportunity__list {
  list-style: none;
  margin-bottom: 2rem;
}

.opportunity__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.opportunity__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.opportunity__list strong {
  display: block;
  font-size: 1rem;
  color: var(--ocean-deep);
  margin-bottom: 0.2rem;
}

.opportunity__list span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.opportunity__visual {
  position: relative;
}

.opportunity__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.opportunity__accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 60%;
  height: 60%;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ---- Gallery ---- */
.gallery {
  background: var(--white);
  padding-bottom: 5rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  margin: 0;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/10;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* ---- Details ---- */
.details {
  background: var(--ocean-pale);
}

.details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.details__item {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}

.details__item--full {
  grid-column: 1 / -1;
}

.details__item dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.details__item dd {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ocean-deep);
}

/* ---- Pricing ---- */
.pricing {
  background: var(--white);
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 61, 98, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  background: linear-gradient(145deg, var(--ocean-deep), var(--ocean));
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured .pricing-card__tag {
  background: var(--gold);
  color: var(--ocean-deep);
}

.pricing-card--featured .pricing-card__desc {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card__tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--ocean-pale);
  color: var(--ocean);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.pricing-card--featured .pricing-card__amount {
  color: var(--gold-light);
  font-size: 3rem;
}

.pricing-card__amount--sm {
  font-size: 1.75rem;
}

.pricing-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- CTA Final ---- */
.cta-final {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
}

.cta-final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 61, 98, 0.88), rgba(12, 92, 122, 0.85));
}

.cta-final__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-final__text {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.cta-final__phone {
  margin-bottom: 2rem;
}

.cta-final__phone a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.cta-final__phone a:hover {
  color: var(--white);
}

.cta-final__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---- Footer ---- */
.footer {
  background: var(--ocean-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3rem;
}

.footer__inner {
  text-align: center;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer__location {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer__contact {
  margin-bottom: 1rem;
}

.footer__contact a {
  color: var(--gold-light);
  font-weight: 600;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__credibility {
  font-size: 0.875rem;
  opacity: 0.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ---- FAB WhatsApp ---- */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fab-whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .top-bar__nav .btn--outline {
    display: none;
  }

  .opportunity__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .opportunity__accent {
    display: none;
  }

  .section {
    padding-block: 3.5rem;
  }

  .highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .cta-final__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-final__buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .gallery__item {
    aspect-ratio: 4/3;
  }

  .details__grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll {
    animation: none;
  }

  .gallery__item img {
    transition: none;
  }
}
