/* ===== Sheila Pilates — landing-page-verde-lilas ===== */

:root {
  --green-dark: #1f2a15;
  --green-deep: #24301a;
  --green-text: #2c3a1e;
  --cream: #f4f1e8;
  --cream-card: #fbf9f3;
  --lilac: #c49ae2;
  --lilac-hover: #b384d6;
  --lilac-light: #ecdff7;
  --lilac-badge: #e8d9f5;
  --purple-text: #7b4fa3;
  --text-body: #55604a;
  --text-muted: #6b7361;
  --white: #ffffff;

  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 50px -20px rgba(31, 42, 21, 0.35);
}

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

html {
  scroll-behavior: smooth;
  /* impede que o header fixo cubra o topo das seções ao navegar por âncoras */
  scroll-padding-top: 96px;
}

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--green-text);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Motion: entrada do hero ===== */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-anim {
  animation: riseIn 1s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}

/* ===== Motion: reveal ao rolar ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform, filter;
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* filhos de blocos .stagger entram em cascata */
.js .reveal.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out),
    filter 0.8s var(--ease-out);
  transition-delay: var(--child-d, 0s);
}

.js .reveal.stagger.in > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-anim,
  .hero::before {
    animation: none !important;
  }

  .js .reveal,
  .js .reveal.stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ===== Badge ===== */
.badge {
  display: inline-block;
  background: var(--lilac-badge);
  color: #503868;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(31, 42, 21, 0.45);
}

.btn:active {
  transform: translateY(0);
}

.btn-light {
  background: var(--white);
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--lilac-light);
}

.btn-lilac {
  background: var(--lilac);
  color: var(--white);
}

.btn-lilac:hover {
  background: var(--lilac-hover);
  box-shadow: 0 12px 30px -10px rgba(196, 154, 226, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--green-text);
  border: 1px solid #9aa18d;
}

.btn-outline:hover {
  background: var(--green-text);
  color: var(--white);
  border-color: var(--green-text);
}

/* ===== Header ===== */
.site-header {
  background: rgba(31, 42, 21, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
  background: rgba(31, 42, 21, 0.85);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 36px;
}

.main-nav a {
  color: #e6e8de;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--lilac);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.main-nav a:hover {
  color: var(--lilac);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .btn {
  padding: 10px 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.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;
  background: var(--green-dark);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("imagens/estudio-pilates-jundiai.png") center / cover no-repeat;
  animation: heroZoom 14s var(--ease-out) both;
  will-change: transform;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 70px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  color: var(--white);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 110px;
}

.hero-stats {
  display: flex;
  gap: 90px;
  flex-wrap: wrap;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== Media com zoom no hover ===== */
.card-media {
  border-radius: 12px;
  overflow: hidden;
  transform: translateZ(0);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.card-media:hover img {
  transform: scale(1.05);
}

/* ===== Sobre nós ===== */
.about {
  padding: 110px 0 90px;
}

.about-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 28px;
}

.about-photo {
  border-radius: 14px;
  overflow: hidden;
  transform: translateZ(0);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-photo:hover img {
  transform: scale(1.04);
}

/* ===== Currículo / Aulas ===== */
.classes {
  padding: 40px 0 100px;
}

.section-heading.center {
  text-align: center;
  margin-bottom: 56px;
}

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

.class-card {
  display: flex;
  flex-direction: column;
}

.class-card .card-media {
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
}

/* Fotos verticais: ancora o enquadramento na parte onde a profissional aparece */
.class-card .card-media img.crop-top {
  object-position: 50% 0%;
}

.class-card .card-media img.crop-bottom {
  object-position: 50% 100%;
}

.class-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.class-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.class-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.link-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s var(--ease-out), color 0.2s;
}

.link-arrow:hover {
  gap: 14px;
  color: var(--purple-text);
}

.classes-cta {
  text-align: center;
  margin-top: 64px;
}

/* ===== Jornada ===== */
.journey {
  position: relative;
  background: var(--green-dark) url("imagens/fundo-historias-sucesso.png") center / cover no-repeat;
  background-attachment: fixed;
  color: var(--white);
  padding: 110px 0;
}

.journey h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.journey-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 56px;
}

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

.journey-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 30px 36px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.journey-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.journey-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--purple-text);
  margin-bottom: 28px;
}

.journey-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.journey-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== A Especialista ===== */
.specialist {
  padding: 110px 0 90px;
}

.specialist h2 {
  margin-bottom: 48px;
}

.specialist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.specialist-photo .card-media {
  border-radius: 14px;
}

.specialist-photo figcaption {
  text-align: center;
  margin-top: 22px;
}

.specialist-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--green-text);
}

