/* ==========================================================================
   Würth do Brasil — Portal Institucional
   Design System / Folha de estilo principal
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marca */
  --red:            #cc0000;
  --red-600:        #b30000;
  --red-700:        #8f0000;
  --red-300:        #ff3b3b;
  --red-soft:       rgba(204, 0, 0, .08);
  --red-glow:       rgba(204, 0, 0, .35);

  /* Neutros (tema claro) */
  --bg:             #ffffff;
  --bg-alt:         #f4f5f7;
  --bg-elev:        #ffffff;
  --ink:            #101215;
  --ink-2:          #3d4249;
  --ink-3:          #6b727c;
  --line:           #e3e6ea;
  --line-2:         #eef0f3;

  /* Superfícies escuras (usadas em ambos os temas) */
  --dark:           #0d0f12;
  --dark-2:         #14171c;
  --dark-3:         #1d2128;
  --on-dark:        #f2f4f6;
  --on-dark-2:      #a4acb7;

  /* Formas */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  30px;
  --r-pill: 999px;

  /* Sombras */
  --sh-1: 0 1px 2px rgba(16,18,21,.05), 0 2px 8px rgba(16,18,21,.05);
  --sh-2: 0 4px 12px rgba(16,18,21,.07), 0 12px 32px rgba(16,18,21,.08);
  --sh-3: 0 10px 24px rgba(16,18,21,.10), 0 28px 64px rgba(16,18,21,.14);
  --sh-red: 0 8px 22px rgba(204,0,0,.28);

  /* Tipografia */
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --topbar-h: 38px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .68, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="dark"] {
  --bg:      #0d0f12;
  --bg-alt:  #14171c;
  --bg-elev: #171a1f;
  --ink:     #f2f4f6;
  --ink-2:   #c3cad3;
  --ink-3:   #8b939e;
  --line:    #262b32;
  --line-2:  #1e222a;
  --red:     #ef2b2b;
  --red-600: #d81d1d;
  --red-soft: rgba(239, 43, 43, .12);
  --sh-1: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  --sh-2: 0 4px 12px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.4);
  --sh-3: 0 10px 24px rgba(0,0,0,.5), 0 28px 64px rgba(0,0,0,.55);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark-2); }
