/* ==================================================================== */
/* VARIÁVEIS GLOBAIS — Paleta Pantone conforme guia de marca             */
/* ==================================================================== */

:root {
  /* Paleta oficial (do guia de marca / pantones) */
  --branco: #FAFAFA;            /* Pantone 7499 C */
  --cinza-claro: #D9D9D9;       /* Pantone Cool Gray 1 C */
  --cinza-escuro: #5A5A5A;      /* Pantone Cool Gray 11 C */
  --azul-marinho: #4F758B;      /* Pantone 5405 C */
  --dourado: #C9A227;           /* Dourado metálico */
  --preto: #1A1A1A;             /* Pantone Black C */

  /* Aliases usados ao longo do CSS */
  --white: #FFFFFF;
  --texto-main: var(--cinza-escuro);
  --ouro-metalico: var(--dourado);

  /* Efeito "acrílico dourado espelhado 3D" usado no logo/títulos */
  --ouro-mirror: linear-gradient(120deg,
    #8a6f1a 0%,
    var(--dourado) 22%,
    #f0dfa0 45%,
    var(--dourado) 68%,
    #8a6f1a 100%);

  /* Seção "Estrutura" (parede matte simulada) */
  --parede-matte-centro: #26344A;
  --parede-matte-borda: #101826;

  /* Linha divisória quente usada nos cards de tratamento */
  --concreto-quente: #CFC6B8;

  /* WhatsApp */
  --whatsapp-verde: #25D366;

  /* Tipografia — Cinzel (títulos) / Montserrat (textos) */
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;

  /* Imagem de fundo do Hero */
  --bg-hero: url('https://images.unsplash.com/photo-1669124367346-c6ccc46bc805?q=80&w=1920');
  --bg-diamante: var(--bg-hero);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  color: var(--texto-main);
  background-color: var(--branco);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-serif); color: var(--azul-marinho); }

/* EFEITO ESPECIAL: ACRÍLICO DOURADO ESPELHADO 3D */
.gold-mirror-text {
  background: var(--ouro-mirror);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.45));
  display: inline-block;
  font-weight: 700;
}

.logo-transparent-menu { /* nítido */ }

/* ==================================================================== */
/* HEADER E NAVEGAÇÃO                                                    */
/* ==================================================================== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8%;
  background: rgba(250, 250, 250, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 162, 39, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

/* Container que agrupa navegação, botão e hamburguer */
.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

#main-nav {
  display: flex;
  align-items: center;
}

/* Botão específico do cabeçalho (texto branco conforme a imagem) */
.header-btn {
  padding: 12px 28px;
  font-size: 11px;
  color: var(--white) !important;
}

.header-logo { 
  display: flex; 
  align-items: center; 
  gap: 15px; 
  text-decoration: none; 
}

/* 1. Aumentamos o tamanho do brasão (antes era 55px) */
.header-logo img { 
  height: 56px; 
  width: auto; 
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.header-logo:hover img { 
  transform: scale(1.08) rotate(3deg); 
}

/* 2. Container para empilhar os textos */
.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* 3. Estilo da palavra "CLÍNICA" menorzinha em cima */
.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--azul-marinho);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
  padding-left: 2px;
}

/* 4. Reduzimos o tamanho da palavra TRÉSOR (antes era 28px) */
.brand-name { 
  font-family: var(--font-serif); 
  font-size: 20px; 
  letter-spacing: 3px; 
  text-transform: uppercase; 
  line-height: 1;
}

/* Atualize esta linha */
nav a { text-decoration: none; color: var(--texto-main); font-size: 12px; font-weight: 600; margin: 0 12px; letter-spacing: 1.5px; text-transform: uppercase; position: relative; padding-bottom: 5px; transition: color 0.3s ease; white-space: nowrap; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background: var(--ouro-mirror); transition: width 0.4s ease; }
nav a:hover { color: var(--ouro-metalico); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--ouro-metalico); }
nav a.active::after { width: 100%; }

/* Navegação sempre horizontal (sem menu hambúrguer) — vai encolhendo
   fonte, espaçamento e logo conforme a tela estreita, em vez de virar
   um painel suspenso. */
@media (max-width: 1000px) {
  header { padding: 10px 4%; }
  .header-logo img { height: 48px; }
  .brand-name { font-size: 18px; letter-spacing: 2px; }
  .brand-subtitle { font-size: 9px; letter-spacing: 2px; }
  nav a { font-size: 11px; margin: 0 9px; letter-spacing: 1px; }
}

