/* ============================================================
   Júlia Martuscello — Fisioterapia e Pilates
   Paleta (brandboard): navy, azul-acinzentado, oliva, caramelo, off-white
   ============================================================ */

:root {
  --navy: #1b2632;
  --navy-2: #243240;
  --navy-3: #2e3f50;
  --slate: #5d6e7e;
  --olive: #5f6b5a;
  --caramel: #b3906a;
  --caramel-dark: #9a7952;
  --cream: #f4efe8;
  --cream-2: #faf7f2;
  --white: #ffffff;
  --text: #2a3542;
  --text-soft: #5d6e7e;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(27, 38, 50, 0.25);
  --font-sans: "Montserrat", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.container-narrow { width: min(820px, 92%); }

/* ---------- Tipografia ---------- */

h1, h2, h3 { font-weight: 600; line-height: 1.2; color: var(--navy); }

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12em;
  color: var(--caramel);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--caramel-dark);
  margin-bottom: 1rem;
}

.section-head { margin-bottom: 3.2rem; max-width: 720px; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--caramel); }
.section-navy p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--caramel);
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(179, 144, 106, 0.6);
}
.btn-primary:hover { background: var(--caramel-dark); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-lg { padding: 1.1rem 2.3rem; font-size: 1rem; }

.btn-whats {
  background: #23a35b;
  color: #fff;
  padding: 0.6rem 1.3rem;
  font-size: 0.8rem;
}
.btn-whats:hover { background: #1d8c4d; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--caramel-dark);
  text-decoration: none;
  margin-top: 1.2rem;
}
.link-arrow span { transition: transform 0.25s ease; }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow.light { color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  background: rgba(27, 38, 50, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.35);
  padding: 0.7rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { text-decoration: none; line-height: 1.15; }

.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.brand-sub {
  display: block;
  text-transform: uppercase;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--caramel);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.main-nav a:not(.btn):hover { color: var(--caramel); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-media { position: absolute; inset: 0; }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-text { max-width: 640px; }

.hero-portrait {
  position: relative;
  isolation: isolate;
  margin: 0;
  justify-self: end;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.65);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1.5px solid var(--caramel);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 38, 50, 0.62) 0%,
    rgba(27, 38, 50, 0.45) 45%,
    rgba(27, 38, 50, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 6rem;
  max-width: 800px;
}

.hero h1 { color: var(--white); margin-bottom: 1.4rem; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--caramel);
  margin-bottom: 1.3rem;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 580px;
  font-weight: 400;
}

.hero-sub2 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  max-width: 560px;
  margin-top: 0.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 3px;
  height: 8px;
  background: var(--caramel);
  border-radius: 3px;
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* ---------- Serviços ---------- */

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -20px rgba(27, 38, 50, 0.35);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: radial-gradient(circle at 30% 25%, var(--navy-3), var(--navy) 70%);
  color: var(--caramel);
}

.service-icon svg {
  width: 84px;
  height: 84px;
  overflow: visible;
  transition: transform 0.5s ease;
}

.service-card:hover .service-icon svg { transform: scale(1.08); }

.service-body { padding: 2rem 2.2rem 2.4rem; }

.service-body h3 { font-size: 1.5rem; margin-bottom: 0.2rem; }

.service-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--caramel-dark);
  margin-bottom: 1rem;
}

.service-body > p { color: var(--text-soft); font-size: 0.95rem; }

.service-list {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.service-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--caramel);
}

.service-list strong { color: var(--text); }

