/* Reset e Variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #d4a574;
  --secondary-color: #8b6f47;
  --text-color: #333;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --dark-text: #2c2c2c;
  --border-color: #e0e0e0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header e Navegação */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary-color);
}

.nav-list a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

/* Menu Mobile */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 60px 30px;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-color);
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-list li {
  margin-bottom: 20px;
}

.mobile-nav-list a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a.active {
  color: var(--primary-color);
}

/* Conteúdo Principal */
.main-content {
  padding: 60px 0;
}

/* Seção Missão */
.mission-section {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-text);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mission-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mission-image img {
  width: 100%;
  height: auto;
  display: block;
}

.mission-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
}

/* Seção Equipe */
.team-section {
  padding: 80px 0;
  background-color: var(--white);
}

.team-intro {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 60px;
  color: var(--text-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
  justify-items: center;
}

.team-grid .team-member {
  max-width: 500px;
}

.team-member {
  background-color: var(--light-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.member-image {
  width: 100%;
  /* A foto da Raissa é "portrait" (vertical). Usar aspect-ratio evita corte/distorção. */
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  position: relative;
  background: #f0f0f0; /* evita “buraco” branco enquanto carrega */
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ajuste fino do enquadramento (evita cortar rosto em fotos verticais). */
  object-position: center 20%;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 30px;
}

.member-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 15px;
  text-align: center;
}

.member-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  text-align: justify;
}

/* Footer */
.footer {
  background-color: var(--dark-text);
  color: var(--white);
  padding: 40px 0;
  margin-top: 80px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

/* Seção de Serviços */
.services-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.6;
}

.services-section {
  padding: 80px 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--light-bg);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.service-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 25px;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-top: 20px;
}

.service-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 15px;
  color: var(--text-color);
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

/* Home Hero Section */
.home-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.hero-main-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-main-subtitle {
  font-size: 28px;
  margin-bottom: 20px;
  opacity: 0.95;
}

