/* ===== Fontes ===== */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype-variations");
  font-weight: 100 1000;
  font-style: normal;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Italic-VariableFont_opsz,wght.ttf") format("truetype-variations");
  font-weight: 100 1000;
  font-style: italic;
}
@font-face {
  font-family: "CEXED";
  src: url("../fonts/CEXED.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* ===== Tokens ===== */
:root {
  --brown-dark: #442D1D;
  --brown-mid: #926447;
  --sand: #E7D1A8;
  --olive: #7D775C;
  --near-black: #2D2D24;

  --bg: var(--brown-dark);
  --text: var(--sand);
  --text-muted: #cbb891;
  --accent: var(--sand);

  --font-display: "CEXED", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--sand);
  opacity: 0.75;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

h2 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 14px; }
h3 { font-size: clamp(18px, 3vw, 22px); }

p { color: var(--text-muted); font-size: 16px; }

.section { padding: 72px 0; }
.section--alt { background: var(--near-black); }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--sand);
  color: var(--brown-dark);
}
.btn--primary:hover { background: #f2e3c2; }

.btn--outline {
  background: transparent;
  color: var(--sand);
  border-color: rgba(231, 209, 168, 0.5);
}
.btn--outline:hover { background: rgba(231, 209, 168, 0.1); }

.btn--dark {
  background: var(--brown-dark);
  color: var(--sand);
}
.btn--dark:hover { background: var(--near-black); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(45,45,36,0.85), transparent);
  transition: background .3s ease, padding .3s ease;
}
.header.is-scrolled {
  background: var(--near-black);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header__logo img { height: 34px; width: auto; }

.header__nav {
  display: none;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}
.header__nav a { opacity: 0.85; transition: opacity .2s; }
.header__nav a:hover { opacity: 1; }

.header__cta { display: none; }

.header__burger {
  background: none;
  border: none;
  color: var(--sand);
  font-size: 22px;
  cursor: pointer;
}

@media (min-width: 900px) {
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .header__burger { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,45,36,0.55) 0%, rgba(45,45,36,0.35) 40%, rgba(45,45,36,0.95) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__content h1 {
  font-size: clamp(34px, 7vw, 62px);
  margin: 0 0 20px;
}
.hero__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero__categories span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(231,209,168,0.4);
  color: var(--sand);
  background: rgba(45,45,36,0.35);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  z-index: 1;
}

/* ===== Virou Boteco ===== */
.boteco {
  background: var(--sand);
  color: var(--brown-dark);
}
.boteco .eyebrow { color: var(--brown-mid); opacity: 1; }
.boteco h2 { color: var(--brown-dark); }
.boteco__title { font-size: clamp(42px, 9vw, 72px); margin-bottom: 18px; }
.boteco__intro p {
  color: var(--brown-mid);
  max-width: 480px;
  margin-bottom: 26px;
}
.boteco__intro .hero__ctas { margin-top: 4px; }

.boteco__intro--solo { max-width: 600px; margin-bottom: 44px; }

.boteco__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: item;
}
.boteco__steps li {
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(68,45,29,0.15);
}
.boteco__steps li:last-child { border-bottom: none; padding-bottom: 0; }
.boteco__num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brown-mid);
  flex: none;
  width: 40px;
}
.boteco__steps h3 { color: var(--brown-dark); margin-bottom: 6px; }
.boteco__steps p { color: var(--brown-mid); font-size: 14.5px; }

/* ===== Experiência / Carrossel de vídeos ===== */
.gallery__intro { max-width: 640px; margin-bottom: 32px; }

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 20px 10px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
  position: relative;
  flex: none;
  width: 210px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: var(--near-black);
  scroll-snap-align: start;
}
.carousel__item--featured {
  width: 236px;
  border: 2px solid var(--sand);
  box-shadow: 0 10px 28px -10px rgba(231,209,168,0.35);
}
.carousel__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel__label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(45,45,36,0.55);
  backdrop-filter: blur(4px);
  color: var(--sand);
  pointer-events: none;
}
.carousel__label--featured {
  background: var(--sand);
  color: var(--brown-dark);
}

