/* ============================================================
   Rogaciano Rodrigues — Viabilizador Imobiliário · Diagonal Inc.
   Home v1 · Identidade aprovada: azul-marinho + dourado
   ============================================================ */

:root {
  --navy: #071A2D;
  --navy-2: #0B243E;
  --navy-3: #10304F;
  --gold: #D1B45B;
  --gold-soft: #E3CE8B;
  --green: #0D785C;
  --cream: #F7F2E9;
  --cream-2: #EFE7D8;
  --white: #FFFFFF;
  --ink: #142433;
  --muted: #5A6B7A;
  --muted-light: #B9C4CE;
  --line: rgba(7, 26, 45, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* Tipografia controlada — sem títulos gigantes */
  --fs-hero: clamp(2.125rem, 1.35rem + 2.6vw, 3.25rem);      /* 34 → 52px */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem);          /* 28 → 38px */
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);          /* 22 → 28px */
  --fs-body: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);    /* 15 → 17px */
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;

  --container: 1180px;
  --space-section: clamp(3rem, 2rem + 3.5vw, 6rem);           /* 48 → 96px */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow: 0 18px 40px -18px rgba(7, 26, 45, 0.28);
  --tap: 44px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy);
  padding: 12px 20px; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Utilidades ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }
.section { padding-block: var(--space-section); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.18; color: var(--navy); }
h2 { font-size: var(--fs-h2); margin-bottom: 16px; max-width: 21ch; }
h3 { font-size: var(--fs-h3); }
.section-lead { color: var(--muted); max-width: 56ch; }

.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .section-lead { color: var(--muted-light); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(209, 180, 91, 0.6); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #0A6650; }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 8px 20px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-pill);
  font-size: var(--fs-small); color: var(--muted-light);
  text-decoration: none; transition: border-color 0.18s ease, color 0.18s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Topbar + Header ---------- */
.topbar {
  background: #051221; color: var(--muted-light);
  font-size: 0.8125rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar strong { color: var(--gold); font-weight: 600; }

.site-header { background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(150px, 14vw, 190px); }

.main-nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.main-nav a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  color: var(--muted-light); text-decoration: none;
  font-size: 0.9375rem; font-weight: 500;
  transition: color 0.18s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-soft); }

.header-cta { flex-shrink: 0; }

/* Botão hambúrguer — existe apenas no mobile (≤900px) */
.mobile-menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: var(--tap); height: var(--tap);
  border: 1px solid rgba(209, 180, 91, 0.45); border-radius: 10px;
  flex-shrink: 0;
}
.mobile-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--gold); margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--white);
  isolation: isolate; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: image-set(url("../img/hero-arquitetura.webp") type("image/webp"));
  background-image: url("../img/hero-arquitetura.webp");
  background-size: cover;
  background-position: 78% center; /* imóvel concentrado à direita */
}
.hero::before {
  /* Overlay azul-marinho escuro: esquerda limpa para o texto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(7, 26, 45, 0.96) 0%,
      rgba(7, 26, 45, 0.88) 34%,
      rgba(7, 26, 45, 0.55) 62%,
      rgba(7, 26, 45, 0.32) 100%),
    linear-gradient(180deg, rgba(7, 26, 45, 0.35) 0%, rgba(7, 26, 45, 0) 30%, rgba(7, 26, 45, 0.55) 100%);
}
.hero .container { padding-block: clamp(72px, 10vw, 128px) clamp(120px, 14vw, 170px); }
.hero-content { max-width: 640px; }
.hero h1 { font-size: var(--fs-hero); color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { color: rgba(255, 255, 255, 0.85); max-width: 54ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-proofs { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-proofs li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--fs-small); color: rgba(255, 255, 255, 0.82);
}
.hero-proofs li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ---------- Faixa de benefícios ---------- */
.benefits { position: relative; z-index: 2; margin-top: calc(-1 * clamp(64px, 8vw, 92px)); padding-bottom: 0; }
.benefits-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.benefit {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 28px 26px;
  border-left: 1px solid var(--line);
}
.benefit:first-child { border-left: none; }
.benefit-num {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%; background: rgba(209, 180, 91, 0.16);
  color: #8A7328; font-weight: 700; font-size: var(--fs-small);
}
.benefit h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.benefit p { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }

/* ---------- Suporte e público ---------- */
.support .container {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.support-photo { position: relative; max-width: 460px; }
.support-photo img {
  width: 100%; border-radius: 230px 230px var(--radius-lg) var(--radius-lg); /* recorte editorial em arco */
  box-shadow: var(--shadow);
}
.support-photo::after {
  content: ""; position: absolute; inset: auto -16px -16px auto;
  width: 58%; height: 46%;
  border: 2px solid var(--gold); border-radius: 0 0 var(--radius-lg) 0;
  border-top: none; border-left: none; z-index: -1;
}
.photo-caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(7, 26, 45, 0.88); backdrop-filter: blur(4px);
  border-radius: var(--radius); padding: 14px 18px;
}
.photo-caption strong { display: block; font-family: var(--font-serif); color: var(--white); font-size: 1.0625rem; line-height: 1.35; }
.photo-caption span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

.audience-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 28px; }
.audience-tags li {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 6px 18px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line);
  font-size: var(--fs-small); font-weight: 600; color: var(--navy);
}
.steps { display: grid; gap: 12px; }
.step {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.step:hover { border-color: var(--gold); transform: translateX(4px); }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-weight: 700; font-size: var(--fs-small);
}
.step h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; }
.step p { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }

