/* ============================================================
   Pietro Mauro — IA para Advogados · v3.0 (law-firm premium)
   ============================================================ */
:root {
  --ink: #0e0e10;
  --ink-2: #15161a;
  --ink-3: #1c1e23;
  --paper: #ffffff;
  --mist: #f4f3f1;
  --mist-2: #eceae5;
  --text: #17191c;
  --muted: #6b7075;
  --muted-2: #8a8f96;
  --line: rgba(14, 14, 16, 0.10);
  --line-2: rgba(14, 14, 16, 0.18);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-2: rgba(255, 255, 255, 0.20);
  --gold: #c2a24a;
  --gold-soft: #d8bd73;
  --wa: #25d366;
  --wa-2: #1ebe5a;
  --radius: 18px;
  --radius-lg: 28px;
  --display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --content: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, video { display: block; height: auto; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { color: var(--paper); background: var(--ink); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 0; height: 2px; background: var(--gold);
}

/* ---------- Tags / eyebrows ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.tag i { width: 7px; height: 7px; background: var(--gold); border-radius: 1px; flex: 0 0 auto; }
.tag-light { color: rgba(255, 255, 255, 0.62); }
.tag-dark { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  line-height: 1.1; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic, .btn .wa-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.btn .ic { fill: none; stroke: currentColor; }

.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-soft); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-dark-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-wa .wa-icon { fill: #fff; }
.wa-icon { fill: currentColor; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: gap .18s ease, border-color .18s ease;
}
.link-arrow .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.link-arrow:hover { gap: 12px; border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(14, 14, 16, 0.78);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
  color: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-dark-2); border-radius: 11px;
  font-family: var(--display); font-weight: 800; font-size: 0.86rem;
  color: var(--ink); background: var(--gold);
}
.brand-name strong { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.13em; }
.brand-name small { display: block; margin-top: 1px; font-size: 0.68rem; color: rgba(255, 255, 255, 0.55); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 13px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 500; color: rgba(255, 255, 255, 0.74);
  transition: color .18s ease, background .18s ease;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 42px; padding: 0 16px; font-size: 0.88rem; }
.header-actions .btn-ghost .wa-icon { width: 16px; height: 16px; }

.menu-toggle {
  display: none; width: 44px; height: 42px; border: 1px solid var(--line-dark-2);
  border-radius: 10px; background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .2s ease; }

/* ---------- Section frames ---------- */
.section-light { background: var(--mist); color: var(--text); }
.section-dark { background: var(--ink); color: var(--paper); }
main > section { padding: clamp(72px, 9vw, 130px) clamp(16px, 4vw, 40px); }
.hero { padding-top: clamp(120px, 14vw, 180px); }

.head { width: min(760px, 100%); margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.head .tag { margin-bottom: 18px; }
.head h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); color: inherit; }
.head p { margin: 18px auto 0; max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.section-dark .head p { color: rgba(255, 255, 255, 0.66); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(194, 162, 74, 0.14), transparent 60%),
    radial-gradient(700px 600px at -5% 110%, rgba(255, 255, 255, 0.05), transparent 55%),
    var(--ink);
  color: var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-inner {
  width: min(var(--content), 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
  gap: clamp(36px, 5vw, 70px); align-items: center;
}
.hero-copy { min-width: 0; }
.hero-copy .tag { margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); font-weight: 700; line-height: 1.0; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero-sub {
  max-width: 600px; margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.74); font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line-dark);
}
.hero-stats .stat strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.5rem); color: #fff; letter-spacing: -0.03em;
}
.hero-stats .stat span { display: block; margin-top: 6px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); line-height: 1.45; }

.hero-media { min-width: 0; }
.hero-photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 15px; border-radius: 999px;
  background: rgba(14, 14, 16, 0.72); border: 1px solid var(--line-dark-2);
  backdrop-filter: blur(10px); color: #fff; font-size: 0.82rem; font-weight: 600;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18); }
