/* ==========================================================================
   Joana Rodrigues — Landing Page
   Mobile-first, premium, single page, CTA-focused (WhatsApp)
   ========================================================================== */

:root {
  /* Brand palette — neutro quente (retratos de estúdio) + acento terracota (energia esportiva) */
  --ink: #2b2420;
  --ink-soft: #6b5d51;
  --cream: #faf6f0;
  --sand: #f1e6d8;
  --leather: #a9754f;
  --leather-light: #efdfc8;
  --terracotta: #e85c3f;
  --terracotta-dark: #b8402a;
  --terracotta-soft: #fbe3da;
  --white: #ffffff;

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --shadow-soft: 0 12px 32px rgba(43, 36, 32, 0.16);
  --shadow-card: 0 8px 24px rgba(43, 36, 32, 0.1);

  --container-max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}

.container--narrow { max-width: 640px; }

.container--split {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leather);
  margin-bottom: 12px;
}

.eyebrow--center { text-align: center; }
.eyebrow--on-dark { color: var(--terracotta-soft); }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 18px;
}

.section__title--center { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }

.section__subtitle {
  text-align: center;
  max-width: 480px;
  margin: -8px auto 36px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.section {
  padding: 72px 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  width: 100%;
  max-width: 420px;
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.42); }
.btn--primary:active { transform: translateY(0); }

.btn--large { font-size: 1.05rem; padding: 18px 32px; }

.btn--outline {
  background: transparent;
  color: var(--leather);
  border: 2px solid var(--leather);
  padding: 14px 28px;
}

.btn--outline:hover { background: var(--leather); color: var(--white); }

.icon-whatsapp { width: 22px; height: 22px; flex-shrink: 0; }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding: 48px 20px 56px;
  text-align: center;
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 78%);
  overflow: hidden;
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: 0;
}

.hero__bg-shape--1 {
  width: 260px; height: 260px;
  background: var(--leather-light);
  top: -80px; left: -90px;
  opacity: 0.5;
  animation: float-slow 9s ease-in-out infinite;
}

.hero__bg-shape--2 {
  width: 220px; height: 220px;
  background: var(--terracotta-soft);
  bottom: 40px; right: -80px;
  opacity: 0.8;
  animation: float-slow 11s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.05); }
}

/* ---------- Entrada suave da hero ao carregar a página ---------- */

.hero__photo,
.hero .eyebrow,
.hero__title,
.hero__subtitle,
.hero .btn,
.hero__microtext {
  opacity: 0;
  animation: fade-up-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__photo { animation-delay: 0.05s; }
.hero .eyebrow { animation-delay: 0.28s; }
.hero__title { animation-delay: 0.38s; }
.hero__subtitle { animation-delay: 0.5s; }
.hero .btn { animation-delay: 0.62s; }
.hero__microtext { animation-delay: 0.74s; }

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__photo {
  width: min(78vw, 320px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero__title span {
  color: var(--terracotta-dark);
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 400px;
}

.hero__microtext {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero__microtext--on-dark { color: rgba(255,255,255,0.75); }

.hero__scroll-cue {
  width: 2px;
  height: 40px;
  background: linear-gradient(var(--leather), transparent);
  margin: 40px auto 0;
  opacity: 0.5;
}

/* ==========================================================================
   IDENTIFICAÇÃO COM O PROBLEMA
   ========================================================================== */

.section--problem { background: var(--white); }

.problem-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid rgba(169, 117, 79, 0.14);
}

.problem-icon { font-size: 1.3rem; flex-shrink: 0; }

.problem-transition {
  text-align: center;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--terracotta-dark);
}

/* ==========================================================================
   QUEM SOU EU
   ========================================================================== */

.section--about { background: var(--sand); }

.about__media {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.about__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.badge-float {
  position: absolute;
  bottom: -18px;
  right: -10px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
  padding: 14px 18px;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--terracotta-soft);
}

.about__text { max-width: 560px; margin: 0 auto; }

.about__text .section__title { text-align: center; }

.about__text p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.check-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.96rem;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   COMO POSSO TE AJUDAR
   ========================================================================== */

.section--services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(169, 117, 79, 0.12);
}

.service-icon { font-size: 2rem; display: block; margin-bottom: 14px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.service-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--leather);
  background: var(--leather-light);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ==========================================================================
   PROVA DE AUTORIDADE
   ========================================================================== */

.section--gallery { background: var(--sand); }

.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}

.authority-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease, box-shadow 0.35s ease;
}

.authority-item.is-visible { opacity: 1; transform: translateY(0); }

