/* ==========================================================================
   HS Contabilidade Consultiva — Design System
   Marca: gradiente #2255FF → #00AAFF | cinza #A7A9AC
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root {
  --blue-700: #1a3fd6;
  --blue-600: #2255ff;
  --blue-500: #1a7fff;
  --blue-400: #00aaff;
  --navy-900: #071233;
  --navy-800: #0b1c4a;
  --navy-700: #12276a;
  --gray-brand: #a7a9ac;
  --ink: #17233b;
  --ink-soft: #4a5a75;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eef4ff;
  --white: #ffffff;

  --grad: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-400) 100%);
  --grad-deep: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-600) 130%);

  --shadow-sm: 0 2px 8px rgba(18, 39, 106, .06);
  --shadow-md: 0 14px 40px rgba(18, 39, 106, .10);
  --shadow-lg: 0 30px 70px rgba(18, 39, 106, .16);
  --shadow-blue: 0 18px 40px rgba(34, 85, 255, .28);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .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: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 900; }
h3 { font-size: 1.32rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { position: relative; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow.light { color: #bcd4ff; }
.eyebrow.light::before { background: linear-gradient(90deg, #00aaff, #fff); }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1rem; letter-spacing: -.01em;
  padding: 15px 30px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(34,85,255,.4); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-outline { background: #fff; color: var(--blue-700); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand svg, .brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 700; font-size: .98rem; color: var(--ink); padding: 9px 15px; border-radius: 10px;
  position: relative; transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--blue-600); background: var(--bg-tint); }
.nav-links a.active { color: var(--blue-600); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2.5px;
  border-radius: 2px; background: var(--grad);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.6px; background: var(--navy-900); border-radius: 3px; transition: .3s; }
.nav-toggle span + span { margin-top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-deep); color: #fff;
  padding: clamp(70px, 11vw, 130px) 0 clamp(90px, 12vw, 150px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(0,170,255,.45), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(34,85,255,.5), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000, transparent);
          mask-image: radial-gradient(75% 75% at 50% 40%, #000, transparent);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: #8fd0ff; }
.hero p.lead { color: #cfe0ff; max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .num { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.hero-trust .lbl { font-size: .82rem; color: #a9c3ff; font-weight: 600; margin-top: 6px; }

/* Hero visual — floating mark card */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.mark-card {
  position: relative; width: min(340px, 78%); aspect-ratio: 1;
  border-radius: 40px;
  background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 40px 90px rgba(0,0,0,.35);
  display: grid; place-items: center;
  animation: floaty 6s ease-in-out infinite;
}
.mark-card svg { width: 52%; filter: drop-shadow(0 12px 24px rgba(0,0,0,.3)); }
.badge-float {
  position: absolute; background: #fff; color: var(--navy-900);
  border-radius: 16px; padding: 13px 18px; box-shadow: var(--shadow-lg);
  font-weight: 800; font-size: .9rem; display: flex; align-items: center; gap: 10px;
}
.badge-float small { display: block; font-weight: 600; font-size: .72rem; color: var(--ink-soft); }
.badge-float .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.badge-1 { top: 6%; left: -6%; animation: floaty 5s ease-in-out infinite; }
.badge-2 { bottom: 8%; right: -8%; animation: floaty 5.6s ease-in-out .5s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* wave divider */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 16px 0 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* logo strip / stats band */
.stats-band { background: var(--navy-900); color: #fff; }
.stats-band .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-block: 40px; }
.stat { text-align: center; padding: 6px; }
.stat .n { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; background: linear-gradient(120deg,#7fd0ff,#fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .t { color: #a9c3ff; font-weight: 600; font-size: .92rem; margin-top: 2px; }
.stats-band .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* Services grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .ico {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue-600); margin-bottom: 20px;
  transition: background .35s, color .35s;
}
.card:hover .ico { background: var(--grad); color: #fff; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .num-chip {
  position: absolute; top: 22px; right: 24px; font-weight: 900; font-size: 1.1rem;
  color: var(--line);
}

/* Feature / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--grad-deep); min-height: 420px; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; padding: 30px;
}
.split-media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 20%, rgba(0,170,255,.5), transparent 60%);
}
.split-media .glass {
  position: relative; z-index: 2; width: 100%; max-width: 360px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px; padding: 26px; backdrop-filter: blur(8px); color: #fff;
}
.split-media .glass h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: .95rem; }
.mini-row:first-of-type { border-top: 0; }
.mini-row .ck { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.mini-row .ck svg { width: 15px; height: 15px; }

.check-list { display: grid; gap: 15px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list .ck {
  width: 26px; height: 26px; border-radius: 8px; flex: none; margin-top: 1px;
  background: var(--bg-tint); color: var(--blue-600); display: grid; place-items: center;
}
.check-list .ck svg { width: 15px; height: 15px; }
.check-list li span small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .92rem; }

/* Pill list */
.pill-set { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; font-weight: 700; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.pill.on { background: var(--grad); color: #fff; border-color: transparent; }

/* CTA band */
.cta {
  background: var(--grad); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 66px); text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-blue);
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(50% 80% at 15% 10%, rgba(255,255,255,.3), transparent 55%),
              radial-gradient(50% 80% at 90% 100%, rgba(7,18,51,.35), transparent 55%);
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 14px auto 30px; font-size: 1.1rem; }
.cta .btn-primary { background: #fff; color: var(--blue-700); box-shadow: 0 18px 40px rgba(7,18,51,.25); }
.cta .btn-primary:hover { box-shadow: 0 26px 54px rgba(7,18,51,.35); }

/* ==========================================================================
   Page hero (interior)
   ========================================================================== */
.page-hero {
  background: var(--grad-deep); color: #fff; overflow: hidden; position: relative;
  padding: clamp(58px, 8vw, 96px) 0 clamp(64px, 9vw, 100px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 60% at 85% 10%, rgba(0,170,255,.4), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; max-width: 780px; }
.page-hero h1 { color: #fff; margin: 18px 0 18px; }
.page-hero p { color: #cfe0ff; font-size: 1.15rem; max-width: 56ch; }
.crumbs { font-size: .86rem; color: #9fbcff; font-weight: 600; }
.crumbs a:hover { color: #fff; }

/* Team / director card */
.director { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.director-photo {
  border-radius: var(--radius-lg); background: var(--grad-deep); min-height: 380px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: end stretch;
}
.director-photo::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 60% at 30% 20%, rgba(0,170,255,.45), transparent 60%); }
.director-photo .tag {
  position: relative; z-index: 2; margin: 22px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 18px 20px; color: #fff;
}
.director-photo .tag strong { font-size: 1.35rem; display: block; font-weight: 900; }
.director-photo .tag em { font-style: normal; color: #9fd3ff; font-weight: 700; }
.director-initials { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.director-initials span { font-size: 8rem; font-weight: 900; color: rgba(255,255,255,.12); letter-spacing: -.04em; }

.value-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-cards .card .ico { border-radius: 50%; }

/* Timeline */
.tl { display: grid; gap: 0; margin-top: 10px; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.tl-item:first-child { border-top: 0; }
.tl-year { font-weight: 900; font-size: 1.3rem; color: var(--blue-600); }
.tl-item p { color: var(--ink-soft); }
.tl-item h4 { margin-bottom: 4px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.info-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item .k { font-weight: 800; color: var(--navy-900); }
.info-item .v { color: var(--ink-soft); font-weight: 500; }
.info-item a.v:hover { color: var(--blue-600); }

form.card { box-shadow: var(--shadow-md); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--navy-900); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(0,170,255,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 22px; }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ==========================================================================
   Sócios
   ========================================================================== */
.socios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.socio {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.socio::after { content:""; position:absolute; left:0; top:0; height:4px; width:100%; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease); }
.socio:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.socio:hover::after { transform: scaleX(1); }
.socio-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.socio-ini {
  width: 58px; height: 58px; border-radius: 16px; flex: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em;
  box-shadow: var(--shadow-blue);
}
.socio-top h3 { font-size: 1.22rem; margin-bottom: 2px; }
.socio-role { font-weight: 700; font-size: .86rem; color: var(--blue-600); }
.socio-list { display: grid; gap: 10px; }
.socio-list li { position: relative; padding-left: 22px; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.socio-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 3px;
  background: var(--grad);
}

/* ==========================================================================
   Client logos marquee
   ========================================================================== */
.logos { padding: clamp(46px, 6vw, 72px) 0; background: var(--bg-soft); overflow: hidden; }
.logos .label { text-align: center; color: var(--ink-soft); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 34px; }
.marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 22px; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item {
  flex: none; height: 104px; width: 210px; padding: 18px 26px;
  display: grid; place-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  color: var(--gray-brand); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.logo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-400); }
.logo-item img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #cdd8f0; padding-top: 66px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.site-footer .brand svg, .site-footer .brand img { height: 46px; }
.footer-about p { margin-top: 18px; font-size: .95rem; color: #93a5cc; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h5 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.footer-col a, .footer-col li { display: block; padding: 6px 0; color: #93a5cc; font-weight: 600; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #7e90ba; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 14px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mark-card, .badge-float { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 300px; order: -1; }
  .split, .director, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .cards, .value-cards { grid-template-columns: repeat(2, 1fr); }
  .socios-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band .container { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stats-band .stat:nth-child(3), .stats-band .stat:nth-child(1) { border-left: 0; }
  .stats-band .stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
  .stats-band .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 22px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { padding: 13px 12px; border-radius: 10px; }
  .site-header.open .nav-links a.active::after { display: none; }
  .cards, .value-cards, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .hero-trust { gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .badge-float { display: none; }
}