/* ---------- Sobre ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-grid.trajectory {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  grid-template-columns: 7fr minmax(280px, 5fr);
}

.about-photo { position: relative; }

.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1.5px solid var(--caramel);
  border-radius: var(--radius);
  z-index: -1;
}

.about-photo.alt::after { inset: 1.4rem 1.4rem -1.4rem -1.4rem; }

.about-text h2 { margin-bottom: 1.2rem; }

.about-text p { margin-bottom: 1rem; color: var(--text-soft); font-size: 0.96rem; }

.credentials {
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--olive) !important;
  border-left: 3px solid var(--caramel);
  padding-left: 0.9rem;
  line-height: 1.9;
}

.about-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--navy);
  border-left: 3px solid var(--caramel);
  padding-left: 1.4rem;
  margin-top: 1.6rem;
}

/* ---------- Abordagem ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.step:hover { transform: translateY(-6px); border-color: var(--caramel); }

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--caramel);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.step p { font-size: 0.9rem; }

/* ---------- Para quem ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 30px -18px rgba(27, 38, 50, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.audience-card svg {
  width: 34px;
  height: 34px;
  color: var(--caramel);
  margin-bottom: 1.1rem;
}

.audience-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }

.audience-card p { font-size: 0.88rem; color: var(--text-soft); }

.audience-cta {
  background: var(--navy);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audience-cta h3 { color: var(--white); }
.audience-cta p { color: rgba(255, 255, 255, 0.75); }
.audience-cta .link-arrow { margin-top: 0.9rem; font-size: 0.85rem; }

/* ---------- Galeria ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.gallery figure, .reels figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0;
}

.gallery-feature { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery-item { aspect-ratio: 16 / 10; }

.gallery video, .reels video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption, .reels figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.4rem 1rem;
  background: linear-gradient(to top, rgba(27, 38, 50, 0.85), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

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

.gallery-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-dark);
}

.gallery-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--caramel), transparent);
}

.gallery-label-gap { margin-top: 3rem; }

.reel { aspect-ratio: 9 / 16; max-height: 460px; }

.gallery-2 { grid-template-columns: 1fr 1fr; }

.reels-2 {
  grid-template-columns: 1fr 1fr;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Depoimentos ---------- */

.testimonials {
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  text-align: center;
}

.testimonial p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.55;
  color: var(--navy);
}

.testimonial p::before {
  content: "\201C";
  display: block;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--caramel);
  margin-bottom: 1.2rem;
}

.testimonial p + p { margin-top: 1rem; }
.testimonial p + p::before { content: none; }

.testimonial-long p {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.testimonial footer {
  margin-top: 1.6rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--caramel-dark);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--caramel);
  background: none;
  color: var(--caramel-dark);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.testimonial-nav button:hover { background: var(--caramel); color: var(--white); }

.testimonial-dots { display: flex; gap: 0.5rem; }

.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(27, 38, 50, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  padding: 0;
}

.testimonial-dots button.active {
  background: var(--caramel);
  transform: scale(1.3);
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 0.9rem; }

.faq-item {
  background: var(--cream-2);
  border: 1px solid rgba(27, 38, 50, 0.07);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] { border-color: var(--caramel); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 3.2rem 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--caramel);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item p {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* ---------- Contato ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.contact-lead {
  margin: 1.2rem 0 2rem;
  max-width: 440px;
}

.contact-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1.6rem;
  margin-left: 0.2rem;
  transition: color 0.25s ease;
}

.contact-insta:hover { color: var(--caramel); }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-card {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
}

.contact-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--caramel);
  margin-bottom: 0.4rem;
}

.contact-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

.contact-card-wide { grid-column: 1 / -1; }

/* ---------- Footer ---------- */

.site-footer {
  background: #141d26;
  padding: 2.2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.footer-inner strong { color: rgba(255, 255, 255, 0.85); }

/* ---------- WhatsApp flutuante ---------- */

.whats-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #23a35b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(35, 163, 91, 0.55);
  transition: transform 0.25s ease;
  animation: floatPulse 2.6s ease-in-out infinite;
}

.whats-float:hover { transform: scale(1.08); }

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 12px 32px -8px rgba(35, 163, 91, 0.55), 0 0 0 0 rgba(35, 163, 91, 0.35); }
  50% { box-shadow: 0 12px 32px -8px rgba(35, 163, 91, 0.55), 0 0 0 14px rgba(35, 163, 91, 0); }
}

/* ---------- Animações de reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease var(--d, 0s), transform 0.8s ease var(--d, 0s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-load {
  opacity: 0;
  transform: translateY(26px);
  animation: revealLoad 0.9s ease forwards;
  animation-delay: var(--d, 0s);
}

@keyframes revealLoad {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-load { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .about-grid, .about-grid.trajectory { grid-template-columns: 1fr; }
  .about-grid.trajectory .about-photo { order: -1; }
  .about-photo { max-width: 420px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-portrait { justify-self: start; width: min(100%, 260px); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(27, 38, 50, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .main-nav.open { opacity: 1; pointer-events: auto; }

  .main-nav a:not(.btn) { font-size: 1.1rem; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gallery { grid-template-columns: 1fr; }
  .gallery-feature { aspect-ratio: 16 / 9; }
  .reels { grid-template-columns: 1fr; }
  .reel { max-height: none; aspect-ratio: 9 / 14; }

  .hero-ctas .btn { width: 100%; justify-content: center; }

  .contact-cards { grid-template-columns: 1fr; }
}
