/* =========================================================================
   Método 50+ Leads — folha de estilos
   Cores, tipografia e espaçamento estão centralizados aqui (`:root`).
   Ver README.md para instruções de edição.
   ========================================================================= */

:root {
  --color-ivory: #F5F3EE;
  --color-paper: #FCFBF8;
  --color-charcoal: #151718;
  --color-ink: #202223;
  --color-orange: #F0642C;
  --color-muted: #61635F;
  --color-line: #DDDAD3;

  --color-ivory-text: #F5F3EE;

  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container-max: 77.5rem; /* ~1240px */
  --gutter: 1.25rem;

  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 24px 60px -32px rgba(21, 23, 24, 0.35);
  --shadow-button: 0 14px 30px -14px rgba(240, 100, 44, 0.55);

  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration-base: 450ms;

  color-scheme: light;
}

@media (min-width: 30rem) {
  :root { --gutter: 1.5rem; }
}

/* ---- Reset -------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button { font: inherit; }

h1, h2, h3, p, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---- Utilitários --------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
  transition: top 200ms var(--ease-standard);
}

.skip-link:focus { top: 1rem; }

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

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.85rem);
  line-height: 1.15;
  color: var(--color-ink);
  max-width: 34ch;
}

/* Reveal ao scroll — só aplicado quando o JavaScript corre (ver classe
   "js" adicionada em <html> no <head>). Sem JavaScript, o conteúdo fica
   sempre visível. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Botões --------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  padding: 1.05rem 2.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 300ms var(--ease-standard),
              box-shadow 300ms var(--ease-standard),
              background-color 300ms var(--ease-standard);
}

.button--primary {
  background: var(--color-orange);
  color: var(--color-charcoal);
  box-shadow: var(--shadow-button);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(240, 100, 44, 0.65);
}

.button--primary:active { transform: translateY(0); }

.button--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.button--block { width: 100%; }

/* Full width on narrow screens (so long button text wraps to two lines
   comfortably); hugs its content again from tablet width up. */
.button--wide {
  width: 100%;
  max-width: 26rem;
}

@media (min-width: 40rem) {
  .button--wide {
    width: auto;
    max-width: none;
  }
}

/* ---- Cabeçalho -------------------------------------------------------------- */

.site-header { padding-block: 1.5rem; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand { display: inline-flex; flex-shrink: 0; }

/* Source art has tight transparent margins (cropped from the original
   files), so this height maps closely to the visible mark itself — sized
   ~25% larger again here on top of the previous increase. */
.brand-logo { height: 1.875rem; width: auto; }

.brand-agency {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.3;
}

@media (max-width: 26.9rem) {
  .header-inner { gap: 0.6rem; }
  .brand-agency { font-size: 0.62rem; letter-spacing: 0.06em; }
}

@media (min-width: 40rem) {
  .brand-logo { height: 2.1875rem; }
}

/* ---- 1. Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.9rem + 2.6vw, 5.5rem);
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(60% 60% at 50% 20%, rgba(240, 100, 44, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

.hero-tag::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--color-muted);
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.375rem, 1.5rem + 4.2vw, 5.5rem);
  line-height: 1.08;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.accent {
  color: var(--color-orange);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--color-ink);
  max-width: 46ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.hero-microcopy {
  font-size: 0.875rem;
  color: var(--color-muted);
  max-width: 34ch;
}

/* ---- 2. A dor --------------------------------------------------------------- */

.pain {
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 7rem);
  border-top: 1px solid var(--color-line);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 56rem) {
  .pain-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 1.6rem + 2vw, 4rem);
    align-items: start;
  }
}

.pain-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.55rem + 1.8vw, 2.6rem);
  line-height: 1.2;
  color: var(--color-ink);
  max-width: 20ch;
}

@media (min-width: 56rem) {
  .pain-heading { position: sticky; top: 2.5rem; }
}

.pain-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42rem;
}

.pain-copy p {
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.7;
  color: var(--color-ink);
  max-width: 62ch;
}

.pain-standalone {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem) !important;
  line-height: 1.3 !important;
  color: var(--color-ink);
  padding-left: 1.1rem;
  border-left: 2px solid var(--color-orange);
  margin-block: 0.25rem;
}

.pain-cutline {
  max-width: 46rem;
  margin: clamp(3rem, 2.4rem + 2.5vw, 5rem) auto 0;
  padding: var(--gutter);
  padding-top: clamp(2rem, 1.7rem + 1.2vw, 3rem);
  border-top: 1px solid var(--color-orange);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.4rem + 1.2vw, 2.25rem);
  line-height: 1.35;
  color: var(--color-ink);
  text-align: left;
}

