/* ===================================================================
   Clínica São Miguel Arcanjo - Design System
   Paleta extraída da identidade oficial (logo): preto/carvão + dourado.
   Tipografia: Cormorant Garamond (display) + Poppins (texto/interface).
=================================================================== */

:root {
  --black: #14100d;
  --charcoal: #221c18;
  --charcoal-2: #2c241f;
  --gold: #c9a24b;
  --gold-deep: #9c7a34;
  --gold-pale: #e8d9b5;
  --cream: #faf7f0;
  --cream-2: #f2ebdd;
  --ink: #2a231c;
  --muted: #746a5d;
  --white: #ffffff;
  --line: rgba(42, 35, 28, 0.1);
  --line-on-dark: rgba(232, 217, 181, 0.18);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 92px;
  --header-h-shrunk: 68px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 50px rgba(20, 16, 13, 0.08);
  --shadow-gold: 0 14px 30px rgba(156, 122, 52, 0.28);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* compensa o cabeçalho fixo ao pular para âncoras */
  scroll-padding-top: calc(var(--header-h-shrunk) + 16px);
}
/* `clip` (e não `hidden`) porque `overflow-x: hidden` cria um contêiner
   de rolagem e quebra o `position: sticky` do cabeçalho. */
html, body { overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 18px;
  color: var(--ink);
}
h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 500; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 500; }
h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; }
p { margin: 0 0 16px; color: var(--muted); }

.on-dark, .hero, .page-hero, .cta-band, .site-footer { color: var(--cream); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4,
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2,
.cta-band h1, .cta-band h2, .cta-band h3 { color: var(--cream); }
.on-dark p, .hero p, .page-hero p, .cta-band p { color: rgba(250, 247, 240, 0.72); }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--gold-pale);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
/* títulos mais longos que devem caber em uma linha no desktop */
.section-head.wide { max-width: 900px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section.bg-dark { background: var(--black); }
.section.bg-cream2 { background: var(--cream-2); }
.section.bg-white { background: var(--white); }

/* Ornamental divider (echoes the logo's rule-and-diamond motif) */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-deep);
  margin: 0 0 20px;
}
.on-dark .ornament { color: var(--gold); }
.ornament::before, .ornament::after {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.ornament span { font-size: 14px; transform: rotate(45deg); border: 1px solid currentColor; width: 8px; height: 8px; display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

/* botões com texto longo (ex.: "Conhecer nossa história, missão e valores")
   não podem ficar cortados em telas estreitas: deixa quebrar a linha */
@media (max-width: 480px) {
  .btn { white-space: normal; }
}

.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #221a08; box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 18px 34px rgba(156,122,52,0.36); }

.btn-outline { background: transparent; border-color: var(--gold-deep); color: var(--ink); }
.on-dark .btn-outline { border-color: var(--gold); color: var(--cream); }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: #221a08; }

.btn-dark { background: var(--black); color: var(--gold-pale); }
.btn-dark:hover { background: var(--charcoal-2); }

.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; }

.icon-wa { width: 18px; height: 18px; flex: none; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}
/* O blur fica num pseudo-elemento (não no .site-header) porque backdrop-filter
   num ancestral cria um novo containing block para position:fixed, o que
   prendia o menu mobile dentro da altura do cabeçalho em vez de cobrir a tela. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 247, 240, 0.9);
  backdrop-filter: blur(10px);
}
.site-header.is-shrunk {
  height: var(--header-h-shrunk);
  box-shadow: 0 8px 30px rgba(20,16,13,0.08);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo-full {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(20,16,13,0.7)) drop-shadow(0 0 6px rgba(20,16,13,0.55)) drop-shadow(0 0 14px rgba(20,16,13,0.35));
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s ease; }
.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); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 28px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
  .header-actions .btn-label { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  :root { --header-h: 76px; --header-h-shrunk: 64px; }
  .header-inner { padding: 0 16px; gap: 10px; }
  .brand-logo-full { height: 50px; }
  .container { padding: 0 20px; }
  .hero-inner { padding: 72px 20px 64px; }
  .service-block { padding: 28px 22px; }
  .section { padding: 68px 0; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background-color: var(--black);
  background-image: url("../img/banners/home.webp");
  background-size: cover;
  background-position: center 65%;
  overflow: hidden;
  color: var(--cream);
}
/* véu escuro: mantém o texto legível sobre a foto */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,14,11,0.92) 0%, rgba(18,14,11,0.78) 42%, rgba(18,14,11,0.42) 75%, rgba(18,14,11,0.30) 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero { background-image: url("../img/banners/home-sm.webp"); }
  .hero::before { background: linear-gradient(180deg, rgba(18,14,11,0.80) 0%, rgba(18,14,11,0.72) 55%, rgba(18,14,11,0.88) 100%); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 880px;
  text-align: center;
}
.hero-inner.container { max-width: var(--container); }
.hero-content { max-width: 100%; margin: 0 auto; }
.hero-lead { font-size: 17.5px; max-width: 52ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero-meta { display: flex; justify-content: center; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.hero-meta div { border-left: 1px solid var(--line-on-dark); padding-left: 16px; text-align: left; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--gold-pale); }
.hero-meta span { font-size: 12.5px; color: rgba(250,247,240,0.6); text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 640px) {
  /* Empilhados, o texto à esquerda com borda só na esquerda parecia
     descentralizado (a caixa fica centrada, mas o peso visual não). */
  .hero-meta { flex-direction: column; align-items: center; gap: 20px; }
  .hero-meta div { border-left: none; padding-left: 0; text-align: center; }
}

/* ============ CARDS ============ */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(201,162,75,0.35); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cream-2), var(--white));
  border: 1px solid var(--line);
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 14.5px; }
.card ul a:hover { color: var(--gold-deep) !important; text-decoration: underline; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13.5px; font-weight: 600;
  color: var(--gold-deep); text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

.badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--gold-deep);
  border: 1px solid rgba(201,162,75,0.35);
  position: absolute;
  top: -12px;
  right: 20px;
}

