/* ==========================================================================
   YBS Serviços Administrativos
   Folha de estilo única do site institucional.
   Paleta: azul petróleo (institucional), dourado (destaque), off-white (base).
   ========================================================================== */

:root {
  --navy: #0B2239;
  --navy-2: #123B57;
  --navy-3: #1B4E6E;
  --gold: #C6973F;
  --gold-2: #E0B65C;
  --ink: #14212A;
  --body: #3E515C;
  --muted: #6B7C86;
  --paper: #FAF8F4;
  --paper-2: #F3EFE7;
  --white: #FFFFFF;
  --line: #E4DED2;
  --line-2: #EFEAE0;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1160px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 57, .06), 0 6px 18px rgba(11, 34, 57, .05);
  --shadow-md: 0 2px 6px rgba(11, 34, 57, .07), 0 18px 40px rgba(11, 34, 57, .09);
  --shadow-gold: 0 10px 26px rgba(198, 151, 63, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 { color: var(--ink); font-family: var(--font-serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }

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

.sprite { display: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.skip-link:focus { left: 12px; color: var(--white); }

.anchor { display: block; height: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}
.wrap.narrow { max-width: 820px; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-lg { width: 30px; height: 30px; stroke-width: 1.5; color: var(--navy-2); }

/* --------------------------------------------------------------- botões -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); box-shadow: var(--shadow-md); }

.btn-gold { background: var(--gold); color: #22170A; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-2); color: #22170A; }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(250, 248, 244, .38); }
.btn-ghost:hover { background: rgba(250, 248, 244, .1); color: var(--white); border-color: rgba(250, 248, 244, .7); }
.btn-ghost .ico { width: 18px; height: 18px; }

/* ------------------------------------------------------------ cabeçalho -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 34, 57, .08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; width: 42px; height: 42px; flex: 0 0 auto; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy);
}
.brand-text small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  position: relative;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transition: right .25s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--navy); }
.nav > a:not(.btn):hover::after { right: 0; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #D9E3EA;
  padding: clamp(70px, 11vw, 132px) 0 clamp(64px, 9vw, 108px);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 78% 8%, rgba(198, 151, 63, .2), transparent 62%),
    radial-gradient(700px 460px at 8% 92%, rgba(27, 78, 110, .65), transparent 65%),
    linear-gradient(165deg, #0B2239 0%, #0E2B45 52%, #091D30 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.08;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero .lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: #C3D2DC;
  max-width: 62ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
  font-size: 13.5px;
  font-weight: 500;
  color: #C9D7E1;
  padding: 8px 15px 8px 32px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  position: relative;
}
.hero-chips li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------------------------------------------------------------- faixa -- */
.strip { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.strip-item { padding: 40px 34px 40px 0; }
.strip-item + .strip-item { padding-left: 34px; border-left: 1px solid var(--line); }
.strip-item h2 { font-size: 21px; margin: 14px 0 6px; }
.strip-item p { font-size: 15.5px; margin: 0; color: var(--body); }

/* --------------------------------------------------------------- seções -- */
.section { padding: clamp(64px, 8.5vw, 108px) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--navy); color: #C3D2DC; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-sub { color: #B6C6D2; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; text-wrap: balance; }
.section-sub { font-size: 17.5px; color: var(--body); margin: 0; }

/* --------------------------------------------------------------- cards -- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D8CFBB; }
.card h3 { font-size: 22px; margin: 16px 0 10px; }
.card > p { font-size: 15.5px; margin-bottom: 18px; }
.card-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

.ticks { display: grid; gap: 9px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--body);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------- passos -- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 22px;
}
.step-n {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15.5px; margin: 0; color: #B6C6D2; }

.dark-cta {
  margin-top: clamp(40px, 6vw, 64px);
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.dark-cta p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.4vw, 25px);
  color: var(--white);
  max-width: 30ch;
}

/* ------------------------------------------------------------ para quem -- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
.split-text h2 { font-size: clamp(27px, 3.6vw, 40px); }
.split-text > p { font-size: 17px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tags li {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
}

.why {
  background: var(--navy);
  color: #C3D2DC;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}
.why h3 { color: var(--white); font-size: 23px; margin-bottom: 22px; }
.why dl { margin: 0; display: grid; gap: 20px; }
.why dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 15.5px;
  margin-bottom: 5px;
}
.why dt .ico { color: var(--gold); }
.why dd { margin: 0; font-size: 15px; color: #B0C1CE; padding-left: 32px; }

/* ------------------------------------------------------- como trabalhamos -- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D8CFBB; }
.pillar h3 { font-size: 21px; margin: 16px 0 10px; }
.pillar p { font-size: 15.5px; margin: 0; }

/* ------------------------------------------------------------------ faq -- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: #D8CFBB; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 58px 20px 24px;
  position: relative;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq summary:hover { color: var(--navy-2); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { margin: 0; font-size: 15.8px; }

/* -------------------------------------------------------------- contato -- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 66px);
  align-items: start;
}
.contact-text h2 { font-size: clamp(28px, 3.8vw, 42px); }
.contact-text > p { font-size: 17.5px; color: #B6C6D2; max-width: 46ch; }

.contact-list { display: grid; gap: 18px; margin-top: 34px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { color: var(--gold); margin-top: 3px; }
.contact-list span { display: flex; flex-direction: column; font-size: 15.5px; color: #B6C6D2; }
.contact-list strong {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-list a { color: #DCE6ED; }
.contact-list a:hover { color: var(--gold-2); }

.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 38px);
  box-shadow: 0 24px 60px rgba(4, 16, 28, .34);
}
.contact-form h3 { font-size: 24px; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA8B1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy-3);
  box-shadow: 0 0 0 4px rgba(27, 78, 110, .12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #C0532F;
  box-shadow: 0 0 0 4px rgba(192, 83, 47, .1);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236B7C86' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 4px 0 20px;
  font-size: 13.6px;
  color: var(--body);
  line-height: 1.5;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy-2);
  flex: 0 0 auto;
}
.check a { text-decoration: underline; text-underline-offset: 2px; }

.form-help { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.form-status { margin: 12px 0 0; font-size: 14px; font-weight: 500; text-align: center; min-height: 1px; }
.form-status.is-error { color: #B54527; }
.form-status.is-ok { color: #17624B; }

/* -------------------------------------------------------------- rodapé -- */
.site-footer { background: #081A2B; color: #93A7B5; padding: clamp(48px, 6vw, 72px) 0 26px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.footer-brand strong { color: var(--white); }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a, .footer-contact a { color: #A9BCC8; font-size: 15px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }

.footer-bottom { padding-top: 24px; display: grid; gap: 8px; }
.footer-bottom p { margin: 0; font-size: 13px; color: #7C90A0; }
.footer-bottom .copy { color: #63798A; }

/* --------------------------------------------------------- botão fixo -- */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #22170A;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease), background .2s var(--ease);
}
.float-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-cta:hover { background: var(--gold-2); color: #22170A; }

/* ------------------------------------------------------------- animação -- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* usado quando a aba está em segundo plano, onde o navegador congela as
   transições e o conteúdo ficaria invisível */
.sem-animacao .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------------------------------------------------- foto do topo -- */
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(4, 16, 28, .38);
  border: none;
}

/* o nome da marca agora aparece sozinho, sem o quadrado de logo ao lado */
.brand-text strong { letter-spacing: 0; }

/* ---------------------------------------------------------- responsivo -- */
@media (max-width: 960px) {
  .split, .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { padding: 26px 0; border-top: 1px solid var(--line); }
  .strip-item:first-child { border-top: 0; }
  .strip-item + .strip-item { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 64px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 26px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(11, 34, 57, .12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 18px 0 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { width: 100%; }
  .dark-cta { flex-direction: column; align-items: flex-start; }
  .dark-cta .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .float-cta span { display: none; }
  .float-cta { padding: 15px; right: 16px; bottom: 16px; }
  .faq summary { font-size: 17.5px; padding-right: 50px; }
}

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

@media print {
  .site-header, .float-cta, .contact-form-wrap, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .hero, .section-dark, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .section-dark h2, .section-dark h3 { color: #000 !important; }
}

/* ----------------------------------------------- seção ativa na navegação */
.nav > a.is-active:not(.btn) { color: var(--navy); }
.nav > a.is-active:not(.btn)::after { right: 0; }

/* -------------------------------------------------- páginas internas -- */
.page-hero {
  background: var(--navy);
  color: #C3D2DC;
  padding: clamp(52px, 7vw, 84px) 0 clamp(40px, 5vw, 60px);
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.page-hero p { margin: 0; color: #B6C6D2; font-size: 17px; max-width: 58ch; }

.legal { padding: clamp(48px, 6vw, 76px) 0 clamp(56px, 7vw, 90px); }
.legal h2 { font-size: clamp(22px, 2.8vw, 29px); margin-top: 40px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 19px; margin-top: 26px; }
.legal p, .legal li { font-size: 16.5px; }
.legal ul { display: grid; gap: 9px; margin: 0 0 20px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.legal .legal-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}
.legal .legal-box p:last-child { margin-bottom: 0; }
.legal .legal-date { font-size: 14px; color: var(--muted); }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 26px; }
.back-link .ico { width: 18px; height: 18px; transform: rotate(180deg); }

.erro-page { text-align: center; padding: clamp(80px, 12vw, 150px) 0; }
.erro-page .codigo {
  font-family: var(--font-serif);
  font-size: clamp(70px, 14vw, 132px);
  line-height: 1;
  color: var(--gold);
  margin: 0 0 10px;
}
.erro-page h1 { font-size: clamp(26px, 4vw, 38px); }
.erro-page p { max-width: 46ch; margin-inline: auto; }
.erro-page .btn { margin-top: 14px; }

/* Ajustes finos ----------------------------------------------------------- */
.contact-form h3 { color: var(--ink); }
.contact-form h3 + .field { margin-top: 0; }
