/* ============================================
   DANILO MARQUES — ADVOGADO
   Landing Page — Liquid Glass Design
   ============================================ */

:root {
  /* Cores */
  --bg-deep: #050A12;
  --bg-dark: #0A1220;
  --bg-mid: #0F1A2E;
  --accent: #5E9EFF;
  --accent-soft: rgba(94, 158, 255, 0.12);
  --accent-glow: rgba(94, 158, 255, 0.25);
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-tertiary: rgba(255, 255, 255, 0.35);
  --verde-wa: #25D366;
  --verde-wa-hover: #1EBE57;
  --vermelho: #FF453A;
  --verde: #30D158;

  /* Liquid Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-highlight: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
  --glass-blur: blur(40px);
  --glass-blur-heavy: blur(60px);
  --glass-saturate: saturate(180%);

  /* Tipografia — SF Pro (Apple) com fallbacks */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Inter', system-ui, sans-serif;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Layout */
  --px: 20px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(94, 158, 255, 0.08);

  /* Transicoes */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.4s;
  --duration-slow: 0.7s;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: var(--fw-normal);
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Liquid Glass mixin via class --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border);
  position: relative;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-highlight);
  pointer-events: none;
  z-index: 1;
}

/* --- Animacoes --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__photo-container, .hero__content, .hero__ctas, .scroll-indicator {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(5, 10, 18, 0.65);
  backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}

.navbar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-size: 17px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
}

.navbar__logo span { color: var(--accent); }

.navbar__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color var(--duration);
  letter-spacing: 0.01em;
}

.navbar__links a:hover { color: var(--text-primary); }

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease-out);
  min-height: 44px;
}

.navbar__cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar__cta:active { transform: scale(0.96); }
.navbar__cta svg { width: 16px; height: 16px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px var(--px) 48px;
  overflow: hidden;
}

/* Hero background — foto full-bleed */
.hero__bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/bg-hero.jpeg') center 15% / cover no-repeat;
}

.hero__bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.4) 0%, rgba(5, 10, 18, 0.2) 30%, rgba(5, 10, 18, 0.6) 70%, rgba(5, 10, 18, 0.95) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 30%, rgba(5, 10, 18, 0.5) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__grid { display: none; }

.hero__wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 520px;
}

/* Foto hero removida — usando background full-bleed */
.hero__photo-container {
  display: none;
}

.hero__content {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__name {
  font-size: 34px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero__tagline {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.hero__frase {
  font-size: 17px;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* Social icons */
.hero__sociais {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__social-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease-out);
  position: relative;
}

.hero__social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero__social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero__social-link:active { transform: scale(0.92); }
.hero__social-link svg { width: 20px; height: 20px; position: relative; z-index: 2; }

/* CTAs */
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease-out);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-highlight);
  pointer-events: none;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.btn--primary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn--accent {
  background: rgba(94, 158, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(94, 158, 255, 0.2);
  color: var(--text-primary);
}

.btn--accent:hover {
  background: rgba(94, 158, 255, 0.22);
  border-color: rgba(94, 158, 255, 0.35);
  box-shadow: 0 4px 30px rgba(94, 158, 255, 0.15);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; position: relative; z-index: 2; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
  z-index: 1;
}

.scroll-indicator__arrow {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  animation: floatDown 2.5s var(--ease-out) infinite;
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 0.8; }
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LINKS
   ============================================ */
.links {
  padding: 48px 0 72px;
  position: relative;
}

.links__title {
  text-align: center;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}

.links__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  transition: all var(--duration) var(--ease-out);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.link-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-highlight);
  pointer-events: none;
}

.link-btn:hover {
  transform: translateY(-2px) scale(1.01);
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--glass-border-hover);
}

.link-btn:active { transform: scale(0.98); }

.link-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.link-btn__icon svg { width: 20px; height: 20px; }

.link-btn__text { flex: 1; position: relative; z-index: 2; }

.link-btn__arrow {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-out);
}

.link-btn:hover .link-btn__arrow {
  transform: translateX(4px);
  color: var(--text-secondary);
}

