/* ============================
   AprovaReforma — Brand Identity
   Paleta: #8CCB00 verde lima | #000 preto | #333 grafite | #777 neutro | #E6E6E6 claro | #FFF
   Tipografia: Inter
   ============================ */

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

:root {
  --lime: #8CCB00;
  --lime-dark: #74a800;
  --lime-light: #a8e02a;
  --lime-bg: #f4fbe6;

  --black: #000000;
  --grafite: #333333;
  --neutro: #777777;
  --claro: #E6E6E6;
  --light: #F5F5F5;
  --white: #FFFFFF;

  --red: #D94040;
  --red-bg: #FEF2F2;
  --red-border: #FECACA;

  --amber: #D97706;
  --amber-bg: #FFFBEB;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.1);
  --shadow-xl: 0 24px 48px rgba(0,0,0,.12);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

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

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 14px 32px; border-radius: var(--radius-full); border: none;
  cursor: pointer; transition: all .3s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden;
}

.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s;
}
.btn:hover::after { transform: translateX(100%); }

.btn--primary {
  background: var(--lime); color: var(--black);
  box-shadow: 0 4px 16px rgba(140, 203, 0, .35);
}
.btn--primary:hover {
  background: var(--lime-dark); transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(140, 203, 0, .45);
}
.btn--primary:active { transform: translateY(0) scale(.98); }

.btn--outline {
  background: transparent; color: var(--grafite);
  border: 2px solid var(--claro);
}
.btn--outline:hover { border-color: var(--lime); color: var(--black); background: var(--lime-bg); }

.btn--lg { font-size: 1.1rem; padding: 18px 40px; }
.btn--sm { font-size: .85rem; padding: 10px 22px; }
.btn--full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: box-shadow .3s, background .3s;
}
.navbar--scrolled { box-shadow: var(--shadow-md); background: rgba(255,255,255,.98); }

.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo-icon { width: 36px; height: 36px; object-fit: contain; }
.navbar__logo-text { font-size: 1.2rem; font-weight: 800; color: var(--black); }
.navbar__logo-text em { font-style: normal; color: var(--lime); }

.navbar__links { display: flex; gap: 32px; }
.navbar__links a {
  font-size: .9rem; font-weight: 500; color: var(--neutro);
  transition: color .2s; position: relative;
}
.navbar__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--lime); transition: width .3s var(--ease);
}
.navbar__links a:hover { color: var(--black); }
.navbar__links a:hover::after { width: 100%; }

.navbar__cta { display: flex; }

.navbar__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all .3s; }

.navbar__mobile {
  display: none; flex-direction: column; padding: 16px 24px 24px;
  gap: 16px; border-top: 1px solid var(--claro);
}
.navbar__mobile a { font-size: 1rem; font-weight: 500; color: var(--grafite); padding: 8px 0; }

@media (max-width: 768px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__mobile.active { display: flex; }
}

/* ===== HERO ===== */
.hero {
  padding: 110px 0 70px;
  background: var(--light);
  position: relative; overflow: hidden;
}

.hero__bg-grid {
  position: absolute; inset: 0; opacity: .4;
  background-image:
    linear-gradient(rgba(140,203,0,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,203,0,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero__inner {
  display: grid; grid-template-columns: 1fr 440px; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}

/* Hero badge */
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--lime-dark);
  background: var(--white); border: 1px solid rgba(140,203,0,.2);
  padding: 8px 18px; border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--black); margin-bottom: 20px;
}
.highlight { color: var(--lime-dark); }

.hero__sub {
  font-size: 1.05rem; color: var(--neutro); line-height: 1.7; margin-bottom: 28px;
}

.hero__trust { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--grafite); }
.check-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--lime);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero stats */
.hero__stats {
  display: flex; gap: 0; margin-bottom: 24px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--claro); overflow: hidden;
}
.stat {
  flex: 1; padding: 20px 16px; text-align: center;
  border-right: 1px solid var(--claro);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: 2rem; font-weight: 800; color: var(--lime-dark);
  line-height: 1; display: inline;
}
.stat__plus { font-size: 1.5rem; font-weight: 700; color: var(--lime-dark); }
.stat__label { display: block; font-size: .72rem; color: var(--neutro); margin-top: 6px; line-height: 1.3; }

