/* ============================
   Templo Premium SPA — V7
   Fundo #f0fdfa | Verde #0d9488 | Ouro #c9a84c
   Playfair Display
   ============================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  background-color: #f0fdfa;
  color: #1a2e2a;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 253, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.10);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(13, 148, 136, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d9488;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: #c9a84c;
  font-weight: 400;
  font-style: italic;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: #2d4a45;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a84c;
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0d9488;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: #0d9488;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  transition: background 0.3s;
}

.nav-cta:hover {
  background: #0f766e !important;
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #0d9488;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(240,253,250,0.92) 0%, rgba(240,253,250,0.88) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f0fdfa" width="1200" height="800"/><path d="M0,600 Q300,400 600,550 T1200,400 L1200,800 L0,800 Z" fill="%230d9488" opacity="0.06"/><path d="M0,700 Q400,500 800,650 T1200,500 L1200,800 L0,800 Z" fill="%23c9a84c" opacity="0.04"/></svg>') center/cover no-repeat;
  padding-top: 72px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero-sup {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #0d9488;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: #4a6b65;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #0d9488;
  color: #fff;
}
.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #0d9488;
  border: 1px solid #0d9488;
}
.btn-outline:hover {
  background: #0d9488;
  color: #fff;
}

.btn-gold {
  background: #c9a84c;
  color: #fff;
}
.btn-gold:hover {
  background: #b8973a;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: #f0fdfa;
}

.section-dark {
  background: linear-gradient(135deg, #0d9488 0%, #0b7a6f 100%);
  color: #fff;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 12px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #0d9488;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: #fff;
}

.section-desc {
  font-size: 1.05rem;
  color: #4a6b65;
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.85);
}

/* --- Features (index) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(13, 148, 136, 0.08);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.10);
}

.feature-icon {
  font-size: 2rem;
  color: #c9a84c;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #0d9488;
  margin-bottom: 10px;
}

.feature-card p {
  color: #5a7a74;
  font-size: 0.95rem;
}

/* --- Treatments --- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, rgba(240,253,250,0.95) 0%, rgba(240,253,250,0.90) 100%),
              linear-gradient(135deg, #0d9488 0%, #c9a84c 100%);
  background-blend-mode: overlay;
  text-align: center;
}

.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #0d9488;
  font-weight: 700;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.treatment-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(13, 148, 136, 0.08);
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.12);
}

.treatment-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #d4ece6;
}

.treatment-img-1 { background-image: linear-gradient(135deg, #0d9488 30%, #0b7a6f 100%); }
.treatment-img-2 { background-image: linear-gradient(135deg, #c9a84c 30%, #b8973a 100%); }
.treatment-img-3 { background-image: linear-gradient(135deg, #5fb3a8 30%, #3d968a 100%); }
.treatment-img-4 { background-image: linear-gradient(135deg, #0d9488 30%, #c9a84c 100%); }
.treatment-img-5 { background-image: linear-gradient(135deg, #7ec4b9 30%, #0d9488 100%); }
.treatment-img-6 { background-image: linear-gradient(135deg, #c9a84c 30%, #0d9488 100%); }

.treatment-body {
  padding: 24px;
}

.treatment-cat {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 8px;
  font-weight: 600;
}

.treatment-body h3 {
  font-size: 1.25rem;
  color: #0d9488;
  margin-bottom: 10px;
}

.treatment-body p {
  font-size: 0.92rem;
  color: #5a7a74;
  margin-bottom: 16px;
  line-height: 1.7;
}

.treatment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #4a6b65;
}

.treatment-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c9a84c;
}

/* --- About --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-desc {
  margin-bottom: 20px;
}

.about-text p {
  color: #4a6b65;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  height: 500px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d9488 0%, #c9a84c 100%);
  opacity: 0.15;
  border: 1px solid rgba(13,148,136,0.15);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d9488;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: #5a7a74;
  letter-spacing: 1px;
}

/* --- Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2rem;
  color: #c9a84c;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.value-card p {
  color: rgba(255,255,255,0.80);
  font-size: 0.9rem;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  height: 260px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item-1 { background: linear-gradient(135deg, #0d9488 0%, #0b7a6f 100%); }
.gallery-item-2 { background: linear-gradient(135deg, #1a8f83 0%, #c9a84c 100%); }
.gallery-item-3 { background: linear-gradient(135deg, #c9a84c 0%, #b8973a 100%); }
.gallery-item-4 { background: linear-gradient(135deg, #0d9488 0%, #5fb3a8 100%); }
.gallery-item-5 { background: linear-gradient(135deg, #2d9e91 0%, #7ec4b9 100%); }
.gallery-item-6 { background: linear-gradient(135deg, #b8973a 0%, #0d9488 100%); }
.gallery-item-7 { background: linear-gradient(135deg, #0b7a6f 0%, #1a8f83 100%); }
.gallery-item-8 { background: linear-gradient(135deg, #c9a84c 0%, #0d9488 100%); }

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.40));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.3rem;
  min-width: 32px;
}

.contact-item strong {
  display: block;
  color: #0d9488;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.contact-item p {
  color: #4a6b65;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Forms --- */
.contact-form-wrapper,
.booking-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(13, 148, 136, 0.08);
}

.booking-intro {
  text-align: center;
  margin-bottom: 48px;
}

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

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

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #0d9488;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  background: #f0fdfa;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 4px;
  color: #1a2e2a;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488;
}

.form-group textarea {
  resize: vertical;
}

/* --- CTA Block --- */
.cta-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-block h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: #0d1f1c;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: #f0fdfa;
  margin-bottom: 8px;
}

.footer-brand h3 span {
  color: #c9a84c;
  font-style: italic;
  font-weight: 400;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  color: #c9a84c;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #c9a84c;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(240,253,250,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(13,148,136,0.10);
  }

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

  .hamburger {
    display: block;
  }

  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 120px 0 50px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-form-wrapper,
  .booking-form {
    padding: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}
