/* ============================================================
   Claudino Vicente — Advocacia & O Bom Leilão
   ============================================================ */

:root {
  --ink: #0a0d14;
  --ink-2: #10141d;
  --panel: #151a25;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef3;
  --muted: #9aa2b1;
  --gold: #d6a84e;
  --gold-soft: #e9c98a;
  --cream: #f5f0e6;
  --cream-2: #ebe3d3;
  --ink-on-cream: #14171f;
  --muted-on-cream: #5d5a52;
  --whats: #25d366;

  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);

  --f-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.gold { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #17130a; box-shadow: 0 10px 30px -12px rgba(214, 168, 78, .7); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--ink-on-cream); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-outline-dark { border-color: rgba(20,23,31,.25); color: var(--ink-on-cream); }
.btn-outline-dark:hover { border-color: var(--ink-on-cream); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  color: var(--gold-soft);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.arrow-link:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10, 13, 20, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.logo-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #a77b2c);
  color: #17130a; font-weight: 700; font-size: 15px; letter-spacing: -0.04em;
}
.logo-text { line-height: 1.15; }
.logo-text strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.logo-text span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.nav a:not(.btn):hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); cursor: pointer; place-items: center;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s ease;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(214,168,78,.13), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(80,110,180,.10), transparent 60%),
    var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03);
  font-size: 13.5px; color: var(--muted);
}
.badge-dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(214,168,78,.15); display: grid; place-items: center; }
.badge-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(214,168,78,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(214,168,78,0); } }

