/* ==========================================================================
   MM Consult — folha de estilo principal
   Tema escuro (azul-petróleo) com destaque em ciano.
   ========================================================================== */

:root {
  --bg:            #060d17;
  --bg-2:          #0a1523;
  --bg-3:          #0e1c2c;
  --line:          rgba(120, 170, 200, 0.14);
  --line-strong:   rgba(120, 170, 200, 0.28);

  --text:          #eef4f8;
  --muted:         #9fb2c2;
  --muted-2:       #7d93a6;

  --accent:        #2ee6c8;
  --accent-2:      #1fb6a6;
  --accent-soft:   rgba(46, 230, 200, 0.12);
  --accent-glow:   rgba(46, 230, 200, 0.35);

  --radius:        14px;
  --radius-lg:     20px;
  --container:     1180px;

  --font-display:  "Sora", system-ui, sans-serif;
  --font-body:     "Inter", system-ui, -apple-system, sans-serif;

  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

::selection { background: var(--accent); color: #04231f; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #04231f;
  box-shadow: 0 10px 30px -12px var(--accent-glow);
}
.btn-primary:hover {
  background: #4ff0d6;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 8px;
}
.text-link .arrow { transition: transform 0.25s var(--ease); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 13, 23, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(6, 13, 23, 0.96);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 10px var(--accent-glow)); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 8% 40%, rgba(46, 230, 200, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 0;
  min-height: 560px;
}
.hero-copy {
  align-self: center;
  padding: 80px 40px 80px 0;
  max-width: 620px;
}
.hero-brand {
  display: block;
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 6px;
}
.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: var(--accent);
}
.hero-text {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 22px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 320px;
  margin-right: calc((100vw - var(--container)) / -2);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(6, 13, 23, 0.35) 35%, transparent 70%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- features ---------- */
.features {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding-top: 96px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature {
  padding: 56px 34px;
  text-align: center;
  border-left: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.feature:first-child { border-left: 0; }
.feature:hover { background: rgba(46, 230, 200, 0.03); }

.feature-icon {
  display: inline-flex;
  width: 54px; height: 54px;
  color: var(--accent);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}
.feature-icon svg { width: 100%; height: 100%; }

.feature h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}
.feature p {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 240px;
  margin-inline: auto;
}

/* ---------- about ---------- */
.about {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-block: 96px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 22px;
  max-width: 480px;
}
.about-text {
  color: var(--muted);
  max-width: 500px;
}

.about-side {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 320px;
}
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
  position: relative;
  z-index: 2;
}
.stats li {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat-icon {
  display: inline-flex;
  width: 46px; height: 46px;
  flex: none;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.stat-icon svg { width: 100%; height: 100%; }
.stat-body { display: flex; flex-direction: column; line-height: 1.2; }
.stat-body strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
}
.stat-body small {
  color: var(--muted);
  font-size: 0.92rem;
}

.about-watermark {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 230px;
  color: rgba(46, 230, 200, 0.07);
  pointer-events: none;
}
.about-watermark svg { width: 100%; height: auto; }

/* ---------- cabeçalho de seção ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 18px;
}
.section-head p { color: var(--muted); }

/* ---------- especialidades ---------- */
.specialties {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding-block: 96px;
}
.specialties-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.specialty {
  flex: 1 1 300px;
  max-width: 370px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}
.specialty:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-3);
}
.specialty-icon {
  display: inline-flex;
  width: 46px; height: 46px;
  color: var(--accent);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.specialty-icon svg { width: 100%; height: 100%; }
.specialty h3 { font-size: 1.12rem; margin-bottom: 10px; }
.specialty p { color: var(--muted); font-size: 0.94rem; }

/* ---------- consultor ---------- */
.consultant {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.consultant-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  padding-block: 96px;
  align-items: center;
}
.consultant-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 18px;
}
.consultant-text {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 34px;
}
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-icon {
  display: inline-flex;
  width: 42px; height: 42px;
  flex: none;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.pillar p {
  color: var(--muted);
  font-size: 0.94rem;
}

.consultant-side {
  display: flex;
  justify-content: center;
}
.consultant-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  text-align: center;
}
.consultant-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 100% 0%, rgba(46, 230, 200, 0.14), transparent 60%);
  pointer-events: none;
}
.consultant-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 30px -6px var(--accent-glow);
}
.consultant-card h3 {
  position: relative;
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.consultant-role {
  position: relative;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.consultant-stats {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.consultant-stats li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.consultant-stats strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 64px;
}
.consultant-stats small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(46, 230, 200, 0.14), transparent 60%),
    var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(120, 170, 200, 0.05) 0 1px, transparent 1px 46px);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  padding-block: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-inner h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 16px;
}
.cta-inner p {
  color: var(--muted);
  margin-bottom: 34px;
  max-width: 520px;
}