/* ============ SERVICE CARDS (com ilustração) ============ */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 162, 75, 0.38);
}

/* A ilustração é apenas visual: não é link e não abre em lightbox. */
.service-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
}
.service-card:hover .service-card__media img {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.02);
}
/* brilho dourado sutil ao passar o mouse */
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201,162,75,0) 55%, rgba(201,162,75,0.14) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover .service-card__media::after { opacity: 1; }

.service-card__body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__body h3 { margin-bottom: 12px; }
.service-card__rule {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  margin-bottom: 16px;
  border-radius: 2px;
}
.service-card__body p { font-size: 14.5px; flex: 1; margin-bottom: 22px; }
.service-card__body .btn { align-self: flex-start; }

/* ============ CARROSSEL ============ */
.carousel { position: relative; }

.carousel__viewport { overflow: hidden; margin: 0 -6px; }

.carousel__track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 6px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-y;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}
.carousel__track.is-dragging a { pointer-events: none; }

.carousel__item {
  flex: 0 0 calc((100% - 52px) / 3);
  scroll-snap-align: start;
  display: flex;
}
.carousel__item > * { width: 100%; }
@media (max-width: 1000px) { .carousel__item { flex-basis: calc((100% - 26px) / 2); } }
@media (max-width: 660px)  { .carousel__item { flex-basis: 100%; } }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.5);
  background: var(--white);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
  flex: none;
}
.carousel__btn:hover:not(:disabled) { background: var(--gold); color: #221a08; transform: translateY(-2px); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }
.carousel__btn svg { width: 18px; height: 18px; }
.on-dark .carousel__btn, .bg-dark .carousel__btn { background: transparent; color: var(--gold); }

.carousel__dots { display: flex; align-items: center; }
.carousel__dot {
  /* botão com área de toque generosa (34px); o miolo colorido (::after)
     é que fica fininho, então o alvo de toque real fica bem maior que o visual */
  width: 34px; height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.carousel__dot::after {
  content: "";
  display: block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(42, 35, 28, 0.2);
  transition: background-color 0.22s ease, width 0.22s ease, border-radius 0.22s ease;
}
.carousel__dot.is-active::after { background-color: var(--gold-deep); width: 26px; border-radius: 6px; }

/* ============ DEPOIMENTOS ============ */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 8px;
}
.testimonial p { font-size: 14.8px; flex: 1; margin-bottom: 22px; }
.testimonial__person { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  flex: none; border: 1px solid rgba(201,162,75,0.4);
  background: var(--cream-2);
}
.testimonial__name { font-weight: 600; font-size: 14.5px; color: var(--ink); display: block; }
.testimonial__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-deep);
  font-weight: 600;
}
/* ============ MODAL (enviar depoimento) ============ */
.modal {
  border: none;
  padding: 0;
  border-radius: var(--radius);
  max-width: 560px;
  width: calc(100% - 32px);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 16, 13, 0.32);
}
.modal::backdrop { background: rgba(20, 16, 13, 0.62); backdrop-filter: blur(3px); }
.modal__inner { padding: 34px 32px 30px; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 6px; }
.modal__head h3 { margin-bottom: 0; }
.modal__close {
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 36px; height: 36px; flex: none; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.modal__close:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.modal p.modal__lead { font-size: 14px; margin-bottom: 22px; }
@media (max-width: 560px) { .modal__inner { padding: 26px 22px 24px; } }

.testimonial-cta { text-align: center; margin-top: 34px; }
.testimonial-cta p { font-size: 14px; margin-bottom: 14px; }

.demo-notice {
  border: 1px dashed rgba(201, 162, 75, 0.55);
  background: rgba(201, 162, 75, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

/* ============ SERVICE DETAIL BLOCKS ============ */
.service-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 28px;
}
.service-block header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}
@media (max-width: 780px) { .service-grid { grid-template-columns: 1fr; } }
.service-grid h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.service-grid p { font-size: 14.5px; margin-bottom: 0; }
.note-box {
  background: var(--cream-2);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 8px;
}

/* ============ RETRATO (foto real) ============ */
.portrait {
  margin: 0 auto;
  max-width: 340px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--cream-2);
  position: relative;
}
.portrait img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}
.portrait:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .portrait img { aspect-ratio: 3 / 4; } }