.specialist-role {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.specialist-bio p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===== Histórias de sucesso ===== */
.stories {
  padding: 40px 0 110px;
}

.stories-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.stories-nav {
  display: flex;
  gap: 12px;
}

.circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #9aa18d;
  background: transparent;
  color: var(--green-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.circle-btn:hover:not(:disabled) {
  background: var(--green-text);
  color: var(--white);
  border-color: var(--green-text);
  transform: scale(1.08);
}

.circle-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.circle-btn-filled {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.testimonial {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
}

.testimonial-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote {
  position: relative;
  background: rgba(36, 48, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 44px 42px;
  max-width: 560px;
  margin: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-quote p {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-quote footer {
  margin-top: 28px;
}

.testimonial-name {
  display: block;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 1.1rem;
  color: var(--white);
}

.testimonial-meta {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Galeria ===== */
.gallery {
  padding: 0 0 110px;
}

.gallery-wrapper {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 16px 26px;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track.dragging,
.gallery-track.no-snap {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.gallery-track.dragging {
  cursor: grabbing;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 min(340px, 78vw);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: center;
  position: relative;
  transform: translateZ(0);
  box-shadow: 0 14px 34px -18px rgba(31, 42, 21, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 42, 21, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px -10px rgba(31, 42, 21, 0.4);
}

.gallery-btn:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
}

.gallery-prev {
  left: clamp(12px, 3vw, 44px);
}

.gallery-next {
  right: clamp(12px, 3vw, 44px);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #cfd2c2;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s var(--ease-out), background 0.35s ease;
}

.gallery-dots button.active {
  width: 26px;
  background: var(--green-text);
}

/* ===== Botão flutuante do WhatsApp ===== */
@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  70% {
    transform: scale(1.65);
    opacity: 0;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.4s ease-out infinite;
  z-index: -1;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 18px 40px -8px rgba(37, 211, 102, 0.75);
}

.whatsapp-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--green-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.whatsapp-float:hover .whatsapp-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before {
    animation: none;
  }
}

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

  .whatsapp-tip {
    display: none;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: 0 0 120px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: stretch;
}

.faq-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-intro h2 {
  margin-bottom: 36px;
}

/* a foto ocupa o restante da coluna, alinhando a base com o fim da lista;
   largura automática preserva a proporção — sem cortar a imagem */
.faq-photo {
  border-radius: 14px;
  width: auto;
  max-width: 100%;
  flex: 1 1 0;
  min-height: 260px;
}

.faq-photo img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--lilac-light);
  border-radius: 10px;
  overflow: hidden;
  transition: background 0.35s ease, box-shadow 0.35s ease,
    transform 0.35s var(--ease-out);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(123, 79, 163, 0.5);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--green-text);
  text-align: left;
  padding: 26px 28px;
  cursor: pointer;
  line-height: 1.3;
}

.faq-icon {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(44, 58, 30, 0.3);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, color 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  border-color: rgba(255, 255, 255, 0.4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer p {
  padding: 0 28px 26px;
  font-size: 0.85rem;
}

.faq-item.open {
  background: var(--green-deep);
}

.faq-item.open .faq-question {
  color: var(--white);
}

.faq-item.open .faq-answer {
  max-height: 420px;
}

.faq-item.open .faq-answer p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Localização ===== */
.location {
  padding: 0 0 120px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: stretch;
}

.location-info h2 {
  margin-bottom: 32px;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(44, 58, 30, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 14px 34px -22px rgba(31, 42, 21, 0.35);
  max-width: 340px;
}

.google-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-value {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--green-text);
}

.rating-stars {
  color: #fbbc04;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.rating-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.rating-link:hover {
  color: var(--purple-text);
}

.mini-review {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--lilac);
  padding-left: 14px;
  margin-bottom: 14px;
}

.location-address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 26px 0 6px;
}

.location-phone {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.location-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.location-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--green-dark);
  color: #b9c0ac;
  padding: 90px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #d7dccb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
  background: var(--lilac);
  border-color: var(--lilac);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  color: #b9c0ac;
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.2s, transform 0.3s var(--ease-out);
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-location p {
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.footer-bottom {
  padding-top: 32px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #8d957e;
}

/* ===== Responsivo ===== */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: rgba(31, 42, 21, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 32px 20px;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out),
      visibility 0.35s;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .about-header,
  .specialist-grid,
  .faq-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .location-map {
    min-height: 340px;
  }

  /* em coluna única a foto volta à altura natural */
  .faq-photo {
    flex: none;
    min-height: 0;
  }

  .faq-photo img {
    height: auto;
  }

  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

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

  .hero-stats {
    gap: 48px;
  }

  /* background fixo é instável em navegadores mobile */
  .journey {
    background-attachment: scroll;
  }

  .testimonial {
    min-height: 0;
  }

  .testimonial-quote {
    margin: 24px;
  }

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

@media (max-width: 700px) {
  /* quebras de linha fixas do layout desktop atrapalham em telas estreitas */
  .hero h1 br,
  .hero-sub br,
  .journey-sub br {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

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

  .site-header .btn {
    padding: 9px 14px;
    font-size: 0.78rem;
  }

  .nav-toggle {
    margin-left: 8px;
  }

  .hero-inner {
    padding-top: 70px;
  }

  .hero-actions {
    margin-bottom: 64px;
  }

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

  .stories-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