.section--dark h2, .section--dark h3 { color: #fff; }
/* Cards mantêm a cor de tinta do próprio card, mesmo em seções escuras */
.section--dark .card h3, .section--dark .div-card h3, .section--dark .cat h3,
.section--dark .stat .n, .section--dark .info-item .v { color: var(--ink); }
.section--dark .card:hover h3 { color: var(--red); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.skip {
  position: fixed; left: 0; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
  transform: translateY(-140%); transition: transform .25s var(--ease-out);
}
.skip:focus { transform: translateY(0); }

/* ---------- 4. Utilitários de texto ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section--dark .eyebrow { color: var(--red-300); }
.section--dark .eyebrow::before { background: var(--red-300); }
.lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem); color: var(--ink-3); max-width: 68ch; }
.section--dark .lead { color: var(--on-dark-2); }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.head.center { margin-inline: auto; }
.txt-red { color: var(--red); }

/* ---------- 5. Botões ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: .95rem; letter-spacing: .005em;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .65s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-red); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--red); color: var(--red); box-shadow: var(--sh-2); }
.btn--on-dark { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; border-color: rgba(255,255,255,.22); }
.btn--on-dark:hover { --btn-bg: rgba(255,255,255,.16); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }

/* Link com seta */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: var(--red); font-size: .93rem;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- 6. Topbar ---------- */
.topbar {
  background: var(--dark); color: var(--on-dark-2);
  font-size: .8rem; height: var(--topbar-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-info { display: flex; align-items: center; gap: 22px; }
.topbar-info a, .topbar-links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-info a:hover, .topbar-links a:hover { color: #fff; }
.topbar-info svg, .topbar-links svg { width: 14px; height: 14px; opacity: .75; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
/* Compliance: presente em toda página, com realce contido — nota, não anúncio. */
.topbar-cta {
  padding: 4px 12px 4px 10px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05);
  font-weight: 600; color: #e9ecf0;
  transition: background .25s, border-color .25s, color .25s;
}
.topbar-cta svg { opacity: .9; color: var(--red-300); }
.topbar-cta:hover { background: var(--red); border-color: var(--red); color: #fff; }
.topbar-cta:hover svg { color: #fff; }
.topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,.16); }
.lang { display: inline-flex; gap: 4px; }
.lang button {
  padding: 3px 8px; border-radius: var(--r-sm); font-size: .74rem; font-weight: 700;
  letter-spacing: .04em; color: var(--on-dark-2); transition: .2s;
}
.lang button[aria-current="true"] { background: var(--red); color: #fff; }
.lang button:not([aria-current="true"]):hover { background: rgba(255,255,255,.1); color: #fff; }
.theme-toggle {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  transition: background .2s, transform .4s var(--ease);
}
.theme-toggle:hover { background: rgba(255,255,255,.12); transform: rotate(25deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 900px) { .topbar-info .hide-sm, .topbar-links .hide-sm { display: none; } }
@media (max-width: 620px) { .topbar-info { gap: 14px; } .topbar-info span.mail { display: none; } }

/* ---------- 7. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s, border-color .3s;
}
.header.is-stuck { box-shadow: var(--sh-2); background: color-mix(in srgb, var(--bg) 96%, transparent); }
.header .wrap { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { display: block; height: 32px; }
.brand-mark svg { height: 32px; width: auto; fill: var(--red); transition: transform .45s var(--ease-out); }
.brand:hover .brand-mark svg { transform: translateY(-3px) rotate(-5deg); }
.brand-word {
  font-family: var(--font-display); font-weight: 900; font-size: 1.42rem;
  letter-spacing: .015em; color: var(--ink); line-height: 1;
  transition: color .3s;
}
.brand-word .u { letter-spacing: .01em; }

/* Navegação principal */
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { list-style: none; position: relative; }
.dropdown > li { list-style: none; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 600; color: var(--ink);
  transition: color .22s, background .22s;
}
.nav-link .chev { width: 12px; height: 12px; opacity: .55; transition: transform .3s var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .34s var(--ease-out);
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-item.is-active > .nav-link { color: var(--red); }
.nav-item:hover .nav-link .chev, .nav-item:focus-within .nav-link .chev { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 268px; padding: 10px; margin: 0; list-style: none;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
  transition: opacity .26s var(--ease), transform .3s var(--ease-out), visibility .26s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 14px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.dropdown a {
  display: flex; align-items: center; gap: 11px; padding: 10px 13px;
  border-radius: var(--r-sm); font-size: .9rem; font-weight: 550; color: var(--ink-2);
  transition: background .2s, color .2s, padding-left .25s var(--ease-out);
}
.dropdown a .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line); flex: none; transition: .2s; }
.dropdown a:hover { background: var(--red-soft); color: var(--red); padding-left: 18px; }
.dropdown a:hover .dot { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.dropdown a small { display: block; font-weight: 450; font-size: .76rem; color: var(--ink-3); }

.nav-cta { margin-left: 10px; flex-shrink: 0; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  place-items: center; margin-left: auto; transition: background .2s;
}
.burger:hover { background: var(--bg-alt); }
.burger span {
  display: block; width: 21px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(390px, 88vw); z-index: 120;
  background: var(--bg-elev); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .42s var(--ease-out);
  display: flex; flex-direction: column; overflow-y: auto; padding: 22px;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); }
.drawer-close svg { width: 18px; height: 18px; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer .m-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 4px; font-size: 1.04rem; font-weight: 650; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.drawer .m-link svg { width: 15px; height: 15px; opacity: .5; transition: transform .3s var(--ease); }
.drawer .m-link[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--red); }
.drawer .m-sub { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.drawer .m-sub a {
  display: block; padding: 11px 4px 11px 18px; font-size: .93rem; color: var(--ink-3);
  border-left: 2px solid var(--line); margin-left: 6px;
}
.drawer .m-sub a:hover { color: var(--red); border-color: var(--red); }
.drawer .btn { margin-top: 22px; justify-content: center; }
.scrim {
  position: fixed; inset: 0; z-index: 110; background: rgba(8,10,13,.55);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .35s;
}
.scrim.is-open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

@media (max-width: 1080px) {
  .nav-list, .nav-cta { display: none; }
  .burger { display: grid; }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark-2);
  padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 108px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 130%; z-index: -2;
  background:
    radial-gradient(46% 52% at 78% 18%, rgba(204,0,0,.5), transparent 62%),
    radial-gradient(42% 46% at 12% 78%, rgba(204,0,0,.22), transparent 66%),
    radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,.07), transparent 60%);
  filter: blur(6px);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero .wrap { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .stroke {
  -webkit-text-stroke: 1.4px rgba(255,255,255,.75); color: transparent;
}
.hero .lead { color: rgba(255,255,255,.78); font-size: clamp(1.03rem, .97rem + .4vw, 1.22rem); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 15px 7px 8px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .8rem; font-weight: 600; color: #fff; backdrop-filter: blur(8px);
}
.hero-badge b {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--red); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Cartão de destaque do hero */
.hero-card {
  position: relative; padding: 28px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.hero-card h3 { color: #fff; font-size: 1.06rem; margin-bottom: 4px; }
.hero-card > p { font-size: .87rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(255,255,255,.1); border-radius: var(--r-md); overflow: hidden; }
.hero-stat { background: rgba(13,15,18,.55); padding: 20px 18px; }
.hero-stat .n {
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em;
}
.hero-stat .n span { color: var(--red-300); }
.hero-stat .l { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 6px; letter-spacing: .01em; }

/* Ticker de divisões */
.ticker {
  background: var(--red); color: #fff; overflow: hidden; padding: 13px 0;
  border-block: 1px solid rgba(255,255,255,.12);
}
.ticker-track { display: flex; gap: 44px; width: max-content; animation: slide 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: .93rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.ticker-item::before { content: ""; width: 6px; height: 6px; background: #fff; border-radius: 50%; opacity: .8; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px; border-radius: var(--r-lg);
  background: var(--bg-elev); border: 1px solid var(--line);
  box-shadow: var(--sh-1); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--red), var(--red-300));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: 8px; transition: color .25s; }
.card:hover h3 { color: var(--red); }
.card p { font-size: .94rem; color: var(--ink-3); margin-bottom: 18px; }
.card .arrow-link { margin-top: auto; }
.card-ico {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 20px;
  transition: transform .4s var(--ease-out), background .3s;
}
.card-ico svg { width: 25px; height: 25px; stroke-width: 1.7; }
.card:hover .card-ico { transform: scale(1.08) rotate(-5deg); background: var(--red); color: #fff; }
.card--link { cursor: pointer; }

/* Card numerado (divisões) */
.div-card {
  position: relative; padding: 26px 24px; border-radius: var(--r-lg);
  background: var(--bg-elev); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), color .3s;
}
.div-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(150deg, var(--red-600), var(--red) 55%, #e01b1b);
  opacity: 0; transition: opacity .4s var(--ease);
}
.div-card > * { position: relative; z-index: 1; }
.div-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.div-card:hover::before { opacity: 1; }
.div-card:hover h3, .div-card:hover p, .div-card:hover .div-n { color: #fff; }
.div-card:hover .div-ico { background: rgba(255,255,255,.18); color: #fff; }
.div-n {
  font-family: var(--font-display); font-size: .76rem; font-weight: 800; letter-spacing: .14em;
  color: var(--ink-3); transition: color .3s;
}
.div-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin: 14px 0 16px; transition: .35s;
}
.div-ico svg { width: 23px; height: 23px; stroke-width: 1.7; }
.div-card h3 { font-size: 1.1rem; margin-bottom: 6px; transition: color .3s; }
.div-card p { font-size: .86rem; color: var(--ink-3); margin: 0; transition: color .3s; }

/* Lista do mapa do site */
.map-list { list-style: none; margin: 0; padding: 0; }
.map-list li + li { margin-top: 2px; }
.map-list a {
  display: flex; align-items: center; gap: 7px; padding: 7px 0;
  font-size: .92rem; color: var(--ink-2); transition: color .2s, transform .3s var(--ease-out);
}
.map-list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line); flex: none; transition: .2s; }
.map-list a:hover { color: var(--red); transform: translateX(4px); }
.map-list a:hover::before { background: var(--red); }
.map-list svg { width: 12px; height: 12px; opacity: .5; }
.card .map-list { margin-top: 4px; }

/* Estatísticas */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg-elev); padding: clamp(26px, 3.4vw, 40px) 26px; text-align: center; transition: background .3s; }
.stat:hover { background: var(--red-soft); }
.stat .n {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; line-height: 1;
  font-size: clamp(1.7rem, 1.1rem + 2.1vw, 2.9rem); color: var(--ink); white-space: nowrap;
}
.stat .n .suf { color: var(--red); font-size: .74em; }
.stat .l { margin-top: 10px; font-size: .87rem; color: var(--ink-3); }

/* ---------- 10. Faixa CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #b30000, #cc0000 45%, #e51f1f);
  color: #fff; padding: clamp(38px, 5.4vw, 66px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  box-shadow: var(--sh-3);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 80% at 88% 20%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(30% 60% at 8% 90%, rgba(0,0,0,.2), transparent 60%);
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 320px; height: 320px;
  border: 42px solid rgba(255,255,255,.08); border-radius: 50%;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.86); margin: 0; max-width: 56ch; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--red); }
.cta-band .btn:hover { box-shadow: 0 10px 28px rgba(0,0,0,.28); }
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- 11. Páginas internas ---------- */
.page-hero {
  position: relative; background: var(--dark); color: var(--on-dark-2); overflow: hidden;
  padding: clamp(44px, 6vw, 74px) 0 clamp(38px, 5vw, 60px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 120% at 82% 10%, rgba(204,0,0,.42), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,.05), transparent 40%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 62ch; margin: 0; }

.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; font-size: .82rem; color: rgba(255,255,255,.55); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: #fff; }
.crumb li::after { content: "/"; margin-left: 8px; opacity: .45; }
.crumb li:last-child { color: #fff; font-weight: 600; }
.crumb li:last-child::after { content: none; }

.layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 940px) { .layout { grid-template-columns: 1fr; } }

/* Menu lateral */
.side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-title {
  font-family: var(--font-display); font-size: .76rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; padding-left: 4px;
}
.side-nav { list-style: none; margin: 0 0 26px; padding: 0; }
.side-nav a {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r-md); font-size: .93rem; font-weight: 600;
  color: var(--ink-2); border: 1px solid transparent;
  transition: background .25s, color .25s, transform .3s var(--ease-out), border-color .25s;
}
.side-nav a::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 3px; height: 0; background: var(--red); border-radius: 3px;
  transition: height .3s var(--ease-out);
}
.side-nav a:hover { background: var(--bg-alt); color: var(--red); transform: translateX(3px); }
.side-nav a[aria-current="page"] {
  background: var(--red-soft); color: var(--red); border-color: color-mix(in srgb, var(--red) 22%, transparent);
}
.side-nav a[aria-current="page"]::before { height: 22px; }
.side-card {
  padding: 22px; border-radius: var(--r-lg); background: var(--dark); color: var(--on-dark-2);
  box-shadow: var(--sh-2);
}
.side-card h4 { color: #fff; font-size: 1rem; font-family: var(--font-display); margin: 0 0 8px; }
.side-card p { font-size: .85rem; margin-bottom: 16px; color: rgba(255,255,255,.65); }
.side-card .btn { width: 100%; justify-content: center; }
@media (max-width: 940px) {
  .side { position: static; }
  .side-nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .side-nav a { border: 1px solid var(--line); }
}

/* Conteúdo editorial */
.prose { max-width: 78ch; }
.prose--wide { max-width: none; }
.prose--wide > p, .prose--wide > ul, .prose--wide > h2,
.prose--wide > .callout, .prose--wide > .hero-actions { max-width: 78ch; }
.prose > h2 { margin-top: 1.7em; }
.prose > h2:first-child { margin-top: 0; }
.prose p { font-size: 1.02rem; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.6em; }
.prose ul li {
  position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 1rem;
}
.prose ul li::before {
  content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px;
  border-radius: 3px; background: var(--red); transform: rotate(45deg);
}
.prose a:not(.btn):not(.arrow-link):not(.assist-card) {
  color: var(--red); font-weight: 600; border-bottom: 1px solid color-mix(in srgb, var(--red) 35%, transparent);
  transition: border-color .2s;
}
.prose a:not(.btn):not(.arrow-link):not(.assist-card):hover { border-color: var(--red); }
.callout {
  display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r-md);
  background: var(--bg-alt); border-left: 3px solid var(--red); margin: 26px 0;
}
.callout svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.callout p:last-child { margin: 0; }
.callout h4 { margin: 0 0 4px; font-size: 1rem; }

/* Blocos de contato/endereço */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 28px 0; }
.info-item {
  padding: 22px; border-radius: var(--r-md); background: var(--bg-elev);
  border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease-out);
}
.info-item:hover { border-color: var(--red); transform: translateY(-3px); }
.info-item .k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.info-item .v { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.4; }
.info-item .v a:hover { color: var(--red); }

/* Grade de catálogos */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 20px; }
.cat {
  display: flex; flex-direction: column; height: 100%;
  padding: 14px; border-radius: var(--r-md); background: var(--bg-elev);
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.cat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--red); transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.cat:hover::before { transform: scaleY(1); }
/* Miniatura da capa — proporção exata do arquivo (150x212), sem distorcer */
.cat-thumb {
  display: block; aspect-ratio: 150 / 212; margin-bottom: 13px; overflow: hidden;
  border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line-2);
}
[data-theme="dark"] .cat-thumb { border-color: transparent; }
.cat-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.cat:hover .cat-thumb img { transform: scale(1.045); }
.cat-tag {
  align-self: flex-start; font-size: .63rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 6px;
  background: var(--red-soft); color: var(--red); margin-bottom: 10px;
}
.cat h3 { font-size: .93rem; line-height: 1.3; margin-bottom: 12px; }
.cat .arrow-link { margin-top: auto; font-size: .84rem; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter {
  padding: 9px 17px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 620;
  border: 1px solid var(--line); color: var(--ink-2); background: var(--bg-elev);
  transition: .25s var(--ease-out);
}
.filter:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--sh-red); }
.search-box { position: relative; margin-bottom: 18px; max-width: 420px; }
.search-box input {
  width: 100%; padding: 14px 16px 14px 46px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--ink);
  font-size: .95rem; font-family: inherit; transition: border-color .25s, box-shadow .25s;
}
.search-box input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.search-box svg { position: absolute; left: 17px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--ink-3); }
.empty { padding: 40px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--r-md); }