/* Phone mockup */
.hero__phone {
  width: 100%; background: var(--white);
  border-radius: 24px; box-shadow: var(--shadow-xl);
  overflow: hidden; border: 1px solid var(--claro);
}
.phone__header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: #075E54; color: var(--white);
}
.phone__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: .8rem;
}
.phone__name { font-weight: 600; font-size: .9rem; }
.phone__status { font-size: .72rem; opacity: .8; }

.phone__messages {
  padding: 14px; display: flex; flex-direction: column; gap: 6px;
  background: #ECE5DD; min-height: 280px;
}

.msg {
  max-width: 82%; padding: 8px 12px; border-radius: 10px;
  font-size: .82rem; line-height: 1.4;
}
.msg--received { background: var(--white); align-self: flex-start; border-top-left-radius: 3px; }
.msg--sent { background: #DCF8C6; align-self: flex-end; border-top-right-radius: 3px; }

.msg__file {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.05); padding: 8px 10px; border-radius: 8px;
  margin-bottom: 4px; font-weight: 600; font-size: .78rem; color: var(--grafite);
}

/* Message animation */
.msg-anim { opacity: 0; transform: translateY(10px); }
.msg-anim.msg-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero { padding: 90px 0 40px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .stat__number { font-size: 1.5rem; }
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--black); margin-bottom: 16px; text-align: center;
}
.section__sub {
  font-size: 1rem; color: var(--neutro); text-align: center;
  max-width: 640px; margin: 0 auto 48px; line-height: 1.6;
}
.section__intro {
  font-size: 1rem; color: var(--neutro); line-height: 1.65; margin-bottom: 16px;
}

/* ===== DOR ===== */
.section--dor { background: var(--white); }
.dor__text { margin-bottom: 32px; }
.dor__text p { font-size: 1rem; color: var(--neutro); line-height: 1.7; margin-bottom: 14px; }

.dor__virada {
  text-align: center; padding: 24px;
  background: var(--lime-bg); border-radius: var(--radius);
  border-left: 4px solid var(--lime);
}
.dor__virada span { font-size: 1.15rem; font-weight: 700; color: var(--lime-dark); }

/* ===== STEPS ===== */
.section--steps { background: var(--light); }

.steps-wrapper { position: relative; margin-top: 48px; }

.steps-line {
  display: none; position: absolute; top: 40px; left: 50px; right: 50px;
  height: 3px; background: var(--claro); z-index: 0;
}
.steps-line__fill {
  height: 100%; width: 0; background: var(--lime);
  transition: width 1.2s var(--ease);
}

@media (min-width: 901px) {
  .steps-line { display: block; }
}

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative; z-index: 1;
}