.authority-item:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(43, 36, 32, 0.2); }

.authority-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.authority-item:hover img { transform: scale(1.06); }

.authority-item .item-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(43, 36, 32, 0.78), transparent);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
}

.authority-grid .authority-item:nth-child(1) { transition-delay: 0.02s; }
.authority-grid .authority-item:nth-child(2) { transition-delay: 0.1s; }
.authority-grid .authority-item:nth-child(3) { transition-delay: 0.18s; }

/* ==========================================================================
   TRUST CARDS
   ========================================================================== */

.section--trust { background: var(--white); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}

.trust-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(169, 117, 79, 0.12);
}

.trust-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.trust-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ==========================================================================
   CTA INTERMEDIÁRIO
   ========================================================================== */

.section--cta-mid {
  background: linear-gradient(135deg, var(--ink), var(--leather));
  text-align: center;
}

.cta-mid__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 14px;
}

.cta-mid__text {
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.section--cta-mid .btn--primary {
  margin: 0 auto;
}

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */

.section--steps { background: var(--sand); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  text-align: center;
  position: relative;
  padding-top: 8px;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--terracotta);
  color: var(--terracotta-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-card);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

.steps__reinforce {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--leather);
  line-height: 2;
}

/* ==========================================================================
   BASTIDORES
   ========================================================================== */

.section--behind { background: var(--white); }

/* ---------- Carrossel manual (rolagem por toque/arraste, sem loop) ---------- */

.hscroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  margin: 40px -24px 0;
  padding-left: 24px;
  padding-right: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--leather); border-radius: 10px; }

.hscroll > * { scroll-snap-align: start; }

.marquee-item {
  flex: 0 0 auto;
  width: 66vw;
  max-width: 260px;
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
}

.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

.marquee-item:hover img { transform: scale(1.06); }

.marquee-item .item-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.section--faq { background: var(--sand); }

.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid rgba(169, 117, 79, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 18px 20px;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--terracotta-soft);
  color: var(--terracotta-dark);
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--terracotta-dark);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; transition: opacity 0.25s ease; }

.faq-question[aria-expanded="true"] .faq-icon { background: var(--terracotta); }
.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after { background: var(--white); }
.faq-question[aria-expanded="true"] .faq-icon::after { opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   LOCALIZAÇÃO
   ========================================================================== */

.section--location { background: var(--white); }

.location__text p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.98rem;
}

.location__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.section--cta-final {
  position: relative;
  background: linear-gradient(160deg, var(--terracotta-dark), var(--ink));
  text-align: center;
  overflow: hidden;
}

.cta-final__bg-shape {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,223,200,0.28), transparent 70%);
  top: -120px; right: -100px;
}

.cta-final__photo {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(255,255,255,0.5);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-soft);
}

.cta-final__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
  position: relative;
}

.cta-final__text {
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  font-size: 0.98rem;
  position: relative;
}

.cta-final__buttons {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 calc(32px + env(safe-area-inset-bottom));
  text-align: center;
}

.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.footer__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.footer__role { font-size: 0.85rem; color: var(--terracotta-soft); margin-bottom: 20px; }

