/* =========================================================
   Tati & Isaque Locações — Landing Page
   Stack: HTML + CSS + JS vanilla, mobile-first
   Cores: bordô #6B0F1A / #8B1A1A • dourado #f6df9e
   ========================================================= */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --bordeaux-900: #4a0a13;
  --bordeaux-800: #6B0F1A;
  --bordeaux-700: #8B1A1A;
  --bordeaux-600: #a32330;
  --gold: #f6df9e;
  --gold-dark: #d4b96a;
  --gold-light: #fbecc6;
  --cream: #fff8e8;
  --ink: #2a0608;
  --ink-soft: #5a3a3d;
  --whats: #25d366;
  --whats-dark: #128c7e;
  --shadow-sm: 0 2px 6px rgba(74, 10, 19, 0.08);
  --shadow-md: 0 8px 24px rgba(74, 10, 19, 0.12);
  --shadow-lg: 0 20px 50px rgba(74, 10, 19, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1200px;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 6vw + 0.5rem, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw + 0.5rem, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.35rem); }
p  { font-size: clamp(1rem, 0.4vw + 0.95rem, 1.075rem); }

.text-gold { color: var(--gold); }

/* Acessibilidade */
.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--bordeaux-800); color: var(--gold);
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 1000;
  transition: top var(--transition);
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  user-select: none;
}
.btn--primary {
  background: var(--gold);
  color: var(--bordeaux-900);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--gold);
  color: var(--bordeaux-900);
}
.btn--lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(107, 15, 26, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(246, 223, 158, 0.18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}
.header__logo img { width: 44px; height: 44px; }
.header__brand { display: flex; flex-direction: column; line-height: 1.05; }
.header__brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
}
.header__brand em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Nav toggle (hambúrguer) */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
}
.nav__toggle span {
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bordeaux-900);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}
.nav.is-open { transform: translateX(0); }

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__list a {
  display: block;
  padding: 14px 8px;
  font-size: 1.1rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(246,223,158,.12);
  transition: color var(--transition);
}
.nav__list a:hover { color: var(--gold); }

.nav__cta {
  margin-top: auto;
  align-self: stretch;
}

@media (min-width: 920px) {
  .nav__toggle { display: none; }
  .nav {
    position: static;
    inset: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    transform: none;
    overflow: visible;
  }
  .nav__list {
    flex-direction: row;
    gap: 4px;
  }
  .nav__list a {
    padding: 8px 14px;
    border: 0;
    border-radius: var(--radius-pill);
    color: var(--gold-light);
    font-size: 0.95rem;
    font-weight: 500;
  }
  .nav__list a:hover { background: rgba(246,223,158,.1); color: var(--gold); }
  .nav__cta { margin-top: 0; min-height: 44px; padding: 8px 18px; font-size: 0.9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bordeaux-800);
  color: var(--cream);
  padding: 56px 0 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(246,223,158,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(163,35,48,0.55) 0%, transparent 55%),
    linear-gradient(135deg, var(--bordeaux-900) 0%, var(--bordeaux-800) 60%, var(--bordeaux-700) 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(246,223,158,.06) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: .55;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero__content { display: flex; flex-direction: column; gap: 20px; }

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(246, 223, 158, 0.12);
  border: 1px solid rgba(246, 223, 158, 0.32);
  color: var(--gold);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__title {
  color: var(--cream);
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1vw + 0.95rem, 1.2rem);
  color: rgba(255, 248, 232, 0.92);
  max-width: 56ch;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 223, 158, 0.18);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  color: var(--gold-light);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--bordeaux-900);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(246, 223, 158, 0.3);
  aspect-ratio: 1 / 1;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}
.hero__media img:first-child {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__diamond {
  position: absolute;
  bottom: -24px; right: -20px;
  width: 110px; height: 110px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4));
  opacity: .92;
}

@media (min-width: 920px) {
  .hero { padding: 90px 0 110px; }
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }
  .hero__media { max-width: none; }
  .hero__diamond { width: 150px; height: 150px; bottom: -32px; right: -28px; }
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}
.section--light { background: var(--cream); color: var(--ink); }
.section--dark {
  background:
    linear-gradient(160deg, var(--bordeaux-800) 0%, var(--bordeaux-900) 100%);
  color: var(--cream);
}