.hero-cred { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-cred span {
  padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; color: rgba(255, 255, 255, 0.7);
}

/* ---------- Statement ---------- */
.statement-inner {
  width: min(var(--content), 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.statement-thumb { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.statement-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.statement-body .tag { margin-bottom: 18px; }
.statement-body p { margin: 0 0 22px; font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.95rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); }
.statement-body p strong { color: var(--ink); font-weight: 700; }

/* ---------- Logo bar ---------- */
.logobar { padding-top: clamp(40px, 5vw, 60px) !important; padding-bottom: clamp(40px, 5vw, 60px) !important; border-top: 1px solid var(--line); }
.logobar-label { width: min(var(--content), 100%); margin: 0 auto 26px; text-align: center; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.logobar-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 54px); width: min(var(--content), 100%); margin: 0 auto; }
.logo-item { display: inline-flex; align-items: center; gap: 11px; filter: grayscale(1); opacity: 0.6; transition: filter .22s ease, opacity .22s ease, transform .22s ease; }
.logo-item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.logo-item svg { height: 28px; width: auto; flex: 0 0 auto; }
.logo-claude { height: 23px !important; }
.logo-wa { fill: #25d366; }
.logo-mono { color: var(--ink); }
.logo-text { display: flex; flex-direction: column; color: var(--ink); font-size: 1.05rem; font-weight: 700; line-height: 1.05; }
.logo-text small { margin-top: 2px; color: var(--muted); font-size: 0.66rem; font-weight: 500; }

/* ---------- Problem ---------- */
.problem-grid { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.problem-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 30px; background: var(--paper); }
.problem-card .num { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--gold); }
.problem-card p { margin: 0; color: var(--text); font-size: 1.04rem; font-weight: 500; line-height: 1.5; }

/* ---------- Services / accordion ---------- */
.services-head { width: min(var(--content), 100%); margin: 0 auto clamp(34px, 4vw, 54px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.services-head h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); color: #fff; max-width: 14ch; }
.accordion { width: min(var(--content), 100%); margin: 0 auto; border-top: 1px solid var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line-dark); }
.acc-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; width: 100%; padding: 26px 4px; background: transparent; border: 0; cursor: pointer; text-align: left; color: #fff; }
.acc-num { font-family: var(--display); font-weight: 700; font-size: 1rem; color: rgba(255, 255, 255, 0.4); transition: color .2s ease; }
.acc-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; transition: color .2s ease; }
.acc-ic { width: 26px; height: 26px; fill: none; stroke: rgba(255, 255, 255, 0.6); flex: 0 0 auto; transition: transform .3s ease, stroke .2s ease; }
.acc-item:hover .acc-num, .acc-item.is-open .acc-num { color: var(--gold); }
.acc-item:hover .acc-title { color: #fff; }
.acc-item.is-open .acc-ic { transform: rotate(90deg); stroke: var(--gold); }
.acc-panel { display: flex; gap: clamp(24px, 4vw, 50px); align-items: center; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s ease, padding .45s ease; }
.acc-item.is-open .acc-panel { max-height: 460px; opacity: 1; padding: 0 4px 32px 50px; }
.acc-body { flex: 1 1 auto; min-width: 0; }
.acc-body p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; line-height: 1.65; max-width: 56ch; }
.acc-bullets { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.acc-bullets li { padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.82); }
.acc-media { position: relative; flex: 0 0 clamp(220px, 32%, 360px); overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 11; }
.acc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.acc-media:hover img { transform: scale(1.05); }
.acc-media-ic { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(14, 14, 16, 0.55); border: 1px solid var(--line-dark-2); backdrop-filter: blur(6px); }
.acc-media-ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; }