.footer__addresses {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.footer__address-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.footer__address {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer__links { display: flex; gap: 18px; margin-bottom: 24px; }

.footer__links a {
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__links a:hover { opacity: 1; transform: translateY(-2px); }

.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.float-whatsapp {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom) + 12px);
  right: max(20px, env(safe-area-inset-right) + 12px);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  z-index: 50;
  animation: pulse-wa 2.4s infinite;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.float-whatsapp.is-hidden {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.12); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}

.lightbox.is-open { display: flex; }

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   MOTION FLUIDO — revelação suave ao rolar a página
   ========================================================================== */

main .eyebrow,
main .section__title,
main .section__subtitle,
.about__media,
.about__text,
.service-card,
.trust-card,
.step,
.cta-mid__title,
.cta-mid__text,
.cta-final__title,
.cta-final__text,
.steps__reinforce,
.hscroll--behind,
.footer__inner--reveal,
.cta-final__buttons,
.problem-list,
.problem-transition,
.faq-list,
.location__text,
.location__map {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

main .eyebrow.is-visible,
main .section__title.is-visible,
main .section__subtitle.is-visible,
.about__media.is-visible,
.about__text.is-visible,
.service-card.is-visible,
.trust-card.is-visible,
.step.is-visible,
.cta-mid__title.is-visible,
.cta-mid__text.is-visible,
.cta-final__title.is-visible,
.cta-final__text.is-visible,
.steps__reinforce.is-visible,
.hscroll--behind.is-visible,
.footer__inner--reveal.is-visible,
.cta-final__buttons.is-visible,
.problem-list.is-visible,
.problem-transition.is-visible,
.faq-list.is-visible,
.location__text.is-visible,
.location__map.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about__text { transition-delay: 0.1s; }
.location__map { transition-delay: 0.1s; }

.services-grid .service-card:nth-child(1) { transition-delay: 0.02s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.18s; }

.trust-grid .trust-card:nth-child(1) { transition-delay: 0.02s; }
.trust-grid .trust-card:nth-child(2) { transition-delay: 0.08s; }
.trust-grid .trust-card:nth-child(3) { transition-delay: 0.14s; }
.trust-grid .trust-card:nth-child(4) { transition-delay: 0.2s; }
.trust-grid .trust-card:nth-child(5) { transition-delay: 0.26s; }
.trust-grid .trust-card:nth-child(6) { transition-delay: 0.32s; }

.steps .step:nth-child(1) { transition-delay: 0.02s; }
.steps .step:nth-child(2) { transition-delay: 0.14s; }
.steps .step:nth-child(3) { transition-delay: 0.26s; }

/* ---------- Micro-interações (hover) ---------- */

.service-card,
.trust-card {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover,
.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(43, 36, 32, 0.18);
}

.trust-icon,
.service-icon {
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-card:hover .trust-icon,
.service-card:hover .service-icon {
  transform: scale(1.18) rotate(-6deg);
}

.btn { transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }

.step__number {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step:hover .step__number {
  transform: scale(1.1) translateY(-2px);
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.badge-float {
  animation: badge-pulse 3.2s ease-in-out infinite;
}

.cta-final__bg-shape {
  animation: float-slow 10s ease-in-out infinite;
}

/* ==========================================================================
   RESPONSIVE — celular (padrão) · tablet 600px+ · desktop 1000px+
   ========================================================================== */

/* ---------- Tablet ---------- */

@media (min-width: 600px) {
  .footer__addresses { flex-direction: row; gap: 48px; justify-content: center; }
  .marquee-item { max-width: 300px; }
  .hero__photo { width: min(60vw, 360px); }
  .authority-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-list { max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* Em telas de tablet (2 colunas), evita deixar o 3º card órfão sozinho
   numa linha — centraliza ele com a mesma largura dos outros dois. */
@media (min-width: 600px) and (max-width: 999px) {
  .services-grid > .service-card:last-child,
  .authority-grid > .authority-item:last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc(50% - 9px);
    margin: 0 auto;
  }
}

@media (min-width: 720px) {
  .section { padding: 100px 0; }

  .hero { padding: 72px 20px 80px; }
  .hero__content { max-width: 640px; }

  .container--split {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .about__media { flex: 0 0 42%; }
  .about__text { flex: 1; max-width: 560px; text-align: left; margin: 0; }
  .about__text .section__title { text-align: left; }

  .location__text { flex: 1; max-width: 480px; }
  .location__map { flex: 1; width: 100%; }

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

  .steps { flex-direction: row; max-width: none; align-items: flex-start; }
  .step { flex: 1; }

  .btn--primary { width: auto; }

  .cta-final__buttons { flex-direction: row; justify-content: center; }
}

/* ---------- Desktop ---------- */

@media (min-width: 1000px) {
  .hero__content { max-width: 720px; }
  .hero__title { font-size: 2.8rem; }
  .hero__photo { width: 380px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .marquee-item { max-width: 320px; }
  .authority-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .container { padding: 0 40px; }
  .hscroll { margin-left: -40px; margin-right: -40px; padding-left: 40px; padding-right: 40px; }
}

/* ---------- Telas muito grandes ---------- */

@media (min-width: 1600px) {
  :root { --container-max: 1240px; }
  .hero__content { max-width: 800px; }
  .hero__photo { width: 420px; }
  .hero__title { font-size: 3.1rem; }
  .authority-item, .marquee-item { max-width: 360px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }

  main .eyebrow,
  main .section__title,
  main .section__subtitle,
  .about__media,
  .about__text,
  .service-card,
  .trust-card,
  .step,
  .cta-mid__title,
  .cta-mid__text,
  .cta-final__title,
  .cta-final__text,
  .steps__reinforce,
  .hscroll--behind,
  .footer__inner--reveal,
  .cta-final__buttons,
  .problem-list,
  .problem-transition,
  .faq-list,
  .location__text,
  .location__map,
  .authority-item,
  .hero__photo,
  .hero .eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero .btn,
  .hero__microtext {
    opacity: 1 !important;
    transform: none !important;
  }
}
