/* datafrontiertech.com — same brand as datafrontier.com.br (site-corporativo/index.html):
   blue #3347FF, dark #2B2B2B, peach #FFE3D6, rawhide #B2624F, light #F9F8F6.
   No web fonts are loaded on purpose: zero third-party requests keeps the
   privacy policy honest (no Google Fonts IP transfer). Sora/Inter are used
   when installed; otherwise the system UI font.
   TODO: self-host Sora + Inter (OFL) as woff2 in /fonts for brand fidelity. */

:root {
  --dark: #2B2B2B;
  --ink: #1f1f24;
  --blue: #3347FF;
  --blue-deep: #2333cc;
  --blue-soft: #F0F3FF;
  --peach: #FFE3D6;
  --rawhide: #B2624F;
  --light: #F9F8F6;
  --white: #FFFFFF;
  --ink-soft: #5f5f66;
  --line: #e8e6e3;
  --radius: 24px;
  --display: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--text);
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display { font-family: var(--display); line-height: 1.1; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5vw;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.scrolled, .nav.open {
  background: rgba(249, 248, 246, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  padding-top: 12px; padding-bottom: 12px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 20px;
  letter-spacing: -.5px; line-height: .95;
  transition: color .35s ease;
}
.logo-box {
  width: 44px; height: 44px; border-radius: 14px; background: #fff; padding: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-box img { width: 100%; height: 100%; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav-link {
  color: rgba(255,255,255,.86); text-decoration: none;
  font-weight: 600; font-size: 14.5px; white-space: nowrap; position: relative;
  transition: color .3s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--blue); border-radius: 2px; transition: width .3s ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }
.nav-link:hover { color: var(--blue); }
.nav-lang { display: inline-flex; gap: 2px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 3px; }
.nav-lang a {
  color: rgba(255,255,255,.8); text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: .5px; padding: 5px 9px; border-radius: 999px;
}
.nav-lang a[aria-current="true"] { background: rgba(255,255,255,.16); color: #fff; }
.nav-lang a:hover { color: #fff; }
.nav-cta {
  background: var(--blue); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(51,71,255,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(51,71,255,.45); }
.nav.scrolled .nav-brand, .nav.open .nav-brand { color: var(--dark); }
.nav.scrolled .nav-link, .nav.open .nav-link { color: var(--dark); }
.nav.scrolled .nav-lang, .nav.open .nav-lang { border-color: #d9d7d3; }
.nav.scrolled .nav-lang a, .nav.open .nav-lang a { color: var(--ink-soft); }
.nav.scrolled .nav-lang a[aria-current="true"], .nav.open .nav-lang a[aria-current="true"] { background: var(--blue-soft); color: var(--blue); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 12px 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.nav.scrolled .nav-toggle span, .nav.open .nav-toggle span { background: var(--dark); }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--light); padding: 12px 5vw 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links .nav-link { padding: 12px 4px; font-size: 16px; }
  .nav-links .nav-link::after { display: none; }
  .nav-lang { align-self: flex-start; margin: 8px 0; }
  .nav-cta { text-align: center; margin-top: 6px; }
}

/* ============ HERO (home) ============ */
.hero, .page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 75% 15%, #3a3a4d 0%, var(--dark) 58%);
}
.hero { min-height: 92vh; min-height: 92svh; display: flex; align-items: center; }
.hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.orbit {
  position: absolute; right: -8vw; top: 50%; width: min(62vw, 760px); aspect-ratio: 1;
  transform: translateY(-50%); pointer-events: none; opacity: .9;
}
.orbit span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(110,125,255,.28);
  animation: spin 40s linear infinite;
}
.orbit span:nth-child(2) { inset: 12%; border-color: rgba(255,227,214,.18); animation-duration: 28s; animation-direction: reverse; }
.orbit span:nth-child(3) { inset: 26%; border-color: rgba(110,125,255,.35); animation-duration: 20s; }
.orbit span::after {
  content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 18px 4px rgba(51,71,255,.7);
}
.orbit span:nth-child(2)::after { background: var(--peach); box-shadow: 0 0 14px 3px rgba(255,227,214,.6); }
.orbit .core {
  position: absolute; inset: 40%; border-radius: 28%; background: #fff; padding: 6%;
  box-shadow: 0 0 80px rgba(51,71,255,.45); animation: none; border: 0;
}
.orbit .core::after { display: none; }
.orbit .core img { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .orbit { right: -40vw; top: 18%; opacity: .3; width: 110vw; } .orbit .core { display: none; } }

.hero-content, .page-hero-content {
  position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 140px 5vw 100px;
}
.page-hero-content { padding: 150px 5vw 80px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: var(--peach); font-size: 12.5px; font-weight: 700;
  letter-spacing: 2.2px; text-transform: uppercase;
  padding: 9px 20px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .5; transform: scale(.8);} }
.hero h1 {
  margin-top: 30px; font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 800;
  letter-spacing: -2.5px; line-height: 1.03; max-width: 14ch;
}
.page-hero h1 { margin-top: 24px; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -1.5px; max-width: 20ch; }
.accent {
  background: linear-gradient(100deg, #7b8aff 10%, #5566ff 45%, #a3b0ff 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #7b8aff;
}
.hero .sub, .page-hero .sub {
  margin-top: 26px; max-width: 600px; color: rgba(255,255,255,.76);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; font-weight: 500;
}
.actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 15.5px;
  padding: 17px 32px; border-radius: 18px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 40px rgba(51,71,255,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(51,71,255,.55); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ============ STRIP ============ */
.strip { background: var(--blue); color: #fff; }
.strip ul {
  list-style: none; max-width: 1200px; margin: 0 auto; padding: 18px 5vw;
  display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: 2px; text-transform: uppercase;
}
.strip li { display: inline-flex; align-items: center; gap: 12px; }
.strip li + li::before { content: '◆'; color: var(--peach); font-size: 10px; margin-right: 24px; }
@media (max-width: 640px) { .strip li + li::before { display: none; } .strip ul { gap: 8px 22px; } }

/* ============ SECTIONS ============ */
section[id] { scroll-margin-top: 70px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 100px 5vw; }
.wrap.narrow { max-width: 860px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft); padding: 8px 18px; border-radius: 999px; margin-bottom: 20px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1.2px; max-width: 22ch; }
.section-sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; max-width: 660px; font-weight: 500; }
.dark-band { background: var(--dark); color: #fff; }
.dark-band .section-title { color: #fff; }
.dark-band .section-sub { color: rgba(255,255,255,.68); }
.dark-band .section-tag { background: rgba(51,71,255,.2); color: #b9c1ff; }

/* ============ PRODUCTS ============ */
.products { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .products { grid-template-columns: 1fr; max-width: 640px; } }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(0,0,0,.05); box-shadow: 0 6px 24px rgba(0,0,0,.05);
  display: flex; flex-direction: column; transition: box-shadow .35s ease, transform .35s ease;
}
.product:hover { box-shadow: 0 26px 60px rgba(0,0,0,.12); transform: translateY(-4px); }
.product .photo { aspect-ratio: 16 / 9; background: #ddd; overflow: hidden; }
.product .photo img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.badge {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
}
.badge.warm { background: #FFF1EA; color: var(--rawhide); }
.product h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.4px; }
.product p { color: var(--ink-soft); font-size: .97rem; font-weight: 500; }
.ticks { list-style: none; display: grid; gap: 8px; font-size: .93rem; color: #3d3d44; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg);
}
.product .go {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--blue); text-decoration: none;
}
.product .go::after { content: '→'; transition: transform .3s ease; }
.product .go:hover::after { transform: translateX(5px); }
.product .note { font-size: .84rem; color: #7a7a82; }

/* ============ IDE highlight ============ */
.feature {
  margin-top: 36px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; border-radius: var(--radius); overflow: hidden;
}
.feature .txt { padding: clamp(28px, 4vw, 52px); }
.feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.6px; margin-top: 14px; }
.feature p { margin-top: 14px; color: rgba(255,255,255,.82); font-weight: 500; }
.feature .ticks { margin-top: 18px; color: #fff; }
.feature .ticks li::before { border-color: var(--peach); }
.feature .badge { background: rgba(255,255,255,.16); color: #fff; }
.feature .img { min-height: 260px; }
.feature .img img { width: 100%; height: 100%; object-fit: cover; }
.feature a { color: var(--peach); font-weight: 700; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature .img { order: -1; aspect-ratio: 16/9; min-height: 0; } }

/* ============ KNOW-HOW tiles ============ */
.tiles { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; border-radius: 20px; overflow: hidden; min-height: 280px; background: #333; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,20,28,.05) 25%, rgba(20,20,28,.88) 100%); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; }
.tile h3 { font-size: 1.2rem; font-weight: 700; }
.tile p { margin-top: 8px; font-size: .92rem; color: rgba(255,255,255,.82); }
.fineprint { margin-top: 28px; color: rgba(255,255,255,.6); font-size: .92rem; max-width: 760px; }

/* ============ STEPS & CARDS ============ */
.steps { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 32px 28px; border-radius: 22px; background: var(--white); border: 1px solid rgba(0,0,0,.05); }
.step .num { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--blue); }
.step h3 { margin-top: 12px; font-size: 1.25rem; }
.step p { margin-top: 10px; color: var(--ink-soft); font-weight: 500; font-size: .96rem; }

.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: 20px; padding: 28px; border: 1px solid rgba(0,0,0,.05); }
.card h3 { font-size: 1.15rem; }
.card p { margin-top: 10px; color: var(--ink-soft); font-weight: 500; font-size: .96rem; }

/* ============ SPLIT (about) ============ */
.split { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 72px; }
.split.inv .media { order: 2; }
.split .media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split .media figcaption { margin-top: 10px; font-size: .86rem; color: #7a7a82; }
.split h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.5px; }
.split p { margin-top: 14px; color: #44444b; font-weight: 500; }
.split .ticks { margin-top: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } .split.inv .media { order: 0; } }

.facts { margin-top: 36px; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(0,0,0,.05); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 18px 28px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 700; color: var(--dark); }
.facts dd { color: #44444b; }
@media (max-width: 640px) { .facts div { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; } }

/* ============ CTA band ============ */
.cta-band { background: var(--peach); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 70px; padding-bottom: 70px; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.8px; max-width: 24ch; }
.cta-band p { margin-top: 10px; color: #5a4038; font-weight: 500; max-width: 560px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card {
  background: var(--white); border-radius: 30px; border-top: 6px solid var(--blue);
  box-shadow: 0 24px 80px rgba(0,0,0,.08); padding: clamp(24px, 4vw, 52px);
}
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.6px; }
.form-card > p { margin-top: 8px; color: var(--ink-soft); font-weight: 500; }
fieldset { border: 0; margin-top: 26px; }
legend { font-size: .85rem; font-weight: 700; color: #555; margin: 0 0 10px 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid #e4e2df;
  background: #fff; color: var(--ink-soft); font-weight: 700; font-size: .88rem; transition: all .2s ease;
}
.chip input:hover + span { border-color: var(--blue); color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(51,71,255,.3); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: #555; margin-left: 4px; }
.field label .opt { font-weight: 500; color: #8a8a90; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; background: var(--light); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 14px 18px; outline: none; color: var(--dark); resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51,71,255,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { background: #e5f7ec; color: #157347; }
.form-status.err { background: #fdeaea; color: #b4302a; }
.form-notice { margin-top: 18px; font-size: .84rem; line-height: 1.6; color: var(--ink-soft); font-weight: 500; }
.form-notice a { font-weight: 700; }
.submit { margin-top: 22px; width: 100%; padding: 19px; font-size: 1.05rem; }
.submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.side-card { background: var(--white); border-radius: 24px; padding: 30px; border: 1px solid rgba(0,0,0,.05); }
.side-card + .side-card { margin-top: 20px; }
.side-card h3 { font-size: 1.1rem; }
.side-card p { margin-top: 8px; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.side-card .big { display: inline-block; margin-top: 12px; font-weight: 800; font-size: 1.08rem; word-break: break-all; }
.side-card .secondary { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; color: #1d8f4e; text-decoration: none; }
.side-card .secondary svg { width: 18px; height: 18px; }

/* ============ LEGAL ============ */
.legal { max-width: 820px; margin: 0 auto; padding: 70px 5vw 100px; }
.legal .draft {
  background: #FFF6E5; border: 1px solid #F3D9A4; color: #6b4e12; border-radius: 16px;
  padding: 16px 20px; font-size: .93rem; font-weight: 500;
}
.legal .updated { margin-top: 18px; color: #7a7a82; font-size: .92rem; }
.legal h2 { margin-top: 44px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.3px; }
.legal h3 { margin-top: 24px; font-size: 1.05rem; }
.legal p, .legal li { color: #3f3f46; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 22px; display: grid; gap: 8px; }
.legal table { margin-top: 16px; width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; border-radius: 14px; overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--blue-soft); color: var(--dark); border-top: 0; }
.table-scroll { overflow-x: auto; }

/* ============ 404 ============ */
.notfound { text-align: center; }
.notfound .actions { justify-content: center; }

/* ============ FOOTER ============ */
.footer { background: var(--dark); color: rgba(255,255,255,.66); padding: 72px 5vw 36px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { max-width: 340px; }
.brandline { display: flex; align-items: center; gap: 14px; color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: .95; letter-spacing: -.5px; }
.footer-brand .logo-box { width: 52px; height: 52px; border-radius: 16px; padding: 6px; }
.footer-brand p { margin-top: 18px; font-size: .92rem; font-weight: 500; }
.footer-col h2 { font-family: var(--text); color: var(--peach); font-size: .8rem; letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,.7); text-decoration: none; font-size: .93rem; margin-bottom: 11px; font-weight: 500; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a, .linkish { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-bottom a:hover, .linkish:hover { color: #fff; text-decoration: underline; }
.linkish { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }

/* ============ COOKIE NOTICE ============ */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 680px; margin: 0 auto; background: #fff; color: var(--dark);
  border: 1px solid #e6e6e6; border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15); font-size: 14px; line-height: 1.5;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.cookie p { margin: 0; flex: 1 1 320px; }
.cookie a { font-weight: 700; }
.cookie .btns { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie button {
  cursor: pointer; font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px;
  border: 1px solid #d5d5d5; background: #fff; color: var(--dark);
}
.cookie button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }

/* No scroll-reveal: content must be visible without JS (and to crawlers). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.notfound h1, .notfound .sub { margin-left: auto; margin-right: auto; }