@media (max-width: 700px) {
  header { padding: 14px 3%; }
  .header-logo { gap: 8px; }
  .header-logo img { height: 42px; }
  .brand-name { font-size: 14px; letter-spacing: 1px; }
  .brand-subtitle { display: none; } /* economiza espaço horizontal */
  nav a { font-size: 9.5px; margin: 0 6px; letter-spacing: 0.5px; }
}

@media (max-width: 480px) {
  header { padding: 12px 3%; }
  .header-logo { gap: 6px; }
  .header-logo img { height: 34px; }
  .brand-name { display: none; } /* só o brasão nas telas bem estreitas */
  nav a { font-size: 8.3px; margin: 0 4px; letter-spacing: 0.2px; }
}

/* ==================================================================== */
/* HERO — assimétrico + CTA central com anéis                              */
/* ==================================================================== */

.hero {
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(255,255,255,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
    linear-gradient(160deg, #5a7a8c 0%, #4F758B 40%, #3d5f70 100%);
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: left;
  padding: 28px 8% 32px 8%;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 120px at 18% 22%, rgba(255,255,255,0.12) 0%, transparent 70%),
    radial-gradient(circle 90px at 88% 18%, rgba(255,255,255,0.09) 0%, transparent 70%),
    radial-gradient(circle 140px at 70% 75%, rgba(255,255,255,0.07) 0%, transparent 70%),
    radial-gradient(circle 70px at 40% 60%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: start; gap: 16px;
}
.hero-content { max-width: 620px; animation: fadeInUp 1s ease-out; z-index: 2; }
.hero-content .eyebrow { color: var(--ouro-metalico); margin-bottom: 12px; letter-spacing: 5px; font-size: 11px; }
.hero-content h1 {
  font-family: var(--font-serif); font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  color: var(--white); font-weight: 400; line-height: 1.12; margin-bottom: 12px; text-transform: uppercase;
}
.hero-content h1 .gold-mirror-text { display: block; margin-bottom: 4px; }
.hero-content h1 .hero-line {
  display: block; color: var(--white); font-weight: 400;
  -webkit-text-fill-color: var(--white); background: none; filter: none;
}
.hero-content p {
  font-size: 0.95rem; color: rgba(255,255,255,0.88); font-weight: 300;
  max-width: 460px; margin: 0; line-height: 1.6;
}
.hero-watermark { display: flex; align-items: flex-start; justify-content: flex-end; pointer-events: none; user-select: none; }
.hero-watermark img { width: min(340px, 30vw); height: auto; opacity: 0.2; filter: brightness(0) invert(1); }

.hero-cta {
  position: relative; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; margin-top: 22px; width: 100%;
}
.hero-cta .star-divider { margin: 0; justify-content: center; }

.btn-cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 42px; border-radius: 50px; text-decoration: none;
  font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--preto); background: var(--ouro-mirror);
  background-size: 200% auto; border: none; cursor: pointer; isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-position 0.5s ease;
  box-shadow: 0 0 18px rgba(201,162,39,0.45), 0 0 36px rgba(201,162,39,0.22), 0 8px 22px rgba(0,0,0,0.18);
}
.btn-cta:hover {
  transform: translateY(-3px); background-position: right center;
  box-shadow: 0 0 26px rgba(201,162,39,0.65), 0 0 50px rgba(201,162,39,0.35), 0 12px 28px rgba(0,0,0,0.22);
}
.btn-cta-label { position: relative; z-index: 2; }
.btn-cta-glow {
  position: absolute; inset: -8px; border-radius: 60px;
  background: radial-gradient(ellipse at center, rgba(240,223,160,0.55) 0%, rgba(201,162,39,0.25) 45%, transparent 70%);
  z-index: 0; pointer-events: none; animation: ctaGlowPulse 2.8s ease-in-out infinite;
}
.btn-cta-rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.btn-cta-rings span {
  position: absolute; inset: 0; border-radius: 50px;
  border: 2px solid rgba(240,223,160,0.7); box-shadow: 0 0 12px rgba(201,162,39,0.35);
  animation: ctaRingExpand 2.6s cubic-bezier(0.15, 0.5, 0.3, 1) infinite; opacity: 0;
}
.btn-cta-rings span:nth-child(1) { animation-delay: 0s; }
.btn-cta-rings span:nth-child(2) { animation-delay: 0.85s; }
.btn-cta-rings span:nth-child(3) { animation-delay: 1.7s; }
@keyframes ctaRingExpand {
  0% { transform: scale(1); opacity: 0.85; border-color: rgba(240,223,160,0.8); }
  70% { opacity: 0.25; }
  100% { transform: scale(1.85); opacity: 0; border-color: rgba(201,162,39,0); }
}
@keyframes ctaGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta-rings span, .btn-cta-glow { animation: none; }
  .btn-cta-glow { opacity: 0.8; }
}
.hero-page { height: 40vh; min-height: 320px; }
.hero-page .hero-content h1 { font-size: 3rem; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.star-divider { display: flex; align-items: center; justify-content: center; margin: 16px 0; font-size: 1.3rem; }
.star-divider::before, .star-divider::after { content: ''; height: 1px; width: 60px; background: rgba(197, 162, 39, 0.4); margin: 0 16px; }

/* ==================================================================== */
/* SEÇÕES GERAIS                                                         */
/* ==================================================================== */

.section { padding: 110px 8%; position: relative; }
.section-wall {
  background: radial-gradient(circle at top center, var(--parede-matte-centro) 0%, var(--parede-matte-borda) 80%);
  color: var(--white);
  border-top: 3px solid var(--preto);
  border-bottom: 3px solid var(--preto);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 6px; color: var(--ouro-metalico); margin-bottom: 20px; display: block; }
h2 { font-family: var(--font-serif); font-size: 3.4rem; font-weight: 400; line-height: 1.2; margin-bottom: 35px; color: var(--azul-marinho); }
.section-wall h2 { color: var(--white); }

/* ==================================================================== */
/* QUEM SOMOS                                                            */
/* ==================================================================== */

.about-text { font-size: 1.15rem; line-height: 1.9; text-align: justify; max-width: 950px; margin-bottom: 50px; font-weight: 400; color: var(--texto-main); }
.about-text p { margin-bottom: 25px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.feature-pill { background: var(--white); padding: 35px 25px; border-radius: 12px; border-top: 4px solid var(--ouro-metalico); box-shadow: 0 10px 20px rgba(0,0,0,0.04); font-weight: 600; font-size: 14px; text-align: center; color: var(--azul-marinho); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.feature-pill:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(197, 162, 39, 0.2); }

/* ==================================================================== */
/* TRATAMENTOS                                                           */
/* ==================================================================== */

.treatments-intro { font-size: 1.2rem; font-weight: 400; line-height: 1.8; max-width: 850px; margin-bottom: 60px; color: var(--texto-main); }
.treatments-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 35px; }
.treatment-box { background: var(--white); padding: 45px 35px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 15px 35px rgba(0,0,0,0.03); transition: all 0.4s ease; position: relative; overflow: hidden; }
.treatment-box::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(197, 162, 39, 0.15), transparent); transform: skewX(-25deg); transition: left 0.7s ease; z-index: 1; pointer-events: none; }
.treatment-box:hover::before { left: 150%; }
.treatment-box:hover { transform: translateY(-8px); border-color: var(--ouro-metalico); box-shadow: 0 25px 50px rgba(79, 117, 139, 0.15); }
.treatment-box h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--azul-marinho); margin-bottom: 20px; font-weight: 600; border-bottom: 1px solid var(--concreto-quente); padding-bottom: 15px; position: relative; z-index: 2; }
.treatment-box ul { list-style: none; position: relative; z-index: 2; }
.treatment-box ul li { font-size: 14px; margin-bottom: 14px; position: relative; padding-left: 22px; color: var(--texto-main); font-weight: 500; transition: transform 0.3s ease, color 0.3s ease; }
.treatment-box ul li:hover { transform: translateX(6px); color: var(--azul-marinho); }
.treatment-box ul li::before { content: "✦"; color: var(--ouro-metalico); font-size: 1rem; position: absolute; left: 0; top: -1px; }

