/* =========================================================
   Dr. Leandro Nunes dos Santos — Advocacia
   Brand: marinho #0E1434 · carmim #B50921 · ivory #F6F3EC
   ========================================================= */

:root {
  /* brand */
  --navy:        #0E1434;
  --navy-800:    #131a44;
  --navy-700:    #1a2352;
  --navy-600:    #232d63;
  --carmim:      #B50921;
  --carmim-br:   #d2152f;
  --ivory:       #f6f3ec;
  --ivory-deep:  #efe9dd;
  --paper:       #ffffff;
  --ink:         #14182c;
  --muted:       #5a5f73;
  --line:        rgba(14,20,52,.12);
  --gold:        #b08a3e;

  /* themeable tokens (driven by tweaks) */
  --accent:      var(--carmim);
  --accent-br:   var(--carmim-br);
  --radius:      14px;
  --radius-sm:   9px;
  --font-head:   "Cormorant Garamond", Georgia, serif;
  --font-body:   "Hanken Grotesk", system-ui, sans-serif;

  /* page palette (overridden per direction) */
  --bg:          var(--ivory);
  --surface:     var(--paper);
  --text:        var(--ink);
  --text-soft:   var(--muted);
  --head-weight: 600;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 120px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  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; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: var(--head-weight); margin: 0; line-height: 1.06; letter-spacing: -.01em; }
p { margin: 0; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
  flex: 0 0 auto;
}
.eyebrow.center { justify-content: center; }
.kicker { color: var(--accent); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-soft); line-height: 1.62; }
.h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.018em; }
.h2 em { font-style: italic; color: var(--accent); }
.measure { max-width: 60ch; }

/* reveal — only hide when JS is active (html.js); visible by default for print/PDF/no-JS */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16,.8,.3,1), transform .9s cubic-bezier(.16,.8,.3,1); }
html.js .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; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px; letter-spacing: .005em;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-br); transform: translateY(-2px); box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--text) 22%, transparent); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.btn-ondark { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ondark:hover { border-color: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, padding .35s, border-color .35s;
  padding: 14px 0; border-bottom: 1px solid transparent;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.scrolled { background: color-mix(in srgb, var(--navy) 94%, transparent); backdrop-filter: blur(12px); padding: 13px 0; border-color: rgba(255,255,255,.08); box-shadow: 0 10px 40px -18px rgba(0,0,0,.6); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 120px; width: auto; transition: height .35s; }
.header.scrolled .brand img { height: 84px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; color: #fff; }
.brand-txt b { font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.brand-txt span { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: rgba(255,255,255,.82); font-size: 14.5px; font-weight: 500; letter-spacing: .01em; transition: color .2s; position: relative; }
.nav a::after { content:""; position:absolute; left:0; bottom:-6px; height:1.5px; width:0; background: var(--accent); transition: width .3s; }
.nav a:hover { color: #fff; } .nav a:hover::after { width: 100%; }
.header .btn-primary { padding: 11px 22px; font-size: 14.5px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: #fff; transition: .3s; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding-top: 132px; }
.hero::before { /* texture glow */
  content: ""; position: absolute; width: 760px; height: 760px; right: -180px; top: -160px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%);
  opacity: .55; pointer-events: none;
}
.hero::after { content:""; position:absolute; inset:0; background:
  repeating-linear-gradient(125deg, rgba(255,255,255,.018) 0 1px, transparent 1px 26px); pointer-events:none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px,5vw,72px) 0 clamp(56px,7vw,104px); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: .98; letter-spacing: -.022em; margin: 22px 0 0; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.86); margin-top: 26px; max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; gap: 0; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.hero-meta .mi { padding: 2px 30px; position: relative; }
.hero-meta .mi:first-child { padding-left: 0; }
.hero-meta .mi + .mi::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:38px; background: rgba(255,255,255,.16); }
.hero-meta .mi .lab { display:block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.hero-meta .mi b { font-family: var(--font-head); font-size: 25px; font-weight: 600; color: #fff; display: block; line-height: 1.1; letter-spacing: -.01em; }

.portrait { position: relative; }
.portrait .frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); aspect-ratio: 449/600; background: #0b0f24;
}
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait .frame::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(11,15,36,.55), transparent 42%); }
.portrait .ring { position: absolute; inset: -14px; border: 1px solid rgba(255,255,255,.16); border-radius: calc(var(--radius) + 14px); pointer-events: none; }
.portrait .tag {
  position: absolute; left: -22px; bottom: 38px; background: #fff; color: var(--navy);
  padding: 16px 22px; border-radius: var(--radius-sm); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); max-width: 230px;
}
.portrait .tag b { font-family: var(--font-head); font-size: 19px; display: block; }
.portrait .tag span { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.portrait .oab { position:absolute; z-index: 3; top: 22px; right: -18px; background: var(--accent); color:#fff; font-size: 13px; font-weight: 700; letter-spacing:.08em; padding: 9px 16px; border-radius: 999px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }

/* ---------- generic section bits ---------- */
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .h2 { margin-top: 18px; }
.sec-head p { margin-top: 20px; }

/* ---------- sobre ---------- */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(34px, 5vw, 78px); align-items: center; }
.about-photo { position: relative; }
.about-photo .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 36px 80px -44px rgba(14,20,52,.42); }
.about-photo .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(.05); }
.about-photo .accent-bar { position: absolute; left: -16px; top: 40px; bottom: 120px; width: 5px; background: var(--accent); border-radius: 4px; }
.about-badge {
  position: absolute;
  right: -18px;
  bottom: 18px;
  width: min(240px, calc(100% - 28px));
  background: var(--navy);
  color: #fff;
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 28px 50px -28px rgba(14,20,52,.55);
}
.about-badge b { display: block; font-family: var(--font-head); font-size: 20px; color: #fff; margin-bottom: 10px; }
.about-badge span { display: block; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.82); }
.about-body h2 { font-size: clamp(34px, 4.6vw, 58px); }
.about-body .lead { margin-top: 22px; }
.about-body p + p { margin-top: 18px; }
.about-qualis { margin-top: 34px; border-top: 1px solid var(--line); }
.about-qitem {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.about-qicon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.about-qicon svg { width: 20px; height: 20px; }
.about-qitem h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--text); }
.about-qitem p { margin-top: 6px; font-size: 16px; line-height: 1.65; color: var(--text-soft); }
.hm-mobile { display: none; }



