/* ============================================
   Maira Bandeira — Design tokens (extraídos do Figma)
   ============================================ */
:root {
  --color-navy: #26204d;
  --color-purple: #5b4b99;
  --color-orange: #f18527;
  --color-gold: #f4a63c;
  --color-text: #1d1d1b;
  --color-text-muted: #6B6B73;
  --color-text-light: #9999A1;
  --color-bg-soft: #F7F7FB;
  --color-bg-softer: #FBFBFC;
  --color-white: #FFFFFF;

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;

  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --section-pad-y: clamp(3rem, 6vw, 6rem);
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, blockquote, fieldset { margin: 0; padding: 0; border: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-orange);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

/* ============================================
   Type helpers
   ============================================ */
.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-orange);
  margin-bottom: .75rem;
}
.eyebrow--dark { color: var(--color-navy); }
.eyebrow--orange { color: var(--color-orange); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  white-space: nowrap;
}
.btn--orange {
  background: var(--color-orange);
  color: #fff;
  transition: background-color .2s ease, transform .2s ease;
}
.btn--orange:hover { background: var(--color-gold); transform: translateY(-1px); }
.btn--block { width: 100%; justify-content: center; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-orange);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.header__logo { flex-shrink: 0; }
.header__logo img { height: 44px; width: auto; }

.site-nav {
  display: none;
  gap: 2rem;
  margin-left: auto;
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
}
.site-nav a { opacity: .85; }
.site-nav a:hover { opacity: 1; }

.header__actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header__social {
  display: none;
  align-items: center;
  gap: .45rem;
}
.header__social a {
  display: block;
  line-height: 0;
}
.header__social svg {
  width: 32px;
  height: 32px;
  display: block;
}
.header__social a:hover { opacity: .85; }
.header__cta {
  font-size: .72rem;
  padding: .55rem .9rem;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--color-purple);
}
.header__cta:hover { background: var(--color-navy); }

.nav-toggle {
  margin-left: auto;
  background: none;
  border: none;
  width: 28px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    margin-left: 3rem;
  }
  .header__social { display: flex; }
  .header__cta { font-size: .85rem; padding: .6rem 1.35rem; }
  .nav-toggle { display: none; }
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-orange);
  padding: 1.1rem 1.5rem 1.5rem;
  gap: .35rem;
}
.site-nav.is-open a {
  display: block;
  padding: .45rem 0;
}

/* ============================================
   Hero
   ============================================ */