.section__head {
  max-width: 720px;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

.kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(139, 26, 26, 0.08);
  color: var(--bordeaux-700);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker--gold {
  background: rgba(246, 223, 158, 0.12);
  color: var(--gold);
  border: 1px solid rgba(246, 223, 158, 0.3);
}
.section__head--center .kicker { align-self: center; }

.section__head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section--dark .section__head p { color: rgba(255, 248, 232, 0.82); }

@media (min-width: 920px) {
  .section { padding: 96px 0; }
  .section__head { margin-bottom: 56px; }
}

/* ---------- Grid Helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) {
  .grid--2 { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 919px) {
  .grid--reverse-mobile > *:first-child { order: 2; }
  .grid--reverse-mobile > *:last-child { order: 1; }
}

/* ---------- Cards (Diferenciais) ---------- */
.card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 26, 26, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-dark);
}
.card__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bordeaux-800), var(--bordeaux-700));
  color: var(--gold);
  border-radius: var(--radius-md);
  font-size: 1.6rem;
}
.card h3 { color: var(--bordeaux-800); }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Sobre ---------- */
.sobre__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
  aspect-ratio: 1 / 1;
}
.sobre__media img { width: 100%; height: 100%; object-fit: cover; }
.sobre__content { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sobre__content h2 { color: var(--gold); }

.check-list {
  display: flex; flex-direction: column; gap: 10px; margin: 8px 0 4px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 248, 232, 0.92);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px;
  background: var(--gold);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute; left: 6px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--bordeaux-900);
  border-bottom: 2px solid var(--bordeaux-900);
  transform: rotate(-45deg);
}

/* ---------- Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms cubic-bezier(.4,0,.2,1);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(74, 10, 19, 0.92));
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
}
@media (min-width: 720px) {
  .gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
  }
  .gallery__item--big { grid-row: span 2; aspect-ratio: auto; }
}

.cta-band {
  margin-top: 40px;
  padding: 28px 28px;
  background: linear-gradient(135deg, var(--bordeaux-800), var(--bordeaux-700));
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.cta-band p {
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ---------- Áreas / Cidades ---------- */
.cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 600px) { .cities { grid-template-columns: repeat(4, 1fr); } }

.cities li {
  background: rgba(246, 223, 158, 0.08);
  border: 1px solid rgba(246, 223, 158, 0.3);
  color: var(--gold);
  padding: 14px 10px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.cities li:hover {
  background: rgba(246, 223, 158, 0.18);
  transform: translateY(-2px);
}
.cities__note {
  margin-top: 28px;
  text-align: center;
  color: rgba(255, 248, 232, 0.85);
}
.cities__note a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Como funciona (Steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.steps li {
  position: relative;
  background: #fff;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 26, 26, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  -webkit-text-stroke: 1px var(--bordeaux-700);
  line-height: 1;
}
.steps li h3 { color: var(--bordeaux-800); }
.steps li p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- FAQ ---------- */
.section--faq { padding-bottom: 96px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 26, 26, 0.1);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq__item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-dark);
}
.faq__item summary {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--bordeaux-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  font-size: 1rem;
  min-height: 56px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold-dark);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 22px 22px;
  color: var(--ink-soft);
}

/* ---------- Contato ---------- */
.section--contact {
  background:
    linear-gradient(160deg, var(--bordeaux-700) 0%, var(--bordeaux-900) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,223,158,.16), transparent 70%);
  top: -180px; right: -180px;
}
.contato__content { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contato__content h2 { color: var(--gold); }
.contato__content > p { color: rgba(255,248,232,.9); }

.contato__list { display: flex; flex-direction: column; gap: 18px; margin: 8px 0 8px; width: 100%; }
.contato__list li { display: flex; gap: 16px; align-items: flex-start; }
.contato__list strong { display: block; color: var(--gold); font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.contato__list a { color: var(--cream); font-weight: 500; }
.contato__list a:hover { color: var(--gold); text-decoration: underline; }
.contato__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(246,223,158,.12);
  border: 1px solid rgba(246,223,158,.28);
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contato__media {
  display: flex; align-items: center; justify-content: center;
}
.contato__diamond {
  width: min(80%, 320px);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.4));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 919px) {
  .contato__media { display: none; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bordeaux-900);
  color: var(--gold-light);
  padding: 36px 0 28px;
  border-top: 2px solid var(--gold-dark);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand img { width: 48px; height: 48px; }
.footer__brand strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
}
.footer__brand span { font-size: 0.85rem; color: rgba(246, 223, 158, 0.7); }
.footer__copy { font-size: 0.85rem; color: rgba(246,223,158,.7); }
.footer__seo {
  font-size: 0.78rem;
  color: rgba(246,223,158,.5);
  max-width: 720px;
  line-height: 1.5;
}

/* ---------- WhatsApp Flutuante ---------- */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: var(--whats);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whats);
  animation: pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (min-width: 920px) {
  .wa-float { width: 64px; height: 64px; bottom: 28px; right: 28px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.4,0,.2,1), transform 700ms cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Body lock when nav is open ---------- */
body.nav-open { overflow: hidden; }

/* ---------- Print friendly ---------- */
@media print {
  .header, .wa-float, .nav__toggle, .nav__cta { display: none !important; }
  .section { padding: 24px 0; }
}