/* ---------- legibilidade do tema no hero ---------- */
.hero-eyebrow {
  color: rgba(255,255,255,.96);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.45;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-eyebrow::before { width: 38px; height: 2px; background: var(--accent); }

/* ---------- diferenciais / por que contar ---------- */
.trust { background: var(--paper); }
.trust .h2 em { color: var(--accent); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 58px; }
.trust-card {
  background: #ffffff;
  border: 1px solid rgba(14,20,52,.08);
  border-radius: var(--radius);
  padding: 38px 32px;
  min-height: 294px;
  box-shadow: 0 24px 54px -42px rgba(14,20,52,.26);
}
.trust-ic {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 24px;
  box-shadow: 0 16px 30px -18px rgba(14,20,52,.55);
}
.trust-ic svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: 27px; color: var(--navy); }
.trust-card p { color: var(--text-soft); margin-top: 14px; font-size: 16px; line-height: 1.72; }

/* ---------- áreas ---------- */
.areas { background: var(--bg); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.area-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; position: relative; overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.area-card::before { content:""; position:absolute; left:0; top:0; height:3px; width:0; background: var(--accent); transition: width .4s; }
.area-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(14,20,52,.35); border-color: transparent; }
.area-card:hover::before { width: 100%; }
.area-ic { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); margin: 0 0 22px; }
.area-ic svg { width: 26px; height: 26px; }
.area-card h3 { font-size: 27px; }
.area-card p { color: var(--text-soft); margin-top: 12px; font-size: 15.5px; }
.area-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.area-card li { font-size: 14.5px; color: var(--text-soft); padding: 7px 0 7px 22px; position: relative; border-top: 1px solid var(--line); }
.area-card li:first-child { border-top: 0; }
.area-card li::before { content:""; position:absolute; left:0; top:14px; width:7px; height:7px; border-radius:50%; background: var(--accent); }

