/* Ramin Advocacia — estilos do site
   Preto e dourado. Lora (títulos) + Montserrat (texto). Sem framework. */

@font-face { font-family: "Lora"; src: url("../fonts/Lora-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black: #0B0B0B;
  --black-2: #121110;
  --black-3: #181613;
  --gold: #C9A45C;
  --gold-l: #E6CC8E;
  --gold-d: #9A7436;
  --gold-grad: linear-gradient(100deg, #A77E3A 0%, #D9B871 28%, #F1DC9E 50%, #D2AE63 72%, #A17636 100%);
  --ivory: #EDE3D1;
  --ivory-2: rgba(237, 227, 209, .72);
  --paper: #F5EFE6;
  --paper-2: #ECE3D5;
  --ink: #1C1915;
  --ink-2: #5D554B;
  --line-dark: rgba(201, 164, 92, .2);
  --line-paper: rgba(28, 25, 21, .12);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1091.2px;
  --gutter: clamp(17.6px, 5vw, 56.3px);
  --section: clamp(77.4px, 11vw, 140.8px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header: 77.4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 63.4px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font: 300 15px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main, footer { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3.5px; }

.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.ic { width: 15.8px; height: 15.8px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 26.4px; height: 26.4px; stroke-width: 1.1; }

.skip { position: fixed; left: 14.1px; top: -52.8px; z-index: 200; padding: 8.8px 15.8px; background: var(--gold); color: var(--black); font-size: 11.4px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 14.1px; }

.progress {
  position: fixed; inset: 0 0 auto; z-index: 120; height: 2px;
  background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12.3px;
  font: 500 9.7px/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 29.9px; height: 1px; background: currentColor; opacity: .8; }
.section--paper .eyebrow { color: var(--gold-d); }

.h2 {
  font: 400 clamp(29.9px, 4.4vw, 51px)/1.12 var(--serif);
  letter-spacing: -.01em;
  margin-top: 19.4px;
  text-wrap: balance;
}

.gold-text {
  font-style: normal;
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10.6px;
  min-height: 47.5px; padding: 0 26.4px;
  font: 500 10.1px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-position .8s var(--ease), color .3s, border-color .3s, background-color .3s;
}
.btn .ic { width: 15px; height: 15px; }
.btn--gold { background: var(--gold-grad); background-size: 180% 100%; background-position: 0 0; color: #17120A; }
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 15.8px 35.2px -15.8px rgba(201, 164, 92, .65); }
.btn--line { min-height: 38.7px; padding: 0 17.6px; border-color: rgba(201, 164, 92, .55); color: var(--gold-l); }
.btn--line:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--ghost { border-color: rgba(237, 227, 209, .28); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.btn--ghost .ic { transition: transform .4s var(--ease); }
.btn--ghost:hover .ic { transform: translateX(3.5px); }
.btn--dark { background: var(--black); color: var(--gold-l); }
.btn--dark:hover { background: var(--black-3); transform: translateY(-2px); box-shadow: 0 15.8px 35.2px -17.6px rgba(0, 0, 0, .6); }
.btn--block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .5s var(--ease), border-color .5s, transform .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.header__in { display: flex; align-items: center; gap: 35.2px; height: var(--header); transition: height .5s var(--ease); }
.header.is-solid { background: rgba(11, 11, 11, .84); -webkit-backdrop-filter: blur(12.3px); backdrop-filter: blur(12.3px); border-bottom-color: rgba(201, 164, 92, .14); }
.header.is-solid .header__in { height: 63.4px; }
.header.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 12.3px; text-decoration: none; margin-right: auto; }
.brand img { width: 26.4px; height: auto; }
.brand__txt { display: grid; line-height: 1; }
.brand__name { font: 400 20.2px/1 var(--serif); letter-spacing: .01em; color: var(--gold-l); }
.brand__sub { margin-top: 5.3px; font: 500 7.5px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; gap: 29.9px; }
.nav a {
  position: relative; padding: 5.3px 0;
  font: 400 10.1px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ivory-2);
  transition: color .3s;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; position: relative; width: 38.7px; height: 38.7px; padding: 0; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 8.8px; right: 8.8px; height: 1px; background: var(--gold-l); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 15.8px; }
.burger span:last-child { top: 22.9px; left: 15.8px; }
.burger[aria-expanded="true"] span:first-child { top: 19.4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.4px; left: 8.8px; transform: rotate(-45deg); }

/* Menu do celular */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 42.2px;
  padding: 105.6px var(--gutter) 42.2px;
  background: radial-gradient(120% 60% at 100% 0%, rgba(201, 164, 92, .12), transparent 60%), var(--black);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: grid; gap: 5.3px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 15.8px; padding: 8.8px 0;
  font: 400 clamp(26.4px, 8vw, 38.7px)/1.15 var(--serif); color: var(--ivory); text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(21.1px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.menu__nav a span { font: 500 9.7px/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.menu__nav a:hover { color: var(--gold-l); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .10s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .16s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .22s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .28s; }
.menu > .btn { align-self: flex-start; }

/* ---------- Herói ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; transform: scale(1.14); transition: transform 2.6s var(--ease-out); }
.loaded .hero__bg img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, .94) 0%, rgba(11, 11, 11, .78) 34%, rgba(11, 11, 11, .2) 70%, rgba(11, 11, 11, .35) 100%),
    linear-gradient(0deg, var(--black) 0%, rgba(11, 11, 11, 0) 30%);
}
.hero__in { padding-top: calc(var(--header) + 35.2px); padding-bottom: 105.6px; }
.hero__title { margin-top: 26.4px; font: 400 clamp(40.5px, 7.6vw, 91.5px)/1.02 var(--serif); letter-spacing: -.015em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; }
.hero__lead { max-width: 457.6px; margin-top: 26.4px; font-size: clamp(14.1px, 1.3vw, 15.8px); color: var(--ivory-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12.3px; margin-top: 38.7px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 29.9px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10.6px; text-decoration: none;
  font: 500 8.4px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--gold);
}
.scroll-cue i { position: relative; width: 1px; height: 47.5px; background: rgba(201, 164, 92, .25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-l); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* Entrada do herói (só com JS; sem JS, tudo aparece) */
.js .hero__eyebrow, .js .hero__lead, .js .hero__ctas, .js .scroll-cue { opacity: 0; transform: translateY(15.8px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .scroll-cue { transform: translate(-50%, 15.8px); }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease-out); }
.loaded .hero__eyebrow { opacity: 1; transform: none; transition-delay: .2s; }
.loaded .hero__title .line > span { transform: none; }
.loaded .hero__title .line:nth-child(1) > span { transition-delay: .35s; }
.loaded .hero__title .line:nth-child(2) > span { transition-delay: .5s; }
.loaded .hero__lead { opacity: 1; transform: none; transition-delay: .85s; }
.loaded .hero__ctas { opacity: 1; transform: none; transition-delay: 1s; }
.loaded .scroll-cue { opacity: 1; transform: translateX(-50%); transition-delay: 1.4s; }
.loaded .gold-text { animation: shine 6s var(--ease) 1.6s infinite; }
@keyframes shine { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

/* ---------- Faixa corrida ---------- */
.marquee { position: relative; overflow: hidden; padding: 19.4px 0; background: var(--black); border-block: 1px solid rgba(201, 164, 92, .14); }
.marquee__track { display: flex; align-items: center; gap: 35.2px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font: 400 10.6px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: rgba(230, 204, 142, .75); white-space: nowrap; }
.marquee b { width: 3.5px; height: 3.5px; font-size: 0; background: var(--gold); transform: rotate(45deg); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--black); }
.section--paper p { color: var(--ink-2); }

.head { max-width: 633.6px; }
.rule { display: block; width: 63.4px; height: 1px; margin-top: 29.9px; background: var(--gold); transform-origin: left; }

/* ---------- Sobre ---------- */
.about { display: grid; justify-items: center; text-align: center; }
.about__title { max-width: 774.4px; font-size: clamp(33.4px, 5.4vw, 63.4px); }
.about .rule { margin: 35.2px auto 0; transform-origin: center; }
.about__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24.6px, 5vw, 63.4px); max-width: 862.4px; margin-top: 42.2px; text-align: left; }
.about__cols p { font-size: 15px; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24.6px, 4vw, 49.3px); margin-top: clamp(63.4px, 9vw, 112.6px); }
.pillar { position: relative; padding-top: 29.9px; border-top: 1px solid var(--line-paper); }
.pillar::before { content: ""; position: absolute; left: 0; top: -1px; width: 42.2px; height: 1px; background: var(--gold); }
.pillar .ic { color: var(--gold-d); }
.pillar h3 { margin-top: 19.4px; font: 400 20.2px/1.25 var(--serif); color: var(--ink); }
.pillar p { margin-top: 10.6px; font-size: 13.6px; }

/* ---------- Áreas ---------- */
#areas .head { margin-bottom: clamp(49.3px, 7vw, 77.4px); }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21.1px; }
.area {
  position: relative; display: flex; flex-direction: column;
  background: var(--black-2); border: 1px solid var(--line-dark);
  transition: border-color .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}
.area::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; z-index: 2; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.area:hover { border-color: rgba(201, 164, 92, .5); box-shadow: 0 35.2px 61.6px -35.2px rgba(0, 0, 0, .9); }
.area:hover::before { transform: scaleX(1); }
.area__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.area__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 17, 16, 0) 40%, var(--black-2) 100%); }
.area__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) brightness(.7) sepia(.15); transition: transform 1.4s var(--ease-out), filter .8s var(--ease); }
.area:hover .area__img img { transform: scale(1.06); filter: grayscale(.1) brightness(.85) sepia(.1); }
.area__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 5.3px 29.9px 29.9px; }
.area__n { font: 400 13.2px/1 var(--serif); letter-spacing: .2em; color: var(--gold); }
.area h3 { margin-top: 12.3px; font: 400 clamp(22.9px, 2.3vw, 27.3px)/1.15 var(--serif); color: var(--ivory); }
.area p { margin-top: 12.3px; font-size: 13.2px; color: var(--ivory-2); }
.area ul { margin: 21.1px 0 26.4px; padding-top: 19.4px; border-top: 1px solid var(--line-dark); display: grid; gap: 8.8px; }
.area li { position: relative; padding-left: 19.4px; font-size: 12.8px; line-height: 1.55; color: var(--ivory); }
.area li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8.8px; height: 1px; background: var(--gold); }
.area__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8.8px; align-self: flex-start;
  font: 500 9.7px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--gold-l);
  padding-bottom: 5.3px; border-bottom: 1px solid rgba(201, 164, 92, .4); transition: gap .4s var(--ease), border-color .3s;
}
.area__link:hover { gap: 14.1px; border-color: var(--gold-l); }