/* ---------- footer ---------- */
.site-footer {
  background: #04090f;
  color: var(--muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer-brand .brand-name { color: var(--text); font-size: 1.25rem; }
.footer-brand p { margin-top: 12px; font-size: 0.92rem; max-width: 280px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.94rem;
}
.footer-nav a { transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--accent); }

.footer-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.footer-zap {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.footer-zap:hover { color: #6ff5e0; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  font-size: 0.84rem;
  color: var(--muted-2);
}

/* ---------- whatsapp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #04231f;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 38px -8px rgba(37, 211, 102, 0.75);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- animação de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- chat com IA (Ollama) ---------- */
.chat-widget {
  position: fixed;
  left: 22px;
  bottom: 92px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.chat-float {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: var(--accent);
  color: #04231f;
  box-shadow: 0 12px 30px -8px var(--accent-glow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.chat-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 38px -8px var(--accent-glow);
}
.chat-float svg { width: 28px; height: 28px; }
.chat-float-close { display: none; }
.chat-widget.open .chat-float-icon { display: none; }
.chat-widget.open .chat-float-close { display: block; }

.chat-panel {
  width: min(380px, calc(100vw - 36px));
  height: min(560px, calc(100vh - 150px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.chat-widget.open .chat-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.chat-header-brand { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.chat-avatar svg { width: 22px; height: 22px; }
.chat-header strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.2;
}
.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.chat-status i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: chatPulse 2s infinite;
}
@keyframes chatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.chat-close {
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.chat-close:hover { color: var(--text); background: var(--bg-3); }

.chat-auth {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.chat-auth-inner {
  text-align: center;
  max-width: 260px;
}
.chat-auth-icon {
  display: inline-flex;
  width: 52px; height: 52px;
  color: var(--accent);
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.chat-auth-icon svg { width: 100%; height: 100%; }
.chat-auth h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.chat-auth p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.chat-auth-user {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.chat-auth-user #authUserEmail {
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-all;
}
.chat-auth-logout {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.8rem;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chat-auth-logout:hover { color: var(--accent); border-color: var(--accent); }

/* esconde o conteúdo do chat quando não autenticado */
.chat-widget:not(.authed) .chat-messages,
.chat-widget:not(.authed) .chat-suggestions,
.chat-widget:not(.authed) .chat-input { display: none; }
.chat-widget:not(.authed) .chat-auth { display: flex; }
.chat-widget.authed .chat-auth { display: none; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.msg {
  max-width: 84%;
  padding: 11px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.msg-user {
  align-self: flex-end;
  background: var(--accent);
  color: #04231f;
  border-bottom-right-radius: 4px;
}
.msg-bot {
  align-self: flex-start;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg-bot.error {
  color: #ffb4b4;
  border-color: rgba(255, 120, 120, 0.4);
}
.msg .typing {
  display: inline-flex;
  gap: 4px;
}
.msg .typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: chatPulse 1.2s infinite;
}
.msg .typing i:nth-child(2) { animation-delay: 0.15s; }
.msg .typing i:nth-child(3) { animation-delay: 0.3s; }

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 10px;
}
.chat-suggestion {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.chat-suggestion:hover { background: rgba(46, 230, 200, 0.22); }

.chat-input {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.chat-input textarea {
  flex: 1;
  resize: none;
  max-height: 120px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.chat-input textarea:focus { border-color: var(--accent); }
.chat-input textarea::placeholder { color: var(--muted-2); }

.chat-input button {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #04231f;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.chat-input button:hover { background: #4ff0d6; transform: translateY(-2px); }
.chat-input button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.chat-input button svg { width: 20px; height: 20px; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(6, 13, 23, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { width: 100%; padding: 12px 0; font-size: 1.05rem; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 64px 0 40px; max-width: none; }
  .hero-media {
    min-height: 300px;
    margin: 0 calc((100vw - 100%) / -2) 0;
  }
  .hero-media::after { background: linear-gradient(180deg, var(--bg) 0%, transparent 45%); }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about-inner { grid-template-columns: 1fr; gap: 50px; padding-block: 72px; }
  .about-side { justify-content: flex-start; }
  .about-watermark { right: 0; opacity: 0.7; }

  .consultant-inner { grid-template-columns: 1fr; gap: 50px; padding-block: 72px; }
  .consultant-side { justify-content: flex-start; }
  .specialties { padding-block: 72px; }
  .section-head { margin-bottom: 44px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-left: 0; border-top: 1px solid var(--line); padding: 40px 22px; }
  .feature:first-child { border-top: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .about-watermark { display: none; }
  .consultant-card { padding: 36px 26px; }
  .specialty { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- contato por e-mail ---------- */
.cta-inner .cta-email { margin: 22px 0 0; font-size: 0.98rem; }
.cta-email a { color: var(--accent); font-weight: 500; word-break: break-word; }
.cta-email a:hover { color: #6ff5e0; }
.footer-contact .footer-zap { display: block; margin-bottom: 8px; word-break: break-word; }

/* ---------- fotos: consultor e atendimento ---------- */
.consultant-photo {
  position: relative;
  display: block;
  width: 176px; height: 176px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 34px -6px var(--accent-glow);
}
.cta-with-photo {
  flex-direction: row;
  justify-content: center;
  gap: 64px;
  text-align: left;
}
.cta-photo {
  margin: 0;
  flex: none;
  width: min(320px, 34vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 40px -18px var(--accent-glow);
}
.cta-photo img { display: block; width: 100%; height: auto; }
.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
}
@media (max-width: 780px) {
  .cta-with-photo { flex-direction: column; gap: 36px; text-align: center; }
  .cta-copy { align-items: center; }
  .cta-photo { width: min(260px, 70vw); }
}

/* ---------- botões flutuantes no celular: à direita, sem cobrir o texto ---------- */
@media (max-width: 780px) {
  .whatsapp-float { left: auto; right: 14px; bottom: 16px; width: 50px; height: 50px; }
  .chat-widget { left: auto; right: 14px; bottom: 78px; align-items: flex-end; }
  .chat-float { width: 50px; height: 50px; }
  .chat-panel { transform-origin: bottom right; }
  .footer-bottom { padding-bottom: 150px; }
  .cta-inner { padding-block: 72px; }
}
