/* Estilos compartilhados das subpáginas do site (Natal e páginas de serviço).
   decisão: arquivo único só para as subpáginas; a home mantém o CSS inline aprovado para não arriscar regressão nela. */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #BCA371;
  --gold-light: #D1BE94;
  --gold-pale: #EAE3CF;
  --dark: #0F0F0F;
  --dark-2: #1A1A1A;
  --cream: #FCFCFA;
  --cream-2: #F5F4F0;
  --text: #1C1C1C;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --section-pad: clamp(5rem, 10vw, 8rem);
  --container: 1280px;
  --radius: 2px;
  --transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.tag::before {
  content: '—\00a0\00a0';
}

.tag::after {
  content: '\00a0\00a0—';
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.01em;
  font-weight: 400;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.85;
  font-weight: 300;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 32px rgba(188, 163, 113, .3);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  background: var(--cream-2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* Navbar (igual à home) */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(26, 21, 16, .97);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height var(--transition);
}

#navbar.scrolled .nav-logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links .btn-outline {
  color: var(--gold);
}

.nav-links .btn-outline:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

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

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(26, 21, 16, .98);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--white);
  }

  .nav-cta {
    display: none;
  }
}

/* Hero */
.sub-hero {
  position: relative;
  background:
    radial-gradient(circle at 50% 35%, rgba(188, 163, 113, .18) 0%, rgba(15, 15, 15, 0) 55%),
    var(--dark);
  padding: clamp(9rem, 18vw, 12rem) 0 clamp(5rem, 9vw, 7rem);
  text-align: center;
  overflow: hidden;
}

.hero-ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 90vw);
  height: min(640px, 90vw);
  border: 1px solid rgba(196, 164, 107, .12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}

.hero-tag {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.sub-hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.sub-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, .72);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA */
.sub-cta {
  padding: clamp(5rem, 10vw, 7rem) 0;
  background: var(--dark-2);
  text-align: center;
}

.sub-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.sub-cta p {
  color: rgba(255, 255, 255, .7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* Rodapé (igual à home) */
#footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(196, 164, 107, .12);
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
  margin-bottom: 1.25rem;
}

.footer-about {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.8;
  max-width: 280px;
}

.footer-nap {
  font-style: normal;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.8;
  max-width: 300px;
  margin-top: 1.25rem;
}

.footer-nap strong {
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
}

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

.footer-col-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  background: #25D366;
  color: white;
}

/* =============================================
   PÁGINAS DE SERVIÇO (blocos genéricos)
============================================= */
.sub-hero--foto {
  background: var(--dark);
}

/* decisão: foto do hero como <img> (não background) para o navegador achá-la cedo e priorizar o LCP */
.sub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero--foto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 15, 15, .55) 0%, rgba(15, 15, 15, .8) 70%, rgba(15, 15, 15, .95) 100%);
  z-index: 1;
}

.sub-hero--foto .container {
  position: relative;
  z-index: 2;
}

.sub-hero .btn:focus-visible,
.sv-links a:focus-visible,
.sv-texto a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.sv-secao {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.sv-secao--alt {
  background: var(--cream-2);
}

.sv-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.sv-intro img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .18);
}

.sv-texto p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.sv-texto a {
  color: var(--dark);
  border-bottom: 1px solid var(--gold);
}

.sv-cabecalho {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.sv-cabecalho .section-lead {
  margin-inline: auto;
}

.sv-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.sv-card {
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-pale);
}

.sv-card h3 {
  font-size: 1.25rem;
  margin-bottom: .6rem;
}

.sv-card p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.75;
}

.sv-inclusos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 2.5rem;
  max-width: 900px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

.sv-inclusos li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  line-height: 1.6;
}

.sv-inclusos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.sv-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sv-galeria img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.sv-etapas {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

.sv-etapas .section-title {
  color: var(--white);
}

.sv-etapas .section-lead {
  color: rgba(255, 255, 255, .6);
}

.sv-etapas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(196, 164, 107, .15);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.sv-etapa {
  background: var(--dark);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.sv-etapa-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: rgba(196, 164, 107, .25);
  line-height: 1;
  margin-bottom: 1rem;
}

.sv-etapa h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .6rem;
}

.sv-etapa p {
  font-size: .86rem;
  color: rgba(255, 255, 255, .58);
  line-height: 1.75;
}

.sv-depoimento {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.sv-depoimento blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.sv-depoimento cite {
  font-style: normal;
  font-size: .85rem;
  color: var(--text-light);
}

.sv-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.sv-links a {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--dark);
  transition: border-color var(--transition), background var(--transition);
}

.sv-links a:hover {
  border-color: var(--gold);
  background: var(--white);
}

.sv-links span {
  display: block;
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text-light);
  margin-top: .25rem;
}

@media (max-width: 900px) {
  .sv-etapas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .sv-intro {
    grid-template-columns: 1fr;
  }

  .sv-galeria {
    grid-template-columns: 1fr 1fr;
  }

  .sv-galeria img:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  .sv-etapas-grid {
    grid-template-columns: 1fr;
  }
}

.sv-extra {
  text-align: center;
  max-width: 680px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  font-size: .95rem;
  color: var(--text-light);
}