/* ---- 3. A virada ------------------------------------------------------------ */

.turn {
  background: var(--color-paper);
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 7.5rem);
  border-top: 1px solid var(--color-line);
}

.turn-content {
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.turn-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.6rem + 2vw, 2.85rem);
  line-height: 1.2;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.turn-content p {
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.7;
  color: var(--color-ink);
  max-width: 60ch;
}

.turn-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem) !important;
  color: var(--color-ink);
}

.turn-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.turn-emphasis {
  font-weight: 600;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem) !important;
  line-height: 1.6 !important;
  padding: 1.5rem clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
}

/* ---- 4. Autoridade ----------------------------------------------------------- */

.authority {
  background: var(--color-charcoal);
  color: var(--color-ivory-text);
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 7.5rem);
  overflow: hidden;
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
}

@media (min-width: 60rem) {
  .authority-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.authority-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 40rem;
}

.authority-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.5rem + 2vw, 2.75rem);
  line-height: 1.2;
  color: var(--color-ivory-text);
}

.authority-paragraph {
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.7;
  color: #C9CBC7;
  max-width: 48ch;
}

.authority-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 243, 238, 0.16);
}

.stat { display: flex; flex-direction: column; gap: 0.3rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.4rem);
  color: var(--color-orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #A9ABA6;
  line-height: 1.4;
}

.authority-portrait {
  position: relative;
  max-width: 24rem;
  margin-inline: auto;
  padding-top: 6%;
}

@media (min-width: 60rem) {
  .authority-portrait { max-width: none; margin-inline: 0; }
}

/* The photo already has its own graphite background, lighting and vignette
   baked in (near-identical tone to --color-charcoal), so it sits directly
   on the section with no mask, card or synthetic shadow needed. A faint
   rectangular seam still shows where the photo's own background meets the
   section's flat charcoal, so it's feathered away with a thin colour-matched
   overlay — only across outer margins confirmed clear of his face, hair,
   shoulders and suit (checked against the source photo), and never at the
   bottom, where the jacket runs to the very edge of the frame. */
.authority-portrait-image {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

.authority-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--color-charcoal), transparent 8%),
    linear-gradient(to left, var(--color-charcoal), transparent 7%),
    linear-gradient(to bottom, var(--color-charcoal), transparent 2.5%);
}

.authority-team {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42rem;
  padding-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  border-top: 1px solid rgba(245, 243, 238, 0.14);
}

.authority-team-lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.25rem + 0.8vw, 1.75rem);
  color: var(--color-ivory-text);
}

.team-photo {
  position: relative;
  max-width: 30rem;
}

.team-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Only the top edge has a safe background margin in this photo — the six
   people fill the frame edge-to-edge on the left, right and bottom, so no
   fade is applied there to avoid touching hair, hats or clothing. */
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--color-charcoal), transparent 5%);
}

/* ---- 5. Testemunhos ------------------------------------------------------------ */

.proof {
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 7rem);
  border-top: 1px solid var(--color-line);
}

.proof .section-heading { max-width: 38ch; }

.proof-subtitle {
  margin-top: 0.9rem;
  margin-bottom: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  color: var(--color-muted);
  max-width: 46ch;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.7rem + 1.5vw, 3rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}

@media (min-width: 56rem) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.testimonial-video-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-charcoal);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  text-align: center;
  background: rgba(21, 23, 24, 0.62);
}

.video-consent-text {
  color: var(--color-ivory-text);
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 34ch;
}

.video-consent-button {
  font-size: 0.8rem;
  padding: 0.85rem 1.5rem;
}

.video-embed.is-active .video-thumb,
.video-embed.is-active .video-consent {
  display: none;
}

.youtube-consent-manager {
  margin-top: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.youtube-revoke-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-ink);
  background: none;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  transition: border-color 250ms var(--ease-standard), background-color 250ms var(--ease-standard);
}

.youtube-revoke-button:hover {
  border-color: var(--color-ink);
  background: var(--color-paper);
}

.youtube-revoke-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  max-width: 60ch;
}

.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--color-ink); }

.testimonial-result { font-size: 0.9rem; color: var(--color-muted); }

/* ---- 6. Exclusividade e processo ------------------------------------------------ */

.process {
  background: var(--color-paper);
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 7rem);
  border-top: 1px solid var(--color-line);
}

