/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #f4faf5;
  color: #1e2f2a;
  line-height: 1.5;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
main.container {
  padding-bottom: 80px;
}

:root {
  --verde-escuro: #0f3d32;
  --verde-medio: #1d6b52;
  --verde-claro: #479f82;
  --verde-muito-claro: #d4efe6;
  --verde-fundo: #e6f5ef;
  --whatsapp: #25D366;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero, .diferenciais, .sobre, .contato-section, .como-funciona, .demandas, .faq-section {
  animation: fadeInUp 0.7s ease forwards;
}
.card, .contato-card, .passo-card, .faq-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover, .contato-card:hover, .passo-card:hover, .faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(29, 107, 82, 0.08);
}

/* ===== HEADER ===== */
header {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(0, 40, 30, 0.05);
  padding: 16px 0;
  position: relative;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: box-shadow 0.3s;
}
header.scrolled {
  box-shadow: 0 6px 20px rgba(0, 40, 30, 0.1);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.logo img {
  height: 55px;
  width: auto;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  color: #1e3d33;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
nav a:hover, nav a.active {
  color: var(--verde-medio);
  border-bottom-color: var(--verde-medio);
}
nav a.active { font-weight: 600; }

.btn-contato {
  background: var(--verde-medio);
  color: white !important;
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 600;
  border-bottom: none !important;
  transition: 0.2s;
  box-shadow: 0 4px 8px rgba(29, 107, 82, 0.15);
}
.btn-contato:hover {
  background: var(--verde-escuro);
  transform: scale(1.02);
  border-bottom: none !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--verde-escuro);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px 0 30px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 45%; }
.hero-text .badge {
  background: var(--verde-muito-claro);
  color: var(--verde-escuro);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--verde-escuro);
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-text .sub-headline {
  font-size: 1.2rem;
  color: #2b4a3e;
  margin-bottom: 18px;
}
.hero-text p {
  font-size: 1.05rem;
  color: #2b4a3e;
  margin-bottom: 18px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--verde-medio);
  color: white;
  border: none;
  padding: 14px 34px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 6px 14px rgba(29, 107, 82, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(29, 107, 82, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--verde-medio);
  border: 2px solid var(--verde-medio);
  padding: 12px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--verde-muito-claro);
  border-color: var(--verde-escuro);
}
.hero-image {
  flex: 1 1 45%;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(29, 107, 82, 0.08);
  background: var(--verde-muito-claro);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}
.hero-image .foto-placeholder {
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, #c8e6d8 0%, #a3d5c0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image .foto-placeholder img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.hero-image .info-bar {
  background: white;
  padding: 14px 22px;
  font-weight: 500;
  color: var(--verde-escuro);
  width: 100%;
  text-align: center;
  border-top: 1px solid #d4efe6;
}