/* Timeline / notícias */
.news { display: grid; gap: 18px; }
.news-item {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 22px; align-items: start;
  padding: 24px; border-radius: var(--r-md); background: var(--bg-elev); border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.news-date {
  text-align: center; padding: 12px 8px; border-radius: var(--r-sm);
  background: var(--red-soft); color: var(--red);
}
.news-date .d { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.news-date .m { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.news-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.news-item p { font-size: .93rem; color: var(--ink-3); margin: 0; }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; gap: 14px; } .news-date { display: inline-flex; gap: 8px; align-items: baseline; } }

/* Mapa estático estilizado */
.map-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px;
  background: linear-gradient(140deg, var(--dark-2), var(--dark));
  border: 1px solid var(--line); display: grid; place-items: center; padding: 34px;
}
.map-card::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-pin {
  position: relative; z-index: 1; display: grid; place-items: center; text-align: center; color: #fff;
}
.map-pin .pin {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); margin: 0 auto 16px; box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
.map-pin .pin svg { width: 27px; height: 27px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(204,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0); } }
.map-pin strong { font-family: var(--font-display); font-size: 1.16rem; display: block; }
.map-pin span { color: rgba(255,255,255,.66); font-size: .92rem; }

/* Acordeão */
.acc { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--bg-elev); }
.acc + .acc { margin-top: 12px; }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  text-align: left; transition: background .25s;
}
.acc-btn:hover { background: var(--bg-alt); }
.acc-btn svg { width: 18px; height: 18px; color: var(--red); flex: none; transition: transform .35s var(--ease); }
.acc-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .42s var(--ease-out); }
.acc-panel > div { padding: 0 24px 22px; color: var(--ink-3); font-size: .96rem; }