.process-intro {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 44rem;
  margin-top: 1.25rem;
}

.process-intro p {
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.7;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: clamp(2rem, 1.7rem + 1.5vw, 3rem);
}

@media (min-width: 56rem) {
  .process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-orange);
  line-height: 1;
}

.process-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  max-width: 32ch;
}

.process-note {
  margin-top: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  max-width: 46rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---- 7. Candidatura ------------------------------------------------------------- */

.apply {
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 7rem);
  border-top: 1px solid var(--color-line);
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 1.9rem + 1.8vw, 3.5rem);
}

@media (min-width: 64rem) {
  .apply-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.apply-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 34rem;
}

.apply-paragraph {
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.7;
  color: var(--color-ink);
  max-width: 46ch;
}

.apply-microcopy {
  font-size: 0.875rem;
  color: var(--color-muted);
  max-width: 40ch;
}

.apply-form-wrap {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label { font-size: 0.85rem; font-weight: 600; color: var(--color-ink); }

.field-optional { font-weight: 400; color: var(--color-muted); }

.field input {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 250ms var(--ease-standard), box-shadow 250ms var(--ease-standard);
}

.field input::placeholder { color: #9A988F; }

.field input:focus-visible {
  border-color: var(--color-orange);
  outline: 2.5px solid rgba(240, 100, 44, 0.35);
  outline-offset: 1px;
}

.field input[aria-invalid="true"] { border-color: #C24A2C; }

.field-error { min-height: 1.1em; font-size: 0.8rem; color: #B03A22; }

.apply-consent { font-size: 0.8rem; color: var(--color-muted); line-height: 1.55; }

.apply-consent a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 2px; }

.form-status { border-radius: 10px; padding: 0.85rem 1rem; font-size: 0.9rem; }

.form-status[data-state="success"] { background: #E9F2E7; color: #2F5B2A; }

.form-status[data-state="error"] { background: #FBEAE4; color: #8A3117; }

/* ---- 8. FAQ ------------------------------------------------------------------------ */

.faq {
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 7rem);
  border-top: 1px solid var(--color-line);
}

.faq-container { max-width: 50rem; }

.faq-list {
  margin-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  border-top: 1px solid var(--color-line);
}

.faq-item { border-bottom: 1px solid var(--color-line); }

.faq-item-heading { margin: 0; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  color: var(--color-ink);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-ink);
  transition: transform 300ms var(--ease-standard);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-panel {
  overflow: hidden;
  padding-bottom: 1.5rem;
  padding-right: 2rem;
}

.faq-panel p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 60ch;
}

.js .faq-panel {
  animation: faq-open var(--duration-base) var(--ease-standard);
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---- Rodapé ------------------------------------------------------------------------ */

.site-footer {
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.footer-logo { width: 200px; max-width: 55vw; height: auto; }

@media (min-width: 40rem) {
  .footer-logo { width: 250px; max-width: 30vw; }
}

.footer-text { font-size: 0.85rem; color: var(--color-muted); }

.footer-link { font-size: 0.85rem; color: var(--color-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Barra fixa de candidatura (telemóvel) ------------------------------------------ */

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -12px 30px -20px rgba(21, 23, 24, 0.3);
  transform: translateY(100%);
  transition: transform 350ms var(--ease-standard);
}

.mobile-cta-bar .button { font-size: 0.85rem; padding: 0.85rem 1rem; }

.mobile-cta-bar.is-visible { transform: translateY(0); }

@media (min-width: 60rem) {
  .mobile-cta-bar { display: none; }
}

/* ---- Telemóveis estreitos ------------------------------------------------------------ */

@media (max-width: 26.9rem) {
  .hero-heading { letter-spacing: -0.005em; }
}

/* ---- Página de Política de Privacidade ------------------------------------------------ */

.legal-main {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}

.legal-container {
  max-width: 44rem;
}

.legal-back-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 1.5rem;
}

.legal-back-link--bottom {
  margin-top: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  margin-bottom: 0;
}

.legal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.9rem + 1.8vw, 3.25rem);
  line-height: 1.15;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.legal-updated:last-of-type {
  margin-bottom: clamp(2rem, 1.7rem + 1.5vw, 3rem);
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.25rem + 0.8vw, 1.75rem);
  color: var(--color-ink);
  margin-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  margin-bottom: 0.25rem;
}

.legal-body p,
.legal-body li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-ink);
  max-width: 68ch;
}

.legal-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-body a {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}