.hero-description {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-button {
  font-size: 20px;
  padding: 18px 50px;
}

/* Highlights Section */
.highlights-section {
  padding: 80px 0;
  background-color: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.highlight-card {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--light-bg);
  border-radius: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.highlight-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.highlight-card p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
}

/* Featured Services */
.featured-services {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.featured-service {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.featured-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.featured-service h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.featured-service p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
}

.whatsapp-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.whatsapp-link:hover {
  color: var(--secondary-color);
}

.contact-cta {
  text-align: center;
  padding: 40px;
  background-color: var(--light-bg);
  border-radius: 15px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  margin-bottom: 15px;
}

.whatsapp-button:hover {
  background-color: #20ba5a;
}

.whatsapp-button span {
  font-size: 24px;
}

.contact-note {
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.8;
}

/* Coming Soon Section */
.coming-soon-section {
  padding: 120px 0;
  background-color: var(--light-bg);
}

.coming-soon-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.coming-soon-subtext {
  font-size: 18px;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 40px;
}

/* Booking Section */
.booking-section {
  padding: 80px 0;
  background-color: var(--white);
}

.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
  font-size: 16px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.2s;
  margin-bottom: 0;
}

.checkbox-label:hover {
  background-color: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

.checkbox-label span {
  font-size: 14px;
  color: var(--dark-text);
  line-height: 1.5;
}

.horarios-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.horario-btn {
  flex: 1;
  min-width: 120px;
  padding: 15px 20px;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.horario-btn:hover {
  border-color: var(--primary-color);
  background-color: var(--light-bg);
}

.horario-btn.selected {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.info-text {
  color: var(--text-color);
  font-style: italic;
  padding: 15px;
  text-align: center;
}

.error-text {
  color: #d32f2f;
  font-weight: 600;
  padding: 15px;
  text-align: center;
}

.valor-total {
  font-size: 20px;
  color: var(--dark-text);
  padding: 15px;
  background-color: var(--white);
  border-radius: 8px;
  text-align: center;
  border: 2px solid var(--primary-color);
}

.valor-total strong {
  color: var(--primary-color);
}

.mensagem {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.mensagem.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.mensagem.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.mensagem.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
  display: block;
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Seleção de Serviços */
.servicos-selection {
  margin-bottom: 50px;
  text-align: center;
}

.servicos-selection h3 {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--dark-text);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.servicos-grid-modal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.servico-btn-modal {
  width: 100%;
  padding: 20px;
  background-color: var(--light-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.servico-btn-modal:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.servico-btn-modal.selected {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  position: relative;
}

.check-mark {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--white);
  color: var(--primary-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.cta-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #ccc;
}

.cta-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.servico-card-select {
  background-color: var(--light-bg);
  padding: 25px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.servico-card-select:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.servico-card-select.selected {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.servico-card-select h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: inherit;
}

.servico-card-select .price {
  font-size: 22px;
  font-weight: 700;
  color: inherit;
}

/* Calendário Visual */
.calendar-container {
  max-width: 900px;
  margin: 0 auto 50px;
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.calendar-header h3 {
  font-size: 24px;
  color: var(--dark-text);
  margin: 0;
}

.nav-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 700;
  color: var(--dark-text);
  padding: 10px;
  font-size: 14px;
}
.calendar-day.empty {
  pointer-events: none;
  opacity: 0;
}
.calendar-day {
  aspect-ratio: 1;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--white);
  position: relative;
}

.calendar-day.empty {
  border: none;
  cursor: default;
  background-color: transparent;
}

.calendar-day.domingo {
  background-color: #f5f5f5;
  border-color: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-day.passado {
  background-color: #fafafa;
  border-color: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Cores verde/vermelho removidas - usar classes clickable/sem-disponibilidade */

.calendar-day.selected {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

.day-number {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.horarios-indicators {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: auto;
}

.horario-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day.selected .horario-dot {
  background-color: var(--white);
  color: var(--primary-color);
}

.legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.legend-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid;
}

.legend-box.available {
  background-color: #e8f5e9;
  border-color: #4caf50;
}

.legend-box.unavailable {
  background-color: #ffebee;
  border-color: #f44336;
}

.legend-box.selected {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.legend-box.domingo {
  background-color: #f5f5f5;
  border-color: #e0e0e0;
}

/* Modal de Horários */
.horario-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  margin-bottom: 25px;
  color: var(--dark-text);
  text-align: center;
}

.horarios-container-modal {
  margin-bottom: 25px;
}

.periodo-group {
  margin-bottom: 25px;
}

.periodo-group h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 15px;
  text-align: left;
}

.horarios-especificos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.horarios-grid-modal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.horario-btn-modal {
  padding: 15px 20px;
  background-color: var(--light-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.horario-btn-modal:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-close-modal {
  width: 100%;
  padding: 12px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-close-modal:hover {
  background-color: #e0e0e0;
}

/* Formulário de Agendamento */
.booking-form-container {
  max-width: 600px;
  margin: 0 auto 30px;
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.booking-form-container h3 {
  margin-bottom: 25px;
  color: var(--dark-text);
  text-align: center;
}

.resumo-agendamento {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
}

.resumo-agendamento p {
  margin-bottom: 10px;
  font-size: 16px;
}

.resumo-agendamento .valor-total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid var(--border-color);
  font-size: 20px;
  color: var(--primary-color);
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-secondary {
  flex: 1;
  padding: 15px;
  background-color: #f5f5f5;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

/* Link Container */
.link-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #e8f5e9;
  padding: 40px;
  border-radius: 15px;
  border: 2px solid #4caf50;
  text-align: center;
}

.link-container h3 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.link-box {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.link-box input {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
}

.btn-copy {
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-copy:hover {
  background-color: var(--secondary-color);
}

.whatsapp-link-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 15px 30px;
  background-color: #25d366;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.whatsapp-link-btn:hover {
  background-color: #20ba5a;
}

/* Grid: Calendário e Contato lado a lado */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: start;
  margin-bottom: 30px;
}

/* Grid: Próximos Horários e Ajuda lado a lado */
.horarios-ajuda-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  margin-bottom: 40px;
  align-items: start;
}

/* Card de Ajuda - Sempre Visível no Início */
.ajuda-card {
  padding: 30px;
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.ajuda-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.ajuda-icon {
  font-size: 28px;
}

.ajuda-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0;
}

.ajuda-card > p {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Seção de Contato na Página de Agendamento */
.contact-info-booking {
  padding: 30px;
  background-color: var(--light-bg);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 20px;
}

.contact-info-booking h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.contact-info-booking > p {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-booking-item {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-booking-item .contact-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.contact-booking-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 5px;
}

.contact-booking-item .whatsapp-link {
  font-size: 18px;
}

/* Próximos Horários Disponíveis (Urgência) */
.proximos-horarios-section {
  padding: 25px;
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
  border-radius: 15px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.2);
  height: fit-content;
}

.proximos-horarios-section h3 {
  font-size: 22px;
  color: var(--dark-text);
  margin-bottom: 15px;
  text-align: center;
}

.horarios-hoje-amanha {
  margin-bottom: 15px;
}

.proximos-actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.buscar-data-inline {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.buscar-data-inline label {
  margin: 0;
}

.buscar-data-inline input[type="date"] {
  min-width: 160px;
}

.buscar-data-inline .btn-secondary {
  white-space: nowrap;
}

.horario-dia {
  padding: 12px;
  margin-bottom: 10px;
  background-color: var(--white);
  border-radius: 8px;
  font-size: 16px;
  color: var(--dark-text);
  border-left: 4px solid var(--primary-color);
}

.horario-dia strong {
  color: var(--primary-color);
}

/* Seleção de Serviço Inicial */
.selecao-servico-inicial {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 30px;
  background-color: var(--light-bg);
  border-radius: 15px;
}

.selecao-servico-inicial h3 {
  font-size: 24px;
  color: var(--dark-text);
  margin-bottom: 10px;
  text-align: center;
}

.selecao-servico-inicial > p {
  text-align: center;
  color: var(--text-color);
  margin-bottom: 25px;
}

.servicos-grid-inicial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.servico-card-inicial {
  padding: 20px;
  background-color: var(--white);
  border-radius: 10px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.servico-card-inicial:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.servico-card-inicial h4 {
  font-size: 18px;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.servico-card-inicial .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

/* Calendário - Design Neutro (sem verde/vermelho) */
.calendar-day.clickable {
  background-color: var(--white);
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-day.clickable:hover {
  border-color: var(--primary-color);
  background-color: #fff8f0;
}

.calendar-day.sem-disponibilidade {
  background-color: #f5f5f5;
  border: 2px solid #e0e0e0;
  opacity: 0.5;
  cursor: not-allowed;
}

.calendar-day.poucos-horarios {
  border-color: #ff9800;
  position: relative;
}

.calendar-day.poucos-horarios::after {
  content: "⚠️";
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 12px;
}

.calendar-day.muitos-horarios {
  border-color: var(--primary-color);
}

.day-month {
  display: block;
  font-size: 10px;
  color: var(--text-color);
  margin-top: 2px;
  text-transform: capitalize;
}

.horarios-count {
  display: block;
  font-size: 10px;
  color: var(--primary-color);
  margin-top: 4px;
  font-weight: 600;
}

/* Indicadores de Lotação */
.lotacao-info {
  margin-top: 20px;
  padding: 15px;
  background-color: var(--light-bg);
  border-radius: 10px;
  text-align: center;
}

.lotacao-text {
  margin: 0;
  font-size: 14px;
  color: var(--dark-text);
  font-weight: 600;
}

/* Remover cores verde/vermelho da legenda */
.legend-box.available {
  background-color: var(--white);
  border: 2px solid var(--border-color);
}

.legend-box.unavailable {
  display: none; /* Remover da legenda */
}

.legend-box.clickable {
  background-color: var(--white);
  border: 2px solid var(--border-color);
}

/* Pagamento PIX */
.pix-container {
  max-width: 600px;
  margin: 0 auto 30px;
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.pix-container h3 {
  color: var(--dark-text);
  margin-bottom: 15px;
  font-size: 24px;
}

.pix-info {
  color: var(--text-color);
  margin-bottom: 30px;
  font-size: 16px;
}

.pix-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pix-qrcode-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: 12px;
  border: 2px solid var(--border-color);
}

.pix-qrcode {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.pix-copia-cola {
  text-align: left;
}

.pix-copia-cola label {
  display: block;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 10px;
  font-size: 16px;
}

.pix-code-box {
  display: flex;
  gap: 10px;
}

.pix-code-box input {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: monospace;
}

.btn-copy-small {
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn-copy-small:hover {
  background-color: var(--secondary-color);
}

.pix-valor-info {
  padding: 15px;
  background-color: var(--white);
  border-radius: 8px;
  border: 2px solid var(--primary-color);
}

.pix-valor-info p {
  font-size: 20px;
  color: var(--primary-color);
  margin: 0;
}

.pix-actions {
  display: flex;
  gap: 15px;
}

.pix-actions button {
  flex: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .proximos-actions {
    align-items: stretch;
  }

  .buscar-data-inline {
    width: 100%;
  }

  .buscar-data-inline input[type="date"] {
    width: 100%;
  }

  #verMaisHorariosBtn {
    width: 100%;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    padding: 4px;
    font-size: 12px;
  }

  .day-number {
    font-size: 14px;
  }

  .horario-dot {
    width: 16px;
    height: 16px;
    font-size: 8px;
  }

  .horarios-grid-modal {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .link-box {
    flex-direction: column;
  }
}

/* Seção CTA */
.cta-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, #f0f0f0 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.cta-text {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 165, 116, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* No mobile o menu lateral precisa existir (o "active" só move da direita). */
  .mobile-menu {
    display: block;
  }

  .mission-content {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-main-title {
    font-size: 42px;
  }

  .hero-main-subtitle {
    font-size: 24px;
  }

  .hero-description {
    font-size: 18px;
  }

  .highlights-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .horarios-ajuda-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .ajuda-card {
    padding: 25px 20px;
  }

  .ajuda-card h3 {
    font-size: 20px;
  }

  .contact-info-booking {
    padding: 25px 20px;
    margin-top: 0;
    position: static;
  }

  .contact-info-booking h3 {
    font-size: 20px;
  }

  .contact-booking-item {
    flex-direction: column;
    text-align: center;
  }

  .cta-title {
    font-size: 28px;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 40px 0;
  }

  .mission-section,
  .team-section {
    padding: 40px 0;
  }

  .member-image {
    height: 280px;
  }

  .member-info {
    padding: 20px;
  }
}

/* ===== Agendamento guiado (chat) ===== */
/* ===== Agendamento guiado (chat) ===== */
/* Sobrescreve o fundo branco do site APENAS nessa página */
.chat-booking {
  /* Mobile: 100vh dá problema com teclado; usar dvh quando disponível */
  min-height: 100vh; /* fallback */
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;

  /* fundo "app" (tela inteira) */
  background:
    radial-gradient(
      1200px 600px at 30% 20%,
      rgba(212, 165, 116, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 70% 80%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    #0b1020;
}

.chat-shell {
  width: 100%;
  max-width: 980px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;

  /* Layout de app: header fixo, mensagens roláveis, input sempre visível */
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, 760px);
}

.chat-header {
  padding: 18px 22px;
  background: linear-gradient(
    90deg,
    rgba(212, 165, 116, 0.25),
    rgba(17, 24, 39, 0)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.chat-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-top: 4px;
}

.chat-messages {
  /* Em vez de altura fixa, ocupa o espaço restante */
  flex: 1 1 auto;
  min-height: 0; /* crucial em iOS para o flex encolher com teclado */
  min-height: 220px;
  padding: 18px;
  overflow: auto;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.06),
    transparent 55%
  );
}

.chat-bubble {
  display: flex;
  margin: 10px 0;
}

.chat-bubble.bot {
  justify-content: flex-start;
}

.chat-bubble.user {
  justify-content: flex-end;
}

.chat-text {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.chat-bubble.bot .chat-text {
  background: rgba(212, 165, 116, 0.55);
  color: #111;
}

.chat-bubble.user .chat-text {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.chat-inputbar {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  /* Ajuda no iPhone (safe area) */
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

.chat-input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 12px;
  outline: none;
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.chat-send {
  height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--primary-color);
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.chat-send:disabled,
.chat-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.chat-typing {
  opacity: 0.85;
  font-style: italic;
}

.chat-actions {
  padding: 0 14px 14px;
  /* Se tiver muitos cards/botões, permite rolar sem empurrar o input */
  max-height: 34vh;
  min-height: 0; /* crucial em iOS */
  overflow: auto;
}

.chat-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 2px 2px;
  scroll-snap-type: x mandatory;
}

.chat-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
  position: relative;
}

.chat-card:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 165, 116, 0.8);
}

.chat-card.selected {
  border-color: rgba(212, 165, 116, 1);
  box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.25) inset;
}

.chat-card-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.chat-card-sub {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  justify-content: space-between;
}

.chat-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.15);
}

.chat-card.selected .chat-check {
  background: rgba(212, 165, 116, 0.95);
  border-color: rgba(212, 165, 116, 1);
}

.chat-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 6px 2px 2px;
}

.chat-time-btn {
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.chat-time-btn:hover {
  border-color: rgba(212, 165, 116, 1);
}

@media (max-width: 520px) {
  /* Mobile: ocupar tela toda (evita o teclado tapar o botão) */
  .chat-booking {
    padding: 0;
    align-items: stretch;
  }

  .chat-shell {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .chat-inputbar {
    grid-template-columns: 1fr;
  }

  .chat-times {
    grid-template-columns: repeat(2, 1fr);
  }
}