/* ==================================================================== */
/* CARROSSEL DE FOTOS                                                    */
/* ==================================================================== */

.gallery-wrapper { position: relative; max-width: 1100px; margin: 80px auto 0 auto; }

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 20px 4px;
  -webkit-overflow-scrolling: touch; /* rolagem por toque suave no iOS/Safari */
  scrollbar-width: thin;
  scrollbar-color: var(--ouro-metalico) transparent;
  list-style: none;
}
.gallery-track::-webkit-scrollbar { height: 8px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--ouro-metalico); border-radius: 10px; }
.gallery-track::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); }
.gallery-track.dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }

.gallery-item {
  flex: 0 0 auto;
  width: 260px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(197, 162, 39, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  cursor: zoom-in;
  padding: 0;
  background: var(--preto);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-6px);
  border-color: var(--ouro-metalico);
  box-shadow: 0 25px 45px rgba(197, 162, 39, 0.25);
  outline: none;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
}
.gallery-item video {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: block; max-width: none; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
.gallery-play-badge {
  position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.45); border: 1px solid rgba(201,162,39,0.6); color: #fff;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 2;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--branco);
  border: 1px solid rgba(197, 162, 39, 0.4);
  color: var(--azul-marinho);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  z-index: 5;
  transition: background 0.3s ease, color 0.3s ease;
}
.gallery-nav:hover { background: var(--ouro-mirror); color: var(--preto); }
.gallery-prev { left: -22px; }
.gallery-next { right: -22px; }

