/* =====================================================
   EIGHT CLINIC - SITE COMPLETO
   Paleta: Borgonha #6B0D1A + Dourado #C9A84C
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ─── RESET & VARIÁVEIS ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --burgundy:       #6B0D1A;
  --burgundy-dark:  #4A0812;
  --burgundy-light: #8B1A2A;
  --gold:           #C9A84C;
  --gold-light:     #E8C96A;
  --gold-pale:      #F5E8C0;
  --cream:          #FAF7F2;
  --white:          #FFFFFF;
  --text-dark:      #1a1a1a;
  --text-mid:       #4a4a4a;
  --text-light:     #888888;
  --shadow-gold:    rgba(201, 168, 76, 0.25);
  --shadow-dark:    rgba(74, 8, 18, 0.18);

  --font-title:  'Cinzel', serif;
  --font-serif:  'Cormorant Garamond', serif;
  --font-body:   'Montserrat', sans-serif;

  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* ─── UTILITÁRIOS ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section-dark { background-color: var(--burgundy-dark); color: var(--white); }
.section-cream { background-color: var(--cream); }
.section-white { background-color: var(--white); }

.gold-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-header h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: inherit;
  letter-spacing: 1px;
}
.section-dark .section-header h2 { color: var(--white); }
.section-cream .section-header h2,
.section-white .section-header h2 { color: var(--burgundy); }

/* ─── BOTÕES ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); border-radius: 0;
}
.btn-gold {
  background-color: var(--gold); color: var(--burgundy-dark);
  box-shadow: 0 4px 20px var(--shadow-gold);
}
.btn-gold:hover {
  background-color: var(--gold-light); transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-gold);
}
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
  background-color: var(--gold); color: var(--burgundy-dark);
  transform: translateY(-3px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1); transform: translateY(-3px);
}

/* Esconde a barra padrão do Google Translate */
.goog-te-banner-frame, .skiptranslate, iframe.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { display: none !important; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
}
.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0.65;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-btn img {
  width: 22px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  display: block;
}
.lang-btn:hover {
  opacity: 1;
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.1);
  transform: scale(1.1);
}
.lang-btn.active {
  opacity: 1;
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.15);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(74, 8, 18, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: var(--transition);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1180px; margin: 0 auto;
}
.navbar-logo img {
  height: 52px; width: auto;
  filter: brightness(1.1);
}
.navbar-menu {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.navbar-menu a {
  font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); text-decoration: none;
  transition: var(--transition);
  position: relative; padding-bottom: 4px;
}
.navbar-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background-color: var(--gold);
  transition: width 0.3s ease;
}
.navbar-menu a:hover { color: var(--gold); }
.navbar-menu a:hover::after { width: 100%; }
.navbar-cta { display: flex; align-items: center; gap: 16px; }