/* ---------- Citação ---------- */
.quote { position: relative; min-height: min(86vh, 668.8px); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.quote__bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(11, 11, 11, .72), rgba(11, 11, 11, .93)), linear-gradient(180deg, var(--black), transparent 22%, transparent 78%, var(--black)); }
.quote__in { display: grid; justify-items: center; padding-block: var(--section); }
.scale { width: clamp(84.5px, 10vw, 112.6px); height: auto; overflow: visible; }
.quote blockquote p { margin-top: 35.2px; font: 400 clamp(31.7px, 5.4vw, 66.9px)/1.1 var(--serif); letter-spacing: -.01em; color: var(--ivory); text-wrap: balance; }
.quote__by { margin-top: 26.4px; font: 500 9.7px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }

/* ---------- Como funciona ---------- */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(42.2px, 8vw, 112.6px); align-items: start; }
.process__head { position: sticky; top: 105.6px; }
.process__head p:not(.eyebrow) { margin-top: 22.9px; max-width: 369.6px; }
.process__head .btn { margin-top: 33.4px; }
.steps { position: relative; display: grid; gap: 0; counter-reset: s; }
.steps__rail { position: absolute; left: 23.8px; top: 24.6px; bottom: 24.6px; width: 1px; background: var(--line-paper); }
.steps__rail i { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.step { position: relative; display: grid; grid-template-columns: 49.3px minmax(0, 1fr); gap: 28.2px; padding: 0 0 49.3px; }
.step:last-child { padding-bottom: 0; }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 49.3px; height: 49.3px; border-radius: 50%;
  background: var(--paper); border: 1px solid rgba(154, 116, 54, .45);
  font: 400 15px/1 var(--serif); color: var(--gold-d);
  transition: background-color .8s var(--ease) .3s, color .8s var(--ease) .3s, border-color .8s .3s;
}
.step.is-on .step__n { background: var(--black); border-color: var(--black); color: var(--gold-l); }
.step h3 { padding-top: 10.6px; font: 400 clamp(20.2px, 2.2vw, 24.6px)/1.25 var(--serif); color: var(--ink); }
.step p { margin-top: 8.8px; max-width: 422.4px; }

