/* ===== Tokens ===== */
:root {
  --spark: #E8A94C;
  --spark-soft: #F0C27A;
  --rescaldo: #4A3A22;
  --dark: #171B26;
  --white: #FFFFFF;
  --paper: #F4EEE1;

  --font-heading: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  --max-width: 1120px;
  --radius: 14px;
  --header-height: 76px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.25;
  color: var(--rescaldo);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  text-align: center;
  margin-bottom: 1rem;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: var(--spark);
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(232, 169, 76, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 169, 76, 0.45);
}

/* ===== Header fixo ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  z-index: 900;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
}

.site-header__logo img {
  height: 67px;
  width: auto;
  display: block;
}

.site-header__tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--spark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(to bottom, rgba(23, 27, 38, 0.08) 0%, rgba(23, 27, 38, 0.2) 55%, rgba(23, 27, 38, 0.5) 100%),
    url("../assets/fotos/hero-beachclub.jpg") center / cover no-repeat;
  color: var(--white);
  padding: calc(var(--header-height) + 5rem) 0 11.5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
  text-align: left;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--spark-soft);
  margin-bottom: 0.75rem;
}

.hero__headline {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero__subheadline {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--paper);
}

.section--dark {
  background: var(--dark);
}

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

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.75);
}

.section-closing {
  max-width: 60ch;
  margin: 3rem auto 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--white);
}

.section__lead {
  max-width: 62ch;
  margin: 0 auto 3rem;
  text-align: center;
  color: #55503f;
  font-size: 1.05rem;
}

#conceito .section__lead {
  max-width: 48ch;
}

/* ===== Comparativo ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.compare__col {
  padding: 2rem;
  border-radius: var(--radius);
}

.compare__col--before {
  background: #ece7db;
}

.compare__col--after {
  background: linear-gradient(135deg, rgba(232, 169, 76, 0.18), rgba(74, 58, 34, 0.14));
}

.compare__title {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.compare__col--before .compare__title { color: #7d7663; }
.compare__col--after .compare__title { color: var(--rescaldo); }

.compare__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
}

.mark {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.mark--no {
  background: #a89f8a;
  color: var(--white);
}

.mark--yes {
  background: linear-gradient(135deg, var(--spark), var(--rescaldo));
  color: var(--white);
}

/* ===== Fotos ===== */
.cenario-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
}

.cenario-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ===== Grid genérico ===== */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== Cards (o que a Kaiia faz) ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: left;
  box-shadow: 0 1px 3px rgba(74, 58, 34, 0.1);
  border: 1px solid rgba(74, 58, 34, 0.08);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(232, 169, 76, 0.18);
  color: var(--spark);
  margin-bottom: 1.2rem;
}

.card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #55503f;
}

/* ===== Segmentos ===== */
.grid--segmentos {
  grid-template-columns: repeat(4, 1fr);
}

.segmento {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 160px;
}

.segmento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segmento__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(23, 27, 38, 0.85), rgba(23, 27, 38, 0));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
}

/* ===== CTA Final ===== */
.cta-final {
  background: linear-gradient(160deg, var(--rescaldo) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-final h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

/* ===== Respiro pré-rodapé ===== */
.pre-footer {
  background:
    linear-gradient(to bottom, rgba(23, 27, 38, 0.35) 0%, rgba(23, 27, 38, 0.5) 100%),
    url("../assets/fotos/pre-footer-amigos.jpg") center / cover no-repeat;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.pre-footer__text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 20ch;
  margin: 0 auto;
}

/* ===== Rodapé ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__logo {
  height: 67px;
  width: auto;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-right: 84px;
}

.footer__nav,
.footer__social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer__nav {
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.footer__social {
  gap: 1.1rem;
  margin-left: auto;
}

.footer__nav a,
.footer__social a {
  color: var(--spark);
}

.footer__nav a:hover,
.footer__social a:hover {
  color: var(--white);
}

.footer__social a {
  display: inline-flex;
  align-items: center;
}

.footer__social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}

/* ===== Botão flutuante do WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
  .site-nav,
  .nav-toggle__bar {
    transition: none;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== Responsivo ===== */
@media (max-width: 860px) {
  .grid--4 {
    grid-template-columns: 1fr 1fr;
  }
  .grid--segmentos {
    grid-template-columns: 1fr 1fr;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero__aside {
    align-items: center;
  }
}

@media (max-width: 700px) {
  :root { --header-height: 72px; }
  .site-header__logo img { height: 50px; }
  .site-header__tagline { font-size: 0.8rem; }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--dark);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    max-height: 320px;
    opacity: 1;
  }

  .site-nav a {
    padding: 0.95rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 380px) {
  .site-header__tagline { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .compare { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--segmentos { grid-template-columns: 1fr; }
  .hero { padding-bottom: 12.5rem; }
  .cenario-photos { grid-template-columns: 1fr; }
}