/* Hamburguer Mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); transition: var(--transition); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  position: relative; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('fachada.jpeg');
  background-size: cover; background-position: center top;
  filter: brightness(0.3);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(74, 8, 18, 0.88) 0%,
    rgba(107, 13, 26, 0.72) 50%,
    rgba(30, 5, 10, 0.90) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  padding-top: 300px;
}
.hero-eyebrow {
  font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; display: block;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400; line-height: 1.1;
  color: var(--white); margin-bottom: 10px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-title span { color: var(--gold); }
.hero-tagline {
  font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.85); margin-bottom: 20px;
}
.hero-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}
.hero-desc {
  font-size: 0.95rem; line-height: 1.8; font-weight: 300;
  color: rgba(255,255,255,0.75); max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  position: absolute; right: 80px; bottom: 60px; z-index: 2;
  width: 130px; height: 130px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: rgba(74, 8, 18, 0.7);
  backdrop-filter: blur(8px);
}
.hero-badge .num {
  font-family: var(--font-title); font-size: 2rem;
  color: var(--gold); line-height: 1;
}
.hero-badge .label {
  font-size: 0.6rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  margin-top: 4px; padding: 0 10px; line-height: 1.4;
}

/* ─── ESPECIALIDADES / SERVIÇOS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; background-color: var(--gold);
}
.service-card {
  background-color: var(--burgundy-dark);
  padding: 50px 40px; text-align: center;
  transition: var(--transition); cursor: default;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(201,168,76,0.08) 100%);
  opacity: 0; transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); }
.service-icon {
  font-size: 2.8rem; margin-bottom: 24px;
  display: block; line-height: 1;
}
.service-card h3 {
  font-family: var(--font-title); font-size: 1.1rem;
  font-weight: 500; color: var(--gold);
  letter-spacing: 1px; margin-bottom: 16px;
}
.service-card p {
  font-size: 0.88rem; line-height: 1.8;
  color: rgba(255,255,255,0.72); font-weight: 300;
}

/* ─── SOBRE A DRA ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%; height: 500px; object-fit: cover;
  display: block;
  border: 3px solid var(--gold);
}
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background-color: var(--burgundy);
  border: 1px solid var(--gold);
  padding: 20px 24px; text-align: center;
}
.about-img-badge .num {
  font-family: var(--font-title); font-size: 2.2rem;
  color: var(--gold); display: block; line-height: 1;
}
.about-img-badge .label {
  font-size: 0.65rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  display: block; margin-top: 4px;
}
.about-content { padding-left: 20px; }
.about-content .subtitle {
  font-size: 0.72rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 12px;
}
.about-content h2 {
  font-family: var(--font-title); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500; color: var(--burgundy); margin-bottom: 6px;
}
.about-content .cro {
  font-size: 0.78rem; letter-spacing: 2px;
  color: var(--text-light); text-transform: uppercase; margin-bottom: 24px;
}
.about-content p {
  font-family: var(--font-serif); font-size: 1.05rem;
  line-height: 1.9; color: var(--text-mid);
  margin-bottom: 16px;
}
.about-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px;
}
.about-tag {
  font-size: 0.72rem; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 8px 18px;
  border: 1px solid var(--gold); color: var(--burgundy);
  font-weight: 500;
}

/* ─── GALERIA ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}
.gallery-item {
  overflow: hidden; position: relative; cursor: pointer;
  background-color: var(--burgundy-dark);
}
.gallery-item img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.92);
}
.gallery-item:hover img {
  transform: scale(1.08); filter: brightness(1.05);
}
.gallery-item.tall img { height: 568px; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74,8,18,0.7) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  font-weight: 500;
}

/* ─── AGENDAMENTO / CTA ─── */
.cta-section {
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: 'EIGHT';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title); font-size: 18vw;
  color: rgba(201,168,76,0.04); white-space: nowrap;
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white); font-weight: 400; margin-bottom: 16px;
}
.cta-section p {
  font-family: var(--font-serif); font-size: 1.15rem;
  font-style: italic; color: rgba(255,255,255,0.8);
  max-width: 500px; margin: 0 auto 40px; line-height: 1.7;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-phone {
  display: block; margin-top: 30px;
  font-size: 0.75rem; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.cta-phone a {
  color: var(--gold); text-decoration: none; font-weight: 600;
}

/* ─── FOOTER ─── */
footer {
  background-color: var(--burgundy-dark);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 50px 0 24px;
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  margin-bottom: 24px;
}
.footer-logo img { height: 50px; margin-bottom: 14px; }
.footer-logo p {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  line-height: 1.6; max-width: 240px;
}
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-title); font-size: 0.8rem;
  letter-spacing: 2px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul a {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.3s;
  letter-spacing: 0.5px;
}
.footer-links ul a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  line-height: 1.8; margin-bottom: 4px;
}
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p {
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold); color: var(--gold);
  background-color: rgba(201,168,76,0.1);
}

/* ─── BEHOLD.SO WIDGET PLACEHOLDER ─── */
.behold-placeholder {
  border: 1px dashed rgba(201, 168, 76, 0.4);
  border-radius: 8px;
  padding: 60px 20px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  margin-bottom: 10px;
  transition: var(--transition);
}
.behold-placeholder:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.behold-placeholder-inner {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ─── RESPONSIVO ─── */

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content { padding-left: 0; }
  .about-img-wrap img { height: 350px; }
  .about-img-badge { right: 10px; bottom: -15px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall img { height: 280px; }
  .hero-badge { display: none; }
  .navbar-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--burgundy-dark); padding: 20px; gap: 20px; }
  .navbar-menu.open { display: flex; }
  .hamburger { display: flex; }
  .navbar-cta .btn { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ─── ANIMAÇÕES DE ENTRADA ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
