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

:root {
  /* Brand palette — verde esmeralda e dourado, herdado da identidade dela */
  --emerald-dark: #0f2e24;
  --emerald: #1f5c46;
  --emerald-soft: #e3efe8;
  --gold: #b6893a;
  --gold-light: #f2e6cb;
  --cream: #faf8f3;
  --ink: #1f2620;
  --ink-soft: #5c675f;
  --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(15, 46, 36, 0.16);
  --shadow-card: 0 8px 24px rgba(15, 46, 36, 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(--gold);
  margin-bottom: 12px;
}

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

.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; }

.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(--emerald-soft) 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(--gold-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(--emerald-soft);
  bottom: 40px; right: -80px;
  opacity: 0.9;
  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(--emerald);
  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(--gold), transparent);
  margin: 40px auto 0;
  opacity: 0.5;
}

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

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

.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: 20% 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(--gold-light);
}

.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(--emerald);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.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(15, 46, 36, 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(15, 46, 36, 0.75), 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(31, 92, 70, 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(--emerald-dark), var(--emerald));
  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(--emerald-soft); }

.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(--gold);
  color: var(--gold);
  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(--emerald);
  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(--gold); 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;
}

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

.section--cta-final {
  position: relative;
  background: linear-gradient(160deg, var(--emerald-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(182,137,58,0.32), transparent 70%);
  top: -120px; right: -100px;
}

.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.8);
  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(--gold-light); 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(9, 20, 15, 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,
.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 {
  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,
.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 {
  opacity: 1;
  transform: translateY(0);
}

.about__text { transition-delay: 0.1s; }

.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) ---------- */

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

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

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

.trust-card:hover .trust-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); }
}

@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; }

  .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); }
  .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,
  .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,
  .authority-item,
  .hero__photo,
  .hero .eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero .btn,
  .hero__microtext {
    opacity: 1 !important;
    transform: none !important;
  }
}
