:root {
  --green: #17382e;
  --green-deep: #102d25;
  --green-dark: #0d241e;
  --green-quiet: #dce6df;
  --gold: #d2aa55;
  --gold-light: #e6c77f;
  --paper: #f8faf8;
  --white: #fcfdfb;
  --soft: #edf2ee;
  --ink: #182820;
  --muted: #536258;
  --line: #d7dfd8;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: Lato, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: 0; }
p { overflow-wrap: break-word; }
.section-inner, .header-inner, .hero-inner { width: min(100% - 96px, 1240px); margin-inline: auto; }
.section { padding-block: 104px; }
.eyebrow { color: #a77721; font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.section-intro { max-width: 780px; margin-bottom: 48px; }
.section-intro h2 { margin-top: 16px; font-size: 4rem; line-height: 0.99; }
.section-intro > p:last-child { max-width: 620px; margin-top: 18px; color: var(--muted); font-size: 1.13rem; }

.skip-link { position: fixed; top: 8px; left: 12px; z-index: 60; padding: 10px 14px; background: var(--gold-light); color: var(--green-dark); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--green); border-bottom: 1px solid rgba(230, 199, 127, 0.18); }
.site-header.is-scrolled { box-shadow: 0 10px 26px rgba(12, 31, 25, 0.16); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 84px; }
.brand { flex: 0 0 auto; }
.brand img { width: 188px; height: 64px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 26px; color: #e3ebe4; font-size: 0.82rem; font-weight: 700; }
.site-nav > a:not(.nav-cta):hover { color: var(--gold-light); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; color: var(--green-dark); background: var(--gold-light); border-radius: 4px; font-weight: 900; }
.nav-cta:hover { background: #f0d69a; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(230, 199, 127, 0.46); background: transparent; border-radius: 4px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.hero { position: relative; display: flex; align-items: center; min-height: min(740px, calc(88svh - 84px)); overflow: hidden; background: var(--green-dark); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("./assets/escritorio-rmbg.jpg") center 39% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 36, 27, 0.97) 0%, rgba(10, 36, 27, 0.91) 39%, rgba(10, 36, 27, 0.48) 70%, rgba(10, 36, 27, 0.12) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: 74px 64px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { max-width: 780px; margin-top: 22px; font-size: 5.35rem; line-height: 0.95; text-wrap: balance; }
.hero-lead { max-width: 630px; margin-top: 24px; color: #edf2e9; font-size: 1.15rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 54px; padding: 0 24px; border-radius: 4px; font-size: 0.98rem; font-weight: 900; line-height: 1.2; text-align: center; transition: background 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button span, .hero-text-link span, .text-cta span { font-size: 1.15em; line-height: 1; }
.button-gold { color: var(--green-dark); background: var(--gold-light); }
.button-gold:hover { background: #f3dba6; }
.button-dark { color: var(--white); background: var(--green); }
.button-dark:hover { background: #255342; }
.hero-text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 0.96rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 6px; }
.hero-location { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(230, 199, 127, 0.35); width: fit-content; color: #dee9dd; font-size: 0.86rem; }

.cases { background: var(--white); }
.cases-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 46px; margin: 0; padding: 0; list-style: none; }
.cases-list li { display: flex; align-items: center; gap: 18px; min-height: 77px; padding: 16px 2px; border-top: 1px solid var(--line); font-size: 1.04rem; font-weight: 700; }
.cases-list li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.case-mark { display: grid; flex: 0 0 29px; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--gold); color: var(--green-dark); font-size: 1.02rem; font-weight: 900; }
.cases-contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 52px; padding: 26px 0; border-top: 2px solid var(--green); }
.cases-contact p { max-width: 690px; color: var(--muted); font-size: 1.02rem; }
.cases-contact strong { color: var(--ink); }
.cases-contact .button { flex: 0 0 auto; }

.team { background: var(--paper); }
.team-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 100px); }
.team-photo { width: 100%; aspect-ratio: 1.48; overflow: hidden; background: var(--soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-copy { max-width: 610px; }
.team-copy h2 { margin-top: 17px; font-size: 3.8rem; line-height: 0.99; }
.team-copy > p:last-child { max-width: 570px; margin-top: 22px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.authority { background: var(--soft); }
.authority-main { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr); align-items: center; gap: clamp(42px, 8vw, 120px); }
.portrait { position: relative; align-self: stretch; min-height: 520px; overflow: hidden; background: var(--green-quiet); }
.portrait img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; object-position: center 29%; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px; background: rgba(16, 45, 37, 0.94); color: var(--white); font-weight: 900; }
.portrait figcaption span { display: block; color: var(--gold-light); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.authority-copy { max-width: 650px; }
.authority-copy h2 { margin-top: 16px; font-size: 4.2rem; line-height: 0.96; }
.authority-copy > p:not(.eyebrow) { max-width: 590px; margin-top: 26px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.authority-facts { display: grid; gap: 0; max-width: 500px; margin-top: 34px; border-top: 1px solid #b8c8bc; }
.authority-facts span { padding: 13px 0; border-bottom: 1px solid #b8c8bc; font-size: 0.9rem; font-weight: 700; }
.media-row { display: grid; grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.15fr); align-items: center; gap: 56px; margin-top: 100px; padding-top: 66px; border-top: 1px solid #bac9bd; }
.media-copy h3 { margin-top: 15px; font-size: 2.45rem; line-height: 1.02; }
.media-copy p:last-child { margin-top: 18px; color: var(--muted); line-height: 1.7; }
.media-image img { width: 100%; height: auto; }
.media-image figcaption { margin-top: 9px; color: var(--muted); font-size: 0.78rem; }

.process { background: var(--white); }
.process .section-intro { max-width: 720px; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; align-content: start; gap: 22px; min-height: 244px; padding: 30px 28px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { border-right: 0; }
.step-number { color: #a77721; font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.process-list h3 { font-size: 1.75rem; line-height: 1.08; }
.process-list p { max-width: 330px; margin-top: 12px; color: var(--muted); font-size: 0.97rem; }
.text-cta { display: inline-flex; align-items: center; gap: 13px; margin-top: 28px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); color: var(--green); font-weight: 900; }

.faq { background: var(--soft); }
.faq-layout { display: grid; grid-template-columns: minmax(240px, 0.64fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); }
.faq .section-intro { margin-bottom: 0; }
.faq-list { border-top: 1px solid #bdcac0; }
.faq-list details { border-bottom: 1px solid #bdcac0; }
.faq-list summary { position: relative; padding: 23px 38px 23px 0; cursor: pointer; font-weight: 900; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--green); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 620px; padding: 0 34px 23px 0; color: var(--muted); }

.closing { background: var(--green); color: var(--white); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 74px; }
.closing .eyebrow { color: var(--gold-light); }
.closing h2 { max-width: 760px; margin-top: 14px; font-size: 3.7rem; line-height: 0.99; }
.closing p:last-child { max-width: 620px; margin-top: 16px; color: #dce8de; }
.closing .button { flex: 0 0 auto; }
.site-footer { background: var(--green-dark); color: #c5d4c8; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding-block: 45px; }
.footer-inner strong { display: block; margin-bottom: 10px; color: var(--white); font-family: var(--display); font-size: 1.65rem; font-weight: 600; }
.footer-inner p { font-size: 0.88rem; }
.footer-inner a { display: inline-block; margin: 4px 0 10px; color: var(--gold-light); }
.footer-inner a:hover { text-decoration: underline; }
.footer-inner .legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(230, 199, 127, 0.19); font-size: 0.78rem; }

@media (max-width: 1050px) {
  .site-nav { gap: 14px; }
  .hero h1 { font-size: 4.5rem; max-width: 690px; }
  .team-copy h2 { font-size: 3.25rem; }
  .authority-copy h2 { font-size: 3.6rem; }
}
@media (max-width: 860px) {
  .section-inner, .header-inner, .hero-inner { width: min(100% - 48px, 1240px); }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 84px; right: 24px; left: 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px; background: var(--green-deep); border: 1px solid rgba(230, 199, 127, 0.25); box-shadow: 0 20px 45px rgba(10, 31, 23, 0.24); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.nav-cta) { padding: 13px 0; border-bottom: 1px solid rgba(230, 199, 127, 0.15); }
  .nav-cta { margin: 16px 0 8px; }
  .hero h1 { font-size: 4.1rem; }
  .hero::after { background: linear-gradient(90deg, rgba(10, 36, 27, 0.96), rgba(10, 36, 27, 0.61)); }
  .team-layout { gap: 34px; }
  .team-copy h2 { font-size: 2.75rem; }
  .authority-main { gap: 38px; }
  .authority-copy h2 { font-size: 3.1rem; }
  .media-row { gap: 32px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 75px; }
  .section-inner, .header-inner, .hero-inner { width: min(100% - 40px, 1240px); }
  .section { padding-block: 68px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 145px; height: 60px; }
  .site-nav { top: 72px; left: 12px; right: 12px; }
  .hero { min-height: auto; align-items: flex-start; }
  .hero::before { background-position: 53% center; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 36, 27, 0.95) 0%, rgba(10, 36, 27, 0.91) 57%, rgba(10, 36, 27, 0.54) 100%); }
  .hero-inner { padding-block: 52px 54px; }
  .eyebrow { font-size: 0.72rem; }
  .hero h1 { max-width: 490px; margin-top: 17px; font-size: 3.25rem; line-height: 0.97; text-wrap: wrap; }
  .hero-lead { max-width: 510px; margin-top: 20px; font-size: 1rem; line-height: 1.5; }
  .hero-actions { gap: 18px; margin-top: 26px; }
  .hero-location { margin-top: 27px; font-size: 0.81rem; }
  .section-intro { margin-bottom: 30px; }
  .section-intro h2 { font-size: 2.8rem; }
  .section-intro > p:last-child { font-size: 1rem; }
  .cases-list { grid-template-columns: 1fr; }
  .cases-list li:nth-last-child(2) { border-bottom: 0; }
  .cases-list li:last-child { border-bottom: 1px solid var(--line); }
  .cases-contact { align-items: stretch; flex-direction: column; gap: 22px; margin-top: 30px; }
  .cases-contact .button { width: 100%; }
  .team-layout, .authority-main, .media-row, .faq-layout { grid-template-columns: 1fr; }
  .team-layout { gap: 28px; }
  .team-copy h2 { font-size: 2.9rem; }
  .team-copy > p:last-child { margin-top: 17px; font-size: 1rem; }
  .portrait { min-height: auto; }
  .portrait img { height: 440px; max-height: none; }
  .authority-copy h2 { font-size: 3.05rem; }
  .authority-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 1rem; }
  .media-row { gap: 24px; margin-top: 65px; padding-top: 42px; }
  .media-copy h3 { font-size: 2.25rem; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:first-child { grid-template-columns: 56px 1fr; gap: 18px; min-height: auto; padding: 22px 0; border-right: 0; }
  .process-list h3 { font-size: 1.58rem; }
  .process-list p { margin-top: 7px; }
  .faq-layout { gap: 34px; }
  .closing-inner { align-items: stretch; flex-direction: column; gap: 26px; padding-block: 58px; }
  .closing h2 { font-size: 2.9rem; }
  .closing .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner .legal { grid-column: auto; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 2.9rem; }
  .hero-actions .button { width: 100%; }
  .section-intro h2, .team-copy h2, .authority-copy h2 { font-size: 2.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== Página de concurso (20/11/2026) — blocos novos ===== */
/* Topo sem foto de fundo pesada: o vídeo é o gancho visual */
.hero-concurso::before { background: radial-gradient(120% 90% at 85% 20%, #1f4a3c 0%, var(--green-dark) 60%); }
.hero-concurso::after { background: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-concurso h1 { font-size: 4.4rem; }
.video-card { margin: 0; }
.video-facade { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(230,199,127,.35); border-radius: 6px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.video-facade img, .video-facade iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-facade .play { position: absolute; inset: 50% auto auto 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s ease; }
.video-facade .play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--green-dark); }
.video-facade:hover .play { transform: scale(1.08); }
.video-card figcaption { margin-top: 12px; color: #dfe8e0; font-size: .92rem; }
.prazo-aviso { max-width: 780px; margin: 36px 0 24px; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--soft); }
.lai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lai-nota { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.lai-form { display: grid; gap: 16px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.lai-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.lai-form input, .lai-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-weight: 400; background: #fff; }
.lai-form textarea { font-size: .9rem; line-height: 1.5; }
.artigos-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.artigos-list a { display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-weight: 700; }
.artigos-list a::after { content: " →"; color: #a77721; }
.artigos-list a:hover { border-color: var(--gold); }
.wa-fixo { display: none; }
@media (max-width: 900px) {
  .hero-grid, .lai-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-concurso h1 { font-size: 2.6rem; }
  .wa-fixo { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: block; padding: 15px; text-align: center; font-weight: 900; color: var(--green-dark); background: var(--gold-light); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .video-facade .play { transition: none; } html { scroll-behavior: auto; } }

/* ===== Ajuste de espaçamento (20/11/2026, pedido do Reginaldo) =====
   Ritmo único: 8 px de base. Seções com 88 px (computador), 64 px (tablet) e 52 px (celular);
   títulos menores para não quebrar em 4 linhas; respiro entre título, texto e bloco. */
[hidden] { display: none !important; }              /* "Copiar texto" só aparece depois de gerar o pedido */
.section { padding-block: 88px; }
.section + .section { border-top: 1px solid var(--line); }
.section-intro { margin-bottom: 40px; }
.section-intro h2 { margin-top: 12px; font-size: 3.1rem; line-height: 1.04; text-wrap: balance; }
.section-intro > p:last-child { margin-top: 16px; }
.eyebrow + h2, .eyebrow + h1 { margin-top: 12px; }
.team-copy h2, .authority-copy h2 { margin: 12px 0 20px; font-size: 2.8rem; line-height: 1.05; text-wrap: balance; }
.team-copy p + p, .authority-copy p + p { margin-top: 14px; }
.authority-facts { margin-top: 28px; }
.hero-inner { padding-block: 88px 80px; }
.hero-lead { margin-top: 22px; }
.hero-actions { margin-top: 32px; }
.hero-location { margin-top: 24px; }
.cases-list { gap: 16px 32px; }
.cases-contact { margin-top: 40px; }
.process-list { gap: 20px; }
.prazo-aviso { margin: 32px 0 28px; }
.lai-layout { gap: 64px; }
.lai-form { gap: 18px; padding: 32px; }
.artigos-list { gap: 10px; max-width: 860px; }
.faq-layout { gap: 48px; }
.faq-list details { padding-block: 4px; }
.closing-inner { padding-block: 88px; }
.closing-inner h2 { margin-top: 12px; }
.closing-inner p { margin-top: 16px; }

@media (max-width: 1050px) {
  .section { padding-block: 64px; }
  .section-intro h2 { font-size: 2.6rem; }
  .team-copy h2, .authority-copy h2 { font-size: 2.4rem; }
  .hero-inner { padding-block: 64px 56px; }
}
@media (max-width: 680px) {
  .section-inner, .header-inner, .hero-inner { width: calc(100% - 40px); }
  .section { padding-block: 52px; }
  .section-intro { margin-bottom: 28px; }
  .section-intro h2 { font-size: 2.15rem; line-height: 1.08; }
  .team-copy h2, .authority-copy h2 { font-size: 2rem; margin-bottom: 16px; }
  .hero-inner { padding-block: 40px 44px; }
  .hero-concurso h1 { font-size: 2.35rem; line-height: 1.04; }
  .hero-lead { font-size: 1.02rem; margin-top: 16px; }
  .hero-actions { margin-top: 24px; gap: 16px; }
  .hero-grid { gap: 28px; }
  .cases-list { gap: 12px; }
  .cases-contact { margin-top: 28px; gap: 16px; }
  .lai-layout { gap: 28px; }
  .lai-form { padding: 20px; gap: 14px; }
  .prazo-aviso { margin: 24px 0 20px; padding: 14px 16px; }
  .artigos-list a { padding: 14px 16px; }
  .faq-layout { gap: 8px; }
  .closing-inner { padding-block: 56px; }
}