.link-btn--portal {
  border-color: rgba(94, 158, 255, 0.12);
}

.link-btn--portal:hover {
  border-color: rgba(94, 158, 255, 0.25);
}

/* ============================================
   AREAS DE ATUACAO
   ============================================ */
.areas {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Background foto perfil */
.areas__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/bg-areas.jpeg') center 15% / cover no-repeat;
}

.areas__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.93) 0%, rgba(5, 10, 18, 0.8) 50%, rgba(5, 10, 18, 0.95) 100%);
}

.areas .container { position: relative; z-index: 1; }

.areas::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 26px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.area-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 24px 14px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-highlight);
  pointer-events: none;
}

.area-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.area-card:active { transform: scale(0.96); }

.area-card__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.area-card__icon svg { width: 24px; height: 24px; }

.area-card__name {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.area-card__tagline {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

/* Bottom Sheet — Liquid Glass */
.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.bottom-sheet-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2001;
  background: rgba(15, 20, 35, 0.85);
  backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px var(--px) 44px;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.bottom-sheet.is-active { transform: translateY(0); }

.bottom-sheet__handle {
  width: 36px; height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.bottom-sheet__close {
  position: absolute;
  top: 16px; right: 20px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 18px;
  transition: background var(--duration);
}

.bottom-sheet__close:hover { background: rgba(255, 255, 255, 0.12); }

.bottom-sheet__header-icon {
  width: 48px; height: 48px;
  margin-bottom: 16px;
  background: var(--accent-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

.bottom-sheet__header-icon svg { width: 24px; height: 24px; }

.bottom-sheet__title {
  font-size: 22px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.bottom-sheet__tagline {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: var(--fw-medium);
}

.bottom-sheet__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.bottom-sheet__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease-out);
}

.bottom-sheet__cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.bottom-sheet__cta:active { transform: scale(0.97); }

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Background foto full-bleed */
.sobre__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/bg-sobre.jpeg') center 20% / cover no-repeat;
}

.sobre__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.92) 0%, rgba(5, 10, 18, 0.75) 40%, rgba(5, 10, 18, 0.85) 70%, rgba(5, 10, 18, 0.95) 100%);
}

.sobre .container { position: relative; z-index: 1; }

.sobre .section-title { color: var(--text-primary); }

.sobre__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 64px;
}

/* Foto wrapper removida — usando background */
.sobre__foto-wrapper { display: none; }

.sobre__texto { max-width: 520px; }

.sobre__texto p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.sobre__texto p:last-child { margin-bottom: 0; }

/* Timeline */
.timeline {
  margin-bottom: 64px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.timeline__title {
  font-size: 20px;
  font-weight: var(--fw-bold);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.timeline__list {
  position: relative;
  padding-left: 28px;
}

.timeline__list::before {
  content: '';
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(94, 158, 255, 0.2));
}

.timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.timeline__item:last-child { padding-bottom: 0; }


.timeline__item::before {
  content: '';
  position: absolute;
  left: -25px; top: 8px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(94, 158, 255, 0.3);
}

.timeline__year {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.timeline__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Presenca Digital */
.presenca {
  margin-bottom: 64px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.presenca__title {
  font-size: 20px;
  font-weight: var(--fw-bold);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.presenca__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
}

/* Valores */
.valores {
  max-width: 480px;
  margin: 0 auto;
}

.valores__title {
  font-size: 20px;
  font-weight: var(--fw-bold);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.valor-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.valor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glass-highlight);
  pointer-events: none;
}

.valor-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.valor-card__icon {
  width: 28px; height: 28px;
  margin: 0 auto 8px;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}

.valor-card__icon svg { width: 22px; height: 22px; }

.valor-card__name {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  margin-bottom: 4px;
  position: relative; z-index: 2;
}

.valor-card__desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
  position: relative; z-index: 2;
}

/* ============================================
   FORMULARIO DE CONTATO
   ============================================ */
.contato {
  padding: 80px 0;
  position: relative;
}

.contato::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.contato__wrapper {
  max-width: 480px;
  margin: 0 auto;
}

/* Chat inline na seção contato */
.contato-chat {
  margin-top: 36px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.contato-chat__messages {
  min-height: 320px;
  max-height: 420px;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contato-chat__messages::-webkit-scrollbar { width: 4px; }
.contato-chat__messages::-webkit-scrollbar-track { background: transparent; }
.contato-chat__messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Mensagens */
.chat-msg {
  display: flex;
  max-width: 85%;
  animation: fadeUp 0.3s var(--ease-out);
}

.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }

.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.chat-msg--bot .chat-msg__bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-msg--user .chat-msg__bubble {
  background: rgba(94, 158, 255, 0.18);
  border: 1px solid rgba(94, 158, 255, 0.15);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.chat-msg__file {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  margin-top: 6px;
}

.chat-msg__file svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Typing */
.chat-msg--typing .chat-msg__bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
}

.typing-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input area */
.contato-chat__input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contato-chat__file-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--duration);
}

