/* Marciene Leal Massoterapeuta — Main Styles */

:root {
  --green-dark: #1F4D36;
  --green-mid: #2d6b4a;
  --beige-light: #F6F2EA;
  --white: #FFFFFF;
  --gold: #C8A96A;
  --brown-light: #8B6A4F;
  --footer-bg: #1a1a1a;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(31, 77, 54, 0.08);
  --shadow-hover: 0 12px 40px rgba(31, 77, 54, 0.14);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--beige-light);
  color: var(--green-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }

.section-padding { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-label--light { color: rgba(255,255,255,0.85); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--brown-light);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-header { margin-bottom: 3rem; }

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green-dark));
  z-index: 9999;
  width: 0%;
}

/* Loading */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--beige-light);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loading-logo-img { max-height: 80px; width: auto; }

.loading-bar {
  width: 180px;
  height: 2px;
  background: rgba(31,77,54,0.12);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  background: var(--gold);
  animation: loadingFill 1.6s ease forwards;
}

body.loading { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: #163a28;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-agendar {
  background: var(--green-dark);
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.25rem;
}

.btn-agendar:hover {
  background: #163a28;
  transform: translateY(-1px);
}

.btn-hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.btn-hero:hover {
  background: #163a28;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,77,54,0.35);
}

.btn-cta {
  background: var(--white);
  color: var(--green-dark);
  padding: 1rem 2.25rem;
  font-size: 0.9rem;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(31,77,54,0.06);
  transition: all var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.navbar-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar-links a:hover::after { width: 100%; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1920&q=80') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,77,54,0.82) 0%, rgba(31,77,54,0.55) 55%, rgba(31,77,54,0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 620px;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(31,77,54,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--brown-light);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.03em;
}

.service-link:hover { color: var(--gold); }

/* Benefits */
.benefits {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.benefits-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2a6b4a 0%, var(--green-dark) 50%, #1a3d2a 100%);
  z-index: 0;
}

.benefits-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1545205597-3d9d02c29597?w=1200&q=80') center/cover no-repeat;
  opacity: 0.15;
}

.benefits .container { position: relative; z-index: 1; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  color: var(--white);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.benefit-item:hover .benefit-icon {
  background: rgba(200,169,106,0.3);
  transform: scale(1.08);
}

.benefit-item span {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

/* About */
.about { background: var(--beige-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  color: var(--brown-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-highlight {
  font-size: 1.05rem !important;
  color: var(--green-dark) !important;
  margin-bottom: 1.25rem !important;
}

.about-image img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow-hover);
}

.about-content .btn { margin-top: 0.5rem; }

/* Testimonials */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), var(--green-dark));
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 2px solid var(--white);
  background: var(--beige-light);
}

.testimonial-avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--green-dark));
}

.testimonial-avatar--initial span {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--white);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--green-dark);
  opacity: 0.2;
  margin-bottom: 0.25rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--brown-light);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--green-dark);
  line-height: 1.2;
}

/* CTA */
.cta {
  background: var(--green-dark);
  padding: 4rem 0;
}

.cta-inner {
  text-align: center;
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

/* Contact */
.contact { background: var(--beige-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(31,77,54,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--green-dark);
}

.contact-item p,
.contact-item a {
  font-size: 0.875rem;
  color: var(--brown-light);
}

.contact-item a:hover { color: var(--green-dark); }

.contact-map-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
}

.contact-map-link:hover { color: var(--gold); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  margin-top: 0.5rem;
}

.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--green-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(31,77,54,0.15);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--beige-light);
  color: var(--green-dark);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group input.error,
.form-group textarea.error { border-color: #e74c3c; }

.form-error {
  font-size: 0.72rem;
  color: #e74c3c;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible { display: block; }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  padding: 0.875rem;
  background: rgba(31,77,54,0.08);
  border-radius: 12px;
  color: var(--green-dark);
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-success.visible { display: block; }

/* Footer */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo-img {
  max-height: 60px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a,
.footer-links li {
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  animation: pulse 2s infinite;
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 5.5rem;
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--gold); color: var(--green-dark); }