/* ---------- Lançamentos (carrossel) ---------- */
.launches { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.launches-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px;
}
.carousel-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.carousel-counter {
  font-size: var(--fs-small); font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: 0.06em;
}
.carousel-counter .current { color: var(--navy); }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--navy); color: var(--navy);
  transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.carousel-btn svg { display: block; }
.carousel-btn:hover:not(:disabled) { background: var(--navy); color: var(--gold); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

.carousel { overflow: hidden; }
.carousel-track {
  display: flex; gap: 24px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
}
.launch-card {
  position: relative; flex: 0 0 min(78%, 760px);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy); color: var(--white);
  min-height: 480px; display: flex; align-items: flex-end;
  isolation: isolate;
}
.launch-card img.launch-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.launch-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 26, 45, 0.1) 30%, rgba(7, 26, 45, 0.55) 62%, rgba(7, 26, 45, 0.92) 100%);
}
.launch-badge {
  position: absolute; top: 18px; right: 18px;
  background: rgba(7, 26, 45, 0.82); color: var(--muted-light);
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.launch-info { padding: 28px clamp(22px, 3.5vw, 36px) 30px; width: 100%; }
.launch-tag {
  display: inline-flex; align-items: center;
  background: rgba(13, 120, 92, 0.85); color: var(--white);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.launch-info h3 { color: var(--white); margin-bottom: 8px; }
.launch-info > p { color: rgba(255, 255, 255, 0.85); font-size: var(--fs-small); max-width: 52ch; margin-bottom: 16px; }
.launch-specs { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px; }
.launch-specs li { font-size: var(--fs-small); font-weight: 600; color: var(--gold-soft); }
.launch-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap);
  color: var(--gold); font-weight: 700; font-size: var(--fs-small);
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.launch-link:hover { color: var(--gold-soft); }
.launches-note { margin-top: 22px; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Agenda ---------- */
.agenda { background: var(--navy); color: var(--white); }
.agenda .container {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.agenda-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.agenda-cta-note { margin-top: 16px; font-size: 0.8125rem; color: var(--muted-light); max-width: 46ch; }

.agenda-panel {
  background: var(--navy-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
}
.agenda-panel h3 { color: var(--white); margin-bottom: 22px; max-width: 24ch; }
.agenda-options { display: grid; gap: 12px; }
.agenda-option {
  display: flex; align-items: center; gap: 16px;
  background: rgba(7, 26, 45, 0.55); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 18px 20px;
  transition: border-color 0.18s ease;
}
.agenda-option:hover { border-color: var(--gold); }
.agenda-option .step-num { display: flex; background: rgba(209, 180, 91, 0.14); color: var(--gold); }
.agenda-option strong { display: block; font-size: 0.9375rem; color: var(--white); }
.agenda-option div > span { display: block; font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.agenda-option p { font-size: var(--fs-small); color: var(--muted-light); line-height: 1.5; }
.agenda-panel-note { margin-top: 18px; font-size: 0.75rem; color: rgba(185, 196, 206, 0.75); }

/* ---------- Conteúdos ---------- */
.content-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.content-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 10px 30px -18px rgba(7, 26, 45, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.content-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.content-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(7, 26, 45, 0.35);
}
.play-badge span {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(209, 180, 91, 0.95); color: var(--navy);
}
.content-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.content-cat { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.content-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.content-body p { font-size: var(--fs-small); color: var(--muted); flex: 1; }
.content-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap);
  margin-top: 14px; color: var(--green); font-weight: 700;
  font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.content-link:hover { color: var(--navy); }
.content-note { margin-top: 8px; font-size: 0.75rem; color: var(--muted); }

/* ---------- Sobre ---------- */
.about { background: var(--navy); color: var(--white); }
.about .container {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.about-photo { position: relative; max-width: 440px; }
.about-photo img { width: 100%; border-radius: var(--radius-lg); }
.about-photo::before {
  /* luz dourada discreta integrada à moldura */
  content: ""; position: absolute; inset: -14px auto auto -14px;
  width: 64%; height: 64%;
  border: 2px solid var(--gold); border-radius: var(--radius-lg) 0 0 0;
  border-right: none; border-bottom: none;
}
.about-photo::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 85% 10%, rgba(209, 180, 91, 0.18) 0%, rgba(209, 180, 91, 0) 45%);
  pointer-events: none;
}
.trust-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 32px; }
.trust {
  background: var(--navy-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 18px 20px;
}
.trust strong { display: block; color: var(--gold-soft); font-size: 0.9375rem; margin-bottom: 4px; }
.trust p { font-size: var(--fs-small); color: var(--muted-light); line-height: 1.5; }

/* ---------- Conversão final ---------- */
.final-cta { background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 70%); color: var(--white); }
.final-cta .container {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.final-cta h2 { max-width: 24ch; }
.final-cta .section-lead { margin-bottom: 26px; }
.micro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.final-cta-btn { text-align: right; }

/* ---------- Rodapé ---------- */
.site-footer { background: #051221; color: var(--muted-light); font-size: var(--fs-small); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px) 40px;
}
.footer-brand img { width: 180px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; line-height: 1.6; }
.footer-col h3 {
  font-family: var(--font-sans); font-size: var(--fs-label);
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 4px; }
.footer-col a {
  display: inline-flex; align-items: center; min-height: 38px;
  color: var(--muted-light); text-decoration: none; transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.75rem; color: rgba(185, 196, 206, 0.7);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================
   Menu mobile — sidebar off-canvas (escopado, somente ≤900px)
   Nenhuma regra abaixo afeta o header/menu desktop (>900px).
   ============================================================ */
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(4, 12, 22, 0.62);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-sidebar {
  position: fixed; top: 0; right: 0; z-index: 130;
  width: 88vw; max-width: 400px; height: 100dvh;
  display: flex; flex-direction: column;
  background: linear-gradient(168deg, var(--navy-2) 0%, var(--navy) 46%, #05121F 100%);
  border-left: 1px solid rgba(209, 180, 91, 0.28);
  box-shadow: -24px 0 60px -18px rgba(2, 8, 16, 0.75);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.38s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 22px 26px calc(24px + env(safe-area-inset-bottom, 0px));
}
.mobile-sidebar.is-open {
  transform: translateX(0); visibility: visible;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1); /* visível de imediato ao abrir */
}

.mobile-sidebar__header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 20px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(209, 180, 91, 0.22);
}
.mobile-sidebar__logo { width: 152px; height: auto; flex-shrink: 0; }
.mobile-sidebar__close {
  display: flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap); flex-shrink: 0;
  border: 1px solid rgba(209, 180, 91, 0.5); border-radius: 50%;
  color: var(--gold);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.mobile-sidebar__close:hover { background: var(--gold); color: var(--navy); }

.mobile-sidebar__nav { padding-block: 10px; }
.mobile-sidebar__nav ul { display: block; }
.mobile-sidebar__nav li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-sidebar__nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding-block: 6px;
  font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.86); text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.mobile-sidebar__nav a span {
  font-family: var(--font-sans); font-size: 0.9375rem;
  color: rgba(209, 180, 91, 0.45); transition: color 0.18s ease, transform 0.18s ease;
}
.mobile-sidebar__nav a:hover { color: var(--gold-soft); padding-left: 4px; }
.mobile-sidebar__nav a:hover span { color: var(--gold); transform: translateX(3px); }
.mobile-sidebar__nav a[aria-current="page"] { color: var(--gold); }
.mobile-sidebar__nav a[aria-current="page"] span { color: var(--gold); }

.mobile-sidebar__actions {
  display: grid; gap: 12px;
  padding-block: 20px 24px;
  border-top: 1px solid rgba(209, 180, 91, 0.22);
  margin-top: 8px;
}
.mobile-sidebar__actions .btn { width: 100%; }
.mobile-sidebar__btn-outline {
  border: 1.5px solid rgba(209, 180, 91, 0.55);
  color: var(--white); background: transparent;
}
.mobile-sidebar__btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }

.mobile-sidebar__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-small); color: var(--muted-light);
}
.mobile-sidebar__footer p { margin-bottom: 6px; line-height: 1.5; }
.mobile-sidebar__footer strong { color: var(--gold-soft); font-weight: 600; }
.mobile-sidebar__footer a { color: var(--muted-light); text-decoration: none; }
.mobile-sidebar__footer a:hover { color: var(--gold-soft); }
.mobile-sidebar__social { display: flex; gap: 12px; margin-top: 14px; }
.mobile-sidebar__social a {
  display: flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap); flex-shrink: 0;
  border: 1px solid rgba(209, 180, 91, 0.4); border-radius: 50%;
  color: var(--gold);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.mobile-sidebar__social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Trava de rolagem enquanto o sidebar está aberto */