/* ---------- como funciona ---------- */
.steps { background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 58px; }
.step { position: relative; }
.step .n { font-family: var(--font-head); font-size: 58px; color: color-mix(in srgb, var(--accent) 22%, transparent); line-height: 1; font-weight: 600; }
.step h4 { font-size: 22px; margin-top: 10px; }
.step p { color: var(--text-soft); font-size: 15px; margin-top: 10px; }
.step::after { content:""; position:absolute; top:26px; right:-12px; width:24px; height:1px; background: var(--line); }
.step:last-child::after { display:none; }

/* ---------- faq ---------- */
.faq { background: var(--navy); color: #fff; }
.faq .h2, .faq .faq-q { color: #fff; }
.faq .h2 em { color: var(--accent); }
.faq .lead { color: rgba(255,255,255,.74); }
.faq .faq-list { border-top-color: rgba(255,255,255,.16); }
.faq .faq-item { border-bottom-color: rgba(255,255,255,.16); }
.faq .faq-a p { color: rgba(255,255,255,.78); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px,5vw,72px); margin-top: 20px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 44px 26px 0; position: relative; font-family: var(--font-head); font-size: clamp(20px,2.2vw,25px); color: var(--text); font-weight: 600; }
.faq-q .ic { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; }
.faq-q .ic::before, .faq-q .ic::after { content:""; position:absolute; background: var(--accent); transition: transform .3s, opacity .3s; }
.faq-q .ic::before { left:0; top:10px; width:22px; height:2px; }
.faq-q .ic::after { left:10px; top:0; width:2px; height:22px; }
.faq-item.open .faq-q .ic::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { color: var(--text-soft); padding: 0 40px 26px 0; font-size: 16px; }

/* ---------- depoimentos (carrossel) ---------- */
.testi { background: var(--surface); overflow: hidden; }
.testi-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 48px; }
.testi-head .h2 em { color: var(--accent); }
.g-badge { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; }
.g-mark { width: 30px; height: 30px; flex: none; }
.g-meta { display: flex; flex-direction: column; line-height: 1.2; }
.g-top { font-size: 14px; color: var(--text-soft); }
.g-top b { color: var(--text); font-weight: 700; }
.g-rate { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.g-rate b { font-family: var(--font-head); font-size: 22px; color: var(--text); font-weight: 700; }
.g-stars { color: #FBBC05; letter-spacing: 1px; font-size: 15px; }

.carousel { position: relative; }
.car-viewport { overflow: hidden; }
.car-track { display: flex; gap: 22px; transition: transform .5s cubic-bezier(.22,.8,.3,1); }
.testi-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 28px; display: flex; flex-direction: column;
  flex: 0 0 calc((100% - 44px) / 3); box-sizing: border-box;
  box-shadow: 0 18px 44px -30px rgba(14,20,52,.35);
}
.tc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tc-g { width: 24px; height: 24px; }
.testi-card .testi-stars { color: #FBBC05; letter-spacing: 2px; font-size: 16px; }
.testi-card p { color: var(--text); font-size: 16px; line-height: 1.62; margin: 0 0 24px; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 13px; }
.testi-who .av { width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, var(--bg)); display: grid; place-items: center; font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--accent); flex: none; }
.testi-who b { font-size: 15px; font-weight: 600; display: block; color: var(--text); }
.testi-who span { font-size: 13px; color: var(--text-soft); }

.car-ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.car-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, opacity .25s; }
.car-btn svg { width: 22px; height: 22px; }
.car-btn:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.car-btn:disabled { opacity: .32; cursor: default; }
.car-dots { display: flex; gap: 9px; }
.car-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: 0; padding: 0; cursor: pointer; transition: background .25s, width .25s; }
.car-dot.active { background: var(--accent); width: 26px; border-radius: 999px; }
.testi-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--text-soft); }
.areas-cta, .testi-cta { display: flex; justify-content: center; margin-top: 52px; }