/* ---------- Video band ---------- */
.video-poster { position: relative; display: block; width: min(var(--content), 100%); margin: 0 auto; padding: 0; border: 0; cursor: pointer; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 21 / 9; background: var(--ink); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72) grayscale(0.2); transition: transform .6s ease, filter .4s ease; }
.video-poster:hover img { transform: scale(1.04); filter: brightness(0.62) grayscale(0); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); transition: transform .25s ease, background .25s ease; }
.video-poster:hover .video-play { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.video-play svg { width: 36%; height: 36%; fill: var(--ink); margin-left: 8%; }
.video-cap { position: absolute; left: 22px; bottom: 20px; padding: 9px 15px; border-radius: 999px; background: rgba(14, 14, 16, 0.6); border: 1px solid var(--line-dark-2); backdrop-filter: blur(8px); color: #fff; font-size: 0.84rem; font-weight: 600; }

/* ---------- Program / steps ---------- */
.steps { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--gold); }
.step h3 { margin: 18px 0 10px; font-size: 1.45rem; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* ---------- About ---------- */
.about-grid { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-photo { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); aspect-ratio: 4 / 4.4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: filter .5s ease; }
.about-photo:hover img { filter: grayscale(0); }
.about-copy .tag { margin-bottom: 16px; }
.about-copy h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; margin-bottom: 18px; }
.about-copy p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.74); line-height: 1.7; }
.about-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.about-tags span { padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.about-gallery { width: min(var(--content), 100%); margin: clamp(28px, 4vw, 44px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-gallery img { width: 100%; height: clamp(160px, 22vw, 250px); object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-dark); filter: grayscale(1); transition: filter .5s ease; }
.about-gallery img:hover { filter: grayscale(0); }

/* ---------- For whom ---------- */
.forwhom-grid { width: min(1000px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fw-col { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.fw-col h3 { margin: 0 0 20px; font-size: 1.5rem; color: var(--ink); }
.fw-col ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fw-col li { position: relative; padding-left: 34px; color: var(--text); line-height: 1.5; }
.fw-col li::before { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 0.8rem; font-weight: 800; }
.fw-col.is-yes li::before { content: "✓"; color: var(--ink); background: rgba(194, 162, 74, 0.22); }
.fw-col.is-no { background: var(--ink); border-color: var(--ink-2); }
.fw-col.is-no h3 { color: #fff; }
.fw-col.is-no li { color: rgba(255, 255, 255, 0.72); }
.fw-col.is-no li::before { content: "✕"; color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.1); }

/* ---------- FAQ ---------- */
.faq-grid { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .tag { margin-bottom: 16px; }
.faq-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: var(--ink); }
.faq-head p { margin: 16px 0 24px; color: var(--muted); }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold); transition: transform .25s ease, opacity .25s ease; }
.faq-list summary i::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-list summary i::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-list details p { margin: 0; padding: 0 4px 24px; color: var(--muted); line-height: 1.65; max-width: 60ch; }

/* ---------- Contact / form ---------- */
.contact-grid { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact-copy .tag { margin-bottom: 16px; }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: #fff; }
.contact-copy p { margin: 20px 0 0; color: rgba(255, 255, 255, 0.7); line-height: 1.7; }
.whatsapp-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 20px; border: 1px solid rgba(37, 211, 102, 0.4); border-radius: var(--radius); background: rgba(37, 211, 102, 0.12); }
.whatsapp-card .wa-icon { width: 30px; height: 30px; fill: var(--wa); flex: 0 0 auto; }
.whatsapp-card span { display: flex; flex-direction: column; gap: 2px; }
.whatsapp-card small { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; font-weight: 600; }
.whatsapp-card strong { color: #fff; font-size: 1.05rem; }

.lead-form { display: grid; gap: 14px; padding: clamp(22px, 3.5vw, 34px); background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lead-form label { display: grid; gap: 7px; min-width: 0; }
.lead-form label span { font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.74); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid var(--line-dark-2);
  border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: #fff; color-scheme: dark;
  transition: border-color .18s ease, background .18s ease;
}
.lead-form textarea { resize: vertical; min-height: 92px; }
.lead-form select option { color: var(--ink); }
.lead-form ::placeholder { color: rgba(255, 255, 255, 0.4); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 0; border-color: var(--gold); background: rgba(255, 255, 255, 0.08); }
.form-submit { width: 100%; margin-top: 4px; }
.form-note { margin: 0; font-size: 0.78rem; line-height: 1.5; color: rgba(255, 255, 255, 0.46); text-align: center; }
.form-status { display: none; padding: 13px 15px; border-radius: 12px; font-weight: 600; line-height: 1.45; }
.form-status.is-success { display: block; color: #d4f7e3; background: rgba(31, 138, 95, 0.28); }
.form-status.is-error { display: block; color: #ffe1e1; background: rgba(180, 35, 24, 0.32); }
.hp-field { position: absolute; left: -9999px; width: 1px !important; height: 1px !important; opacity: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.4); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float .wa-icon { width: 30px; height: 30px; fill: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: clamp(48px, 6vw, 80px) clamp(16px, 4vw, 40px) 28px; }
.footer-top { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-thesis { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.65; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col strong { color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: rgba(255, 255, 255, 0.66); font-size: 0.94rem; transition: color .18s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { width: min(var(--content), 100%); margin: 22px auto 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.48); }

/* ---------- Video modal ---------- */
.video-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal.is-open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 10, 0.86); backdrop-filter: blur(6px); }
.video-modal-box { position: relative; z-index: 1; width: min(420px, 100%); }
.video-modal-box video { width: 100%; aspect-ratio: 9 / 16; max-height: 84vh; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: #000; }
.video-modal-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  body.menu-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; top: 70px; left: clamp(12px, 4vw, 40px); right: clamp(12px, 4vw, 40px); z-index: 99;
    padding: 12px; border: 1px solid var(--line-dark); border-radius: 16px;
    background: rgba(14, 14, 16, 0.97); backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  }
  body.menu-open .site-nav a { padding: 13px 14px; font-size: 0.98rem; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

@media (max-width: 860px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .forwhom-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; aspect-ratio: 4 / 3.2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .statement-inner { grid-template-columns: 1fr; }
  .statement-thumb { max-width: 320px; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .acc-panel { flex-direction: column; align-items: stretch; }
  .acc-item.is-open .acc-panel { max-height: 720px; padding-left: 4px; }
  .acc-media { flex-basis: auto; width: 100%; }
}

@media (max-width: 560px) {
  .header-actions .btn-ghost span { display: none; }
  .header-actions .btn-ghost { min-width: 42px; padding: 0; width: 42px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .hero-actions .btn { width: 100%; }
  .problem-grid, .steps, .about-gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .acc-title { font-size: 1.2rem; }
  .acc-row { gap: 14px; padding: 22px 2px; }
}
