/* ============================================================
   Ricardo Treinamentos — folha de estilo única
   Paleta: azul-marinho institucional + dourado (confiança / fiscal)
   ============================================================ */

:root {
  --navy-900: #071627;
  --navy-800: #0b1f3a;
  --navy-700: #122d4f;
  --navy-600: #1b3d68;

  --gold-500: #d4a13c;
  --gold-400: #e2b65c;
  --gold-100: #f7ecd6;

  --ink: #16202b;
  --ink-soft: #47566a;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-tint: #f6f8fb;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, .06);
  --shadow-md: 0 12px 34px rgba(11, 31, 58, .10);
  --shadow-lg: 0 26px 60px rgba(7, 22, 39, .18);

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

  --wrap: 1160px;
}

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

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

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

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-500); color: var(--navy-900);
  padding: .7rem 1.2rem; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- layout base ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 820px); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #e8eef6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c2d0e2; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-600); margin: 0 0 .8rem;
}
.kicker-light { color: var(--gold-400); }

.section-title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; max-width: 22ch; }
.section-sub { color: var(--ink-soft); max-width: 62ch; font-size: 1.05rem; }
.section-dark .section-sub { color: #b3c3d8; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 22px rgba(212, 161, 60, .32); }
.btn-primary:hover { background: var(--gold-400); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 22, 39, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(7, 22, 39, .98); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
/* Marca: foto do professor em recorte quadrado arredondado, com um
   anel dourado que preserva a cor da identidade. */
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  object-fit: cover; object-position: center 35%;
  background: linear-gradient(140deg, var(--gold-500), #b9852a);
  box-shadow: 0 0 0 1.5px var(--gold-500), 0 2px 8px rgba(0, 0, 0, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.01em; }
.brand-text em {
  font-style: normal; font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-400);
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: #d7e2f0; text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav a.btn { color: var(--navy-900); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .6rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #eaf1f9; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(212, 161, 60, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(27, 61, 104, .55), transparent 65%),
    linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image:
    linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.35fr .85fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(212, 161, 60, .14); border: 1px solid rgba(212, 161, 60, .38);
  color: var(--gold-400); padding: .4rem 1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.eyebrow a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(226, 182, 92, .55);
  padding-bottom: 1px; transition: color .18s ease, border-color .18s ease;
}
.eyebrow a:hover { color: #fff; border-color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-top: 1.1rem; color: #fff; }
.hero h1 .hl { color: var(--gold-400); background: linear-gradient(transparent 68%, rgba(212, 161, 60, .22) 68%); }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: #c7d5e6; max-width: 58ch; }
.lead strong { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .87rem; color: #a9bdd6; }
.hero-badges li { position: relative; padding-left: 1.2rem; }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-400); font-weight: 700; }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card-title {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-400); font-weight: 700; margin-bottom: 1.2rem;
}
.mini-timeline li {
  position: relative; padding: 0 0 1.1rem 1.6rem; font-size: .92rem; color: #c2d2e5;
  border-left: 2px solid rgba(255, 255, 255, .16); margin-left: .35rem;
}
.mini-timeline li:last-child { border-left-color: transparent; padding-bottom: .3rem; }
.mini-timeline li::before {
  content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--navy-800); border: 2px solid rgba(255, 255, 255, .35);
}
.mini-timeline li.is-now::before {
  background: var(--gold-500); border-color: var(--gold-400);
  box-shadow: 0 0 0 5px rgba(212, 161, 60, .18);
}
.mini-timeline span { display: block; font-family: var(--serif); font-weight: 700; color: #fff; font-size: 1.02rem; }
.hero-card-foot {
  font-size: .82rem; color: #9db2cc;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1rem; margin: .6rem 0 0;
}

/* ---------- faixa de números ---------- */
.strip { background: var(--navy-800); border-top: 1px solid rgba(255, 255, 255, .08); padding: 2.2rem 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.strip-grid div { display: flex; flex-direction: column; gap: .2rem; }
.strip-grid strong { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold-400); }
.strip-grid span { font-size: .85rem; color: #a7bad2; }

/* Variante sem números: três afirmações de posicionamento */
.strip-claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.strip-claims div { padding-left: 1.1rem; border-left: 2px solid rgba(212, 161, 60, .5); }
.strip-claims strong {
  display: block; font-family: var(--serif); font-size: 1.1rem;
  color: var(--gold-400); margin-bottom: .2rem;
}
.strip-claims span { font-size: .88rem; color: #a7bad2; line-height: 1.5; }

/* ---------- painéis "para quem é" ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 1.35rem; display: flex; align-items: center; gap: .65rem; }
.panel > p { color: var(--ink-soft); }
.ico { font-size: 1.5rem; }

.check li { position: relative; padding: .45rem 0 .45rem 1.9rem; border-top: 1px solid var(--line); font-size: .96rem; }
.check li:first-child { border-top: 0; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: .5rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-100); color: #96690f;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}

/* ---------- linha do tempo da reforma ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.timeline li {
  position: relative; padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease;
}
.timeline li:hover { transform: translateY(-4px); border-color: rgba(212, 161, 60, .55); }
.timeline li::before {
  content: ""; position: absolute; top: -1px; left: 1.4rem; right: 1.4rem; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent); border-radius: 3px;
}
.tl-year {
  font-family: var(--serif); font-size: 1.9rem; font-weight: 700;
  color: var(--gold-400); line-height: 1; margin-bottom: .8rem;
}
.tl-year span { font-size: .8rem; color: #8fa5c0; font-family: var(--sans); margin: 0 .25rem; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { font-size: .92rem; margin: 0; }

/* ---------- cards de treinamento ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.8rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cbd6e5; }
.card h3 { font-size: 1.25rem; }
.card > p { color: var(--ink-soft); font-size: .95rem; }
.card-featured { border-color: var(--gold-500); box-shadow: 0 14px 40px rgba(212, 161, 60, .18); }

.tag {
  position: absolute; top: -12px; left: 1.6rem;
  background: var(--gold-500); color: var(--navy-900);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 999px;
}
.topics { margin: .4rem 0 1.2rem; }
.topics li { position: relative; padding: .3rem 0 .3rem 1.2rem; font-size: .9rem; color: var(--ink-soft); }
.topics li::before { content: "▸"; position: absolute; left: 0; color: var(--gold-500); }
.card-meta {
  margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--navy-600); letter-spacing: .02em;
}

/* ---------- formatos ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.format { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.format-ico { font-size: 1.9rem; display: block; margin-bottom: .8rem; }
.format h3 { font-size: 1.12rem; }
.format p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- professor ---------- */
.prof-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prof-photo { position: sticky; top: 110px; }

/* Moldura da foto.
   A imagem é exibida inteira, com a altura definida pela própria
   proporção do arquivo — sem aspect-ratio e sem object-fit, não existe
   corte possível, independente da largura da coluna. */
.photo-frame {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-600), var(--navy-900));
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.photo-frame img { display: block; width: 100%; height: auto; }
/* Brilho dourado e sombra da base, sobrepostos à foto */
.photo-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 108%, rgba(212, 161, 60, .26), transparent 62%);
  box-shadow: inset 0 -70px 60px -45px rgba(7, 22, 39, .5);
}

