﻿/* =============================================
   VARIÁVEIS — paleta exclusiva do cliente
   ============================================= */
:root {
  /* Destaques */
  --destaque:   #d19a03;
  --destaque2:  #b18119;
  --destaque3:  #d8960c;

  /* Texto */
  --texto:      #0c4f73;

  /* Fundo */
  --fundo:      #edece8;

  /* Títulos */
  --titulo:     #0c4f73;

  /* Utilitários derivados */
  --borda:      rgba(209, 154, 3, 0.28);
  --shadow:     0 4px 24px rgba(10, 9, 9, 0.10);
  --shadow-lg:  0 12px 40px rgba(10, 9, 9, 0.16);

  --font-body:  'Source Sans 3', 'Source Sans Pro', sans-serif;
  --font-titulo:'Cormorant Garamond', Georgia, serif;

  --header-h:   72px;
  --radius:     10px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--font-body);
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* =============================================
   TIPOGRAFIA
   ============================================= */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--destaque);
  margin-bottom: 10px;
}
.section-label.center { display: block; text-align: center; }

.section-title {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--titulo);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(10, 9, 9, 0.55);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* =============================================
   BOTÕES
   ============================================= */
.btn-primary {
  display: inline-block;
  background: var(--destaque);
  color: var(--texto);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--destaque);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--destaque2);
  border-color: var(--destaque2);
  transform: translateY(-2px);
}


.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--fundo);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(237, 236, 232, 0.55);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  background: rgba(237, 236, 232, 0.12);
  border-color: var(--fundo);
  transform: translateY(-2px);
}

.btn-large { padding: 16px 48px; font-size: 1rem; }

/* =============================================
   CABEÇALHO
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(237, 236, 232, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-cab    { height: 44px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--texto);
  padding: 6px 14px;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--destaque);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover        { color: var(--destaque); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}
.btn-social.whatsapp  { color: #25d366; background: rgba(37, 211, 102, 0.12); }
.btn-social.instagram { color: #e1306c; background: rgba(225, 48, 108, 0.12); }
.btn-social:hover     { transform: translateY(-2px); }
.btn-social.whatsapp:hover  { background: rgba(37, 211, 102, 0.24); }
.btn-social.instagram:hover { background: rgba(225, 48, 108, 0.24); }

/* =============================================
   HOME  — usa o título (#0c4f73) como fundo
   ============================================= */
.section-home {
  min-height: 100vh;
  padding-top: var(--header-h);
  background: var(--texto);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.section-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(209, 154, 3, 0.20) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(3, 16, 36, 0.55) 0%, transparent 60%);
  pointer-events: none;
}

.home-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  padding: 40px 20px;
  text-align: center;
}

.logo-stack {
  position: relative;
  width: 280px;
  height: 280px;
  margin-bottom: 36px;
  filter: drop-shadow(0 8px 32px rgba(209, 154, 3, 0.28));
}
.logo-externa {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  animation: spin-slow 40s linear infinite;
}
.logo-interna {
  position: absolute;
  inset: 14%;
  width: 72%; height: 72%;
  object-fit: contain;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.home-tagline {
  font-family: var(--font-titulo);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: rgba(237, 236, 232, 0.88);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.home-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.home-scroll-hint span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(209, 154, 3, 0.7));
  margin: 0 auto;
  animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* =============================================
   SOBRE  — fundo principal (#edece8)
   ============================================= */
.section-sobre {
  padding: 96px 0;
  background: var(--fundo);
}

.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}

.sobre-text p {
  font-size: 1.02rem;
  color: rgba(10, 9, 9, 0.72);
  margin-bottom: 18px;
}
.sobre-text strong  { color: var(--titulo); font-weight: 700; }
.sobre-text .btn-primary { margin-top: 10px; }

.sobre-pillars {
  list-style: none;
  padding: 0;
  margin: 4px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sobre-pillars li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 3px solid var(--destaque);
}
.sobre-pillars li strong {
  color: var(--destaque);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sobre-pillars li span {
  font-size: 0.97rem;
  color: rgba(10, 9, 9, 0.72);
}

.sobre-image {
  position: relative;
  display: flex;
  flex-direction: column;
}

.image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex: 1;
  min-height: 480px;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s ease;
}
.image-frame:hover img { transform: scale(1.03); }

.image-accent {
  position: absolute;
  bottom: -14px; right: -14px;
  width: 60%; height: 60%;
  border: 3px solid var(--destaque);
  border-radius: var(--radius);
  z-index: -1;
}

/* =============================================
   SERVIÇOS  — fundo título (#0c4f73) invertido
   ============================================= */
.section-servicos {
  padding: 96px 0;
  background: var(--texto);
}
.section-servicos .section-label { color: var(--destaque3); }
.section-servicos .section-title { color: var(--fundo); }
.section-servicos .section-subtitle { color: rgba(237, 236, 232, 0.65); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--fundo);
  border: 1px solid rgba(12, 79, 115, 0.15);
  border-top: 3px solid var(--destaque2);
  border-radius: var(--radius);
  padding: 36px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--destaque);
}