/* ---------- Contato ---------- */
.contact { overflow: hidden; }
.contact__glow { position: absolute; right: -20%; top: -30%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 164, 92, .11), transparent); pointer-events: none; }
.contact__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(42.2px, 7vw, 96.8px); align-items: start; }
.contact__txt > p:not(.eyebrow) { margin-top: 22.9px; max-width: 404.8px; color: var(--ivory-2); }
.channels { margin-top: 38.7px; display: grid; gap: 3.5px; }
.channels a { display: flex; align-items: center; gap: 17.6px; padding: 12.3px 0; text-decoration: none; border-bottom: 1px solid var(--line-dark); transition: padding-left .5s var(--ease); }
.channels a:hover { padding-left: 7px; }
.channels__ic { display: grid; place-items: center; flex: none; width: 42.2px; height: 42.2px; border-radius: 50%; border: 1px solid rgba(201, 164, 92, .45); color: var(--gold); transition: background-color .4s, color .4s; }
.channels a:hover .channels__ic { background: var(--gold); color: var(--black); }
.channels span:last-child { display: grid; min-width: 0; font-size: 14.1px; color: var(--ivory); overflow-wrap: anywhere; line-height: 1.5; }
.channels small { font: 500 8.8px/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

.form { position: relative; padding: clamp(28.2px, 4vw, 45.8px); background: rgba(18, 17, 16, .9); border: 1px solid var(--line-dark); }
.form::before, .form::after { content: ""; position: absolute; width: 19.4px; height: 19.4px; border-color: var(--gold); border-style: solid; }
.form::before { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.form::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.form h3 { font: 400 24.6px/1.2 var(--serif); margin-bottom: 15.8px; }
.field { position: relative; margin-top: 17.6px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 21.1px 0 8.8px; border: 0; border-bottom: 1px solid rgba(237, 227, 209, .22); border-radius: 0;
  background: transparent; color: var(--ivory); font-size: 14.1px; outline: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 105.6px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C9A45C' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 3.5px center; }
.field select option { background: var(--black-2); color: var(--ivory); }
.field label { position: absolute; left: 0; top: 21.1px; font-size: 13.2px; color: rgba(237, 227, 209, .55); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .35s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-17.6px) scale(.78); color: var(--gold); letter-spacing: .04em; }
.form__err { margin-top: 15.8px; font-size: 12.3px; color: #E9A88E; }
.form .btn { margin-top: 29.9px; }
.form__note { margin-top: 14.1px; font-size: 11.4px; line-height: 1.6; color: rgba(237, 227, 209, .5); text-align: center; }

/* ---------- Rodapé ---------- */
.footer { background: #070707; border-top: 1px solid var(--line-dark); padding-top: clamp(56.3px, 8vw, 88px); font-size: 12.8px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 42.2px; padding-bottom: 56.3px; }
.footer__brand img { width: 98.6px; height: auto; }
.footer__brand p { margin-top: 19.4px; font: 400 15px/1.5 var(--serif); color: var(--gold-l); }
.footer__col { display: grid; align-content: start; gap: 10.6px; }
.footer__col h4 { margin-bottom: 7px; font: 500 9.2px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.footer__col a, .footer__col span { color: var(--ivory-2); text-decoration: none; overflow-wrap: anywhere; transition: color .3s; }
.footer__col a:hover { color: var(--gold-l); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10.6px 35.2px; padding-block: 22.9px 29.9px; border-top: 1px solid rgba(201, 164, 92, .12); font-size: 10.6px; line-height: 1.6; color: rgba(237, 227, 209, .42); }
.footer__bottom p:last-child { max-width: 492.8px; }

/* ---------- Botão flutuante ---------- */
.float-wa {
  position: fixed; right: 21.1px; bottom: 21.1px; z-index: 80;
  display: grid; place-items: center; width: 51px; height: 51px; border-radius: 50%;
  background: var(--gold-grad); background-size: 180% 100%; color: #17120A;
  box-shadow: 0 15.8px 35.2px -12.3px rgba(0, 0, 0, .8), 0 0 0 1px rgba(241, 220, 158, .35);
  opacity: 0; pointer-events: none; transform: translateY(14.1px) scale(.9);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-position .8s;
}
.float-wa .ic { width: 22px; height: 22px; stroke-width: 1.5; }
.float-wa.is-on { opacity: 1; pointer-events: auto; transform: none; }
.float-wa:hover { background-position: 100% 0; }
.float-wa::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; animation: ping 3.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Revelação ao rolar (só com JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(29.9px); transition: opacity 1.1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-out) var(--d, 0s); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0); }
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .3s; }
.js [data-reveal="line"].in { transform: scaleX(1); }
.js [data-reveal="draw"] { opacity: 1; transform: none; }
.js [data-reveal="draw"] .scale__line > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-out); }
.js [data-reveal="draw"] .scale__line > :nth-child(2) { transition-delay: .2s; }
.js [data-reveal="draw"] .scale__line > :nth-child(3) { transition-delay: .35s; }
.js [data-reveal="draw"] .scale__line > :nth-child(4) { transition-delay: .6s; }
.js [data-reveal="draw"] .scale__line > :nth-child(n+5) { transition-delay: .8s; }
.js [data-reveal="draw"] .scale__fill { opacity: 0; transition: opacity 1.4s var(--ease) 1s; }
.js [data-reveal="draw"].in .scale__line > * { stroke-dashoffset: 0; }
.js [data-reveal="draw"].in .scale__fill { opacity: 1; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .areas { grid-template-columns: minmax(0, 1fr); gap: 17.6px; }
  .area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .area__img { aspect-ratio: auto; min-height: 100%; }
  .area__img::after { background: linear-gradient(90deg, rgba(18, 17, 16, 0) 50%, var(--black-2) 100%); }
  .area__body { padding: 29.9px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header: 66.9px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .process, .contact__in { grid-template-columns: minmax(0, 1fr); }
  .about__cols { grid-template-columns: minmax(0, 1fr); gap: 17.6px; margin-top: 31.7px; }
  .process__head { position: static; }
  /* tablet em pé: foto em cima, texto embaixo (como no celular) */
  .hero { align-items: flex-end; }
  .hero__bg img { filter: brightness(.72) saturate(.9); }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 11, .5) 0%, rgba(11, 11, 11, .6) 30%, rgba(11, 11, 11, .9) 52%, rgba(11, 11, 11, .97) 70%, var(--black) 100%); }
  .hero__in { padding-bottom: 63.4px; }
  .scroll-cue { display: none; }
}