.step {
  background: var(--white); border: 1px solid var(--claro);
  border-radius: var(--radius-lg); padding: 36px 20px 28px;
  text-align: center; transition: transform .4s var(--ease), box-shadow .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.step__circle {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid var(--lime); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
  background: var(--white); transition: all .3s var(--ease);
}
.step__circle span { font-size: .85rem; font-weight: 700; color: var(--lime-dark); }
.step:hover .step__circle { background: var(--lime); }
.step:hover .step__circle span { color: var(--white); }

.step__icon { color: var(--lime-dark); margin-bottom: 14px; }
.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.step p { font-size: .85rem; color: var(--neutro); line-height: 1.5; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ===== PRICING ===== */
.section--pricing { background: var(--white); }

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

.pricing__card {
  background: var(--white); border: 1px solid var(--claro);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.pricing__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.pricing__card--featured {
  background: var(--grafite); color: var(--white);
  border: 2px solid var(--lime); box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing__card--featured:hover { transform: translateY(-6px) scale(1.03); }
.pricing__card--featured .pricing__label { color: rgba(255,255,255,.5); }
.pricing__card--featured .pricing__desc { color: rgba(255,255,255,.6); }
.pricing__card--featured .pricing__tax { color: rgba(255,255,255,.5); }
.pricing__card--featured .pricing__feature { color: rgba(255,255,255,.8); }
.pricing__card--featured .pricing__name { color: var(--white); }

.pricing__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--black);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 20px; border-radius: var(--radius-full); white-space: nowrap;
}

.pricing__label {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--neutro);
}
.pricing__name { font-size: 1.3rem; font-weight: 800; color: var(--black); margin-top: 4px; }
.pricing__desc { font-size: .85rem; color: var(--neutro); margin-top: 8px; line-height: 1.45; }

.pricing__price { margin: 24px 0 8px; display: flex; align-items: baseline; gap: 4px; }
.pricing__currency { font-size: 1.2rem; font-weight: 700; color: var(--lime-dark); }
.pricing__amount { font-size: 3rem; font-weight: 900; color: var(--black); line-height: 1; }
.pricing__card--featured .pricing__currency,
.pricing__card--featured .pricing__amount { color: var(--white); }

.pricing__tax { font-size: .8rem; color: var(--neutro); margin-bottom: 24px; display: block; }

.pricing__features { flex: 1; margin-bottom: 24px; }
.pricing__feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--grafite); padding: 6px 0; line-height: 1.4;
}
.pricing__feature svg { flex-shrink: 0; margin-top: 2px; }

.pricing__disclaimer {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 32px;
  padding: 20px 24px; background: var(--amber-bg);
  border: 1px solid #FDE68A; border-radius: var(--radius);
  color: var(--grafite); font-size: .88rem; line-height: 1.55;
}
.pricing__disclaimer svg { flex-shrink: 0; color: var(--amber); margin-top: 2px; }

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing__card--featured { transform: none; }
  .pricing__card--featured:hover { transform: translateY(-6px); }
}

/* ===== WARNING ===== */
.section--warning { background: var(--light); }

.warning-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 28px 0;
}
.warning-card {
  background: var(--red-bg); border: 1px solid var(--red-border);
  border-radius: var(--radius-lg); padding: 28px 22px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.warning-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.warning-card__number {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.warning-card h3 { font-size: .95rem; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.warning-card p { font-size: .88rem; color: var(--neutro); line-height: 1.5; }

.warning__closing {
  padding: 24px; background: var(--lime-bg);
  border-left: 4px solid var(--lime); border-radius: var(--radius);
}
.warning__closing p { font-size: .95rem; color: var(--grafite); line-height: 1.6; }

@media (max-width: 768px) { .warning-cards { grid-template-columns: 1fr; } }

/* ===== TABLE ===== */
.section--table { background: var(--white); }

.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 24px; }

.reform-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: .88rem;
}
.reform-table thead { background: var(--black); color: var(--white); }
.reform-table th {
  padding: 14px 20px; text-align: left;
  font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
}
.reform-table td { padding: 13px 20px; border-bottom: 1px solid var(--claro); color: var(--grafite); }
.reform-table tbody tr:last-child td { border-bottom: none; }
.reform-table tbody tr { transition: background .2s; }
.reform-table tbody tr:hover { background: var(--light); }

.badge {
  display: inline-block; font-size: .78rem; font-weight: 600;
  padding: 4px 14px; border-radius: var(--radius-full); white-space: nowrap;
}
.badge--simple { background: #EFF6FF; color: #3B82F6; }
.badge--complete { background: var(--lime-bg); color: var(--lime-dark); }
.badge--commercial { background: var(--amber-bg); color: var(--amber); }

.table__note {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 22px; background: var(--light); border-radius: var(--radius);
  border: 1px solid var(--claro);
}
.table__note svg { flex-shrink: 0; color: var(--neutro); margin-top: 2px; }
.table__note p { font-size: .88rem; color: var(--neutro); line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.section--testimonials { background: var(--light); }

.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.testimonial {
  background: var(--white); border: 1px solid var(--claro);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testimonial__stars { color: #F59E0B; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial blockquote {
  font-size: .92rem; color: var(--grafite); line-height: 1.6;
  flex: 1; margin-bottom: 20px;
}
.testimonial__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--claro);
}
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--white); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: .88rem; color: var(--black); }
.testimonial__author span { font-size: .78rem; color: var(--neutro); }