/* ===== SEÇÕES COMUNS ===== */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: #3a5f51;
  margin-bottom: 44px;
  font-size: 1.05rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== DIFERENCIAIS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.card {
  background: white;
  padding: 28px 20px;
  border-radius: 28px;
  box-shadow: 0 6px 18px rgba(0, 40, 30, 0.04);
  border: 1px solid rgba(29, 107, 82, 0.06);
  text-align: center;
}
.card i {
  font-size: 2.5rem;
  color: var(--verde-claro);
  background: var(--verde-fundo);
  padding: 16px;
  border-radius: 60px;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 10px;
}
.card p { color: #2b4a3e; font-size: 0.95rem; }

/* ===== DEMANDAS ===== */
.demandas-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 20px;
}
.demanda-item {
  background: white;
  padding: 16px 12px;
  border-radius: 60px;
  text-align: center;
  border: 1px solid #d4efe6;
  font-weight: 500;
  color: var(--verde-escuro);
  transition: 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.demanda-item i { margin-right: 8px; color: var(--verde-claro); }
.demanda-item:hover {
  background: var(--verde-fundo);
  border-color: var(--verde-claro);
  transform: scale(1.02);
}

/* ===== COMO FUNCIONA ===== */
.passos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 30px 0;
}
.passo-card {
  background: white;
  padding: 30px 20px;
  border-radius: 28px;
  border: 1px solid #e0f0e8;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.passo-card .numero {
  background: var(--verde-medio);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 14px;
}
.passo-card h3 { color: var(--verde-escuro); margin-bottom: 8px; font-weight: 600; }
.passo-card p { color: #2b4a3e; font-size: 0.95rem; }

/* ===== SOBRE ===== */
.sobre {
  background: white;
  border-radius: 50px;
  padding: 50px 30px;
  margin: 30px 0 50px;
  box-shadow: 0 10px 30px rgba(0, 40, 30, 0.02);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  border: 1px solid #e0f0e8;
}
.sobre-foto { flex: 1 1 180px; text-align: center; }
.foto-redonda {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--verde-muito-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.foto-redonda img { width: 100%; height: 100%; object-fit: cover; }
.sobre-texto { flex: 3 1 300px; }
.sobre-texto h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 6px;
}
.sobre-texto .destaque { font-weight: 600; color: var(--verde-medio); }
.sobre-texto .info-linha {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sobre-texto p {
  color: #1f3f34;
  margin-bottom: 12px;
  font-size: 1rem;
  max-width: 600px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border-radius: 20px;
  border: 1px solid #e0f0e8;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--verde-escuro);
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
  gap: 16px;
}
.faq-question i { color: var(--verde-claro); transition: 0.3s; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: #2b4a3e;
}
.faq-answer p { padding-bottom: 20px; margin: 0; }

/* ===== CONTATO ===== */
.contato-section {
  background: white;
  border-radius: 40px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 8px 20px rgba(0, 40, 30, 0.03);
  border: 1px solid #e0f0e8;
}
.contato-section h2 {
  color: var(--verde-escuro);
  margin-bottom: 16px;
  font-size: 1.8rem;
  text-align: center;
}
.contato-section > p {
  color: #2b4a3e;
  text-align: center;
  margin-bottom: 30px;
}
.contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.contato-card {
  background: var(--verde-fundo);
  border-radius: 28px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #c2e0d4;
}
.contato-card i {
  font-size: 2.8rem;
  color: var(--verde-medio);
  margin-bottom: 16px;
}
.contato-card h3 {
  color: var(--verde-escuro);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.contato-card p { color: #1e4236; font-size: 1rem; }
.contato-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--verde-medio);
  font-weight: 600;
  text-decoration: underline;
}
.contato-card a:hover { color: var(--verde-escuro); }

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--whatsapp);
  color: white;
  border-radius: 60px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 998;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse 2s infinite;
  text-decoration: none;
  font-size: 1rem;
}
.whatsapp-float i { font-size: 1.6rem; }
.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 600px) {
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    justify-content: center;
  }
  .whatsapp-float span { display: none; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
  padding: 14px 24px;
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 1000;
  font-size: 0.9rem;
  color: var(--verde-escuro);
  border-top: 1px solid var(--verde-muito-claro);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--verde-medio);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.cookie-banner button:hover { background: var(--verde-escuro); }