.contato-chat__file-btn:hover { color: var(--accent); background: rgba(255,255,255,0.04); }
.contato-chat__file-btn svg { width: 20px; height: 20px; }

.contato-chat__input-area input {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--duration) var(--ease-out);
  -webkit-appearance: none;
}

.contato-chat__input-area input::placeholder { color: var(--text-tertiary); }

.contato-chat__input-area input:focus {
  border-color: rgba(94, 158, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.contato-chat__input-area button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
  border: none;
}

.contato-chat__input-area button svg { width: 18px; height: 18px; }
.contato-chat__input-area button:hover { background: #4A8AEE; transform: scale(1.05); }
.contato-chat__input-area button:active { transform: scale(0.95); }

/* File preview */
.contato-chat__file-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(94, 158, 255, 0.06);
}

.contato-chat__file-name {
  flex: 1;
  font-size: 12px;
  color: var(--accent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contato-chat__file-remove {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text-tertiary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all var(--duration);
}

.contato-chat__file-remove:hover { background: rgba(255,69,58,0.15); color: var(--vermelho); }

/* WhatsApp CTA */
/* Botão agendar dentro do chat */
.chat-agendar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 14px 20px;
  min-height: 48px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--verde-wa);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--duration) var(--ease-out);
}

.chat-agendar-btn svg { width: 18px; height: 18px; }

.chat-agendar-btn:hover {
  background: var(--verde-wa-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.chat-agendar-btn:active { transform: scale(0.97); }

.contato-chat__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 24px;
  min-height: 52px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease-out);
}

.contato-chat__whatsapp svg { width: 18px; height: 18px; }

.contato-chat__whatsapp:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.contato-chat__whatsapp:active { transform: scale(0.97); }

/* ============================================
   RODAPE
   ============================================ */
.rodape {
  padding: 40px 0 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.rodape__logo {
  font-size: 18px;
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.rodape__logo span { color: var(--accent); }

.rodape__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.rodape__link {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color var(--duration);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.rodape__link:hover { color: var(--text-primary); }

.rodape__copy {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.rodape__aviso {
  font-size: 11px;
  color: var(--text-tertiary);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0.6;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (min-width: 768px) {
  :root { --px: 32px; }

  .hero__photo { width: 180px; height: 180px; }
  .hero__name { font-size: 42px; }
  .section-title { font-size: 32px; }

  .areas__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 560px;
  }

  .sobre__intro {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .valores__grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  :root { --px: 40px; }

  .navbar__links { display: flex; }
  .hero { padding: 80px var(--px); }
  .hero__photo { width: 200px; height: 200px; }
  .hero__name { font-size: 48px; }

  .hero__ctas { flex-direction: row; }
  .btn { width: auto; flex: 1; }

  .section-title { font-size: 36px; }

  .areas__grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 720px;
  }

  .sobre__intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .sobre__texto p { font-size: 16px; }

  .timeline, .presenca, .valores { max-width: 640px; }
  .contato__wrapper { max-width: 540px; }
}
