/* ============================================================
   GRUPO ALVOR — Marketing Focado em Resultado
   Paleta monocromática premium · B2B
   ============================================================ */

:root {
  /* Palette */
  --ink:        #0b0b0d;
  --ink-2:      #101013;
  --surface:    #16161b;
  --surface-2:  #1d1d23;
  --line:       rgba(255, 255, 255, 0.08);
  --line-2:     rgba(255, 255, 255, 0.14);
  --text:       #f4f4f5;
  --text-2:     #b7b7bf;
  --muted:      #7d7d86;
  --gray:       #808080;
  --white:      #ffffff;

  /* Type */
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(80px, 11vw, 150px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--white); color: var(--ink); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--ink-2); }

.serif { font-family: var(--serif); font-weight: 500; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--white); color: var(--ink);
  box-shadow: 0 8px 30px -8px rgba(255,255,255,0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(255,255,255,0.4); }
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--white); background: rgba(255,255,255,0.04); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  padding-block: 22px;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 14px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand__logo { height: 34px; width: auto; transition: height .4s, opacity .4s; }
.header.scrolled .brand__logo { height: 28px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 0.92rem; color: var(--text-2); font-weight: 400;
  position: relative; transition: color .3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--white); transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__cta { color: var(--text); }
.nav__cta::after { display: none; }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px; overflow: hidden;
}
.hero__glow {
  position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
  width: min(900px, 90vw); height: 600px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.14), rgba(255,255,255,0.04) 40%, transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero__inner { position: relative; text-align: center; z-index: 1; }
.hero__logo { margin: 0 auto 56px; max-width: 320px; filter: drop-shadow(0 20px 60px rgba(255,255,255,0.15)); }
.hero__logo img { width: 100%; }

.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.98; letter-spacing: -0.02em;
}
.hero__title .accent {
  font-style: italic; font-weight: 400;
  background: linear-gradient(180deg, #fff, #9a9aa2);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub {
  max-width: 640px; margin: 36px auto 0;
  color: var(--text-2); font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__meta {
  margin-top: 56px; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gray); }

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__scroll span { width: 3px; height: 7px; background: var(--text-2); border-radius: 2px; animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Section heads ---------- */
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 84px); }
.section__head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 22px;
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 100px;
}
.section__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.02em;
}
.section__lead { margin-top: 24px; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 620px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: var(--ink); padding: clamp(28px, 3.5vw, 44px); transition: background .4s; }
.pillar:hover { background: var(--surface); }
.pillar__num { font-family: var(--serif); font-size: 0.9rem; color: var(--gray); letter-spacing: 0.1em; display: block; margin-bottom: 22px; }
.pillar h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 14px; }
.pillar p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--ink); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: clamp(36px, 5vw, 60px); }
.strip__item { display: flex; flex-direction: column; gap: 6px; }
.strip__item strong { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.strip__item span { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Cards (serviços) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .45s var(--ease), border-color .35s, background .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.card__top { display: flex; align-items: center; gap: 14px; }
.card__icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.2rem; color: var(--text);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
}
.card h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.card__desc { color: var(--text-2); font-size: 0.95rem; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.tag {
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px;
}
.card__link { font-size: 0.88rem; color: var(--text); white-space: nowrap; transition: color .3s, transform .3s; }
.card__link:hover { color: var(--text-2); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .45s var(--ease), border-color .35s, background .35s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan--featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: var(--line-2);
  box-shadow: 0 30px 80px -40px rgba(255,255,255,0.15);
}
.plan--featured::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-xl); padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--white); color: var(--ink); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}
.plan__name { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.plan__tag { color: var(--text-2); font-size: 0.95rem; min-height: 2.6em; }
.plan__price { display: flex; flex-direction: column; gap: 6px; padding-block: 20px; border-block: 1px solid var(--line); }
.plan__from { color: var(--muted); font-size: 0.85rem; text-decoration: line-through; }
.plan__by { color: var(--muted); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
.plan__value { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.15; }
.plan__per { font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--muted); }
.plan__list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 0.96rem; }
.plan__list li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 8px;
  border-left: 1.5px solid var(--white); border-bottom: 1.5px solid var(--white);
  transform: rotate(-45deg);
}
.plan__cta { margin-top: 8px; width: 100%; }
.plans__note { text-align: center; color: var(--muted); margin-top: 36px; font-size: 0.9rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; counter-reset: step; }
.step {
  display: flex; gap: 28px; padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.step:nth-child(2n) { border-right: none; }
.step:nth-last-child(-n+2) { border-bottom: none; }
.step__n { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--gray); line-height: 1; flex: none; }
.step h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 0.96rem; max-width: 420px; }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: transform .45s var(--ease), border-color .35s, background .35s;
  overflow: hidden;
}
.case::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg);
  background: radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 60%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.case:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.case:hover::after { opacity: 1; }