/* variante horizontal, para fotos de ambiente/atendimento (não retrato) */
.portrait--wide { max-width: none; }
.portrait--wide img { aspect-ratio: 4 / 3; object-position: center; }
@media (max-width: 640px) { .portrait--wide img { aspect-ratio: 4 / 3; } }

/* ============ PLACEHOLDER PHOTO (sem imagens genéricas) ============ */
.photo-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--charcoal), var(--charcoal) 10px, var(--charcoal-2) 10px, var(--charcoal-2) 20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px;
  color: var(--gold-pale);
  border: 1px solid var(--line-on-dark);
}
.photo-placeholder svg { width: 40px; height: 40px; opacity: 0.85; }
.photo-placeholder strong { font-family: var(--font-display); font-size: 17px; }
.photo-placeholder span { font-size: 12px; color: rgba(250,247,240,0.55); max-width: 30ch; }

/* ============ TESTIMONIAL / EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed rgba(201,162,75,0.4);
  border-radius: var(--radius);
  background: var(--cream-2);
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--black);
  color: var(--cream);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(250,247,240,0.7); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--black); color: rgba(250,247,240,0.75); padding-top: 72px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-on-dark);
  align-items: start;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }
@media (max-width: 560px) { .footer-grid .social-row { justify-content: center; } }

/* Coluna da marca: somente a logo (sem nome nem descrição em texto) */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.footer-brand img {
  width: 240px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 560px) {
  .footer-brand { align-items: center; }
  .footer-brand img { width: 210px; }
}
.site-footer h4 { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.site-footer a { color: rgba(250,247,240,0.75); text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: var(--gold); }
.site-footer li { margin-bottom: 12px; }
.footer-disclaimer {
  font-size: 12.5px;
  color: rgba(250, 247, 240, 0.45);
  text-align: center;
  margin: 22px 0 0;
  padding: 0 12px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0 32px; font-size: 12.5px; color: rgba(250,247,240,0.45);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .credit-link {
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-bottom .credit-link:hover {
  color: var(--gold-pale);
  border-bottom-color: currentColor;
}
@media (max-width: 560px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    /* respiro extra para o botão flutuante de WhatsApp não cobrir o link de crédito */
    padding-bottom: 88px;
  }
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--gold); }
.social-row svg { width: 16px; height: 16px; }

/* ============ WHATSAPP FLOATING BUTTON ============ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background: #25D366;
  color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ============ FORMS ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field small { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14.5px;
  color: var(--ink);
  width: 100%;
}
/* 16px no mínimo: evita o zoom automático do Safari/iOS ao focar o campo */
@media (max-width: 640px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.form-consent input { margin-top: 3px; }
.form-status { font-size: 14px; margin-top: 14px; display: none; }
.form-status.visible { display: block; }
.form-status.success { color: #2f7d4f; }
.form-status.error { color: #b3453c; }

/* ============ CONTACT INFO LIST ============ */
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--cream-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold-deep);
}
.info-item h4 { margin: 0 0 4px; font-size: 15px; font-family: var(--font-body); font-weight: 600; }
.info-item p { margin: 0; font-size: 14px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  line-height: 0;
  background: var(--cream-2);
}
.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
@media (max-width: 640px) { .map-embed iframe { height: 320px; } }

.map-placeholder {
  border-radius: var(--radius);
  background: var(--cream-2);
  border: 1px dashed rgba(201,162,75,0.5);
  min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 24px;
  color: var(--muted);
}

/* ============ ACCORDION (FAQ) ============ */
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink);
}
.accordion-trigger .plus { transition: transform 0.25s ease; color: var(--gold-deep); font-size: 20px; flex: none; }
.accordion-item[data-open="true"] .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.accordion-panel-inner { padding-bottom: 22px; font-size: 14.5px; color: var(--muted); }

/* ============ REVEAL ANIMATION ============ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .card:hover, .wa-float:hover { transform: none; }
}

/* ============ PAGE HERO / BANNER (páginas internas) ============ */
.page-hero {
  position: relative;
  background-color: var(--black);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--cream);
  padding: 116px 24px 100px;
  text-align: center;
  overflow: hidden;
}
/* véu escuro: mantém o texto legível sobre a imagem */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 11, 0.86) 0%, rgba(18, 14, 11, 0.60) 45%, rgba(18, 14, 11, 0.90) 100%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow { justify-content: center; }

.page-hero--sobre { background-image: url("../img/banners/sobre.webp"); }
.page-hero--servicos { background-image: url("../img/banners/servicos.webp"); }
.page-hero--contato { background-image: url("../img/banners/contato.webp"); }

@media (max-width: 900px) {
  .page-hero { padding: 88px 20px 76px; }
  .page-hero--sobre { background-image: url("../img/banners/sobre-sm.webp"); }
  .page-hero--servicos { background-image: url("../img/banners/servicos-sm.webp"); }
  .page-hero--contato { background-image: url("../img/banners/contato-sm.webp"); }
}


/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.small-caps { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; }
