/* ============================================================
   ProMove — Saúde e movimento
   Mobile-first · cores controladas via variáveis (admin)
   ============================================================ */

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

:root {
  --primary: #8FBFBB;
  --primary-dark: #4E8985;
  --bg: #F5F3EE;
  --ink: #22302F;
  --paper: #FFFFFF;
  --muted: #5c6d6b;
  --purple: #7C3AED;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(34, 48, 47, .08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--primary-dark) 35%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--primary-dark) 45%, transparent); }
.btn-ghost { border-color: color-mix(in srgb, var(--primary-dark) 45%, transparent); color: var(--primary-dark); }
.btn-ghost:hover { background: color-mix(in srgb, var(--primary) 18%, transparent); }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(34,48,47,.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .7rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { font-family: var(--font-body); font-size: 1.35rem; letter-spacing: -.02em; }
.brand-text strong { font-weight: 600; color: var(--ink); }
.brand-text em { font-style: normal; font-weight: 300; color: var(--primary-dark); }

.nav {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(16px);
  font-size: 1.25rem;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.nav.open { opacity: 1; pointer-events: auto; }
.nav a:not(.btn) { position: relative; padding: .2rem 0; font-weight: 400; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--primary-dark); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  z-index: 60; display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .6rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 5rem; overflow: hidden;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 780px; }

.hero-badge, .section-badge {
  display: inline-block; padding: .35rem 1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary-dark) 30%, transparent);
  color: var(--primary-dark); font-size: .8rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero-sub { font-size: clamp(1rem, 3vw, 1.25rem); color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 999px; z-index: 2;
}
.hero-scroll span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--primary-dark); border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } }

/* ---------- Seções ---------- */
.section { padding-block: 4.5rem; }
.section-alt {
  background:
    radial-gradient(60rem 30rem at 110% -10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent),
    var(--paper);
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.8rem; }
.section-head p { color: var(--muted); margin-top: .6rem; }

.grid-2 { display: grid; gap: 2.6rem; align-items: center; }

/* ---------- Sobre ---------- */
.about-visual { text-align: center; }
.about-logo-wrap { position: relative; width: min(280px, 70vw); margin: 0 auto 2rem; }
.about-logo { position: relative; z-index: 2; filter: drop-shadow(0 18px 30px rgba(34,48,47,.14)); }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.about-ring {
  position: absolute; inset: -8%; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--primary-dark) 40%, transparent);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.stat {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .9rem 1.3rem; min-width: 108px;
}
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--primary-dark); }
.stat span { font-size: .78rem; color: var(--muted); }

.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.checklist { list-style: none; margin-top: 1.4rem; display: grid; gap: .7rem; }
.checklist li { display: flex; align-items: center; gap: .7rem; font-weight: 400; }
.checklist li::before {
  content: '✓'; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* ---------- Serviços ---------- */
.services-grid { display: grid; gap: 1.4rem; }
.service-card {
  position: relative; background: var(--bg); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(34,48,47,.14); }
.service-card:hover::before { opacity: 1; }
.service-img { margin: -1.7rem -1.5rem .4rem; }
.service-img img { width: 100%; height: 170px; object-fit: cover; }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px; padding: 12px;
  color: var(--primary-dark);
  background: color-mix(in srgb, var(--primary) 22%, transparent);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.service-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  font-size: .78rem; padding: .25rem .8rem; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted);
}
.chip-price { background: color-mix(in srgb, var(--primary) 25%, transparent); color: var(--primary-dark); font-weight: 500; }
.service-link { font-size: .88rem; font-weight: 500; color: var(--primary-dark); margin-top: .3rem; }
.service-link:hover { text-decoration: underline; }

/* ---------- Depoimentos ---------- */
.testimonial-track {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .4rem 1.25rem 1.4rem; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 min(86%, 400px); scroll-snap-align: center;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}
.stars { color: #E8B54D; letter-spacing: .15em; margin-bottom: .8rem; }
.testimonial blockquote { font-size: .96rem; color: var(--ink); font-style: italic; margin-bottom: 1.1rem; }
.testimonial figcaption strong { display: block; font-weight: 500; }
.testimonial figcaption span { font-size: .82rem; color: var(--muted); }

/* ---------- Galeria ---------- */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(20,30,29,.75));
  color: #fff; font-size: .82rem;
}

/* ---------- Contato ---------- */
.contact-list { display: grid; gap: 1rem; margin-block: 1.6rem; }
.contact-item {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--paper); padding: 1rem 1.2rem; border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: .92rem; color: var(--muted);
  transition: transform .25s;
}
a.contact-item:hover { transform: translateX(4px); }
.contact-item strong { color: var(--ink); font-weight: 500; }
.contact-ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  color: var(--primary-dark);
  background: color-mix(in srgb, var(--primary) 22%, transparent);
}
.social { display: flex; gap: 1rem; }
.social a { font-weight: 500; color: var(--primary-dark); border-bottom: 2px solid transparent; }
.social a:hover { border-color: var(--primary-dark); }

.contact-card {
  text-align: center; background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 30%, var(--paper)), var(--paper));
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow);
  padding: 2.4rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
.contact-logo { width: 110px; }
.contact-card p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: color-mix(in srgb, #fff 75%, transparent);
  padding-block: 2.6rem; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text em { color: var(--primary); }
.brand-footer .brand-mark { background: #fff; border-radius: 50%; padding: 3px; }
.footer-text { font-size: .85rem; }
.footer-credit { font-size: .8rem; opacity: .85; }

/* Assinatura padrão falkemback (igual motion.falkemback.com) */
.credit { font-size: .68rem; text-decoration: none; position: relative; display: inline-block; }
.credit .glow-text {
  background: linear-gradient(90deg, #5C5A55 0%, #5C5A55 30%, #a78bfa 43%, #c084fc 50%, #a78bfa 57%, #5C5A55 70%, #5C5A55 100%);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: glowSweep 4s linear infinite;
}
.credit:hover .glow-text { animation-play-state: paused; background: none; color: #a78bfa; -webkit-text-fill-color: #a78bfa; }
@keyframes glowSweep {
  0% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #25D366; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .25s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.35); }
  55% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
}

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Tablet ≥ 640px
   ============================================================ */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-track { padding-inline: max(1.25rem, calc((100vw - 1120px) / 2)); }
}

/* ============================================================
   Desktop ≥ 960px
   ============================================================ */
@media (min-width: 960px) {
  .section { padding-block: 6.5rem; }
  .nav {
    position: static; flex-direction: row; gap: 1.6rem;
    background: none; backdrop-filter: none; opacity: 1; pointer-events: auto;
    font-size: .95rem;
  }
  .nav-toggle { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; }
  /* alinha o texto do hero à mesma borda esquerda das demais seções */
  .hero-content { text-align: left; margin-left: max(1.25rem, calc((100% - 1120px) / 2)); margin-right: auto; }
  .hero-sub { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
}
