/* ================================
   YASMIN ODONTO — Estilos Globais
   ================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal: #00B4C6;
  --teal-dark: #008FA0;
  --teal-light: #E0F7FA;
  --text-dark: #1a2a2a;
  --text-muted: #5a7070;
}

/* ================================
   BASE
   ================================ */
#site {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: #fff;
  width: 100%;
}

/* ================================
   NAVBAR
   ================================ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: #fff;
  border-bottom: 1px solid #e0f2f2;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--teal-dark);
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}

.nav-cta:hover {
  background: var(--teal-dark);
}

/* ================================
   PÁGINAS
   ================================ */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ================================
   SECÇÕES GERAIS
   ================================ */
section {
  padding: 55px 40px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ================================
   HERO
   ================================ */
.hero {
  background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 40%, #fff 100%);
  padding: 60px 40px 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 420px;
}

.hero-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-title span {
  color: var(--teal);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 28px;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

/* ================================
   STAT CARDS (Hero)
   ================================ */
.hero-visual {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0,180,198,0.12);
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--text-dark);
  font-weight: 700;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================
   SERVIÇOS
   ================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid #d0f0f4;
  transition: all .25s;
}

.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,180,198,0.1);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.service-name {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================================
   CONTACTOS
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid #d0f0f4;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-val {
  font-weight: 500;
  font-size: 15px;
}

.contact-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: var(--teal-dark);
  color: #fff;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

.footer-slogan {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
}

.footer-right {
  font-size: 12px;
  opacity: 0.6;
  text-align: right;
}

/* ================================
   MODAL
   ================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  margin: 0 16px;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
}

.modal-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d0f0f4;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  outline: none;
  transition: border .2s;
  margin-bottom: 8px;
}

.modal-input:focus {
  border-color: var(--teal);
}

.modal-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d0f0f4;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  outline: none;
  resize: none;
  height: 90px;
  transition: border .2s;
  margin-bottom: 20px;
}

.modal-textarea:focus {
  border-color: var(--teal);
}

.modal-btn-wa {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: background .2s;
}

.modal-btn-wa:hover {
  background: #1ebe5a;
}

.modal-btn-cancel {
  width: 100%;
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid #e0f2f2;
  padding: 12px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}

.modal-btn-cancel:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.modal-error {
  font-size: 13px;
  color: #e24b4a;
  margin-bottom: 12px;
  display: none;
}
.flatpickr-day.dia-cheio {
  background: #d1d5db !important;
  color: #6b7280 !important;
  text-decoration: line-through;
  cursor: not-allowed !important;
  pointer-events: none;
}

.flatpickr-day.flatpickr-disabled {
  color: #e5e7eb !important;
  cursor: not-allowed !important;
}
.grelha-horarios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.aviso-horarios {
  grid-column: 1 / -1;
  font-size: 13px;
  color: #6b7280;
}

.slot-horario {
  padding: 8px 4px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.slot-horario:hover {
  border-color: #0d9488;
}

.slot-horario.selecionado {
  background: #0d9488;
  color: #fff;
  border-color: #0d9488;
}

.slot-horario.ocupado {
  background: #f3f4f6;
  color: #9ca3af;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================
   RESPONSIVO — Tablet e Mobile
   ================================ */

/* Botão hambúrguer (escondido no desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

@media (max-width: 900px) {
  /* ── NAVBAR ── */
  nav {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 3;
    padding-top: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-top: 1px solid #e0f2f2;
  }

  .nav-links a {
    display: block;
    padding: 12px 4px;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 13px;
  }

  /* ── HERO ── */
  .hero {
    flex-direction: column;
    padding: 40px 20px 36px;
    text-align: center;
    min-height: auto;
  }

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

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-visual {
    flex: none;
    width: 100%;
    max-width: 340px;
  }

  /* ── SECÇÕES GERAIS ── */
  section {
    padding: 40px 20px;
  }

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

  .section-desc {
    max-width: 100%;
  }

  /* ── GRIDS ── */
  .why-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* ── FOOTER ── */
  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 20px;
  }

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

  /* ── MODAL ── */
  .modal-box {
    padding: 26px 20px;
    max-width: 92vw;
  }

  .grelha-horarios {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 26px;
  }

  .grelha-horarios {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .slot-horario {
    font-size: 12px;
    padding: 7px 2px;
  }
}