/* ==========================================================================
   JG Tributária — stilo.css (arquivo único, sem duplicações)
   Já inclui a responsividade: NÃO carregar mais o responsivo-mobile.css.

   Índice
   1. Variáveis        6. Hero            11. Formulário / CTA
   2. Base            7. Serviços        12. Blog (artigos)
   3. Utilitários     8. Para quem       13. Footer
   4. Header / Menu   9. Método          14. Animações
   5. Botões         10. FAQ             15. Responsivo
   ========================================================================== */

/* 1. VARIÁVEIS ----------------------------------------------------------- */
:root {
  --bg: #151756;
  --ink: #061534;
  --light: #f2f0eb;
  --cream: #F7F5EF;
  --white: #FFFFFF;
  --text: #162B38;
  --muted: #53616B;
  --line: #DDE2E4;
  --gold: #C9A24D;
  --gold2: #e2c78d;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-md: 16px;
  --shadow-sm: 0 1px 2px rgba(6, 40, 61, .06), 0 2px 8px rgba(6, 40, 61, .05);
  --shadow-md: 0 8px 30px rgba(6, 40, 61, .08);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 200ms;

  /* Troque aqui a imagem do hero (ex.: img-top-site1.jpg) */
  --hero-img: url('../img/img-top-site1.jpg');
}

/* 2. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;          /* âncoras não ficam escondidas sob o header sticky */
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;                  /* clip não quebra o header sticky */
  overscroll-behavior-x: none;
  background: var(--bg);
  color: var(--light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; }

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

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, a, summary { overflow-wrap: break-word; }

h1, h2 { font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 770px; margin: 28px 0 26px; }
h2 { font-size: clamp(40px, 4.5vw, 66px); margin: 18px 0 25px; }
h3 { font-size: 20px; line-height: 1.2; }

em { font-family: var(--serif); font-style: italic; color: var(--gold2); }

.container { width: min(1160px, calc(100% - 48px)); margin: auto; }