.hero { background: var(--color-white); overflow: hidden; }
.hero__inner {
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero__content {
  padding: 1.35rem 1.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__logo {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  width: 142px;
  max-width: 42vw;
  height: auto;
  margin: 0;
  background: var(--color-navy);
  border-radius: 10px;
  padding: .3rem .4rem;
}
.hero__title {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  font-weight: 800;
  margin: .35rem 0 1rem;
}
.hero__title-line { display: block; }
.hero__title-line--dark { color: var(--color-navy); }
.hero__title-line--orange { color: var(--color-orange); }
.hero__slogan {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
.hero .btn svg { margin-left: .15rem; }
.hero__media {
  position: relative;
  order: -1;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 72vh;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 18%;
  display: block;
}
.hero__overlay {
  display: none;
  position: absolute;
  right: 6%;
  top: 14%;
  margin: 0;
  color: var(--color-white);
  font-family: 'Caveat', cursive;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}

@media (min-width: 640px) {
  .hero__content { padding: 2.25rem 2rem 1.75rem; }
}

@media (min-width: 900px) {
  .hero__inner {
    min-height: clamp(320px, 36vw, 480px);
  }
  .hero__content {
    position: relative;
    z-index: 1;
    width: 56%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 1.5rem 2rem 1.5rem max(2rem, calc((100vw - var(--container-max)) / 2 + 2rem));
  }
  .hero__logo {
    position: static;
    width: 280px;
    max-width: 100%;
    margin-bottom: .9rem;
    padding: .5rem .65rem;
    border-radius: 12px;
  }
  .hero__media {
    order: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    z-index: 0;
  }
  .hero__photo {
    position: absolute;
    inset: 0;
    object-position: right 18%;
  }
  .hero__overlay { display: block; }
}

/* ============================================
   A Candidata
   ============================================ */
.candidata { padding: var(--section-pad-y) 0; }
.candidata__grid {
  display: grid;
  gap: 2.5rem;
}
.candidata__nome {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.candidata__chamada {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.candidata__bio p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.candidata__bio p:last-child { margin-bottom: 0; }

.candidata__media {
  display: flex;
  justify-content: center;
}
.candidata__foto {
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 40%;
}

@media (min-width: 900px) {
  .candidata__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .candidata__foto { max-width: none; height: 520px; }
}

.destaque {
  margin-top: var(--section-pad-y);
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.destaque__icone {
  color: var(--color-orange);
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  margin: 0;
}
.destaque__texto { width: 100%; }
.destaque__texto p { color: var(--color-text); line-height: 1.6; margin-bottom: .75rem; font-weight: 500; }
.destaque__texto p:last-child { margin-bottom: 0; color: var(--color-text-muted); font-weight: 400; }

@media (min-width: 900px) {
  .destaque {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .destaque__icone { margin-top: .15rem; }
}

/* ============================================
   Compromissos / Propostas
   ============================================ */
.compromissos { padding: var(--section-pad-y) 0; background: var(--color-bg-softer); }
.compromissos__header {
  margin-bottom: 2.5rem;
}
.compromissos__title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.15;
}

.compromissos__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .compromissos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .compromissos__grid { grid-template-columns: repeat(4, 1fr); }
}

.compromisso-card__foto {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 162 / 105;
  margin-bottom: 1.5rem;
}
.compromisso-card__foto img { width: 100%; height: 100%; object-fit: cover; }
.compromisso-card__img--portrait { object-position: center 22%; }

.compromisso-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.compromisso-card p { color: var(--color-text-muted); font-size: .9rem; line-height: 1.6; }

/* ============================================
   Na Mídia
   ============================================ */
.midia { background: var(--color-navy); color: #fff; padding: var(--section-pad-y) 0; }
.midia__inner { display: grid; gap: 2.5rem; }
.midia__title {
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.midia__intro { color: rgba(255,255,255,.7); line-height: 1.6; }

.midia__carousel {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: .65rem;
}
.midia__viewport { overflow: hidden; width: 100%; }
.midia__cards {
  display: flex;
  gap: 1.25rem;
  transition: transform .45s ease;
}
@media (prefers-reduced-motion: reduce) {
  .midia__cards { transition: none; }
}

.midia-card {
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.midia-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.midia-card__meta { font-size: .82rem; color: var(--color-text-light); margin: 0 0 .9rem; line-height: 1.5; }
.midia-card__link { font-size: .85rem; font-weight: 700; color: var(--color-navy); margin-top: auto; display: inline-block; }

.midia__seta {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--color-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.midia__seta:hover { background: var(--color-gold); }

@media (min-width: 1024px) {
  .midia__inner { grid-template-columns: .8fr 1.6fr; align-items: center; }
}

/* ============================================
   Participe
   ============================================ */
.participe { padding: var(--section-pad-y) 0; }
.participe__inner { display: grid; gap: 2.5rem; }
.participe__title {
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.participe__intro { color: var(--color-text-muted); line-height: 1.6; margin-bottom: 2rem; }

.participe__frase {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.participe__ilustracao {
  width: 56px;
  height: 40px;
  max-width: 56px;
  max-height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.participe__frase p {
  font-family: Caveat, cursive;
  font-weight: 700;
  color: var(--color-navy);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.15;
}

@media (min-width: 1024px) {
  .participe__inner { grid-template-columns: 1fr 1fr; }
}

.form {
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form label { font-size: .9rem; font-weight: 600; }
.form input[type="text"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  border: 1px solid #E1E1E8;
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .95rem;
  background: #fff;
  resize: vertical;
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--color-purple);
  outline-offset: 1px;
}
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: #c0392b;
}
.form__error {
  font-size: .8rem;
  font-weight: 600;
  color: #c0392b;
  margin: 0;
}
.form__consent { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.form__consent legend { font-size: .9rem; font-weight: 600; margin-bottom: .5rem; width: 100%; }
.radio { display: flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500; }

.form__feedback {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-purple);
  text-align: center;
}
.form__feedback.is-error { color: #c0392b; }
.form__feedback.is-success { color: var(--color-purple); }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--color-navy); color: #fff; padding: 3rem 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__col h4 {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-wrap: balance;
}
.footer__map { display: flex; flex-direction: column; gap: .6rem; }
.footer__map a { font-size: .85rem; color: rgba(255,255,255,.7); }
.footer__map a:hover { color: #fff; }

.footer__col--acesse { display: flex; flex-direction: column; }
.footer__social { display: flex; align-items: center; gap: .75rem; }
.footer__social a { display: block; line-height: 0; }
.footer__social svg { width: 32px; height: 32px; display: block; }

.footer__col--campanha { grid-column: 1 / -1; }
.footer__logo { width: 80%; height: auto; display: block; }

@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1.5fr; }
  .footer__col--campanha { grid-column: auto; text-align: right; justify-self: end; }
  .footer__logo { width: min(100%, 340px); margin-left: auto; }
}

.footer__legal {
  text-align: center;
  padding: 1.5rem 1.25rem;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}
.footer__credito {
  margin-top: 1rem;
  color: rgba(255,255,255,.5);
}
.footer__credito a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__credito a:hover { color: #fff; }

/* ============================================
   Modal
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(38, 32, 77, .55);
}
.modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 440px);
  background: #fff;
  border-radius: 16px;
  padding: 2.75rem 1.75rem 2rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(38, 32, 77, .28);
}
.modal__close {
  position: absolute;
  top: .85rem;
  right: .9rem;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: #9a9aa8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal__close:hover { color: var(--color-navy); }
.modal__icon { margin: 0 auto .85rem; }
.modal__title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
}
.modal__texto {
  color: var(--color-text);
  font-size: .95rem;
  line-height: 1.5;
  margin-bottom: .7rem;
}
.modal__texto:last-of-type { margin-bottom: 1.5rem; }
.modal__fechar {
  min-width: 140px;
  justify-content: center;
}
body.modal-open { overflow: hidden; }

/* ============================================
   Utility
   ============================================ */
[hidden] { display: none !important; }