.cookie-banner .btn-recusar {
  background: transparent;
  color: var(--verde-medio);
  border: 1px solid var(--verde-medio);
}
.cookie-banner .btn-recusar:hover { background: #f0f8f3; }

/* ===== FOOTER ===== */
footer {
  background: var(--verde-escuro);
  color: #d4efe6;
  padding: 30px 0 20px;
  border-radius: 40px 40px 0 0;
  margin-top: 30px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer-col h4 { color: white; font-weight: 600; margin-bottom: 12px; }
.footer-col p, .footer-col a {
  color: #bdd9cf;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.footer-col a:hover { color: white; }
.footer-col i { width: 24px; color: var(--verde-claro); }
.selo-dev {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #b1d3c6;
}
.selo-dev .selo-simbolo {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #ffffff;
}
.copy {
  border-top: 1px solid #2b5f4b;
  margin-top: 28px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #b1d3c6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.aviso-emergencia {
  background: #fef6e0;
  border-left: 4px solid #f4b731;
  padding: 12px 20px;
  border-radius: 12px;
  margin: 30px auto 0;
  max-width: 700px;
  font-size: 0.9rem;
  color: #5a4a1a;
  text-align: center;
}

/* ===== POLÍTICA DE PRIVACIDADE ===== */
.politica {
  background: white;
  border-radius: 40px;
  padding: 50px 45px;
  margin: 40px 0 50px;
  box-shadow: 0 8px 30px rgba(0, 40, 30, 0.04);
  border: 1px solid #e0f0e8;
}
.politica .header-politica {
  border-bottom: 2px solid var(--verde-fundo);
  padding-bottom: 20px;
  margin-bottom: 28px;
}
.politica h1 {
  font-size: 2.2rem;
  color: var(--verde-escuro);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
}
.politica h1 i { color: var(--verde-claro); font-size: 2rem; }
.politica .sub-titulo {
  color: #4a6b5c;
  font-size: 0.95rem;
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.politica .sub-titulo span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.politica .sub-titulo i { color: var(--verde-claro); width: 18px; }
.politica h2 {
  font-size: 1.2rem;
  color: var(--verde-escuro);
  margin: 30px 0 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.politica h2 i { color: var(--verde-medio); width: 28px; font-size: 1.1rem; }
.politica p {
  color: #1f3f34;
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.7;
}
.politica ul { padding-left: 28px; margin: 10px 0 18px; }
.politica ul li {
  margin-bottom: 10px;
  color: #1f3f34;
  list-style-type: disc;
  font-size: 0.98rem;
}
.politica ul li strong { color: var(--verde-medio); font-weight: 600; }
.politica .destaque-box {
  background: #f2f9f5;
  padding: 20px 26px;
  border-radius: 16px;
  border-left: 5px solid var(--verde-medio);
  margin: 24px 0;
  transition: 0.3s;
}
.politica .destaque-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 50, 30, 0.06);
}
.politica .destaque-box p { margin-bottom: 0; font-weight: 500; color: #0f3d32; }
.politica .destaque-box i { color: var(--verde-medio); margin-right: 10px; }
.politica .glossario {
  background: #f9fbfa;
  padding: 18px 24px;
  border-radius: 16px;
  margin: 20px 0;
  border: 1px solid #e4ede7;
}
.politica .glossario p { margin-bottom: 4px; font-size: 0.92rem; }
.politica .glossario strong { color: var(--verde-escuro); }
.politica .data-rodape {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e4ede7;
  font-size: 0.9rem;
  color: #5a7a6b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.politica .data-rodape a {
  color: var(--verde-medio);
  text-decoration: none;
  font-weight: 500;
}
.politica .data-rodape a:hover { text-decoration: underline; }

/* =========================================================
   MODAL DE AVALIAÇÃO
   ========================================================= */
.avaliacao-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(15, 61, 50, 0.65);

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.avaliacao-overlay.ativo {
  opacity: 1;
  visibility: visible;
}

.avaliacao-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
}

.avaliacao-overlay.ativo .avaliacao-modal {
  transform: translateY(0) scale(1);
}

.avaliacao-fechar {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  color: #555;
  line-height: 1;
}
.avaliacao-fechar:hover { color: #000; }

.avaliacao-icone {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--verde-fundo);
  font-size: 28px;
  color: var(--verde-medio);
}

#avaliacao-titulo {
  margin: 0 0 12px;
  text-align: center;
  font-size: 24px;
  color: var(--verde-escuro);
}

.avaliacao-intro {
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.6;
  color: #666;
}

.estrelas {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  text-align: center;
}
.estrelas legend {
  width: 100%;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--verde-escuro);
}
.estrelas-opcoes {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 5px;
}
.estrelas-opcoes input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.estrelas-opcoes label {
  font-size: 40px;
  color: #d0d0d0;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.estrelas-opcoes label:hover,
.estrelas-opcoes label:hover ~ label,
.estrelas-opcoes input:checked ~ label {
  color: #f5b301;
}
.estrelas-opcoes label:hover { transform: scale(1.1); }

/* =========================================================
   IDENTIFICAÇÃO DA AVALIAÇÃO (ANÔNIMO X NOME)
   ========================================================= */

.avaliacao-identificacao {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}

.avaliacao-identificacao legend {
  width: 100%;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--verde-escuro);
  font-size: 15px;
}

.identificacao-opcoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.identificacao-opcao {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 2px solid #e0f0e8;
  border-radius: 12px;
  background: #fbfdfc;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--verde-escuro);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.identificacao-opcao:hover {
  border-color: var(--verde-claro);
  background: #f2f9f5;
  transform: translateY(-1px);
}

.identificacao-opcao input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.identificacao-opcao i {
  color: var(--verde-medio);
  font-size: 14px;
  margin-right: 4px;
}

.identificacao-opcao input:checked + span {
  font-weight: 600;
}

.identificacao-opcao:has(input:checked) {
  border-color: var(--verde-medio);
  background: var(--verde-muito-claro);
  box-shadow: 0 0 0 3px rgba(29, 107, 82, 0.10);
}

.campo-nome-avaliacao {
  margin-top: 6px;
  animation: fadeInUp 0.25s ease forwards;
}

.campo-nome-avaliacao[hidden] {
  display: none;
}

.campo-nome-avaliacao label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--verde-escuro);
  font-size: 14px;
}

