/* ===== Variables ===== */
:root {
  --primary: #1A3C2B;
  --primary-dark: #142F22;
  --primary-light: #2A5C3F;
  --accent: #D4A373;
  --accent-dark: #C18D5E;
  --bg-light: #F9F9F9;
  --bg-white: #FFFFFF;
  --text-dark: #333333;
  --text-body: #555555;
  --text-muted: #888888;
  --border-light: #E8E8E8;
  --font: 'Montserrat', sans-serif;
  --amber-500: var(--accent);
  --pine-900: var(--primary);
  --pine-800: var(--primary-dark);
  --pine-700: var(--primary-light);
  --sage-100: var(--bg-light);
  --sand-050: var(--bg-light);
  --sand-100: #f2ece1;
  --ink-900: var(--text-dark);
  --ink-600: var(--text-body);
  --ink-400: var(--text-muted);
  --white: var(--bg-white);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; font-family: var(--font); border: none; background: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: scale(1.04); }
.btn--primary {
  background: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--primary-light); }
.btn--whatsapp { background: #25D366; color: var(--bg-white); }
.btn--whatsapp:hover { background: #1ebe5d; }
.btn--amber { background: var(--accent); color: var(--bg-white); }
.btn--amber:hover { background: var(--accent-dark); }
.btn--text {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn--text:hover { color: var(--accent-dark); }

.section { padding: 100px 0; }
.section__title {
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 680px;
  margin-bottom: 48px;
}
.section__body p {
  font-size: 1rem;
  max-width: 780px;
  margin-bottom: 16px;
  color: var(--text-body);
}
.highlight {
  font-style: normal;
  color: var(--accent);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(249, 249, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.header__logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}
.header__nav-list { display: flex; gap: 32px; }
.header__nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
  position: relative;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.header__nav-link:hover { color: var(--primary); }
.header__nav-link:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { padding: 10px 20px; font-size: 0.8rem; }
.header__whatsapp { padding: 10px 20px; font-size: 0.8rem; }
.header__whatsapp span { display: none; }
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.header__hamburger-line {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.header__hamburger.active .header__hamburger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__hamburger.active .header__hamburger-line:nth-child(2) { opacity: 0; }
.header__hamburger.active .header__hamburger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 100px;
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: var(--bg-white);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__title {
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero__title .highlight { color: var(--accent); }
.hero__subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.9;
}
.hero__text {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.92);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}
.hero__tags span::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__visual { display: flex; flex-direction: column; align-items: center; position: relative; }
.hero__card-main {
  width: 100%; max-width: 380px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.hero__card-logo {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero__card-quote {
  width: 86%; max-width: 340px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: -32px;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
  text-align: center;
}
.hero__card-quote p {
  font-weight: 500;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.hero__card-quote cite {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Essência ===== */
.essencia { text-align: center; background: var(--bg-white); }
.essencia .section__body p { margin: 0 auto; max-width: 720px; }

/* ===== História ===== */
.historia { background: var(--bg-light); }
.historia__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.historia__text p { font-size: 1rem; margin-bottom: 16px; color: var(--text-body); }
.historia__quote {
  background: var(--bg-white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.historia__quote blockquote p {
  font-weight: 600;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  margin: 16px 0;
  line-height: 1.5;
}
.historia__quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Serviços ===== */
.servicos { text-align: center; background: var(--bg-white); }
.servicos .section__subtitle { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Card ===== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
  border: 1px solid var(--border-light);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card__icon { margin-bottom: 16px; }
.card__icon svg { stroke: var(--accent) !important; }
.card__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.card__text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===== Fisioterapia ===== */
.fisioterapia { background: var(--primary); color: var(--bg-white); }
.fisioterapia .section__title { color: var(--bg-white); }
.fisioterapia .highlight { color: var(--accent); }
.fisioterapia__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fisioterapia__content { text-align: left; }
.fisioterapia__assinatura {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fisioterapia__text { font-size: 1rem; max-width: 540px; margin-bottom: 16px; opacity: 0.85; }
.fisioterapia__areas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.fisioterapia__area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}
.fisioterapia__area:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.fisioterapia__area svg { width: 18px; height: 18px; flex-shrink: 0; }

.fisioterapia__visual { display: flex; justify-content: center; align-items: center; }
.fisio-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 48px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.fisio-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}
.fisio-card__img-wrapper {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(212, 163, 115, 0.15), 0 8px 32px rgba(0,0,0,0.2);
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fisio-card__img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
}
.fisio-card__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 50%; }
.fisio-card__name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bg-white);
  margin-bottom: 4px;
}
.fisio-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.fisio-card__desc {
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Diferenciais ===== */
.diferenciais { background: var(--bg-white); text-align: center; }
.diferenciais__grid { margin-top: 12px; }
.diferencial-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border-light);
}
.diferencial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.diferencial-card__num {
  display: inline-block;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}
.diferencial-card h3 { font-weight: 700; font-size: 1rem; color: var(--text-dark); }

/* ===== Equipe ===== */
.equipe { text-align: center; background: var(--bg-light); }
.equipe .section__subtitle { margin-left: auto; margin-right: auto; }
.equipe__grid { text-align: left; }
.card--team {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}
.card--team__img-wrapper {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.12);
}
.card--team__img-wrapper--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}
.card--team__img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.card--team__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  text-align: center;
}
.card--team__role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card--team__bullets { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; margin-bottom: 12px; }
.card--team__bullets li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.card--team__bullets li::before { content: '•'; position: absolute; left: 2px; color: var(--accent); }
.card--team__extra ul { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; margin-bottom: 12px; }
.card--team__extra ul li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.card--team__extra ul li::before { content: '•'; position: absolute; left: 2px; color: var(--accent); }
.card--team__toggle { align-self: flex-start; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-white);
  text-align: center;
}
.cta .section__title { color: var(--bg-white); }
.cta__text { font-size: 1.05rem; max-width: 600px; margin: 0 auto 36px; opacity: 0.85; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer__logo-link { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer__logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bg-white);
}
.footer__tagline {
  font-weight: 500;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-style: italic;
}
.footer__desc { font-size: 0.9rem; max-width: 320px; opacity: 0.7; }
.footer__heading {
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-white);
  margin-bottom: 16px;
}
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 0.9rem; transition: var(--transition); }
.footer__list a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; opacity: 0.5; }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--bg-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .header__nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }
  .header__nav.open { opacity: 1; pointer-events: auto; }
  .header__nav-list { flex-direction: column; align-items: center; gap: 24px; }
  .header__nav-link { font-size: 1.15rem; }
  .header__actions { display: none; }
  .header__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .hero__card-main { max-width: 280px; }
  .hero__card-logo { width: 100px; height: 100px; }

  .historia__grid { grid-template-columns: 1fr; }
  .historia__quote { position: static; }

  .fisioterapia__grid { grid-template-columns: 1fr; gap: 40px; }
  .fisioterapia__visual { order: -1; }
  .fisioterapia__content { text-align: center; }
  .fisioterapia__text { margin-left: auto; margin-right: auto; }
  .fisioterapia__areas { justify-content: center; }
  .fisio-card { max-width: 320px; }
  .fisio-card__img-wrapper { width: 150px; height: 150px; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header__whatsapp span { display: inline; }
  .header__actions .header__whatsapp span { display: none; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 64px; }
  .header__logo-text { font-size: 1rem; }
  .header__logo-img { width: 32px; height: 32px; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__tags { justify-content: center; }
  .cta__actions { flex-direction: column; align-items: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}