body.mobile-menu-locked { overflow: hidden; }

/* Breakpoint do menu mobile: ≤900px */
@media (max-width: 900px) {
  .site-header .main-nav { display: none; }   /* menu desktop some */
  .site-header .header-cta { display: none; } /* CTA do header some */
  .mobile-menu-toggle { display: flex; }      /* hambúrguer aparece */
}
/* Acima de 900px: sidebar, overlay e hambúrguer completamente ocultos */
@media (min-width: 901px) {
  .mobile-sidebar, .mobile-menu-overlay, .mobile-menu-toggle { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sidebar, .mobile-menu-overlay { transition: none; }
}

/* ============================================================
   Responsivo — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .benefits-card { grid-template-columns: repeat(2, 1fr); }
  .benefit { border-left: none; border-top: 1px solid var(--line); }
  .benefit:nth-child(-n+2) { border-top: none; }
  .benefit:nth-child(even) { border-left: 1px solid var(--line); }

  .support .container,
  .agenda .container,
  .about .container { grid-template-columns: 1fr; }
  .support-photo, .about-photo { margin-inline: auto; }

  .content-cards { grid-template-columns: repeat(2, 1fr); }
  .content-card:last-child { grid-column: span 2; max-width: 560px; margin-inline: auto; width: 100%; }

  .final-cta .container { grid-template-columns: 1fr; }
  .final-cta-btn { text-align: left; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .launch-card { flex-basis: 84%; }
}

/* ============================================================
   Responsivo — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar span:last-child { display: none; }

  .hero-bg { background-position: 70% center; }
  .hero .container { padding-block: 64px 130px; }
  .hero-actions .btn { width: 100%; }

  .benefits-card { grid-template-columns: 1fr; }
  .benefit { border-left: none !important; border-top: 1px solid var(--line); }
  .benefit:first-child { border-top: none; }

  .launches-head { flex-direction: column; align-items: flex-start; }
  .carousel-controls { align-self: flex-end; }
  .launch-card { flex-basis: 92%; min-height: 430px; }

  .content-cards { grid-template-columns: 1fr; }
  .content-card:last-child { grid-column: auto; }

  .trust-points { grid-template-columns: 1fr; }
  .micro-actions .chip { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
