/* ============================================================
   Canto Del Mare Residence — Landing Page
   Direção visual: elevação noturna, uma linha dourada por andar.
   Paleta ancorada na própria fachada real do empreendimento.
   ============================================================ */

:root {
  --navy-deep: #0b1d33;
  --navy-mid: #14283f;
  --navy-soft: #1c3350;
  --gold: #c89b5c;
  --gold-bright: #e3c088;
  --sand: #f5efe2;
  --paper: #fbf9f4;
  --ink: #16232f;
  --ink-muted: #57636e;
  --ink-on-navy: #eef1f4;
  --muted-on-navy: #a9b6c4;
  --line: rgba(22, 35, 47, 0.12);
  --line-gold: rgba(200, 155, 92, 0.4);
  --shadow-soft: 0 24px 60px -24px rgba(11, 29, 51, 0.35);
  --max: 1180px;
  --radius: 3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.on-navy h1,
.on-navy h2,
.on-navy h3,
.on-navy p,
.on-navy .eyebrow {
  color: var(--ink-on-navy);
}

.on-navy .eyebrow {
  color: var(--gold-bright);
}

.on-navy p {
  color: var(--muted-on-navy);
}

p {
  color: var(--ink-muted);
  margin: 0;
}

.data-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-align: center;
  max-width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-ghost-navy {
  background: transparent;
  border-color: rgba(238, 241, 244, 0.35);
  color: var(--ink-on-navy);
}

.btn-ghost-navy:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: #8a6a34;
}

.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled,
.nav.menu-open {
  background: var(--navy-deep);
  padding: 12px 0;
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-word {
  font-family: "Fraunces", serif;
  font-size: 15.5px;
  line-height: 1.05;
  color: var(--ink-on-navy);
}

@media (min-width: 480px) {
  .brand-word {
    font-size: 18px;
  }
}

.brand-word small {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
  font-weight: 700;
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted-on-navy);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(238, 241, 244, 0.35);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  align-items: center;
}

.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink-on-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--navy-deep);
  padding: 10px 24px 22px;
  border-top: 1px solid rgba(238, 241, 244, 0.12);
}

.nav-mobile-panel.open {
  display: flex;
}

.nav-mobile-panel a {
  padding: 12px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-on-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 241, 244, 0.1);
}

.nav-mobile-panel a:last-child {
  border-bottom: none;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(11, 29, 51, 0.35) 0%, rgba(11, 29, 51, 0.55) 45%, rgba(8, 20, 36, 0.96) 92%),
    url("img/hero-fachada-noturna.jpg") center 20% / cover no-repeat;
  color: var(--ink-on-navy);
  padding-top: 120px;
}

.hero-inner {
  padding-bottom: 64px;
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--gold-bright);
  margin-bottom: 18px;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  color: #fff;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted-on-navy);
  max-width: 540px;
  margin-bottom: 34px;
}

.quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  margin-bottom: 30px;
}

.quickfacts div {
  padding: 14px 22px 14px 0;
  margin-right: 22px;
  border-right: 1px solid var(--line-gold);
  font-size: 13.5px;
  color: var(--muted-on-navy);
}

.quickfacts div:last-child {
  border-right: none;
  margin-right: 0;
}

.quickfacts strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 19px;
  color: #fff;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-micro {
  font-size: 12.5px;
  color: var(--muted-on-navy);
}

/* ---------- Section basics ---------- */

section {
  padding: 88px 0;
}

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

.section-navy {
  background: var(--navy-deep);
}

.section-navy-mid {
  background: var(--navy-mid);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
  display: block;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
}

.section-head p {
  margin-top: 16px;
  font-size: 16px;
}

/* ---------- Resumo (spec strip) ---------- */

.spec-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .spec-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .spec-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}

.spec-item {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}

.spec-item .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.spec-item .value {
  font-family: "Fraunces", serif;
  font-size: 21px;
}

/* ---------- Proposta de valor / signature diagram ---------- */

.value-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .value-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.value-text h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 22px;
}

.value-text p {
  font-size: 16.5px;
  color: var(--ink-muted);
}

.elevation {
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: var(--ink-on-navy);
}

.elevation-caption {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-on-navy);
  text-align: center;
}

/* ---------- Diferenciais ---------- */

.diff-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .diff-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
  .diff-image {
    position: sticky;
    top: 110px;
  }
}

.diff-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.diff-list {
  display: grid;
  gap: 0;
}

.diff-item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 18px;
}

.diff-item:last-child {
  border-bottom: 1px solid var(--line);
}

.diff-item .mark {
  width: 8px;
  height: 8px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 1px;
}

.diff-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 600;
}

.diff-item .fact {
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 600;
}

.diff-item .benefit {
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ---------- Galeria ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery a:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery a:nth-child(6) {
    grid-column: span 2;
  }
}

.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}