@media (max-width: 768px) { .testimonials { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.section--faq { background: var(--white); }

.faq { margin-top: 40px; }

.faq__item {
  background: var(--light); border: 1px solid var(--claro);
  border-radius: var(--radius); margin-bottom: 10px;
  overflow: hidden; transition: box-shadow .2s, border-color .3s;
}
.faq__item:hover { box-shadow: var(--shadow-sm); }
.faq__item[open] { border-color: var(--lime); }

.faq__item summary {
  padding: 18px 24px; font-size: .95rem; font-weight: 600;
  color: var(--black); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; transition: background .2s;
}
.faq__item summary:hover { background: rgba(140,203,0,.05); }
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+'; font-size: 1.4rem; font-weight: 300;
  color: var(--lime-dark); transition: transform .3s var(--spring);
  flex-shrink: 0; margin-left: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--lime); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--white); }

.faq__answer { padding: 0 24px 20px; }
.faq__answer p { font-size: .92rem; color: var(--neutro); line-height: 1.6; }

/* ===== CTA FINAL ===== */
.section--cta { background: var(--black); color: var(--white); }

.cta-final { text-align: center; padding: 20px 0; }

.cta-final__pre {
  display: inline-block; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--lime);
  margin-bottom: 12px;
}

.section__title--white { color: var(--white); }

.cta-final p { font-size: 1.05rem; color: var(--neutro); margin-bottom: 32px; }

.cta-final .btn { margin-bottom: 16px; }

.cta-final__hours { display: block; font-size: .82rem; color: var(--neutro); }

/* ===== FOOTER ===== */
.footer { background: var(--white); color: var(--neutro); padding: 60px 0 0; border-top: 1px solid var(--claro); }

.footer__inner {
  display: grid; grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px; padding-bottom: 40px;
}
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo img { width: 40px; height: 40px; object-fit: contain; }
.footer__logo span { font-size: 1.1rem; font-weight: 800; color: var(--black); }
.footer__logo em { font-style: normal; color: var(--lime); }

.footer__col h4 {
  font-size: .85rem; font-weight: 700; color: var(--black);
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em;
}
.footer__col p, .footer__col li { font-size: .88rem; line-height: 1.6; margin-bottom: 6px; }
.footer__col a { color: var(--lime-dark); transition: color .2s; }
.footer__col a:hover { color: var(--lime); }

.footer__bottom { border-top: 1px solid var(--claro); padding: 20px 0; }
.footer__bottom p { font-size: .78rem; color: var(--neutro); text-align: center; margin-bottom: 4px; }

@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr; gap: 30px; } }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: transform .3s var(--spring), box-shadow .3s;
  animation: float-bounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 8px 30px rgba(37, 211, 102, .5); }

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== ANIMATIONS ===== */

/* Entrance animations for hero */
.anim-fade-up {
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s var(--ease) forwards;
}
.anim-fade-down {
  opacity: 0; transform: translateY(-20px);
  animation: fadeDown .6s var(--ease) forwards;
}
.anim-fade-left {
  opacity: 0; transform: translateX(40px);
  animation: fadeLeft .9s var(--ease) forwards;
}

.anim-delay-1 { animation-delay: .15s; }
.anim-delay-2 { animation-delay: .3s; }
.anim-delay-3 { animation-delay: .45s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].revealed {
  opacity: 1; transform: translateY(0);
}

/* Stagger delays via JS data-delay attribute */
[data-reveal][style*="--delay"] {
  transition-delay: var(--delay);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal], .anim-fade-up, .anim-fade-down, .anim-fade-left, .msg-anim {
    opacity: 1; transform: none;
  }
  .hero__bg-grid { animation: none; }
}
