/* ==========================================================================
   Massoteus - tokens de marca
   ========================================================================== */
:root{
  --color-bg: #FAF6EE;
  --color-bg-alt: #F1E7D4;
  --color-card: #FFFFFF;
  --color-ink: #10223F;
  --color-ink-soft: #3E4A63;
  --color-muted: #5A6377;
  --color-accent: #2947B4;
  --color-accent-dark: #1C3486;
  --color-border: rgba(16,34,63,0.12);
  --color-border-soft: rgba(16,34,63,0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-card: 20px;
  --radius-pill: 999px;
  --wrap: 1180px;
  --header-h: 84px;

  --shadow-soft: 0 18px 40px rgba(16,34,63,0.08);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1{ font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; color: #fff; }
h2{ font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3{ font-size: 1.4rem; margin-bottom: .4em; }
h4{ font-size: 1.25rem; margin-bottom: .4em; }

p{ margin: 0 0 1em; color: var(--color-ink-soft); max-width: 62ch; }

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

img, svg{ display: block; max-width: 100%; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

:focus-visible{
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   Reveal animations
   .reveal-up elements are visible by default (progressive enhancement).
   JS hides them with gsap.set() only once GSAP is confirmed loaded and the
   visitor has not requested reduced motion, then reveals them on scroll.
   ========================================================================== */

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:active{ transform: scale(0.98); }

.btn-primary{
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16,34,63,0.25);
}
.btn-primary:hover{ background: var(--color-accent-dark); }

.btn-small{ padding: 10px 20px; font-size: 0.92rem; }

.link-secondary{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 2px;
  transition: border-color .18s ease, color .18s ease;
}
.link-secondary:hover{ border-color: var(--color-accent); color: var(--color-accent); }
.link-on-dark{ color: #fff; border-color: rgba(255,255,255,0.4); }
.link-on-dark:hover{ color: #fff; border-color: #fff; }

/* ==========================================================================
   Header (transparent over hero, solid once scrolled)
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.site-header.scrolled{
  background: rgba(250,246,238,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border-soft);
}
.header-row{
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-ink);
  margin-right: auto;
}
.brand-badge{
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(16,34,63,0.32);
  backdrop-filter: blur(6px);
  transition: background-color .4s ease, backdrop-filter .4s ease;
}
.site-header.scrolled .brand-badge{ background: var(--color-ink); backdrop-filter: none; }
.brand-badge img{ height: 20px; width: auto; }

.main-nav ul{
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  transition: color .3s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.site-header.scrolled .main-nav a{ color: var(--color-ink-soft); text-shadow: none; }
.main-nav a:hover{ color: #fff; }
.site-header.scrolled .main-nav a:hover{ color: var(--color-accent); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, background-color .3s ease;
}
.site-header.scrolled .nav-toggle span{ background: var(--color-ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-soft);
  padding: 20px 24px 28px;
  z-index: 99;
}
.mobile-nav ul{
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.mobile-nav a{
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}
.mobile-nav .btn{ width: 100%; }

@media (max-width: 880px){
  .main-nav, .header-row > .btn-small{ display: none; }
  .nav-toggle{ display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  background: var(--color-ink);
  overflow: hidden;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 72px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-sub{ color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 46ch; }
.hero-actions{
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-visual{ display: flex; justify-content: center; }
.hero-photo{
  width: 100%;
  max-width: 420px;
  aspect-ratio: 405 / 540;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

@media (max-width: 880px){
  .hero-grid{ grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-sub{ margin-left: auto; margin-right: auto; }
  .hero-actions{ justify-content: center; }
  .hero-visual{ order: -1; }
  .hero-photo{ max-width: 320px; }
}

/* ==========================================================================
   Statement (opening line)
   ========================================================================== */
.statement{ padding: 120px 0 80px; background: var(--color-bg); }
.statement-text{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.45;
  color: var(--color-ink);
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 4px;
}
@media (max-width: 760px){ .statement{ padding: 80px 0 56px; } }

.facts-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 32px 24px;
}
.fact{ display: flex; flex-direction: column; gap: 4px; }
.fact strong{ font-size: 1rem; color: var(--color-ink); }
.fact span{ font-size: 0.9rem; color: var(--color-muted); }
@media (max-width: 760px){ .facts-strip{ grid-template-columns: 1fr; gap: 16px; padding: 24px; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section{ padding: 108px 0; }
.section-alt{ background: var(--color-bg-alt); }
@media (max-width: 880px){ .section{ padding: 72px 0; } }

.section-head{ max-width: 56ch; margin-bottom: 48px; }
.section-head p{ font-size: 1.05rem; }

/* Services */
.service-cluster{ margin-bottom: 56px; }
.cluster-title{
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-card);
  padding: 28px;
}
.service-icon{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-accent);
}
.service-icon svg{ width: 22px; height: 22px; }
.service-card p{ font-size: 0.95rem; margin-bottom: 0; }

@media (max-width: 1020px){ .services-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .services-grid{ grid-template-columns: 1fr; } }

/* Feature card (QuickMassage) */
.feature-card{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--color-ink);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 8px;
}
.feature-media{ min-height: 280px; }
.feature-media img{ width: 100%; height: 100%; object-fit: cover; }
.feature-text{ padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.feature-text h3{ color: #fff; }
.feature-text p{ color: rgba(255,255,255,0.8); }
.feature-text .link-secondary{ color: #fff; border-color: rgba(255,255,255,0.4); }
.feature-text .link-secondary:hover{ border-color: #fff; }

@media (max-width: 820px){
  .feature-card{ grid-template-columns: 1fr; }
  .feature-media{ min-height: 220px; }
  .feature-text{ padding: 32px; }
}

.services-note{
  margin-top: 36px;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.services-note a{ font-weight: 600; }

/* About */
.about-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-text p{ font-size: 1.05rem; }
.about-photo{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 880px){
  .about-grid{ grid-template-columns: 1fr; gap: 32px; }
  .about-visual{ max-width: 320px; }
}

/* Philosophy full-bleed moment */
.philosophy{
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-ink);
}
.philosophy-media{ position: absolute; inset: 0; z-index: 0; }
.philosophy-bg{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.12);
  will-change: transform;
}
.philosophy-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,34,63,0.78) 0%, rgba(16,34,63,0.62) 50%, rgba(16,34,63,0.82) 100%);
}
.philosophy .wrap{ position: relative; z-index: 1; text-align: center; padding: 72px 24px; }
.philosophy-text{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.4vw, 3.1rem);
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

/* Steps */
.steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before{
  content: "";
  position: absolute;
  top: 24px;
  left: calc(12.5% + 0px);
  right: calc(12.5% + 0px);
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}
.steps::after{
  content: "";
  position: absolute;
  top: 24px;
  left: calc(12.5% + 0px);
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  z-index: 0;
  transition: width .2s linear;
}
.steps.line-progress::after{ width: var(--line-progress, 0%); }
.step{ position: relative; z-index: 1; text-align: center; }
.step-icon{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--color-accent);
}
.step-icon svg{ width: 22px; height: 22px; }
.step p{ font-size: 0.95rem; margin-left: auto; margin-right: auto; }

@media (max-width: 1020px){
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .steps::before, .steps::after{ display: none; }
}
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }

/* Bento gallery */
.bento-gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.bento-item{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.bento-tall{ grid-column: 1 / 2; grid-row: 1 / 3; }
.bento-gallery > .bento-item:nth-child(2){ grid-column: 2 / 3; grid-row: 1 / 2; }
.bento-gallery > .bento-item:nth-child(3){ grid-column: 2 / 3; grid-row: 2 / 3; }
.bento-wide{ grid-column: 3 / 5; grid-row: 1 / 3; }

@media (max-width: 860px){
  .bento-gallery{ grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
  .bento-tall{ grid-column: 1 / 2; grid-row: 1 / 3; }
  .bento-gallery > .bento-item:nth-child(2){ grid-column: 2/3; grid-row: 1/2; }
  .bento-gallery > .bento-item:nth-child(3){ grid-column: 2/3; grid-row: 2/3; }
  .bento-wide{ grid-column: 1 / 3; grid-row: 3 / 4; }
}
@media (max-width: 560px){
  .bento-gallery{ grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-tall, .bento-wide, .bento-gallery > .bento-item{ grid-column: 1 / 2 !important; grid-row: auto !important; aspect-ratio: 4/3; height: auto; }
}

/* Testimonials */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card{
  margin: 0;
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-card);
  padding: 28px;
}
.testimonial-card p{
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-ink);
  margin: 0 0 16px;
  line-height: 1.4;
}
.testimonial-card cite{
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-muted);
}
@media (max-width: 760px){ .testimonial-grid{ grid-template-columns: 1fr; } }

/* FAQ */
.faq-list{ display: grid; gap: 14px; max-width: 760px; }
.faq-item{
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  padding: 6px 24px;
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 1.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ padding-bottom: 20px; margin: 0; font-size: 0.97rem; }
.faq-item em{ color: var(--color-ink-soft); font-style: normal; }

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info .btn{ margin: 24px 0 36px; }
.contact-details{
  display: grid;
  gap: 20px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-soft);
}
.contact-details dt{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.contact-details dd{
  margin: 0;
  font-size: 1.02rem;
  color: var(--color-ink);
}
.contact-details a{ text-decoration: none; font-weight: 600; }

.contact-map{
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
  min-height: 360px;
}
.contact-map iframe{ width: 100%; height: 100%; min-height: 360px; border: 0; }

@media (max-width: 880px){
  .contact-grid{ grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--color-ink);
  color: #E9E4DA;
  padding: 56px 0 90px;
}
.footer-row{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo{ height: 32px; width: auto; }
.footer-brand p{ color: #BCC3D2; font-size: 0.9rem; max-width: 32ch; margin-top: 10px; }
.footer-row nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-row nav a{ color: #D8DCE6; text-decoration: none; font-size: 0.95rem; }
.footer-row nav a:hover{ color: #fff; }
.footer-instagram{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D8DCE6;
  text-decoration: none;
  font-weight: 500;
}
.footer-instagram:hover{ color: #fff; }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22A95C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(16,34,63,0.3);
  z-index: 60;
  transition: transform .18s ease;
}
.whatsapp-float:hover{ transform: translateY(-2px); }
.whatsapp-float:active{ transform: scale(0.96); }

@media (max-width: 600px){
  .whatsapp-float{ right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