.campo-nome-avaliacao input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.campo-nome-avaliacao input:focus {
  border-color: var(--verde-medio);
  box-shadow: 0 0 0 3px rgba(29, 107, 82, 0.12);
}

/* Fallback para navegadores sem :has() */
@supports not (selector(:has(*))) {
  .identificacao-opcao input:checked {
    position: static;
    opacity: 1;
    pointer-events: auto;
    margin-right: 6px;
    accent-color: var(--verde-medio);
  }
}

/* =========================================================
   RESTO DO FORMULÁRIO DE AVALIAÇÃO
   ========================================================= */

.avaliacao-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--verde-escuro);
}
.avaliacao-label span {
  font-weight: normal;
  color: #777;
  font-size: 13px;
}

#avaliacao-comentario {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}
#avaliacao-comentario:focus {
  border-color: var(--verde-medio);
  box-shadow: 0 0 0 3px rgba(29, 107, 82, 0.12);
}

.avaliacao-consentimento {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
}
.avaliacao-consentimento input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--verde-medio);
}

.avaliacao-status {
  min-height: 20px;
  margin: 15px 0;
  text-align: center;
  font-size: 14px;
}
.avaliacao-status.sucesso { color: #218838; }
.avaliacao-status.erro    { color: #c82333; }

.avaliacao-enviar {
  width: 100%;
  margin-top: 5px;
  padding: 13px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
}

.avaliacao-agora-nao {
  display: block;
  margin: 15px auto 0;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-size: 14px;
}
.avaliacao-agora-nao:hover { text-decoration: underline; }

/* Bloqueio de scroll quando o modal está aberto */
body.modal-aberto { overflow: hidden; }


/* =========================================================
   AVALIAÇÕES PÚBLICAS — CARROSSEL
   ========================================================= */

.avaliacoes-publicas {
  width: 100%;
  padding: 80px 0;
  background: #f8faf9;
  overflow: hidden;
}

.avaliacoes-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.avaliacoes-container h2 {
  margin: 0 0 12px;
  color: var(--verde-escuro);
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 600;
}

.avaliacoes-subtitulo {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #3a5f51;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ----- Carrossel wrapper ----- */

.avaliacoes-carrossel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ----- Viewport ----- */

.carrossel-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 20px 4px 28px;
  border-radius: 20px;
  outline: none;
}

.carrossel-viewport::-webkit-scrollbar {
  display: none;
}

.carrossel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(29, 107, 82, 0.20);
}

/* ----- Track ----- */

.carrossel-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* ----- Cards ----- */

.avaliacao-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(29, 107, 82, 0.06);
  box-shadow: 0 6px 18px rgba(0, 40, 30, 0.04);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avaliacao-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(29, 107, 82, 0.10);
}

