:root {
  /* Paleta principal */
  --primary: #68854d;    /* verde Ponto Prisma */
  --primary-dark: #4f663a;    /* variação mais escura */
  --primary-light: #8ca573;   /* variação mais clara */

  --secondary: #cc6633;    /* laranja/terracota */
  --secondary-dark: #a34f27;
  --secondary-light: #e28a5b;

  --bg: #f6efe9;    /* fundo principal */
  --bg-soft: #fbf7f3;    /* variação mais clara */

  --text: #4f663a;
  --muted: #7777;
  --border: #dfd2c7;
  --card-bg: #ffff;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* RESET SIMPLES */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px 24px;
}

/* HEADER */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 8px;
  z-index: 50;
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.logo-text h1 {
  font-size: 1.1rem;
  font-weight: 700;
}

.logo-text p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Selector de idioma no header */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: #f2e4d6;
  padding: 4px;
  font-size: 0.78rem;
}

.lang-option {
  border-radius: 999px;
  padding: 4px 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #7a5b3a;
  font-weight: 500;
}

.lang-option.active {
  background: #ffff;
  color: #4f3822;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* BOTÕES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(72, 96, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(72, 96, 53, 0.45);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-1px);
}

.btn-assistente i {
  font-size: 1rem;
}

/* NAV DE CATEGORIAS */

.category-nav {
  display: flex;
  gap: 8px;
  padding: 10px 2px 4px;
  margin-bottom: 10px;
}

.category-nav::-webkit-scrollbar {
  height: 4px;
}

.category-nav::-webkit-scrollbar-thumb {
  background: #d3c6b7;
  border-radius: 999px;
}

.category-btn {
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(104, 133, 77, 0.07);
  color: var(--primary-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(104, 133, 77, 0.35);
}

/* CONTEÚDO PRINCIPAL */

.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

/* CARD DE TRATAMENTO */

.tratamento-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(223, 210, 199, 0.7);
}

.tratamento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.tratamento-image-wrapper {
  position: relative;
  overflow: hidden;
}

.tratamento-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* etiqueta categoria */

.tag-category {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}

.tratamento-body {
  padding: 14px 14px 10px;
}

.tratamento-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Destaques / chips */

.tratamento-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.tratamento-highlight-chip {
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(204, 102, 51, 0.08); /* secundária clara */
  color: var(--secondary-dark);
}

.tratamento-description {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* CTA linha */

.tratamento-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tratamento-badge {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
}

/* FAQ */

.faq-section {
  border-top: 1px solid var(--border);
  padding: 10px 14px 12px;
  background: var(--bg-soft);
}

.faq-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.faq-item {
  border-radius: var(--radius-sm);
  background: #ffff;
  border: 1px solid #efe1d3;
  margin-bottom: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 8px;
  align-items: center;
}

.faq-question span {
  width: 100%;
  text-align: left;
}

.faq-icon {
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  padding-top: 0;
  padding-bottom: 8px;
  max-height: 240px;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* FOOTER */

.footer {
  margin-top: 22px;
  padding: 16px 14px;
  border-radius: 18px;
  background: #2b2a28; /* tom escuro neutro */
  color: #f9fafb;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 0.85rem;
}

.footer-section h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-section p {
  margin-bottom: 4px;
  color: #d1d5db;
}

.footer-section a {
  color: #f9fafb;
}

.footer-section i {
  margin-right: 6px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-links a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #3f3f3f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: #525252;
  transform: translateY(-1px);
}

/* Horário + linha final */

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 6px;
  border-top: 1px solid #3f3f3f;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-links a {
  color: #fbbf24;
  font-weight: 500;
}

.footer-hour {
  font-size: 0.8rem;
  color: #e5e7eb;
}

/* Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(43, 42, 40, 0.98);
  color: #f9fafb;
  padding: 12px 16px;
  font-size: 0.85rem;
  z-index: 100;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  color: #e5e7eb;
}

.cookie-content a {
  color: #fbbf24;
  text-decoration: underline;
}

.cookie-accept {
  white-space: nowrap;
}

/* Botão voltar ao topo */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 90;
}

.back-to-top i {
  font-size: 1rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* RESPONSIVO */

@media (min-width: 700px) {
  .content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Footer mobile empilhado */
@media (max-width: 640px) {
  .footer {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* HEADER MOBILE: layout empilhado */
@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    gap: 8px;
  }

  .header-top-row {
    width: 100%;
  }

  .logo-area {
    flex: 1;
  }

  .btn-assistente {
    width: 100%;
    justify-content: center;
  }

  /* Categorias quebram de linha em mobile */
  .category-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  /* Banner de cookies mobile */
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-accept {
    width: 100%;
    text-align: center;
  }

  /* Botão voltar ao topo mobile */
  .back-to-top {
    right: 12px;
    bottom: 100px;
  }
}

/* Adições ao styles.css para as novas áreas */

.hero-slide {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 18px;
  
}

.hero-slide-image {
  background-image: url('img/slide-image.png'); /* Substituir pela imagem desejada */
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  filter: brightness(0.7);
  border-radius: 18px;
}

.hero-slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  max-width: 100%;
}

.hero-slide-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.hero-slide-text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonials-section {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.testimonials-section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.testimonial {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  padding: 1.5rem;
  max-width: 300px;
  flex: 1 1 280px;
  font-style: italic;
  color: #555;
}

.testimonial footer {
  margin-top: 1rem;
  font-weight: bold;
  color: #222;
  font-style: normal;
}

.callaction-section {
  position: relative;
  background-image: url('img/slide-image.png'); /* Substituir pela imagem desejada */
  background-size: cover;
  background-position: center;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: white;
  text-align: center;
  border-radius: 18px;
}

.callaction-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 40, 60, 0.5); /* Cor secundária escura com 50% de transparência */
  z-index: 1;
}

.callaction-content {
  position: relative;
  z-index: 2;
}

.callaction-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.callaction-content .btn {
  font-size: 1.2rem;
  padding: 0.75rem 2rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-slide-text h2 {
    font-size: 1.8rem;
  }
  .hero-slide-text p {
    font-size: 1rem;
  }
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }
}