/* ==========================================================================
   Design System - Sensitive Massagem
   ========================================================================== */

:root {
  /* Skin Tone Pastel Palette */
  --bg-primary: #fcfbfa;       /* Warm soft linen white */
  --bg-secondary: #f7f4ef;     /* Light skin cream / alabaster */
  --bg-terracotta: #f3ede6;    /* Soft beige-peach */
  --bg-dark: #3d352e;          /* Warm dark brown for footer/accents */
  
  --color-text: #3d352e;       /* Soft dark brown for maximum readability & premium feel */
  --color-text-light: #fcfbfa;
  --color-text-muted: #756a60; /* Warm gray-brown */
  
  --color-accent: #a07c5b;       /* Warm caramel / gold-brown */
  --color-accent-hover: #836142; /* Darker caramel */
  --color-accent-light: #ebdcd0; /* Pale beige-skin tone */
  --color-accent-trans: rgba(160, 124, 91, 0.1);
  
  --border-color: #ebdcd0;
  --shadow-subtle: 0 10px 30px rgba(160, 124, 91, 0.04);
  --shadow-medium: 0 15px 40px rgba(160, 124, 91, 0.08);
  
  /* Typography */
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.small-container {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

.bg-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: var(--color-accent);
  z-index: 1001;
  transition: width 0.1s ease-out;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  border-bottom: 1px solid rgba(235, 220, 208, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--color-text);
}

.nav-menu {
  display: flex;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.highlight-button {
  background-color: var(--color-accent);
  color: var(--color-text-light) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.highlight-button::after {
  display: none;
}

.highlight-button:hover {
  background-color: var(--color-accent-hover);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--color-text);
  transition: all 0.3s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-light);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: var(--color-accent-trans);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--bg-primary);
  color: var(--color-text);
  border: 1px solid var(--bg-primary);
}

.btn-light:hover {
  background-color: var(--bg-secondary);
  border-color: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--bg-primary);
  border: 1px solid rgba(252, 251, 250, 0.4);
  margin-left: 1rem;
}

.btn-outline-light:hover {
  background-color: rgba(252, 251, 250, 0.1);
  border-color: var(--bg-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding-top: 12rem;
  padding-bottom: 8rem;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(252, 251, 250, 0.90), rgba(252, 251, 250, 0.90)), url('images/hero_touch.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.main-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-tagline {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  border-left: none;
  border-bottom: 1px solid var(--color-accent-light);
  padding-bottom: 1rem;
  display: inline-block;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.hero-description p {
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
}



/* Watercolor background container query styling decoration */
.watercolor-bg {
  padding: 0;
  background: none;
  border: none;
}

.section-image-header {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
}

.section-image-header .image-wrapper {
  width: 100%;
  max-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.section-image-header img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
}

.section-content-centered {
  max-width: 660px;
  margin: 0 auto;
  text-align: left;
}

/* ==========================================================================
   Section Components
   ========================================================================== */

.section-header {
  margin-bottom: 4rem;
}

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

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title-serif {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 1.5rem auto 0;
}

.text-block p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.text-block a, .tecnica-content a, .bio-text-content a, .chakras-content a, .cta-text a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.reverse-layout > :first-child {
  order: 2;
}

.reverse-layout > :last-child {
  order: 1;
}

.styled-list {
  list-style: none;
  margin-top: 1.5rem;
}

.styled-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.styled-list li strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 0.2rem;
}

.styled-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.subsection-title {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Bioeletricidade & Quotes
   ========================================================================== */

.scientific-quote {
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 2rem;
  background-color: var(--bg-primary);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  box-shadow: var(--shadow-subtle);
}

.scientific-quote p {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 0.8rem;
}

.scientific-quote cite {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-style: normal;
  display: block;
}

/* ==========================================================================
   Interactive Accordion (Chakras)
   ========================================================================== */

.accordion-container {
  margin: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--color-accent);
}

.accordion-header .icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
  color: var(--color-accent);
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 0.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.margin-top-small {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Beneficios Grid
   ========================================================================== */

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.beneficio-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--color-accent-light);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-accent);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--color-accent);
}

.beneficio-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.beneficio-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Call to Action (CTA) Section
   ========================================================================== */

.cta-section {
  background: linear-gradient(135deg, #4d4239 0%, #2f2721 100%);
  color: var(--bg-primary);
  border: none;
}

.white-text {
  color: var(--bg-primary) !important;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(252, 251, 250, 0.85);
  margin-bottom: 2rem;
}

.cta-text strong {
  color: var(--bg-primary);
}

.cta-link {
  color: #ebdcd0 !important;
  text-decoration: underline;
  font-weight: 600;
}

.cta-link:hover {
  color: var(--bg-primary) !important;
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  background-color: var(--bg-dark);
  color: rgba(252, 251, 250, 0.75);
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(235, 220, 208, 0.1);
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h4 {
  font-size: 1.8rem;
  color: var(--bg-primary);
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 400px;
}

.footer-links h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg-primary);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(252, 251, 250, 0.65);
  transition: color 0.3s ease;
}

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

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(252, 251, 250, 0.5);
}

.developer-info a {
  color: rgba(252, 251, 250, 0.5);
  text-decoration: underline;
}

.developer-info a:hover {
  color: var(--bg-primary);
}

/* ==========================================================================
   Scroll-Driven Animations (Modern Browsers Only)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .section-padding, 
    .grid-2-cols > *, 
    .beneficio-card, 
    .text-block, 
    .scientific-quote {
      animation: reveal-up auto linear backwards;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

/* Fallback for browsers without native scroll-driven animations */
@media (prefers-reduced-motion: no-preference) {
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .fallback-reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    
    .fallback-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


/* ==========================================================================
   Responsive Media Queries (Mobile Optimization)
   ========================================================================== */

@media (max-width: 991px) {
  .hero-container {
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text-content {
    align-items: center;
  }
  
  .hero-tagline {
    border-left: none;
    border-bottom: 2px solid var(--color-accent-light);
    padding-left: 0;
    padding-bottom: 1rem;
    display: inline-block;
  }
  
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .grid-2-cols {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .reverse-layout > :first-child {
    order: 1;
  }
  
  .reverse-layout > :last-child {
    order: 2;
  }
  
  .section-title, .section-title-serif {
    font-size: 2.2rem;
  }
  
  .main-title {
    font-size: 2.8rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    height: 4rem;
  }
  
  .navbar {
    background-color: var(--bg-primary); /* Solid header on mobile */
  }
  
  .beneficios-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-medium);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .hero-actions, .cta-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
  }
  
  .btn-secondary, .btn-outline-light {
    margin-left: 0;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-copy {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