@media (max-width: 760px) {
  :root { --section: 66.9px; --header: 59.8px; }
  body { font-size: 15px; }
  p { font-weight: 400; }
  .so-desktop { display: none; }
  .h2 { font-size: clamp(27.3px, 8.6vw, 35.2px); margin-top: 15.8px; }
  .eyebrow { font-size: 9.5px; letter-spacing: .3em; gap: 10.6px; }
  .eyebrow::before { width: 21.1px; }
  .btn { min-height: 45.8px; padding: 0 17.6px; letter-spacing: .16em; }

  /* herói: foto em cima, texto embaixo */
  .brand img { width: 22.9px; }
  .brand__name { font-size: 18.5px; }
  .brand__sub { font-size: 7.5px; letter-spacing: .46em; }
  .hero { align-items: flex-end; }
  .hero__bg img { object-position: 74% 30%; }
  .hero__bg img { filter: brightness(.72) saturate(.9); }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 11, .55) 0%, rgba(11, 11, 11, .62) 28%, rgba(11, 11, 11, .9) 48%, rgba(11, 11, 11, .97) 66%, var(--black) 100%); }
  .hero__in { padding-bottom: 49.3px; }
  .hero__title { margin-top: 17.6px; font-size: clamp(35.2px, 11.4vw, 47.5px); }
  .hero__lead { margin-top: 17.6px; font-size: 14.5px; line-height: 1.7; color: rgba(237, 227, 209, .86); }
  .hero__ctas { margin-top: 28.2px; gap: 8.8px; }
  .hero__ctas .btn { flex: 1 1 100%; }

  .marquee { padding: 15.8px 0; }
  .marquee__track { gap: 24.6px; }
  .marquee span { font-size: 9.5px; letter-spacing: .36em; }

  /* sobre: alinhado à esquerda, como as outras seções */
  .about { justify-items: start; text-align: left; }
  .about .rule { margin: 26.4px 0 0; transform-origin: left; }
  .about__cols p { font-size: 15px; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 49.3px; }
  .pillar { display: grid; grid-template-columns: 26.4px minmax(0, 1fr); column-gap: 15.8px; padding: 21.1px 0; }
  .pillar .ic { grid-row: span 2; margin-top: 2px; }
  .pillar h3 { margin-top: 0; font-size: 18.5px; }
  .pillar p { margin-top: 5.3px; font-size: 14px; }

  /* áreas */
  #areas .head { margin-bottom: 35.2px; }
  .rule { margin-top: 22.9px; width: 49.3px; }
  .area { display: flex; }
  .area__img { aspect-ratio: 16 / 9; min-height: 0; }
  .area__img::after { background: linear-gradient(180deg, rgba(18, 17, 16, 0) 40%, var(--black-2) 100%); }
  .area__body { padding: 0 19.4px 22.9px; }
  .area h3 { margin-top: 8.8px; font-size: 22px; }
  .area p { margin-top: 8.8px; }
  .area ul { margin: 17.6px 0 21.1px; padding-top: 15.8px; gap: 7px; }

  /* citação */
  .quote { min-height: 0; }
  .quote__in { padding-block: 84.5px; }
  .quote blockquote p { margin-top: 24.6px; font-size: clamp(27.3px, 8.8vw, 35.2px); }
  .quote__by { margin-top: 19.4px; font-size: 8.8px; }

  /* como funciona */
  .process { gap: 42.2px; }
  .process__head .btn { width: 100%; }
  .step { grid-template-columns: 38.7px minmax(0, 1fr); gap: 15.8px; padding-bottom: 31.7px; }
  .step__n { width: 38.7px; height: 38.7px; font-size: 12.3px; }
  .steps__rail { left: 18.9px; top: 19.4px; bottom: 19.4px; }
  .step h3 { padding-top: 6.2px; font-size: 18.5px; }
  .step p { margin-top: 5.3px; font-size: 14px; }

  /* contato */
  .contact__in { gap: 42.2px; }
  .channels { margin-top: 28.2px; }
  .channels a { gap: 14.1px; padding: 10.6px 0; }
  .channels__ic { width: 37px; height: 37px; }
  .channels span:last-child { font-size: 14.5px; }
  .form { padding: 24.6px 19.4px; }
  .form h3 { font-size: 21.1px; margin-bottom: 5.3px; }

  /* rodapé: marca e contato na largura toda, menus lado a lado */
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35.2px 21.1px; padding-bottom: 42.2px; }
  .footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__brand { display: flex; align-items: center; gap: 19.4px; }
  .footer__brand img { width: 68.6px; }
  .footer__brand p { margin-top: 0; font-size: 15px; }
  .footer__bottom { padding-bottom: 84.5px; }

  .float-wa { right: 14.1px; bottom: 14.1px; width: 47.5px; height: 47.5px; }
}

@media (max-width: 380px) {
  :root { --gutter: 15.8px; }
  .hero__title { font-size: 33.4px; }
  .channels span:last-child { font-size: 13.5px; }
}

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