/* ---------- 12. Assistência técnica — grade de categorias ---------- */
/* A grade responde à largura da coluna de conteúdo (não à da janela), para que
   as cinco categorias fiquem lado a lado sempre que houver espaço — nunca 4+1. */
.prose--wide { container-type: inline-size; }
.assist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px; margin: 30px 0 34px;
}
@container (max-width: 759px) { .assist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 760px) { .assist-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@container (max-width: 470px) { .assist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.assist-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 14px 12px; text-align: center;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.assist-card::after {
  content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.assist-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.assist-card:hover::after { transform: scaleX(1); }
.assist-thumb {
  height: 112px; display: grid; place-items: center; padding: 8px; margin-bottom: 13px;
  background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line-2);
}
[data-theme="dark"] .assist-thumb { background: #eef0f3; border-color: transparent; }
.assist-thumb img { max-height: 96px; width: auto; object-fit: contain; }
.assist-card h3 {
  font-size: .94rem; line-height: 1.25; margin: 0 0 3px; transition: color .25s;
}
.assist-card:hover h3 { color: var(--red); }
.assist-card .assist-sub { display: block; font-size: .78rem; color: var(--ink-3); }
.assist-tag {
  margin-top: auto; padding-top: 13px; display: block;
  font-size: .78rem; font-weight: 650; line-height: 1.35; color: var(--red);
}
/* seta em linha com o texto, para acompanhar a última palavra quando o rótulo quebra */
.assist-tag svg {
  display: inline-block; width: 12px; height: 12px; vertical-align: -1px; margin-left: 5px;
  transition: transform .3s var(--ease-out);
}
.assist-card:hover .assist-tag svg { transform: translateX(3px); }

/* ---------- 13. Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  padding: var(--gutter); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-scrim { position: absolute; inset: 0; background: rgba(13,15,18,.62); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; width: min(470px, 100%); max-height: 86vh; overflow-y: auto;
  padding: clamp(26px, 3.4vw, 36px); background: var(--bg-elev);
  border-radius: var(--r-lg); border-top: 4px solid var(--red); box-shadow: var(--sh-3);
  transform: translateY(18px) scale(.97); transition: transform .35s var(--ease-out);
}
.modal.is-open .modal-box { transform: none; }
.modal-box h3 { font-size: 1.32rem; margin: 0 0 6px; padding-right: 34px; }
.modal-box > p { margin: 0; font-size: .95rem; color: var(--ink-3); }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%; color: var(--ink-3);
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--bg-alt); color: var(--red); }
.modal-close svg { width: 17px; height: 17px; }
.modal-list { list-style: none; margin: 20px 0 0; padding: 0; }
.modal-list li {
  display: flex; gap: 12px; align-items: flex-start; margin: 0;
  padding: 13px 0; border-top: 1px solid var(--line-2); font-size: .96rem; color: var(--ink);
}
.modal-list li::before { content: none; }
.modal-list svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 4px; }
.modal-list b {
  display: block; font-size: .71rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; margin-bottom: 1px;
}
.modal-list a { color: inherit; border: 0; font-weight: 600; transition: color .2s; }
.modal-list a:hover { color: var(--red); }
.modal-box .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* ---------- 14. Rodapé ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding: clamp(52px, 6vw, 78px) 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 3.4vw, 48px); padding-bottom: 48px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }
.footer .brand-mark, .footer .brand-mark svg { height: 30px; }
.footer .brand-word { color: #fff; }
.drawer .brand-mark, .drawer .brand-mark svg { height: 28px; }
.footer-about p { font-size: .9rem; margin: 20px 0; color: rgba(255,255,255,.6); max-width: 40ch; }
.footer h4 {
  color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px; font-family: var(--font-display);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 11px; }
.footer ul a {
  font-size: .9rem; color: rgba(255,255,255,.62); display: inline-flex; align-items: center; gap: 7px;
  transition: color .22s, transform .3s var(--ease-out);
}
.footer ul a:hover { color: #fff; transform: translateX(4px); }
.footer ul a .ext { width: 12px; height: 12px; opacity: .5; }
/* Cartão de compliance no rodapé */
.compliance-card {
  display: flex; align-items: center; gap: 13px; margin-bottom: 26px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11);
  border-left: 3px solid var(--red);
  transition: background .3s, border-color .3s, transform .35s var(--ease-out);
}
.compliance-card:hover { background: rgba(204,0,0,.16); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.compliance-card b { display: block; color: #fff; font-size: .92rem; font-weight: 650; }
.compliance-card small { display: block; font-size: .76rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.compliance-ico {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 9px; background: rgba(204,0,0,.22); color: var(--red-300);
}
.compliance-ico svg { width: 18px; height: 18px; }
.compliance-card > svg:last-child { width: 14px; height: 14px; margin-left: auto; opacity: .5; flex: none; }

/* Item externo no menu lateral */
.side-nav .side-ext { color: var(--ink-3); font-weight: 600; }
.side-nav .side-ext svg { width: 12px; height: 12px; opacity: .6; }
.side-nav .side-ext:hover { color: var(--red); }

.footer-contact li { display: flex; gap: 11px; font-size: .9rem; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--red-300); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff;
  transition: transform .34s var(--ease-out), background .25s, border-color .25s;
}
.social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px) scale(1.05); }
.social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* Botão topo */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; box-shadow: var(--sh-red);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: .38s var(--ease-out);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 15. Animação de entrada ---------- */
/* Só esconde quando há JS ativo — sem JS o conteúdo aparece normalmente. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- 16. Impressão ---------- */
@media print {
  .topbar, .header, .footer, .to-top, .side, .hero-actions, .modal { display: none !important; }
  body { color: #000; background: #fff; }
}