.service-card.featured {
  background: var(--destaque);
  border-color: var(--destaque);
  border-top-color: var(--destaque3);
}
.service-card.featured:hover        { border-top-color: var(--destaque2); }
.service-card.featured .card-icon   { color: var(--titulo); }
.service-card.featured h3           { color: var(--titulo); font-size: 1.32rem; }
.service-card.featured .card-tagline { color: rgba(10, 9, 9, 0.6); }
.service-card.featured .svc-name    { color: var(--titulo); }
.service-card.featured .svc-desc    { color: rgba(10, 9, 9, 0.55); }
.service-card.featured .card-cta    { color: var(--titulo); border-color: var(--titulo); }
.service-card.featured .card-cta:hover { background: var(--titulo); color: var(--fundo); }

.card-badge {
  position: absolute;
  top: -12px; left: 20px;
  background: var(--titulo);
  color: var(--fundo);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.card-icon {
  color: var(--destaque);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-titulo);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--titulo);
  margin-bottom: 6px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-flags {
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.card-tagline {
  font-size: 0.9rem;
  color: rgba(10, 9, 9, 0.6);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--borda);
}

.card-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  margin-bottom: 24px;
}

.card-services li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 2px solid var(--titulo);
}

.svc-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--destaque);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.svc-desc {
  font-size: 0.85rem;
  color: rgba(10, 9, 9, 0.58);
  line-height: 1.45;
}

.card-cta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--destaque);
  border: 1.5px solid var(--destaque);
  border-radius: 6px;
  padding: 9px 18px;
  align-self: flex-start;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.card-cta:hover {
  background: var(--destaque);
  color: var(--texto);
  transform: translateY(-1px);
}

/* =============================================
   CLIENTES — fundo principal (#edece8)
   ============================================= */
.section-clientes {
  padding: 96px 0;
  background: var(--fundo);
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.client-card {
  flex: 0 0 calc(33.333% - 14px);
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-bottom: 3px solid var(--destaque2);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.client-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--destaque) 0%, var(--titulo) 100%);
  color: var(--fundo);
  font-family: var(--font-titulo);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.client-card h4 {
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--titulo);
  margin-bottom: 4px;
}

.client-location {
  font-size: 0.78rem;
  color: var(--destaque2);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.client-text {
  font-size: 0.9rem;
  color: rgba(10, 9, 9, 0.55);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 14px;
}

.client-stars {
  color: var(--destaque);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--destaque);
  background: var(--fundo);
  color: var(--destaque);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.carousel-btn:hover {
  background: var(--destaque);
  color: var(--texto);
  transform: scale(1.08);
}
.carousel-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--borda);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dots .dot.active {
  background: var(--destaque);
  transform: scale(1.3);
}

/* =============================================
   FEEDBACK  — fundo título (#0c4f73)
   ============================================= */
.section-feedback {
  padding: 96px 0;
  background: var(--texto);
  border-top: 1px solid var(--borda);
}
.section-feedback .section-label   { color: var(--destaque3); }
.section-feedback .section-title   { color: var(--fundo); }
.section-feedback .section-subtitle { color: rgba(237, 236, 232, 0.65); }

.feedback-inner { max-width: 700px; }

.feedback-form {
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-top: 3px solid var(--destaque);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--titulo);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--texto);
  background: rgba(237, 236, 232, 0.6);
  border: 1.5px solid var(--borda);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  background: var(--fundo);
  border-color: var(--destaque);
  box-shadow: 0 0 0 3px rgba(209, 154, 3, 0.16);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(10, 9, 9, 0.35);
}

.star-rating {
  display: flex;
  gap: 6px;
}
.star-rating span {
  font-size: 2rem;
  color: rgba(10, 9, 9, 0.18);
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  user-select: none;
}
.star-rating span:hover,
.star-rating span.active {
  color: var(--destaque);
  transform: scale(1.15);
}

.form-submit {
  text-align: center;
  margin-top: 28px;
}