.gallery a:nth-child(1) {
  aspect-ratio: auto;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery a:hover img {
  transform: scale(1.045);
}

.gallery figcaption,
.gallery .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(0deg, rgba(11, 29, 51, 0.85), transparent 70%);
}

.gallery-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.video-card {
  margin-top: 28px;
  padding: 26px 28px;
  background: var(--navy-deep);
  border-radius: var(--radius);
}

.video-card-head h3 {
  color: #fff;
  font-size: 21px;
  margin: 8px 0 6px;
}

.video-card-head p {
  color: var(--muted-on-navy);
  font-size: 14px;
  margin-bottom: 18px;
}

.video-frame {
  position: relative;
  width: min(100%, 720px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: 640px;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.tour360-card {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.tour360-card h3 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 6px;
}

.tour360-card p {
  color: var(--muted-on-navy);
  font-size: 14px;
}

/* ---------- Plantas ---------- */

.plans {
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.plan-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}

.plan-body {
  padding: 26px 26px 28px;
}

.plan-body .eyebrow {
  color: #8a6a34;
}

.plan-body h3 {
  font-size: 24px;
  margin: 8px 0 4px;
}

.plan-meta {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.plan-specs {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.plan-specs li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}

.plan-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

/* ---------- Lazer ---------- */

.leisure {
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .leisure {
    grid-template-columns: repeat(3, 1fr);
  }
}

.leisure-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.leisure-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.leisure-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 29, 51, 0.88) 10%, rgba(11, 29, 51, 0.1) 60%);
  z-index: 1;
}

.leisure-body {
  position: relative;
  z-index: 2;
  padding: 22px;
  color: #fff;
}

.leisure-body .eyebrow {
  color: var(--gold-bright);
  margin-bottom: 8px;
  display: block;
}

.leisure-body h3 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 8px;
}

.leisure-body p {
  color: var(--muted-on-navy);
  font-size: 13.5px;
}

/* ---------- Localização ---------- */

.loc-grid {
  display: grid;
  gap: 44px;
}

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

.loc-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.distances {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.distances li {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.distances li:first-child {
  border-top: 1px solid var(--line);
}

.distances .dist-val {
  font-family: "Fraunces", serif;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Condições / aviso legal ---------- */

.commercial-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
}

.commercial-box h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.commercial-box p {
  font-size: 15.5px;
  margin-bottom: 18px;
}

.legal-notice {
  background: var(--sand);
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin: 22px 0 26px;
  line-height: 1.6;
}

.legal-notice strong {
  color: var(--ink);
}

/* ---------- Credibilidade ---------- */

.credibility {
  display: grid;
  gap: 30px;
  align-items: start;
}

@media (min-width: 800px) {
  .credibility {
    grid-template-columns: 1fr 1fr;
  }
}

.credibility h2 {
  font-size: 26px;
  margin-bottom: 14px;
  color: #fff;
}

.credibility p {
  font-size: 15px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: "Fraunces", serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-answer {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 640px;
}

/* ---------- CTA final ---------- */

.cta-final {
  text-align: center;
  padding-bottom: 130px;
}

.cta-final h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  max-width: 620px;
  margin: 0 auto 16px;
}

.cta-final p {
  max-width: 480px;
  margin: 0 auto 30px;
  color: var(--muted-on-navy);
}

.cta-final .hero-ctas {
  justify-content: center;
}

.cta-final .hero-micro {
  margin-top: 16px;
}

/* ---------- Formulário ---------- */

.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  max-width: 480px;
  margin: -56px auto 0;
  position: relative;
  z-index: 5;
}

.form-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 14px;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 7px;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "Manrope", sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-legal {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 18px 0 20px;
}

.form-success {
  display: none;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 14px;
  color: var(--ink);
  margin-top: 16px;
}

.form-success.show {
  display: block;
}

/* ---------- Footer ---------- */

footer {
  background: var(--navy-deep);
  padding: 100px 0 40px;
  color: var(--muted-on-navy);
  font-size: 13px;
}

@media (min-width: 800px) {
  footer {
    padding-top: 70px;
  }
  .form-card {
    margin-top: -90px;
  }
}

.footer-grid {
  display: grid;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(238, 241, 244, 0.12);
  margin-bottom: 26px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.footer-grid .brand-word {
  color: #fff;
}

.footer-grid p {
  margin-top: 14px;
  max-width: 420px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted-on-navy);
  font-size: 13.5px;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-legal {
  font-size: 11.5px;
  color: #6c7986;
  line-height: 1.7;
}

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e9e5a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}

.wa-float span {
  display: none;
}

@media (min-width: 640px) {
  .wa-float {
    right: 20px;
    bottom: 20px;
    padding: 14px 20px;
    font-size: 13.5px;
  }
  .wa-float span {
    display: inline;
  }
}

.wa-float:hover {
  transform: translateY(-2px);
}

.wa-float svg {
  width: 20px;
  height: 20px;
}

/* ---------- Utilities ---------- */

.center {
  text-align: center;
}

.mt-8 {
  margin-top: 8px;
}

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