/* ---------- contato / mapa ---------- */
.contato { background: var(--ivory); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,64px); align-items: stretch; }
.contact-card { display: flex; flex-direction: column; }
.contact-list { display: grid; gap: 4px; margin-top: 34px; }
.ci { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.ci:last-child { border-bottom: 0; }
.ci .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); display: grid; place-items: center; }
.ci .ic svg { width: 21px; height: 21px; }
.ci .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.ci .val { font-size: 17px; color: var(--text); margin-top: 3px; font-weight: 500; }
.ci .val a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; border: 1px solid var(--line); box-shadow: 0 30px 70px -44px rgba(14,20,52,.4); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band .h2 { color: #fff; } .cta-band .h2 em { color: #fff; font-style: italic; opacity: .85; }
.cta-band p { color: rgba(255,255,255,.86); margin: 18px auto 0; max-width: 52ch; }
.cta-band .btn-light { margin-top: 36px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 72px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand img { height: 130px; }
.footer-col h5 { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 18px; font-weight: 700; }
.footer-col p, .footer-col a { font-size: 15px; color: rgba(255,255,255,.78); display: block; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-about { font-size: 15px; line-height: 1.7; margin-top: 18px; max-width: 38ch; }
.fc-item { display: flex; align-items: flex-start; gap: 11px; }
.footer-col .fc-item { display: flex; }
.fc-item svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* =========================================================
   DIRECTION VARIATIONS (whole-page)
   ========================================================= */
/* Marinho — dark dominant */
body[data-direction="marinho"] { --bg: var(--navy); --surface: var(--navy-800); --text: #f3f4fa; --text-soft: rgba(243,244,250,.66); --line: rgba(255,255,255,.12); }
body[data-direction="marinho"] .about-quote { color: #fff; }
body[data-direction="marinho"] .cred b, body[data-direction="marinho"] .area-card h3, body[data-direction="marinho"] .faq-q { color: #f3f4fa; }
body[data-direction="marinho"] .area-ic, body[data-direction="marinho"] .ci .ic { background: color-mix(in srgb, var(--accent) 20%, transparent); }
body[data-direction="marinho"] .map iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
body[data-direction="marinho"] .cred b { color: #fff; }

/* Minimal — bright, airy, white dominant */
body[data-direction="minimal"] { --bg: #ffffff; --surface: #fafafa; --radius: 4px; --radius-sm: 3px; }
body[data-direction="minimal"] .area-card, body[data-direction="minimal"] .cred { box-shadow: none; }
body[data-direction="minimal"] .section { padding: clamp(80px,10vw,148px) 0; }

/* Editorial is the default (ivory) */

/* corners tweak */
body[data-corners="retos"] { --radius: 0px; --radius-sm: 0px; }
body[data-corners="retos"] .btn { border-radius: 0; }
body[data-corners="retos"] .area-ic, body[data-corners="retos"] .ci .ic { border-radius: 0; }
body[data-corners="retos"] .testi-who .av, body[data-corners="retos"] .wa-float { border-radius: 0; }
body[data-corners="retos"] .hero-meta, body[data-corners="retos"] .oab, body[data-corners="retos"] .badge { border-radius: 0 !important; }

/* heading font tweak */
body[data-head="moderna"] { --font-head: "Hanken Grotesk", system-ui, sans-serif; --head-weight: 700; }
body[data-head="moderna"] .h2 em, body[data-head="moderna"] .hero h1 em, body[data-head="moderna"] .about-quote { font-style: normal; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; margin: 0 auto; }
  .hm-desktop { display: none; }
  .hm-mobile { display: flex; max-width: 440px; margin-left: auto; margin-right: auto; width: 100%; }
  .about-grid, .faq-grid, .contato-grid { grid-template-columns: 1fr; }
  .about-photo { order: 1; max-width: 560px; }
  .about-body { order: 2; }
  .areas-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .testi-card { flex: 0 0 calc((100% - 22px) / 2); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .header .btn-primary { display: none; }
  .burger { display: flex; }
  /* logo menor no mobile p/ caber + espaço de 30px abaixo dela */
  .brand img { height: 72px; }
  .wrap { padding-left: 25px; padding-right: 25px; }
  .header.scrolled .brand img { height: 58px; }
  /* espaçamento padronizado */
  .section { padding: 64px 0; }
  .hero { padding-top: 130px; }
  .hero-grid { padding: 0 0 44px; gap: 30px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-band .btn, .faq .btn-primary { width: 100%; justify-content: center; }
  .areas-grid, .steps-grid, .trust-grid, .footer-top { grid-template-columns: 1fr; }
  .testi-card { flex: 0 0 100%; }
  .testi-head { margin-bottom: 32px; }
  .hero-meta { gap: 0; flex-wrap: nowrap; }
  .hero-meta .mi { flex: 1; padding: 2px 18px; }
  .hero-meta .mi b { font-size: 18px; }
  /* chips empilhados no mobile */
  .creds { flex-direction: column; }
  .cred { flex: none; width: 100%; }
  /* rodapé: centralizar apenas a marca e os textos legais (não nav/contato) */
  .footer-top { gap: 34px; }
  .footer-col:first-child { text-align: center; }
  .footer-col:first-child .brand { width: fit-content; margin-left: auto; margin-right: auto; }
  .footer-about { margin-left: auto; margin-right: auto; max-width: 42ch; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
  .portrait .tag { left: 12px; }
  .about-photo { max-width: 100%; }
  .about-photo .accent-bar { bottom: 92px; }
  .about-badge { right: 14px; bottom: 14px; width: calc(100% - 28px); padding: 18px 16px; }
  .about-badge b { font-size: 18px; }
  .about-badge span { font-size: 13.5px; }
  .about-qitem { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; }
  .about-qicon { width: 38px; height: 38px; }
  .about-qitem h3 { font-size: 18px; }
  .about-qitem p { font-size: 15px; }

  .eyebrow { font-size: 18px; letter-spacing: .14em; gap: 10px; }
  .eyebrow::before { width: 28px; }
  .hero-eyebrow { width: 100%; font-size: 18px; letter-spacing: .12em; padding: 0; gap: 10px; }
  .hero-eyebrow::before { width: 28px; }
  .hero .lead { font-size: 18px; line-height: 1.68; color: rgba(255,255,255,.9); }
  .trust-card { min-height: auto; padding: 30px 24px; }
  /* mobile nav drawer */
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy-800); padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
  .nav.open a { padding: 14px var(--gut); }
}

/* =========================================================
   AJUSTES V5 — pacote revisado e limpo
   ========================================================= */
/* Títulos menores acima do título principal: maior no desktop, mas sem exagero no mobile */
.eyebrow {
  font-size: clamp(17.5px, 1.2vw, 19.5px);
  letter-spacing: .17em;
  font-weight: 800;
  line-height: 1.45;
}
.eyebrow::before { width: 40px; height: 2px; }
.hero-eyebrow {
  font-size: clamp(19px, 1.65vw, 24px);
  letter-spacing: .13em;
}

/* Sobre + formação integrada: foto maior, título um pouco menor */
.about-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(38px, 5vw, 86px);
}
.about-photo { align-self: stretch; }
.about-photo .img {
  aspect-ratio: 5 / 7;
  height: 100%;
  min-height: 620px;
}
.about-photo .img img {
  object-fit: cover;
  object-position: center top;
}
.about-body h2 {
  font-size: clamp(30px, 3.65vw, 46px);
  line-height: 1.08;
}
.about-body .lead { font-size: clamp(18px, 1.7vw, 20px); }

/* Por que contar — fundo azul adaptado */
.trust {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(181,9,33,.22), transparent 34%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.018) 0 1px, transparent 1px 26px);
  pointer-events: none;
}
.trust .wrap { position: relative; z-index: 1; }
.trust .eyebrow { color: rgba(255,255,255,.94); }
.trust .eyebrow::before { background: var(--accent); }
.trust .h2 { color: #fff; }
.trust .h2 em { color: #fff; opacity: .82; }
.trust .lead { color: rgba(255,255,255,.78); }
.trust-card {
  background: #fff;
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 30px 74px -48px rgba(0,0,0,.74);
}
.trust-ic {
  background: var(--navy);
  color: #fff;
}

/* Áreas de atuação — fundo branco e cards brancos com sombra */
.areas { background: #fff; }
.area-card {
  background: #fff;
  border-color: rgba(14,20,52,.08);
  box-shadow: 0 22px 54px -44px rgba(14,20,52,.28);
}
.area-card:hover { box-shadow: 0 34px 70px -42px rgba(14,20,52,.34); }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-body { order: 1; }
  .about-photo { order: 2; max-width: 620px; }
  .about-photo .img { min-height: 560px; }
}

@media (max-width: 760px) {
  .wrap { padding-left: 25px; padding-right: 25px; }

  /* Remove o aumento exagerado do título pequeno no mobile */
  .eyebrow {
    font-size: 15.5px;
    letter-spacing: .12em;
    line-height: 1.45;
    gap: 10px;
  }
  .eyebrow::before { width: 28px; height: 1.5px; }
  .hero-eyebrow { font-size: 16.5px; letter-spacing: .10em; }

  /* Demais fontes no mobile: até +3px */
  body { font-size: 19px; }
  .lead { font-size: 21px; line-height: 1.65; }
  .hero .lead { font-size: 21px; line-height: 1.66; }
  .btn { font-size: 17px; }
  .h2 { font-size: clamp(37px, 10vw, 50px); }
  .hero h1 { font-size: clamp(45px, 13vw, 68px); }

  /* Sobre no mobile: texto primeiro, foto depois */
  .about-body { order: 1; }
  .about-photo { order: 2; max-width: 100%; }
  .about-body h2 { font-size: clamp(34px, 9.2vw, 44px); }
  .about-body .lead { font-size: 21px; }
  .about-photo .img { aspect-ratio: 3 / 4; min-height: 500px; }
  .about-photo .accent-bar { bottom: 92px; }
  .about-badge { right: 14px; bottom: 14px; width: calc(100% - 28px); padding: 18px 16px; }
  .about-badge b { font-size: 18px; }
  .about-badge span { font-size: 16px; }
  .about-qitem { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; }
  .about-qicon { width: 38px; height: 38px; }
  .about-qitem h3 { font-size: 20px; }
  .about-qitem p { font-size: 18px; }

  .trust-card h3,
  .area-card h3 { font-size: 30px; }
  .trust-card p,
  .area-card p,
  .step p,
  .faq-a p,
  .testi-card p,
  .testi-who b,
  .ci .val,
  .footer-col p,
  .footer-col a { font-size: 18px; }
  .area-card li { font-size: 17.5px; }
  .faq-q { font-size: clamp(23px, 6.5vw, 30px); }
}

/* =========================================================
   AJUSTES V6 — correção desktop + hero/meta mobile
   ========================================================= */
/* Hero 01: frase do tema com 17px no desktop */
.hero-eyebrow {
  font-size: 17px;
  letter-spacing: .13em;
}

@media (min-width: 1025px) {
  /* Sobre no desktop: evita sobreposição, mantém foto alta e aumenta presença visual */
  .about-grid {
    grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.05fr);
    gap: clamp(48px, 4.8vw, 72px);
    align-items: center;
  }
  .about-photo {
    width: 100%;
    max-width: 560px;
    align-self: center;
    min-width: 0;
  }
  .about-photo .img {
    aspect-ratio: auto;
    height: clamp(640px, 54vw, 720px);
    min-height: 0;
  }
  .about-photo .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .about-body {
    min-width: 0;
    max-width: 620px;
  }
  .about-body h2 {
    font-size: clamp(30px, 2.75vw, 40px);
    line-height: 1.08;
    max-width: 13.5ch;
  }
  .about-body .lead {
    font-size: clamp(18px, 1.35vw, 19.5px);
  }
}

@media (max-width: 760px) {
  .hero-eyebrow {
    font-size: 16.5px;
    letter-spacing: .10em;
  }

  /* Hero meta no mobile: labels +3px e valores +4px */
  .hero-meta .mi .lab {
    font-size: 14.5px;
    letter-spacing: .18em;
    line-height: 1.35;
  }
  .hero-meta .mi b {
    font-size: 22px;
    line-height: 1.15;
  }
}

/* =========================================================
   AJUSTE V7 — título do Sobre em uma linha no desktop
   ========================================================= */
@media (min-width: 1025px) {
  .about-body h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(30px, 2.35vw, 36px);
    line-height: 1.08;
  }
}


:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