.hero h1 { font-size: clamp(42px, 5.4vw, 78px); margin: 26px 0 24px; }
.hero h1 .serif { color: var(--gold-soft); font-size: 1.08em; }
.hero-lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-lead strong { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.hero-meta strong { display: block; color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 2px; }

.hero-photo { position: relative; }
.hero-photo .frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-photo .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,13,20,.75)); }
.hero-photo .caption { position: absolute; left: 22px; bottom: 20px; z-index: 2; }
.hero-photo .caption strong { display: block; font-size: 18px; }
.hero-photo .caption span { font-size: 13px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 16px; font-size: 14px; font-weight: 500;
  background: rgba(21, 26, 37, .82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.7);
  animation: float 7s ease-in-out infinite;
}
.chip i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(214,168,78,.14); color: var(--gold); font-style: normal; }
.chip i svg { width: 16px; height: 16px; }
.chip-1 { top: 9%; left: -38px; }
.chip-2 { top: 46%; right: -26px; animation-delay: -2.4s; }
.chip-3 { bottom: 18%; left: -30px; animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; color: #c9cdd6; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: .6em; }
.marquee-track .serif { color: var(--gold-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 64px); margin-top: 18px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 520px; justify-self: end; }

/* ---------- Advocacia (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: var(--radius); padding: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.card:hover { border-color: rgba(214,168,78,.45); transform: translateY(-4px); }
.card .num { font-size: 13px; color: var(--muted); letter-spacing: .12em; }
.card .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(214,168,78,.1); color: var(--gold); margin-bottom: 26px; border: 1px solid rgba(214,168,78,.22);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 26px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: #c4c9d3; }
.card-a { grid-column: span 3; }
.card-b { grid-column: span 3; }
.card-c { grid-column: span 2; }
.card-d { grid-column: span 2; }
.card-e { grid-column: span 2; }

.card-feature {
  grid-column: span 6; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; padding: 0;
  background: linear-gradient(120deg, #121725, #0d111b);
}
.card-feature .media { position: relative; min-height: 360px; }
.card-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-feature .body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.card-feature h3 { font-size: clamp(30px, 3.4vw, 44px); margin: 16px 0 16px; }
.card-feature .facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 28px; }
.card-feature .facts span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(214,168,78,.1); color: var(--gold-soft); border: 1px solid rgba(214,168,78,.25); }
.card-feature .facts svg { width: 15px; height: 15px; }

/* ---------- Método ---------- */
.method { background: var(--ink-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-weight: 600; font-size: 15px;
  background: var(--ink-2); position: relative; z-index: 1; margin-bottom: 28px;
}
.step::after { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .5; }
.step:last-child::after { display: none; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- O Bom Leilão ---------- */
.obl { background: var(--cream); color: var(--ink-on-cream); overflow: hidden; }
.obl .eyebrow { color: var(--muted-on-cream); }
.obl .section-head p { color: var(--muted-on-cream); }
.obl-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.obl-brand .hammer { width: 46px; height: 46px; border-radius: 14px; background: var(--ink-on-cream); color: var(--gold); display: grid; place-items: center; }
.obl-brand .hammer svg { width: 22px; height: 22px; }
.obl-brand strong { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.obl h2 .serif { color: #9a7024; }

.obl-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.obl-tabs span { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: var(--cream-2); color: var(--muted-on-cream); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(20,23,31,.08);
  box-shadow: 0 1px 0 rgba(20,23,31,.04), 0 30px 60px -40px rgba(20,23,31,.35);
  transition: transform .35s ease, box-shadow .35s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(20,23,31,.04), 0 40px 70px -35px rgba(20,23,31,.45); }
.product .cover { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); }
.product .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product:hover .cover img { transform: scale(1.04); }
.product .info { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 8px; margin-bottom: 16px; }
.tag-legal { background: #14171f; color: var(--gold-soft); }
.tag-course { background: #f1e3c4; color: #7a5717; }
.product h3 { font-size: 23px; line-height: 1.15; margin-bottom: 10px; }
.product p { color: var(--muted-on-cream); font-size: 15.5px; flex: 1; }
.product .btn { margin-top: 10px; align-self: flex-start; }

.obl-bottom { margin-top: 20px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.yt-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; color: #fff;
  display: flex; align-items: flex-end; padding: 32px;
}
.yt-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,13,20,.88) 0%, rgba(10,13,20,.35) 70%, rgba(10,13,20,.1)); z-index: 1; }
.yt-card > div { position: relative; z-index: 2; max-width: 420px; }
.yt-card h3 { font-size: 28px; margin: 12px 0 10px; }
.yt-card p { color: rgba(255,255,255,.78); font-size: 15.5px; }
.yt-play { width: 62px; height: 62px; border-radius: 50%; background: #ff0033; display: grid; place-items: center; position: absolute; right: 32px; top: 32px; z-index: 2; box-shadow: 0 0 0 10px rgba(255,0,51,.18); transition: transform .3s ease; }
.yt-card:hover .yt-play { transform: scale(1.08); }
.yt-play svg { width: 24px; height: 24px; margin-left: 3px; }

.notice-card { border-radius: var(--radius); padding: 32px; background: var(--ink-on-cream); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.notice-card h3 { font-size: 24px; line-height: 1.2; }
.notice-card p { color: #b9b4a8; font-size: 15px; margin: 0; }

/* ---------- IA & Palestras ---------- */
.ia-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.ia-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/4.4; border: 1px solid var(--line-strong); }
.ia-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.ia-photo .stamp {
  position: absolute; right: 18px; bottom: 18px; padding: 14px 18px; border-radius: 16px;
  background: rgba(10,13,20,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); font-size: 14px; max-width: 260px;
}
.ia-photo .stamp strong { color: var(--gold-soft); display: block; font-size: 15px; margin-bottom: 2px; }
.ia h2 { font-size: clamp(36px, 4.6vw, 60px); margin: 18px 0 22px; }
.ia-lead { color: var(--muted); font-size: 18px; margin-bottom: 30px; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 34px; }
.topic { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.topic svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.topic strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 2px; }
.topic span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Sobre ---------- */
.about { background: var(--ink-2); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.about-photos { position: relative; height: 640px; }
.about-photos figure { margin: 0; position: absolute; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 40px 70px -35px rgba(0,0,0,.85); }
.about-photos figure img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .p1 { left: 0; top: 0; width: 72%; height: 82%; }
.about-photos .p2 { right: 0; bottom: 0; width: 52%; height: 50%; }
.about h2 { font-size: clamp(36px, 4.4vw, 58px); margin: 18px 0 26px; }
.about-text p { color: #c3c8d2; font-size: 18px; }
.about-text p.muted { color: var(--muted); font-size: 16.5px; }
.quote { margin: 34px 0; padding: 26px 0 0; border-top: 1px solid var(--line); font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; color: var(--gold-soft); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 14.5px; color: #d3d7df; transition: border-color .2s, color .2s, background .2s;
}
.social svg { width: 17px; height: 17px; }
.social:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(214,168,78,.06); }

/* ---------- Contato ---------- */
.contact { padding: clamp(80px, 9vw, 120px) 0; }
.contact-box {
  position: relative; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr;
  background: linear-gradient(135deg, #1a1f2c, #0e121b); border: 1px solid var(--line-strong); min-height: 520px;
}
.contact-box .content { padding: clamp(36px, 5vw, 72px); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.contact-box h2 { font-size: clamp(38px, 4.8vw, 66px); margin: 18px 0 20px; }
.contact-box p { color: var(--muted); font-size: 18px; max-width: 480px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 30px; }
.btn-whats { background: var(--whats); color: #062d15; box-shadow: 0 12px 34px -14px rgba(37,211,102,.8); }
.btn-whats:hover { background: #3be07a; }
.fineprint { font-size: 13.5px !important; color: #7f8897 !important; border-left: 2px solid var(--gold); padding-left: 14px; }
.contact-box .photo { position: relative; }
.contact-box .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.contact-box .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #131826 0%, rgba(19,24,38,0) 40%); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-soft); }
.footer .about-mini { max-width: 340px; margin-top: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Floating WhatsApp ---------- */
.float-whats {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whats); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6);
  transition: transform .25s ease, opacity .3s ease; opacity: 0; transform: translateY(20px); pointer-events: none;
}
.float-whats.show { opacity: 1; transform: none; pointer-events: auto; }
.float-whats:hover { transform: scale(1.07); }
.float-whats svg { width: 30px; height: 30px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Legal page ---------- */
.legal { padding: 150px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); margin: 18px 0 30px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: #c3c8d2; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .chip-1 { left: -12px; } .chip-2 { right: -10px; } .chip-3 { left: -10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--pad) 26px; background: rgba(10,13,20,.97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  }
  .nav a:not(.btn) { font-size: 18px; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav .btn { margin: 16px 0 0; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .header { background: rgba(10,13,20,.97); }

}

@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-grid, .ia-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 520px; width: 100%; margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
  .section-head p { justify-self: start; }
  .card-a, .card-b, .card-c, .card-d, .card-e { grid-column: span 6; }
  .card-feature { grid-template-columns: minmax(0, 1fr); }
  .card-feature .media { min-height: 0; aspect-ratio: 1 / 1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .step::after { display: none; }
  .products { grid-template-columns: 1fr 1fr; }
  .obl-bottom { grid-template-columns: 1fr; }
  .about-photos { height: 520px; max-width: 560px; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-box .photo { min-height: 340px; order: -1; }
  .contact-box .photo::before { background: linear-gradient(0deg, #141927 0%, rgba(19,24,38,0) 50%); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { white-space: normal; text-align: center; }
  .logo-text span { display: none; }
  .hero h1 { margin-top: 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { gap: 20px 28px; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .chip i { width: 24px; height: 24px; }
  .chip-1 { left: 8px; top: 12px; } .chip-2 { right: 8px; top: 48%; } .chip-3 { display: none; }
  .card { padding: 26px; }
  .steps { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .about-photos { height: 440px; }
  .yt-play { right: 20px; top: 20px; width: 52px; height: 52px; }
  .yt-card { padding: 24px; min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 100%; }
  .float-whats { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Diagnóstico (seção final) ---------- */
.diag { padding: 0 0 clamp(80px, 9vw, 120px); }
.diag .card-feature:hover { transform: none; }