.carousel__arrow {
  flex: none;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(231,209,168,0.3);
  background: var(--near-black);
  color: var(--sand);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.carousel__arrow:hover { background: var(--brown-dark); }

@media (min-width: 760px) {
  .carousel__item { width: 240px; }
  .carousel__arrow { display: flex; }
  .carousel__track { padding: 0 0 10px; }
}

/* ===== Sobre (mosaico de fotos no fundo) ===== */
.sobre {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--near-black);
}
.sobre__photos {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sobre__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(45,45,36,0.94) 0%, rgba(45,45,36,0.8) 40%, rgba(45,45,36,0.35) 100%);
}
.sobre__photo {
  position: absolute;
  width: 150px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 14px 30px -8px rgba(0,0,0,0.55);
  opacity: 0.8;
}
.sobre__photo--1 { top: 4%;   left: 2%;   width: 130px; transform: rotate(-9deg); }
.sobre__photo--2 { top: 6%;   right: 3%;  width: 150px; transform: rotate(7deg); }
.sobre__photo--3 { top: 38%;  left: -3%;  width: 140px; transform: rotate(5deg); }
.sobre__photo--4 { top: 42%;  right: -4%; width: 160px; transform: rotate(-6deg); }
.sobre__photo--5 { bottom: 6%; left: 4%;  width: 130px; transform: rotate(8deg); }
.sobre__photo--6 { bottom: 4%; right: 6%; width: 145px; transform: rotate(-7deg); }
.sobre__photo--7 { top: 60%;  left: 24%; width: 105px; transform: rotate(-4deg); opacity: 0.55; }
.sobre__photo--8 { bottom: 28%; right: 24%; width: 110px; transform: rotate(6deg); opacity: 0.55; }

.sobre__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.sobre__content p { margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
  .sobre { padding: 80px 0; }
  .sobre__photo--3, .sobre__photo--4, .sobre__photo--7, .sobre__photo--8 { display: none; }
  .sobre__photo--1 { width: 100px; top: 2%; left: 2%; }
  .sobre__photo--2 { width: 110px; top: 3%; right: 2%; }
  .sobre__photo--5 { width: 100px; bottom: 3%; left: 3%; }
  .sobre__photo--6 { width: 110px; bottom: 2%; right: 3%; }
}

/* ===== DVD Pedro Luiz na Praia ===== */
.dvd__wrap { display: grid; gap: 28px; }
.dvd__intro p { max-width: 520px; }
.dvd__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--near-black);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.5);
}

.dvd__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.dvd__facade[hidden],
.dvd__mount[hidden] {
  display: none;
}
.dvd__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.dvd__facade:hover img { transform: scale(1.03); }
.dvd__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45,45,36,0.25);
}
.dvd__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(231,209,168,0.92);
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 1;
}

.dvd__mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.dvd__mount iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dvd__fallback-label {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45,45,36,0.6);
  color: var(--sand);
}

@media (min-width: 900px) {
  .dvd__wrap { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
}

/* ===== Formulário / Rodapé ===== */
.cta-final {
  background: var(--near-black);
  padding: 72px 0 40px;
}
.cta-final__wrap {
  display: grid;
  gap: 40px;
}
.cta-final__text p { margin-top: 10px; max-width: 460px; }
.cta-final__whatsapp {
  margin-top: 24px;
}

.form {
  display: grid;
  gap: 14px;
  background: var(--brown-dark);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(231,209,168,0.15);
}
.form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.form input, .form select {
  width: 100%;
  background: var(--near-black);
  border: 1px solid rgba(231,209,168,0.2);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 14px;
}
.form input::placeholder { color: rgba(231,209,168,0.35); }
.form input:focus, .form select:focus {
  outline: none;
  border-color: var(--sand);
}
.form .btn { width: 100%; margin-top: 6px; }

@media (min-width: 900px) {
  .cta-final__wrap { grid-template-columns: 1fr 1fr; }
}

.footer {
  padding: 34px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.footer img { height: 22px; margin: 0 auto 14px; }
.footer__legal-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__legal-link:hover { color: var(--sand); }
.footer__socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(231,209,168,0.25);
  color: var(--sand);
  transition: background .2s ease, border-color .2s ease;
}
.footer__socials a:hover {
  background: rgba(231,209,168,0.1);
  border-color: var(--sand);
}

/* ===== WhatsApp Flutuante ===== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  font-size: 28px;
  color: #fff;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Menu Mobile ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--near-black);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
}
.mobile-nav__close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--sand);
  font-size: 26px;
}

@media (min-width: 900px) {
  .mobile-nav { display: none; }
}