.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--cinza-claro);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.gallery-dot.active { background: var(--ouro-metalico); transform: scale(1.3); }

@media (max-width: 640px) {
  .gallery-nav { display: none; } /* em telas pequenas o gesto de arrastar/deslizar já resolve */
  .gallery-item { width: 200px; }
}

/* ---- LIGHTBOX (foto ampliada em tela cheia) ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img,
.lightbox-video {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}
.lightbox.open .lightbox-img,
.lightbox.open .lightbox-video { transform: scale(1); }
.lightbox-video {
  background: #000;
  object-fit: contain;
  width: auto;
  height: auto;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 10; /* sempre na frente da foto/vídeo */
  background: rgba(26, 26, 26, 0.75);
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: #FAFAFA;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.lightbox-close:hover, .lightbox-nav:hover {
  background: var(--ouro-mirror);
  color: var(--preto);
  transform: scale(1.06);
}

/* Fechar: compacto, contraste alto, acima de tudo */
.lightbox-close {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lightbox-img, .lightbox-video {
    max-width: 100%;
    max-height: 78vh; /* deixa margem para o botão fechar */
  }
  .lightbox-nav { width: 36px; height: 36px; font-size: 18px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 20px;
    background: rgba(10, 14, 22, 0.9);
    border-color: var(--ouro-metalico);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { scroll-behavior: auto; }
  .lightbox, .lightbox-img, .gallery-item { transition: none; }
}

/* ==================================================================== */
/* EQUIPE                                                                */
/* ==================================================================== */

.team-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 50px; }
.member-profile { background: rgba(255,255,255,0.03); padding: 50px 40px; border-radius: 16px; border: 1px solid rgba(197, 162, 39, 0.2); transition: transform 0.4s ease, background 0.4s ease; backdrop-filter: blur(5px); }
.member-profile:hover { transform: translateY(-5px); background: rgba(255,255,255,0.07); border-color: var(--ouro-metalico); }
.member-profile h3 { font-family: var(--font-serif); font-size: 2.3rem; margin-bottom: 5px; }
.member-profile .crm { font-size: 12px; font-weight: 600; color: var(--ouro-metalico); text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 25px; }
.member-profile p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 20px; text-align: justify; }
.member-profile h4 { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--white); margin-top: 30px; margin-bottom: 15px; text-transform: uppercase; }

/* ==================================================================== */
/* BOTÃO DOURADO                                                         */
/* ==================================================================== */

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ouro-mirror);
  background-size: 200% auto;
  color: var(--preto);
  text-decoration: none;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.5s;
  box-shadow: 0 10px 25px rgba(197, 162, 39, 0.3);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-gold:hover { background-position: right center; color: var(--preto); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(197, 162, 39, 0.5); }

/* Botão secundário (contorno) usado no "Limpar" do formulário */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--azul-marinho);
  text-decoration: none;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.4s;
  border: 2px solid var(--cinza-claro);
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-outline:hover { border-color: var(--ouro-metalico); color: var(--ouro-metalico); background: rgba(197, 162, 39, 0.05); }

/* ==================================================================== */
/* RODAPÉ                                                                */
/* ==================================================================== */

footer { padding: 90px 8% 40px 8%; background-color: var(--azul-marinho); color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ouro-mirror); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-box h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--white); font-weight: 400; margin-bottom: 20px; }
.footer-box strong { color: var(--ouro-metalico); display: block; margin-bottom: 5px; text-transform: uppercase; font-size: 11px; letter-spacing: 2px; }

.footer-logo-area { text-align: center; margin-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 40px; }

.logo-footer-transparent {
  height: 90px;
  width: auto;
  transition: transform 0.5s;
  filter: drop-shadow(0 4px 15px rgba(197, 162, 39, 0.3));
}
.logo-footer-transparent:hover { transform: scale(1.05); }

