/* ============================================
   RENOVO PILATES — renovostudio.com.br
   Paleta: Verde Oliva #4A5D3A | Bronze #B08D4F | Nude #F5E6D8
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --verde: #4A5D3A;
  --verde-dark: #3A4A2E;
  --verde-light: #5A7048;
  --bronze: #B08D4F;
  --bronze-light: #C9A96A;
  --nude: #F5E6D8;
  --nude-light: #FAF3ED;
  --nude-dark: #E8D5C3;
  --branco: #FFFFFF;
  --texto: #2D2D2D;
  --texto-light: #5A5A5A;
  --overlay: rgba(74, 93, 58, 0.75);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Raleway', 'Segoe UI', system-ui, sans-serif;
  --max-w: 1200px;
  --gap: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 48px;
  width: auto;
  transition: height .3s, filter .3s;
  filter: brightness(0) invert(1); /* logo branco sobre hero verde */
}

.header.scrolled .header__logo img {
  height: 36px;
  filter: none; /* logo original (verde) sobre header branco */
}

.nav__list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--branco);
  transition: color .3s;
  position: relative;
}

.header.scrolled .nav__link { color: var(--verde); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--bronze);
  transition: width .3s;
}

.nav__link:hover::after { width: 100%; }

.nav__cta {
  background: var(--bronze);
  color: var(--branco) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background .3s, transform .2s;
}

.nav__cta:hover {
  background: var(--bronze-light);
  transform: translateY(-1px);
}

.nav__cta::after { display: none; }

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px; height: 2px;
  background: var(--branco);
  transition: all .3s;
}

.header.scrolled .hamburger span { background: var(--verde); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--verde);
  /* Substituir pelo banner real: background-image: url('../img/hero-banner.jpg'); */
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,93,58,0.85) 0%, rgba(74,93,58,0.6) 100%);
}

/* Pattern decorativo no hero (enquanto não tem foto) */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(176,141,79,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,230,216,0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(176,141,79,0.1) 0%, transparent 45%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 5%;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--branco);
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--bronze-light);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bronze);
  color: var(--branco);
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s, transform .2s;
}

.hero__cta:hover {
  background: var(--bronze-light);
  transform: translateY(-2px);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.3);
  margin: 0.5rem auto 0;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(1.5); opacity: 0.8; }
}

/* --- Sections genérico --- */
.section {
  padding: 6rem 0;
}

.section--nude { background: var(--nude-light); }
.section--verde { background: var(--verde); color: var(--branco); }

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.section--verde .section__eyebrow { color: var(--bronze-light); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--verde);
  line-height: 1.2;
  text-wrap: balance;
}

.section--verde .section__title { color: var(--branco); }

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

/* --- Sobre --- */
.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre__img-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--nude);
}

.sobre__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--verde-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sobre__img-placeholder svg { opacity: 0.4; }

.sobre__text p {
  margin-bottom: 1.2rem;
  color: var(--texto-light);
}

.sobre__text p:first-of-type { font-size: 1.1rem; color: var(--texto); }

.sobre__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-item__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--nude);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-item__icon svg {
  width: 20px; height: 20px;
  stroke: var(--verde);
  fill: none;
  stroke-width: 1.5;
}

.highlight-item__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--verde);
  line-height: 1.4;
}

.highlight-item__sub {
  font-size: 0.78rem;
  color: var(--texto-light);
}

/* --- Fisioterapeuta --- */
.fisio__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.fisio__img-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--verde);
}

.fisio__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--nude);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fisio__img-placeholder svg { opacity: 0.3; }

.fisio__badge {
  display: inline-block;
  background: var(--nude);
  color: var(--verde);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.fisio__name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--verde);
  margin-bottom: 0.3rem;
}

.fisio__role {
  font-size: 0.85rem;
  color: var(--bronze);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.fisio__text p {
  margin-bottom: 1.2rem;
  color: var(--texto-light);
}

.fisio__quote {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--bronze);
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--verde);
  line-height: 1.5;
}

/* --- Serviços --- */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.servico-card {
  background: var(--branco);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--nude-dark);
  transition: transform .3s, box-shadow .3s;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74,93,58,0.1);
}

.servico-card__icon {
  width: 60px; height: 60px;
  background: var(--nude);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.servico-card__icon svg {
  width: 28px; height: 28px;
  stroke: var(--verde);
  fill: none;
  stroke-width: 1.5;
}

.servico-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--verde);
  margin-bottom: 0.75rem;
}

.servico-card__desc {
  font-size: 0.9rem;
  color: var(--texto-light);
  line-height: 1.6;
}

/* --- Estúdio (galeria) --- */
.studio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.studio__item {
  aspect-ratio: 4/3;
  background: var(--nude);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform .3s;
}

.studio__item:hover { transform: scale(1.02); }

.studio__item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