.eyebrow, .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow-line { width: 34px; height: 1px; background: var(--gold); }
.kicker.gold { color: #9a7838; }

.lead { max-width: 610px; font-size: 17px; line-height: 1.7; color: #bebbb3; }
.lede { color: #373a3c; }

/* Seções */
.section-dark  { background: var(--bg); }
.section-light { background: var(--light); color: var(--ink); }
.section-dark, .section-light { padding: 115px 0; }
.section-pad { padding: 40px 0; }

.section-heading { max-width: 700px; }
.section-heading h2 { color: #fff; }
.section-heading h3 { color: var(--bg); font-size: clamp(1.2rem, 2.5vw, 1.4rem); margin: 18px 0 25px; }
.section-heading p { max-width: 550px; color: var(--muted); }
.centered { text-align: center; margin: 0 auto; }
.centered p { margin: 0 auto; }

.head-row { margin: 20px 0; }
.head-row h2 { max-width: 800px; color: #08074a; font-size: 40px; margin: 18px 0 25px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }

/* 3. UTILITÁRIOS --------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 4. HEADER / MENU ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 11px; }
.logo {  height: 58px; max-width: 100%; }

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--text);
  font: 700 15px system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.nav a:not(.nav-cta) {
  position: relative;
  padding-bottom: 4px;
  text-transform: uppercase;
  border-radius: 10px;
  transition: color .3s ease;
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold2);
  transition: width .3s ease;
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta):active,
.nav a:not(.nav-cta).active { color: var(--gold2); }

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta):active::after,
.nav a:not(.nav-cta).active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  background: #37c271f3;
  color: #0b0c0e;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all .3s ease;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(199, 163, 99, .3); }

/* Botão hambúrguer (as 3 barras são <span class="menu-toggle__bar">) */
.menu-toggle {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #fff;
  color: #c7a363;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.menu-toggle:hover { border-color: var(--gold); }

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--bg);
  transition: transform .3s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] { background: var(--bg); border-color: var(--bg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: #fff; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. BOTÕES -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  transition: .25s ease;
}
.btn:hover { transform: scale(1.03); }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold2); }
.btn-ghost { border-color: #6d6c66; color: var(--light); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold2); }

/* 6. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: calc(100vh - 114px);
  min-height: calc(100svh - 114px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .55;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(to right, #0b1120 0%, rgba(11, 17, 32, .85) 45%, transparent 75%), var(--hero-img) center / cover no-repeat;
  filter: saturate(.75) hue-rotate(-15deg);   /* neutraliza o tom amarelado */
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero-glow {
  position: absolute;
  top: -80px;
  right: -210px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: rgba(199, 163, 99, .08);
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 90px;
  align-items: center;
  min-height: calc(100vh - 255px);
  min-height: calc(100svh - 255px);
  padding: 92px 0 65px;
}
.hero-copy { max-width: 700px; }

.hero-actions { display: flex; gap: 14px; margin: 36px 0 24px; }

.hero-note { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #77766f; }
.pulse { height: 7px; width: 7px; border-radius: 50%; background: #36a82c; box-shadow: 0 0 0 5px rgba(138, 191, 133, .1); }

/* Segmentos (faixa animada) */
.hero-segments {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.segments-label { min-width: 150px; }
.segments-label span, .segments-label small { display: block; }
.segments-label span { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; color: var(--gold2); }
.segments-label small { margin-top: 4px; font-size: 10px; color: #85827a; }

.hero-marquee { flex: 1; min-width: 0; overflow: hidden; }
.hero-marquee-track { display: flex; align-items: center; width: max-content; animation: heroMarquee 30s linear infinite; }
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }
.hero-marquee span { font: italic 21px var(--serif); white-space: nowrap; color: #d8d5ce; }
.hero-marquee i { margin: 0 27px; font-style: normal; font-size: 10px; color: var(--gold); }

/* 7. SERVIÇOS ------------------------------------------------------------ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 200px;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card h3 { margin-bottom: 8px; font-size: 1.08rem; color: var(--gold); }
.service-card p { max-width: 280px; font-size: 14px; color: #686761; }

.service-card .btn-text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;                 /* alvo de toque WCAG 2.2 */
  margin-top: auto;
  padding-top: 12px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold);
}

/* 8. PARA QUEM ----------------------------------------------------------- */
.audience-split { align-items: center; }

.audience-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.audience-cards article {
  min-height: 125px;
  padding: 19px 18px;
  border: 1px solid var(--line);
  transition: .25s;
}
.audience-cards article:hover { border-color: var(--gold); background: rgba(199, 163, 99, .08); transform: translateY(-3px); }
.audience-cards b, .audience-cards span { display: block; }
.audience-cards b { font-size: 15px; color: #e6e0d5; }
.audience-cards span { margin-top: 8px; font-size: 12px; line-height: 1.45; color: #8c8a84; }

/* SOBRE (seção desativada no HTML — mantida para reativar) */
.specialist-split { align-items: center; }
.specialist-image { position: relative; }
.specialist-image img { width: 100%; height: 520px; object-fit: cover; filter: grayscale(.4); }
.image-label { position: absolute; right: 20px; bottom: 20px; font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.specialist-copy p { max-width: 510px; color: #9d9b95; }

/* 9. MÉTODO -------------------------------------------------------------- */
.method .container {
  max-width: 1200px;
  margin-top: -160px;
  padding-top: 20px;
  border-radius: 15px;
  background: #907d5b;
}

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 40px; }
.progress-line { position: absolute; top: 19px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, #a9823e, #d5c29b); }

.step { position: relative; padding-top: 50px; }
.step span {
  position: absolute;
  top: 0;
  left: 70px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--light);
  color: #9e783d;
  font-size: 10px;
}
.step h3 { margin-left: 20px; font-size: 20px; color: var(--cream); }
.steps-light .step p { margin-left: 20px; color: #fffef9; }

/* 10. FAQ ---------------------------------------------------------------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-list details { padding: 20px 0; border-top: 1px solid #ccc8bf; }
.faq-list details:last-child { border-bottom: 1px solid #ccc8bf; }
.faq-list summary { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 22px; color: #a9823e; transition: .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 650px; margin: 16px 0 0; font-size: 14px; color: #6f6d67; }

/* 11. CTA + FORMULÁRIO --------------------------------------------------- */
.final-cta { position: relative; overflow: hidden; padding: 120px 0; background: var(--bg); }
.cta-orb {
  position: absolute; top: -180px; right: -100px; width: 500px; height: 500px;
  border-radius: 50%; background: rgba(199, 163, 99, .13); filter: blur(50px);
}
.cta-grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.cta-grid p { color: #999892; }
.cta-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 11px; color: #aaa79f; }

.contact-form { padding: 28px; background: #202124; border: 1px solid #393a3b; }
.form-title { margin-bottom: 22px; font: 20px var(--serif); color: #f5f0e8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { display: block; margin-bottom: 15px; font-size: 11px; color: #aaa9a4; }

input, select, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  background: #161719;
  color: #f6f3ed;
  border: 1px solid #3d3e3e;
  font: inherit;
  font-size: 13px;
  outline: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; }

.consent { display: flex; align-items: center; gap: 8px; }
.consent input { width: auto; margin: 0; }
.consent a { color: var(--gold); }
.form-status { margin: 14px 0 0; font-size: 12px; }

/* 12. BLOG (artigos) ----------------------------------------------------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.5rem; margin-top: 2rem; }

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: inherit;
  border-radius: 14px;
  box-shadow: 0 8px 24px -14px rgba(11, 12, 14, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(11, 12, 14, .24); }
.article-card img { width: 100%; height: 160px; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.35rem 1.5rem; }
.article-tag { display: inline-block; margin-bottom: .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: #c7a363; }
.article-card h3 { margin: 0 0 .5rem; font-size: 1.03rem; line-height: 1.35; color: #0b0c0e; }
.article-card p { flex: 1; margin: 0 0 1rem; font-size: .89rem; color: #5a5d60; }
.article-card .btn-text { font-size: .88rem; font-weight: 600; color: #0b0c0e; }

/* 13. FOOTER ------------------------------------------------------------- */
.footer-new { padding-block: 3.5rem 1.5rem; background: var(--ink); color: #cfd3d6; }
.footer-grid-new { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid-new > * { min-width: 0; }

.footer-new .brand { display: inline-flex; gap: .5rem; color: #fff; }
.footer-brand p { max-width: 34ch; margin-block: 1rem; font-size: .9rem; line-height: 1.55; color: #a9adb0; }

.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid #2a2c2f; border-radius: 10px; color: #cfd3d6;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 { margin: 0 0 1rem; font-size: .85rem; letter-spacing: .02em; color: #fff; }
.footer-col .footer-legal-title { margin-top: 1.5rem; }
.footer-col a { display: block; margin-bottom: .65rem; font-size: .88rem; color: #a9adb0; overflow-wrap: anywhere; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col a i { margin-right: .4rem; }

.footer-bottom-new {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid #232527; font-size: .78rem; color: #7d8184;
}
.footer-bottom-links a { margin-left: 1.2rem; color: #7d8184; }
.footer-bottom-links a:hover { color: var(--gold); }

/* 14. ANIMAÇÕES ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@keyframes heroMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-marquee-track { animation: none; }
  .btn, .site-header .nav, .menu-toggle, .menu-toggle__bar { transition: none; }
}

/* 15. RESPONSIVO --------------------------------------------------------- */

/* ---- Tablet e celular: menu em painel ---- */
@media (max-width: 1024px) {
  .site-header .nav-wrap { height: 84px; gap: 16px; }
  .site-header .logo { width: auto; height: 82px; max-width: 260px; object-fit: contain; }
  .menu-toggle { display: inline-flex; }

  .site-header .nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 16px;
    left: auto;
    width: min(360px, calc(100% - 32px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - 100px);
    padding: 12px 16px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 40px rgba(12, 45, 110, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .site-header .nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

  .site-header .nav a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 15px;
    letter-spacing: .04em;
  }
  .site-header .nav a:not(.nav-cta)::after { display: none; }
  .site-header .nav a:not(.nav-cta):hover,
  .site-header .nav a:not(.nav-cta):active,
  .site-header .nav a:not(.nav-cta).active { background: rgba(201, 162, 77, .14); color: var(--bg); }
  .site-header .nav .nav-cta { width: 100%; min-height: 52px; margin-top: 10px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Tablet ---- */
@media (max-width: 900px) {
  .section-dark, .section-light, .final-cta { padding: 72px 0; }

  .hero { min-height: auto; }
  .hero-content { min-height: auto; padding: 56px 0 36px; }
  .hero-content, .split, .faq-wrap, .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-segments { gap: 18px; }
  .segments-label { min-width: 125px; }
  .hero-marquee span { font-size: 18px; }

  .method .container { margin-top: 0; padding: 36px 20px 40px; border-radius: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }

  .footer-grid-new { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Celular ---- */
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }

  .section-dark, .section-light, .final-cta { padding: 60px 0; }

  h2, .head-row h2, .section-heading h2 { margin: 12px 0 18px; font-size: clamp(1.65rem, 7vw, 2.15rem); line-height: 1.15; }
  .section-heading h3 { margin: 12px 0 16px; font-size: clamp(1.3rem, 5.6vw, 1.6rem); line-height: 1.25; }
  .eyebrow { flex-wrap: wrap; font-size: 12px; letter-spacing: .14em; }

  /* Hero: título → foto nítida → card com o texto "pendurado" na foto */
  .hero { background: #0b1120; }
  .hero-backdrop, .hero-grid, .hero-glow { display: none; }
  .hero-content { padding: 44px 0 28px; }
  h1 { margin: 20px 0 18px; font-size: clamp(1.75rem, 8vw, 2.25rem); line-height: 1.12; }

  /* Ordem no celular (só CSS, funciona com ou sem o wrapper .hero-lead-card):
     etiqueta -> título -> FOTO -> texto em card -> botões -> nota */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy > * { order: 5; }
  .hero-copy > .eyebrow { order: 1; }
  .hero-copy > h1 { order: 2; }

  .hero-copy::before {
    content: '';
    order: 3;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 28px;
    border-radius: 18px;
    background: var(--hero-img) right center / cover no-repeat;   /* nítida, começando pela direita */
  }

  .hero-copy > .hero-lead-card,
  .hero-copy > .lead { order: 4; }

  /* Card "pendurado" na base da foto */
  .hero-lead-card {
    position: relative;
    z-index: 2;
    margin: -48px 14px 0;
    padding: 20px 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  }
  .hero-lead-card .lead { max-width: 100%; margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: #3a4650; }
  .hero-lead-card .lead:last-child { margin-bottom: 0; }

  /* Fallback: se os dois <p class="lead"> estiverem soltos (sem wrapper), viram um card só */
  .hero-copy > .lead {
    position: relative;
    z-index: 2;
    max-width: none;
    margin: 0 14px;
    padding: 20px 18px 8px;
    background: #fff;
    font-size: 15px;
    line-height: 1.6;
    color: #3a4650;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  }
  .hero-copy > p.lead:first-of-type { margin-top: -48px; border-radius: 16px 16px 0 0; }
  .hero-copy > p.lead:last-of-type { padding: 0 18px 20px; border-radius: 0 0 16px 16px; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin: 24px 0 20px; }
  .hero-actions > .btn, .hero-actions > .nav-cta { width: 100%; min-height: 52px; text-align: center; }
  .hero-note { align-items: flex-start; font-size: 12px; color: #b5b2aa; }
  .hero-note .pulse { flex: none; margin-top: 6px; }

  .hero-segments { display: block; padding: 18px 0 25px; }
  .segments-label { margin-bottom: 15px; }
  .hero-marquee span { font-size: 17px; }
  .hero-marquee i { margin: 0 18px; }

  /* Serviços: um card embaixo do outro */
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .service-card { min-height: 0; padding: 22px 20px; }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p { max-width: none; font-size: 15px; }

  /* Para quem */
  .audience-cards { grid-template-columns: 1fr; }
  .audience-cards article { min-height: 0; padding: 18px; }
  .audience-cards span { font-size: 13px; }

  /* Método */
  .steps { gap: 28px 16px; margin-top: 32px; }
  .progress-line { display: none; }
  .step { padding-top: 52px; }
  .step span { left: 20px; }
  .specialist-image img { height: 370px; }

  /* FAQ */
  .faq-list summary { align-items: center; min-height: 44px; font-size: 15px; }

  /* Formulário */
  .contact-form { padding: 20px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  label { font-size: 13px; }
  input, select, textarea { min-height: 48px; border-radius: 10px; font-size: 16px; }   /* 16px evita zoom no iOS */
  textarea { min-height: 110px; }
  .contact-form .btn { width: 100%; min-height: 52px; }
  .cta-points { flex-direction: column; gap: 8px; font-size: 13px; }

  /* Blog */
  .article-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }

  /* Footer */
  .footer-grid-new { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-new { flex-direction: column; gap: 12px; }
  .footer-bottom-links a { margin: 0 16px 0 0; }
}

/* ---- Telas muito pequenas ---- */
@media (max-width: 380px) {
  .site-header .logo { height: 84px; max-width: 220px; }
  .steps { grid-template-columns: 1fr; }
}