:root {
  --navy: #14127a;
  --ink: #07062e;
  --silver: #9aa3b5;
  --blue: #1f4fd8;
  --blue-soft: #e8efff;
  --text: #1c2142;
  --muted: #566080;
  --line: #dbe2f4;
  --paper: #f4f6fc;
  --white: #fff;
  --radius: 14px;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--navy); font-family: var(--display); font-weight: 800; font-stretch: 112%; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 999px; font: 700 1rem var(--body); border: 2px solid transparent; cursor: pointer; transition: color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: none; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(20, 18, 122, .25); }
.btn--primary::before { background: var(--blue); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light::before { background: var(--blue-soft); }
.btn--sm { padding: 10px 20px; font-size: .95rem; }

/* Reading progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 80; background: linear-gradient(90deg, var(--navy), var(--blue)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Header */
.header { position: sticky; top: 0; z-index: 70; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(7, 6, 46, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 68px; }
.brand img { height: 64px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .brand img { height: 50px; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 260px; background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(244, 246, 252, .82) 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.7rem); font-stretch: 106%; line-height: 1.06; margin-bottom: .55em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero .lead, .hero__actions { opacity: 0; animation: fade .8s .6s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation-delay: .75s; }

.hero__stats { background: var(--navy); color: #fff; border-radius: 22px; padding: 12px 36px; box-shadow: 0 30px 60px rgba(20, 18, 122, .28); opacity: 0; transform: translateY(24px); animation: lift .9s .35s var(--ease) forwards; }
.big { padding: 28px 0; }
.big + .big { border-top: 1px solid rgba(154, 163, 181, .45); }
.big__num { display: block; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(4.2rem, 8.5vw, 7rem); line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.big__plus { color: var(--silver); margin-right: .04em; }
.big__label { display: block; margin-top: 8px; font-size: 1.2rem; font-weight: 600; color: #c9d3ff; }

/* Hero trace (the logo's zig-zag, drawn on load) */
.hero__line { position: absolute; left: 0; right: 0; bottom: 0; height: 250px; pointer-events: none; }
.trace-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.trace { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3000; stroke-dashoffset: 3000; }
.trace--navy { stroke: var(--navy); stroke-width: 5; }
.trace--silver { stroke: var(--silver); stroke-width: 5; }
.trace-dot { fill: var(--blue); stroke: rgba(31, 79, 216, .22); stroke-width: 12; opacity: 0; }
.hero__peak { opacity: 0; transition: opacity .4s; }
.hero__peak.is-on { opacity: 1; }
.peak-dot { fill: var(--navy); }
.peak-ring { fill: none; stroke: var(--blue); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.hero__peak.is-on .peak-ring { animation: ping 2.6s infinite var(--ease); }

@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes lift { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }

/* Scroll-drawn divider (same zig-zag as the logo) */
.section--audience { position: relative; padding-bottom: 190px; overflow: hidden; }
.zz { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; }

/* Sections */
.section { padding: 100px 0; }
.section--soft { background: rgba(244, 246, 252, .8); }
.section--blue { background: linear-gradient(135deg, var(--ink), var(--navy) 55%, #1c3fb5); color: #fff; overflow: hidden; }
.section--blue h2 { color: #fff; }
.section__head { max-width: 720px; margin: 0 0 48px; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Service cards */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { border-color: #b9c6ee; box-shadow: 0 18px 40px rgba(20, 18, 122, .10); }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s, transform .5s var(--ease); }
.card:hover .card__icon { background: var(--navy); transform: rotate(-6deg) scale(1.06); }
.card__icon svg, .info__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .card__icon svg { stroke: #fff; }

.ticks { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .96rem; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fd8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }

.callout { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--blue-soft); border-radius: var(--radius); padding: 28px 32px; }
.callout h3 { margin: 0 0 4px; }
.callout p { margin: 0; color: var(--muted); }

/* Steps: a real sequence, so numbers + a line that fills on scroll */
.steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 3px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--navy), var(--blue)); transform-origin: left; transform: scaleX(var(--steps-p, 0)); }
.steps li { position: relative; padding-top: 0; }
.steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--line); color: var(--muted); font: 800 1rem var(--display); margin-bottom: 20px; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.steps li.is-on span { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.1); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; max-width: 30ch; }

/* Audience tiles */
.tile { border-top: 4px solid var(--navy); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); padding: 24px 22px; transition: border-color .3s, background .3s; }
.tile:hover { border-color: var(--blue); background: var(--blue-soft); }
.tile h3 { font-size: 1.05rem; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* TARE */
.tare { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.tare p { color: #dbe3ff; font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314127a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.tare__visual { display: grid; place-items: center; }
.tare__badge { position: relative; width: min(320px, 80vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: rgba(255, 255, 255, .07); border: 2px solid rgba(255, 255, 255, .35); }
.tare__badge::before, .tare__badge::after { content: ""; position: absolute; border-radius: 50%; border: 2px dashed rgba(154, 163, 181, .7); }
.tare__badge::before { inset: -22px; animation: spin 40s linear infinite; }
.tare__badge::after { inset: -46px; border-color: rgba(255, 255, 255, .22); animation: spin 60s linear infinite reverse; }
.tare__badge span { font: 900 4.4rem/1 var(--display); font-stretch: 125%; letter-spacing: -.03em; }
.tare__badge small { margin-top: 10px; color: #c9d4ff; font-size: .95rem; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 64px; align-items: center; }
.about__body { display: grid; gap: 32px; min-width: 0; }
.about__photo { position: relative; isolation: isolate; margin: 0; }
.about__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; border: 3px solid var(--navy); border-radius: 18px; transform: translate(14px, 14px); }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 18px; box-shadow: 0 24px 50px rgba(20, 18, 122, .18); }
.about p { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value { border-left: 4px solid var(--navy); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; }
.value h3 { font-size: 1.05rem; margin-bottom: 0; }
.value--wide { grid-column: 1 / -1; }
.value p { margin: 0; font-size: .95rem; }

/* Content links */
.link-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .3s, box-shadow .3s; }
.link-card:hover { border-color: var(--blue); box-shadow: 0 18px 40px rgba(20, 18, 122, .10); }
.link-card p { color: var(--muted); }
.link-card span { color: var(--blue); font-weight: 700; display: inline-block; transition: transform .3s var(--ease); }
.link-card:hover span { transform: translateX(6px); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; interpolate-size: allow-keywords; transition: border-color .3s; }
.faq details[open] { border-color: #b9c6ee; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: stretch; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.info { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: border-color .3s, transform .3s var(--ease); }
.info:hover { border-color: var(--blue); transform: translateX(6px); }
.info__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; }
.info small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }
.info strong { color: var(--navy); overflow-wrap: anywhere; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; margin-top: 6px; }
.form h3 { margin: 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--text); resize: vertical; transition: border-color .25s, box-shadow .25s, background .25s; }
.form input:focus, .form textarea:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 79, 216, .12); outline: none; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #c62828; animation: shake .35s; }
.form__note { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.form__note a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.contact__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 18, 122, .10); background: var(--paper); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Footer */
.footer { background: var(--ink); color: #c9d4ff; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: center; padding: 52px 0 40px; }
.footer__brand img { height: 68px; width: auto; background: #fff; padding: 8px 16px; border-radius: 12px; }
.footer p { margin: 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .88rem; text-align: center; }

/* WhatsApp */
.wa-float { border: 0; cursor: pointer; font: inherit; font-weight: 800; position: fixed; right: 18px; bottom: 18px; z-index: 75; display: flex; align-items: center; gap: 10px; background: #1faa59; color: #fff; padding: 14px 20px; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1faa59; animation: wa-ping 3s 2s infinite var(--ease); }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-float[aria-expanded="true"]::after { animation: none; opacity: 0; }
.wa-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(7, 6, 46, .55); animation: wa-fade .2s var(--ease); }
.wa-menu { position: fixed; inset: 0; margin: auto; z-index: 91; width: min(400px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(7, 6, 46, .4); padding: 18px 10px 10px; animation: wa-menu-in .22s var(--ease); }
.wa-backdrop[hidden] { display: none; }
.wa-menu__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding: 0 6px 0 10px; }
.wa-menu__close { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; transition: background .2s; }
.wa-menu__close:hover { background: var(--blue-soft); }
.wa-menu__close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wa-menu__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wa-menu[hidden] { display: none; }
.wa-menu__title { margin: 6px 0 0; font-family: var(--display); font-weight: 800; color: var(--navy); line-height: 1.3; }
.wa-menu ul { list-style: none; margin: 0; padding: 0; }
.wa-menu a, .wa-menu__item--off { display: flex; flex-direction: column; padding: 7px 10px; border-radius: 10px; line-height: 1.35; }
.wa-menu a { transition: background .2s; }
.wa-menu a:hover, .wa-menu a:focus-visible { background: var(--blue-soft); }
.wa-menu a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.wa-menu__name { font-weight: 700; color: var(--navy); }
.wa-menu__num { font-size: .92rem; color: #157a3e; font-weight: 600; }
.wa-menu__item--off { opacity: .55; }
.wa-menu__item--off .wa-menu__num { color: var(--muted); font-weight: 400; }
@keyframes wa-menu-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes wa-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .8; } 60%, 100% { transform: scale(1.35, 1.7); opacity: 0; } }

/* Scroll reveal (staggered inside each group via --i) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .ticks li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.35s + var(--j, 0) * 80ms); }
.js .card.is-visible .ticks li { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
}
@media (max-width: 960px) {
  .hero { padding-bottom: 210px; }
  .section--audience { padding-bottom: 150px; }
  .hero__inner, .tare, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .about { gap: 48px; }
  .about__photo { max-width: 520px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4, .steps { grid-template-columns: 1fr 1fr; }
  .steps::before, .steps::after { display: none; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tare__visual { order: -1; padding: 40px 0; }
  .tare__badge { width: min(230px, 62vw); }
}
@media (max-width: 520px) {
  :root { --header-h: 72px; }
  .brand img { height: 52px; }
  .section { padding: 68px 0; }
  .hero { padding: 52px 0 170px; }
  .hero__line { height: 150px; }
  .hero__stats { padding: 4px 24px; }
  .grid--4, .steps, .values { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
}

/* Reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .ln > span, .hero .lead, .hero__actions, .hero__stats { opacity: 1; transform: none; }
  .trace { stroke-dashoffset: 0; }
  .hero__peak { opacity: 1; }
  .js .reveal, .js .ticks li { opacity: 1; transform: none; }
}

/* Phones and tablets: longer title wraps naturally, balanced, with a fluid size */
@media (max-width: 960px) {
  .hero h1 { font-size: clamp(1.75rem, 7.2vw, 3rem); line-height: 1.1; overflow-wrap: break-word; }
  .hero h1 .ln { white-space: normal; text-wrap: balance; }
  .hero .lead { text-align: left; }
}
@media (max-width: 600px) {
  .trace--navy, .trace--silver { stroke-width: 4; }
}

/* Running text is justified; hyphenation (lang pt-BR) keeps word gaps small in narrow columns.
   Bullet lists stay left-aligned: short items that wrap would stretch into wide gaps. */
main p:not(.form__note) {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Content section: wider intro so the example sentence fits on one line */
#conteudo .section__head { max-width: 880px; }

/* One- or two-line card blurbs read better left-aligned than stretched */
main .link-card p { text-align: left; }

/* Background emblem (fixed, behind the content): drifts, tilts and fades with the scroll */
.bg-emblem { position: fixed; left: 50%; top: 50%; width: min(56vh, 84vw); height: auto; aspect-ratio: 600 / 840; margin: calc(min(56vh, 84vw) * -.7) 0 0 calc(min(56vh, 84vw) * -.5); z-index: -1; color: var(--navy); opacity: .07; pointer-events: none; transition: opacity 1.2s var(--ease); will-change: transform; }
@media (max-width: 960px) { .bg-emblem { opacity: .05; } }