/* O placeholder com as iniciais foi removido — a foto está publicada. */

.prof-quote {
  margin-top: -2rem; margin-left: 1.5rem; position: relative; z-index: 2;
  background: var(--gold-500); color: var(--navy-900);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-md);
}
.prof-quote p { margin: 0; line-height: 1.3; }
.prof-quote strong {
  display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
}
.prof-quote span {
  display: block; font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; opacity: .78; margin-top: .2rem;
}

.prof-role {
  color: #a5771d; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; font-size: .8rem; margin-top: -.4rem;
}
.prof-copy > p { color: var(--ink-soft); }
.prof-copy strong { color: var(--ink); }

/* Credenciais do professor */
.credentials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem 1.8rem;
  margin: 2.2rem 0; padding: 1.6rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cred-block h3 {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: .7rem;
}
.cred-block ul { display: grid; gap: .45rem; }
.cred-block li {
  position: relative; padding-left: .95rem;
  font-size: .89rem; color: var(--ink-soft); line-height: 1.45;
}
.cred-block li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500);
}
.cred-block em { font-style: italic; color: var(--ink); }

.prof-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
.prof-facts li {
  background: var(--bg-tint); border-left: 3px solid var(--gold-500);
  border-radius: 0 10px 10px 0; padding: .8rem 1rem; font-size: .9rem; color: var(--ink-soft);
}
.prof-facts strong {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: .15rem;
}

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step-n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-400);
  font-family: var(--serif); font-weight: 700; margin-bottom: .9rem;
}
.steps h3 { font-size: 1.08rem; }
.steps p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0;
  position: relative; font-weight: 600; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold-500);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--navy-600); }