/* ==================================================================== */
/* BOTÃO FLUTUANTE DO WHATSAPP                                          */
/* ==================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 2000;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  animation: whatsapp-pulse 2.2s infinite;
  z-index: -1;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

@keyframes whatsapp-pulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-tooltip {
  position: fixed;
  bottom: 46px;
  right: 100px;
  background: var(--azul-marinho);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--azul-marinho);
}
.whatsapp-float:hover + .whatsapp-tooltip,
.whatsapp-wrapper:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }
}

/* ==================================================================== */
/* PÁGINA DE CONTATO — FORMULÁRIO                                       */
/* ==================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 50px 45px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 20px 45px rgba(79, 117, 139, 0.1);
}

.form-group { margin-bottom: 26px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--azul-marinho);
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--cinza-claro);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--texto-main);
  background: var(--branco);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ouro-metalico);
  box-shadow: 0 0 0 3px rgba(197, 162, 39, 0.15);
}
.form-group textarea { min-height: 160px; resize: vertical; }

.form-actions { display: flex; gap: 20px; margin-top: 10px; flex-wrap: wrap; }

.form-feedback {
  margin-bottom: 26px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-feedback.success { display: block; background: rgba(37, 211, 102, 0.12); color: #1a7a45; border: 1px solid rgba(37, 211, 102, 0.35); }
.form-feedback.error { display: block; background: rgba(200, 60, 60, 0.1); color: #a83232; border: 1px solid rgba(200, 60, 60, 0.3); }

.contact-info-card {
  background: var(--azul-marinho);
  border-radius: 16px;
  padding: 50px 40px;
  color: rgba(255,255,255,0.85);
}
.contact-info-card h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 25px; }
.contact-info-item { margin-bottom: 25px; }
.contact-info-item strong { color: var(--ouro-metalico); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.contact-info-item span, .contact-info-item a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; }
.contact-info-item a:hover { color: var(--ouro-metalico); }

/* Honeypot anti-spam: invisível para humanos, visível para bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ==================================================================== */
/* TOAST DE SUCESSO (aviso flutuante após enviar o formulário)          */
/* ==================================================================== */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 380px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-left: 4px solid var(--ouro-metalico);
  border-radius: 12px;
  padding: 20px 42px 20px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  overflow: hidden;
}
.toast.show { opacity: 1; visibility: visible; transform: translateY(0); }

.toast-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--ouro-metalico); margin-top: 1px; }

.toast-text { display: flex; flex-direction: column; gap: 3px; }
.toast-text strong { font-size: 14px; color: var(--azul-marinho); font-weight: 700; line-height: 1.4; }
.toast-text span { font-size: 13px; color: var(--texto-main); line-height: 1.4; }

.toast-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--cinza-escuro);
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}
.toast-close:hover { color: var(--azul-marinho); }

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--ouro-mirror);
  transform: scaleX(1);
  transform-origin: left;
}
.toast-progress.animar { transition: transform 5s linear; transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.2s ease; }
  .toast-progress.animar { transition: none; transform: scaleX(0); }
}

@media (max-width: 640px) {
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-gold, .form-actions .btn-outline { width: 100%; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-watermark { position: absolute; right: 0; top: 0; z-index: 1; }
  .hero-watermark img { width: min(260px, 48vw); opacity: 0.12; }
}
@media (max-width: 768px) {
  .hero { min-height: calc(100vh - 60px); padding: 28px 5% 36px 5%; }
  .hero-content h1 { font-size: 1.7rem; margin-bottom: 10px; }
  .hero-content .eyebrow { font-size: 10px; letter-spacing: 3px; margin-bottom: 10px; }
  .hero-content p { font-size: 0.9rem; line-height: 1.55; margin: 0; max-width: 100%; }
  .hero-cta { margin-top: 20px; gap: 14px; }
  .btn-cta { padding: 14px 32px; font-size: 11px; }
  .star-divider::before, .star-divider::after { width: 45px; margin: 0 12px; }
  .section { padding: 80px 5%; }
  h2 { font-size: 2.8rem; }
  .team-layout { grid-template-columns: 1fr; }
  .contact-form-card, .contact-info-card { padding: 35px 25px; }
}
@media (max-width: 380px) {
  .hero { padding: 22px 4% 28px 4%; min-height: auto; }
  .hero-content h1 { font-size: 1.45rem; margin-bottom: 8px; }
  .hero-content p { font-size: 0.82rem; }
  .hero-cta { margin-top: 16px; gap: 12px; }
  .btn-cta { padding: 12px 26px; font-size: 10px; letter-spacing: 1.5px; }
  .hero-watermark img { opacity: 0.08; }
}