.avaliacao-estrelas {
  margin-bottom: 18px;
  color: #f5b301;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 2px;
}

.avaliacao-comentario-publico {
  margin: 0 0 20px;
  color: #2b4a3e;
  font-size: 0.98rem;
  line-height: 1.7;
  flex-grow: 1;
}

.avaliacao-nome {
  display: block;
  margin-top: auto;
  color: var(--verde-escuro);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ----- Botões prev/next ----- */

.carrossel-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d4efe6;
  background: #ffffff;
  color: var(--verde-escuro);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 40, 30, 0.06);
  padding: 0;
  font-family: inherit;
}

.carrossel-nav:hover:not(:disabled) {
  background: var(--verde-medio);
  color: #ffffff;
  border-color: var(--verde-medio);
  transform: scale(1.06);
}

.carrossel-nav:disabled {
  opacity: 0.30;
  cursor: not-allowed;
}

.carrossel-nav i {
  pointer-events: none;
}

/* ----- Dots ----- */

.carrossel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.carrossel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c8d9d1;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.carrossel-dot:hover {
  background: var(--verde-claro);
}

.carrossel-dot.ativo {
  background: var(--verde-medio);
  width: 28px;
  border-radius: 5px;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {

  .avaliacao-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .avaliacoes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {

  .hero-text h1 { font-size: 2.2rem; }
  .menu-toggle { display: block; }
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 16px 0;
    gap: 16px;
    border-top: 1px solid #e0f0e8;
  }
  nav.show { display: flex; }
  .sobre { flex-direction: column; text-align: center; padding: 30px 20px; }
  .copy { flex-direction: column; text-align: center; }
  .hero-image { max-width: 100%; }
  .logo img { height: 45px; }
  .passos-grid { grid-template-columns: 1fr; }
  .demandas-lista { grid-template-columns: 1fr 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .cookie-actions { justify-content: center; }
  .politica { padding: 30px 20px; }
  .politica h1 { font-size: 1.8rem; flex-wrap: wrap; }
  .politica .data-rodape { flex-direction: column; text-align: center; }

}

@media (max-width: 600px) {

  .avaliacao-overlay { padding: 12px; }
  .avaliacao-modal { padding: 28px 20px; border-radius: 15px; }
  #avaliacao-titulo { font-size: 21px; }
  .avaliacao-intro { font-size: 14px; }
  .estrelas-opcoes label { font-size: 34px; }

  .avaliacoes-publicas {
    padding: 60px 0;
  }

  .avaliacoes-container {
    padding: 0 14px;
  }

  .avaliacoes-container h2 {
    font-size: 1.6rem;
  }

  .avaliacoes-subtitulo {
    margin-bottom: 24px;
    font-size: 0.93rem;
  }

  .avaliacoes-carrossel {
    gap: 6px;
  }

  .carrossel-viewport {
    padding: 14px 4px 20px;
  }

  .carrossel-track {
    gap: 16px;
  }

  .avaliacao-card {
    flex-basis: 100%;
    min-height: auto;
    padding: 22px;
  }

  .avaliacao-estrelas {
    font-size: 1.15rem;
  }

  .carrossel-nav {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

}

@media (max-width: 480px) {

  .btn-contato { width: 100%; text-align: center; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary { width: 100%; justify-content: center; }
  .demandas-lista { grid-template-columns: 1fr; }
  .identificacao-opcoes { grid-template-columns: 1fr; }

}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}