.faq details p { padding: 0 2.5rem 1.3rem 0; margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- redes sociais ---------- */
.social { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.social a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); color: #cddbec;
  text-decoration: none; font-size: .88rem; font-weight: 500;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.social a:hover { background: rgba(212, 161, 60, .16); border-color: var(--gold-500); color: #fff; }

.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); color: #cddbec;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }

/* ---------- contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { margin-top: 2rem; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; font-size: .98rem; color: #cddbec; }
.contact-list a { color: var(--gold-400); text-decoration: none; border-bottom: 1px solid rgba(212, 161, 60, .35); }
.contact-list a:hover { color: #fff; border-color: #fff; }

.contact-form {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg);
}

/* Bloco de chamada que substitui o formulário enquanto ele está em standby */
.contact-cta {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: .3rem;
}
.cta-eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: #a5771d; margin: 0 0 .3rem;
}
.contact-cta h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.contact-cta > p { color: var(--ink-soft); font-size: .96rem; }
.contact-cta .btn { margin-top: .5rem; }
.btn-outline { border-color: var(--line); color: var(--navy-700); background: #fff; }
.btn-outline:hover { border-color: var(--navy-600); background: var(--bg-tint); }
.cta-note {
  margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--ink-soft); text-align: center;
}
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--navy-700); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .9rem;
  font-size: .95rem; background: #fbfcfe;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 161, 60, .16); background: #fff;
}
.field input[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }

.form-note { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: .9rem 0 0; }
.form-note a { color: var(--navy-600); }
.form-error { margin: .8rem 0 0; color: #c0392b; font-size: .88rem; font-weight: 600; text-align: center; }
.form-error[hidden] { display: none; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--navy-900); color: #9fb3cc; padding: 3rem 0 1.6rem; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; gap: .9rem; max-width: 380px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.footer-brand p { margin: .3rem 0 0; font-size: .87rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--gold-400); }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center; font-size: .8rem; color: #8ba1bb;
}
.footer-bottom p { margin: 0; }
.disclaimer { max-width: none; }

/* ---------- botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #128c4a; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(18, 140, 74, .42);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { transform: scale(1.08); background: #0f7a40; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .cards, .formats, .steps, .timeline { grid-template-columns: repeat(2, 1fr); }
  .prof-grid, .contact-grid { grid-template-columns: 1fr; }
  .prof-photo { position: static; max-width: 380px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: .5rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a { padding: .9rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .nav a.btn { margin-top: 1rem; border-bottom: 0; justify-content: center; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .strip-claims { grid-template-columns: 1fr; gap: 1.2rem; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .formats, .steps, .timeline, .prof-facts, .credentials, .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .prof-quote { margin-left: 0; }
}

@media print {
  .site-header, .wa-float, .hero-actions, .contact-form, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .section-dark, .hero, .strip { background: #fff !important; color: #000 !important; }
  .hero-bg { display: none; }
  .section-dark h2, .section-dark h3, .hero h1, .strip-grid strong { color: #000 !important; }
  .section-dark p, .lead, .strip-grid span { color: #333 !important; }
}