.google-review-cta {
  text-align: center;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.google-review-cta p {
  font-size: 0.9rem;
  color: rgba(237, 236, 232, 0.55);
}
.btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 11px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-google-review:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* =============================================
   RODAPÉ  — fundo texto (#0a0909)
   ============================================= */
.footer {
  background: var(--texto);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .logo-cab { height: 36px; filter: brightness(0) invert(1); }
.footer-copy {
  font-size: 0.85rem;
  color: rgba(237, 236, 232, 0.5);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  color: rgba(237, 236, 232, 0.55);
  transition: color var(--transition), transform var(--transition);
}
.footer-social a:hover {
  color: var(--destaque);
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 960px) {
  .sobre-grid  { grid-template-columns: 1fr; gap: 48px; }
  .sobre-image { order: -1; }
  .image-frame img { height: 320px; }
  .cards-grid  { grid-template-columns: repeat(2, 1fr); }
  .client-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 600px) {
  .cards-grid  { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .header-inner  { padding: 0 18px; gap: 12px; }
  .nav-links a   { padding: 5px 8px; font-size: 0.72rem; }
  .logo-cab      { height: 34px; }
  .logo-stack    { width: 200px; height: 200px; }
  .form-row      { grid-template-columns: 1fr; }
  .feedback-form { padding: 32px 22px; }
  .footer-inner  { flex-direction: column; text-align: center; }
  .client-card   { flex: 0 0 100%; }
}

@media (max-width: 500px) {
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 0.68rem; padding: 4px 6px; }
  .header-actions .btn-social { width: 32px; height: 32px; }
}

/* =============================================
   CHATBOT DE TRIAGEM
   ============================================= */

/* FAB flutuante */
.chatbot-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--fundo);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 1100;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.chatbot-fab:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.chatbot-fab.hide  { opacity: 0; pointer-events: none; transform: scale(0.8); }

.chatbot-fab-dot {
  position: absolute;
  top: 10px; right: 10px;
  width: 11px; height: 11px;
  background: var(--destaque);
  border: 2px solid var(--fundo);
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

/* Overlay */
.chatbot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 9, 0.35);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.chatbot-overlay.open { opacity: 1; pointer-events: all; }

/* Painel */
.chatbot-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 370px;
  max-height: 88vh;
  background: var(--fundo);
  border-radius: 16px;
  box-shadow: 0 16px 56px rgba(10, 9, 9, 0.22);
  display: flex;
  flex-direction: column;
  z-index: 1101;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease;
}
.chatbot-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Cabeçalho do chat */
.chatbot-head {
  background: var(--titulo);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chatbot-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-head-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--destaque);
  color: var(--texto);
  font-family: var(--font-titulo);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chatbot-head-info { display: flex; flex-direction: column; gap: 1px; }
.chatbot-head-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fundo);
}
.chatbot-head-status {
  font-size: 0.75rem;
  color: #7edd9e;
  letter-spacing: 0.02em;
}
.chatbot-close-btn {
  background: transparent;
  border: none;
  color: rgba(237,236,232,0.7);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color var(--transition), background var(--transition);
}
.chatbot-close-btn:hover {
  color: var(--fundo);
  background: rgba(237,236,232,0.12);
}

/* Corpo scrollável */
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.chatbot-body::-webkit-scrollbar { width: 4px; }
.chatbot-body::-webkit-scrollbar-track { background: transparent; }
.chatbot-body::-webkit-scrollbar-thumb { background: var(--borda); border-radius: 4px; }

/* Bolha do bot */
.cbot-bubble {
  background: var(--titulo);
  color: var(--fundo);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: 4px 14px 14px 14px;
  max-width: 88%;
  align-self: flex-start;
}

/* Etapa do formulário */
.cbot-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: step-in 0.22s ease;
}
@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cbot-step.disabled { pointer-events: none; opacity: 0.55; }

/* Campos */
.cbot-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cbot-field label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--titulo);
}
.cbot-field .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(10,9,9,0.45);
  font-size: 0.7rem;
}
.cbot-field input,
.cbot-field select,
.cbot-field textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--texto);
  background: rgba(12, 79, 115, 0.06);
  border: 1.5px solid var(--borda);
  border-radius: 8px;
  padding: 10px 13px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  resize: none;
}
.cbot-field input:focus,
.cbot-field select:focus,
.cbot-field textarea:focus {
  border-color: var(--destaque);
  background: var(--fundo);
  box-shadow: 0 0 0 3px rgba(209,154,3,0.14);
}
.cbot-field input::placeholder,
.cbot-field textarea::placeholder { color: rgba(10,9,9,0.32); }

/* Botões do chatbot */
.cbot-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: 100%;
}
.cbot-btn-primary {
  background: var(--destaque);
  color: var(--texto);
}
.cbot-btn-primary:hover {
  background: var(--destaque2);
  transform: translateY(-1px);
}
.cbot-btn-send {
  background: #25d366;
  color: var(--fundo);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cbot-btn-send:hover {
  background: #1eb358;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .chatbot-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; }
  .chatbot-fab   { bottom: 16px; right: 16px; width: 54px; height: 54px; }
}