.case__logo {
  display: grid; place-items: center;
  height: clamp(120px, 13vw, 160px); margin-bottom: 4px;
  overflow: hidden;
}
.case__logo img {
  max-width: 70%; max-height: 64%; width: auto; height: auto;
  object-fit: contain;
  transition: transform .5s var(--ease), opacity .3s;
  opacity: 0.82;
}
.case:hover .case__logo img { transform: scale(1.05); opacity: 1; }
.case__label {
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.case__name {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.1; letter-spacing: -0.01em; word-break: break-word;
}
.case__name span { color: var(--gray); }
.case__cta {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 0.88rem; color: var(--text); transition: color .3s;
}
.case:hover .case__cta { color: var(--white); }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__mark { position: relative; }
.about__mark img { width: 100%; opacity: 0.92; filter: drop-shadow(0 20px 60px rgba(255,255,255,0.1)); }
.about__body p { color: var(--text-2); margin-top: 22px; font-size: 1.05rem; }
.about__body p strong { color: var(--text); font-weight: 600; }
.about__list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.about__list li { padding-left: 28px; position: relative; color: var(--text); }
.about__list li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 14px; height: 8px;
  border-left: 1.5px solid var(--white); border-bottom: 1.5px solid var(--white); transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq__item { background: var(--ink); padding: 4px clamp(22px, 3vw, 34px); transition: background .3s; }
.faq__item[open] { background: var(--surface); }
.faq__item summary {
  list-style: none; cursor: pointer; padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 1.6rem; font-weight: 300; color: var(--text-2);
  transition: transform .35s var(--ease); flex: none;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-2); padding-bottom: 28px; max-width: 700px; }

/* ---------- Contact (premium split, fundo branco) ---------- */
.contact {
  position: relative; padding-block: clamp(72px, 9vw, 120px);
  background: #f5f5f6; color: #0b0b0d; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; top: 30%; left: -10%; width: 60%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(37,211,102,0.07), transparent 60%);
  pointer-events: none; filter: blur(20px);
}
.contact::after {
  content: ''; position: absolute; bottom: -20%; right: -10%; width: 55%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(214,41,118,0.06), transparent 60%);
  pointer-events: none; filter: blur(20px);
}
.contact__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 64px); align-items: center;
}
.eyebrow--dark { color: #6a6a72; border-color: rgba(0,0,0,0.12); background: rgba(255,255,255,0.6); font-size: 0.7rem; }
.contact__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em;
  margin-top: 16px; color: #0b0b0d;
}
.contact__title em { font-style: italic; font-weight: 500; color: #3a3a40; }
.contact__lead { margin-top: 14px; color: #6a6a72; font-size: 0.92rem; max-width: 420px; }
.contact__perks { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.contact__perks li { display: flex; align-items: flex-start; gap: 12px; }
.perk__check {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #0b0b0d;
  margin-top: 2px;
}
.perk__check svg { width: 11px; height: 11px; }
.contact__perks li > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.contact__perks strong { font-size: 0.9rem; font-weight: 600; color: #0b0b0d; }
.contact__perks small { font-size: 0.76rem; color: #6a6a72; }

.contact__card {
  background: #fff; border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 18px 40px -26px rgba(0,0,0,0.18), 0 4px 14px -10px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}
.contact__card-label {
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #9a9aa0; display: block; margin-bottom: 6px;
}
.contact__list { display: flex; flex-direction: column; }
.contact__list li + li { border-top: 1px solid rgba(0,0,0,0.06); }
.contact__list a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 2px; color: #0b0b0d; transition: opacity .3s, transform .3s var(--ease);
}
.contact__list a:hover { transform: translateX(3px); }
.contact__ic { width: 22px; height: 22px; flex: none; color: #5a5a62; transition: color .3s; }
.contact__ic svg { width: 100%; height: 100%; }
.contact__list a:hover .contact__ic { color: #0b0b0d; }
.contact__lt { display: flex; flex-direction: column; line-height: 1.2; }
.contact__lt strong { font-size: 0.88rem; font-weight: 600; }
.contact__lt small { font-size: 0.74rem; color: #8a8a90; }
.contact__hours { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.06); text-align: center; font-size: 0.72rem; color: #9a9aa0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(60px, 8vw, 96px); padding-bottom: 32px; position: relative; }
.footer__grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 56px);
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__col h4 {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px; font-weight: 500;
}
.footer__col a { color: var(--text-2); font-size: 0.95rem; transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--text); }
.footer__logo { height: 38px; width: auto; margin-bottom: 6px; }
.footer__lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer__symbol { width: 44px; height: auto; filter: drop-shadow(0 6px 14px rgba(255,255,255,0.08)); }
.footer__wordmark { display: flex; flex-direction: column; line-height: 1; }
.footer__wordmark small { font-size: 0.62rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; padding-left: 2px; }
.footer__wordmark strong { font-size: 1.7rem; letter-spacing: 0.06em; color: var(--text); }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-2);
  border: 1px solid var(--line); transition: all .3s;
}
.footer__social a:hover { color: #fff; border-color: transparent; transform: translateY(-2px); }
.footer__social a:nth-child(1):hover { background: linear-gradient(135deg, #feda75, #d62976 55%, #962fbf); }
.footer__social a:nth-child(2):hover { background: #25D366; }
.footer__social a:nth-child(3):hover { background: #0b0b0d; }
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; color: var(--muted); font-size: 0.82rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .about__inner { grid-template-columns: 1fr; }
  .about__mark { max-width: 320px; margin-inline: auto; order: 2; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
    background: var(--ink-2); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 80px 36px;
    transform: translateX(100%); transition: transform .5s var(--ease);
    backdrop-filter: blur(20px);
  }
  .nav.open { transform: translateX(0); }
  .nav__link { font-size: 1.4rem; font-family: var(--serif); }
  .nav__cta { margin-top: 12px; }
  .burger { display: flex; z-index: 1001; }
  .burger.open span { background: var(--text); }

  .cards { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line) !important; }
  .step:last-child { border-bottom: none !important; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .hero__logo { max-width: 240px; margin-bottom: 40px; }
  .contact__secondary { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