.studio__item svg { opacity: 0.3; }

.studio__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--texto-light);
  font-style: italic;
}

/* --- Benefícios --- */
.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.beneficio {
  text-align: center;
  padding: 1.5rem;
}

.beneficio__icon {
  width: 56px; height: 56px;
  background: rgba(176,141,79,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.beneficio__icon svg {
  width: 26px; height: 26px;
  stroke: var(--bronze-light);
  fill: none;
  stroke-width: 1.5;
}

.beneficio__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--branco);
  margin-bottom: 0.5rem;
}

.beneficio__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* --- Depoimentos --- */
.depoimentos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.depoimento-card {
  background: var(--branco);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--nude-dark);
  position: relative;
}

.depoimento-card__quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 1rem;
}

.depoimento-card__text {
  font-size: 0.95rem;
  color: var(--texto-light);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.depoimento-card__author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--verde);
}

.depoimento-card__role {
  font-size: 0.78rem;
  color: var(--texto-light);
}

/* --- Planos / Módulos --- */
.planos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.plano-card {
  background: var(--branco);
  padding: 2.5rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  border: 2px solid var(--nude-dark);
  transition: border-color .3s, transform .3s;
}

.plano-card:hover {
  border-color: var(--bronze);
  transform: translateY(-4px);
}

.plano-card--destaque {
  border-color: var(--bronze);
  position: relative;
}

.plano-card--destaque::before {
  content: 'Mais popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: var(--branco);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2px;
  white-space: nowrap;
}

.plano-card__periodo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--verde);
  margin-bottom: 0.5rem;
}

.plano-card__desconto {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bronze);
  margin-bottom: 1.5rem;
}

.plano-card__beneficios {
  text-align: left;
  margin-bottom: 2rem;
}

.plano-card__beneficios li {
  font-size: 0.85rem;
  color: var(--texto-light);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.plano-card__beneficios li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--verde);
  font-weight: 700;
}

.plano-card__cta {
  display: block;
  padding: 0.8rem;
  background: var(--verde);
  color: var(--branco);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s;
}

.plano-card__cta:hover { background: var(--verde-dark); }

/* --- Contato / Footer --- */
.footer {
  background: var(--verde-dark);
  color: var(--branco);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo img {
  height: 40px;
  /* Para logo em fundo escuro, se necessário inverter:
     filter: brightness(0) invert(1); */
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 320px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.footer__links li { margin-bottom: 0.6rem; }

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color .3s;
}

.footer__links a:hover { color: var(--bronze-light); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.footer__contact-item svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  stroke: var(--bronze-light);
  fill: none;
  stroke-width: 1.5;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s, background .3s;
}

.footer__social a:hover {
  border-color: var(--bronze);
  background: rgba(176,141,79,0.15);
}

.footer__social svg {
  width: 16px; height: 16px;
  fill: rgba(255,255,255,0.7);
}

/* --- Hero Video --- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* --- FAQ --- */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--nude-dark);
}

.faq__item:first-child {
  border-top: 1px solid var(--nude-dark);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--verde);
  text-align: left;
  line-height: 1.4;
  transition: color .3s;
}

.faq__question:hover {
  color: var(--bronze);
}

.faq__chevron {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .3s;
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq__answer p {
  font-size: 0.95rem;
  color: var(--texto-light);
  line-height: 1.7;
}

/* --- Localização --- */
.localizacao__content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.localizacao__mapa iframe {
  width: 100%;
  display: block;
}

.localizacao__info {
  padding: 2rem 0;
}

.localizacao__endereco {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.localizacao__endereco svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.localizacao__endereco p {
  font-size: 1rem;
  color: var(--texto);
  line-height: 1.7;
}

.localizacao__rota {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--verde);
  color: var(--branco);
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s, transform .2s;
}

.localizacao__rota:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
}

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform .3s;
}

.whatsapp-fab:hover { transform: scale(1.1); }

.whatsapp-fab svg {
  width: 28px; height: 28px;
  fill: var(--branco);
}

/* --- Responsivo --- */
@media (max-width: 1024px) {
  .beneficios__grid { grid-template-columns: repeat(2, 1fr); }
  .planos__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav__list {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--verde-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right .3s;
  }

  .nav__list.active { right: 0; }

  .nav__link { color: var(--branco) !important; font-size: 1rem; }

  .sobre__grid,
  .fisio__grid { grid-template-columns: 1fr; }

  .fisio__img-wrapper { max-width: 400px; margin: 0 auto; }

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

  .studio__grid { grid-template-columns: 1fr 1fr; }
  .studio__item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }

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

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

  .planos__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

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

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

  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .sobre__highlights { grid-template-columns: 1fr; }
  .beneficios__grid { grid-template-columns: 1fr; }
  .studio__grid { grid-template-columns: 1fr; }
}
