/* ==========================================================================
   SBPR ? Sociedade Brasileira de Proteção Radiológica
   Folha de estilo principal
   Paleta de verdes da marca · Tipografia PT Sans Narrow (combina com o logo)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fontes
   Para trocar a fonte, altere apenas as variáveis --ff-head / --ff-body.
   Alternativas já importadas no <head> das páginas:
     Roboto           -> "Roboto", sans-serif
     Oswald           -> "Oswald", sans-serif        (títulos)
     Barlow Condensed -> "Barlow Condensed", sans-serif
   -------------------------------------------------------------------------- */
:root {
  --ff-head: "PT Sans Narrow", Arial, sans-serif;
  --ff-body: "PT Sans", Arial, sans-serif;

  /* Cores */
  --forest:     #2e4127;
  --green:      #3f6d2b;
  --green-dark: #2f5220;
  --green-soft: #7fa860;
  --leaf-1:     #f3f6ec;
  --leaf-2:     #eef2e6;
  --panel:      #fafbf7;
  --line:       #e8ebe2;
  --line-soft:  #eceee6;
  --text:       #2b2f28;
  --muted:      #5c6357;
  --muted-2:    #54594d;
  --muted-3:    #7c876e;
  --white:      #ffffff;

  --maxw: 1120px;
}

/* --------------------------------------------------------------------------
   2. Reset e base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; border: 0; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

h1, h2, h3 { font-family: var(--ff-head); font-weight: 700; color: var(--forest); margin: 0; }

::selection { background: #cfe0bb; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Botão padrão */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  line-height: 1;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn svg { width: 16px; height: 16px; }

/* Link "saiba mais" com seta */
.readmore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 14px;
  color: var(--green);
}
.readmore svg { width: 15px; height: 15px; }

/* Placeholder de imagem (remover ao inserir imagens reais) */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #9aa88c;
  background: repeating-linear-gradient(135deg, var(--leaf-1) 0 12px, var(--panel) 12px 24px);
  border: 1px dashed #c2cdb1;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   3. Barra de utilidades (topo) + idiomas
   -------------------------------------------------------------------------- */
.topbar { background: var(--forest); color: #9fb191; }
.topbar .container {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__name {
  font-family: var(--ff-head);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12.5px;
}
.langs { display: flex; align-items: center; gap: 14px; }
.langs a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: .04em;
  color: #9fb191;
}
.langs a.is-active { color: #e8efe0; }
.langs img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.langs .sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }

/* --------------------------------------------------------------------------
   4. Cabeçalho (logo + menu de ícones)
   -------------------------------------------------------------------------- */
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.header__logo img { height: 58px; width: auto; }

.iconnav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.iconnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
}
.iconnav a:hover { color: var(--forest); background: var(--leaf-1); }
.iconnav a.is-active { color: var(--green-dark); }
.iconnav a.is-cta { background: var(--green); color: #fff; padding: 8px 14px; }
.iconnav a.is-cta:hover { background: var(--green-dark); }
.iconnav svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------------------
   5. Menu principal (barra verde)
   -------------------------------------------------------------------------- */
.mainnav { background: var(--leaf-1); border-bottom: 1px solid #dde4d0; }
.mainnav .container { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.mainnav__list { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; flex: 1; }
.mainnav a {
  padding: 15px 20px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .03em;
  color: #3d4a35;
  border-bottom: 3px solid transparent;
}
.mainnav a:hover { color: var(--green-dark); }
.mainnav a.is-active { color: var(--green-dark); border-bottom-color: var(--green); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--forest);
  padding: 12px 0;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 16px;
  align-items: center;
  gap: 8px;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   6. Hero / slider da home
   Substitua .hero__media pelo seu slider (ex.: Nivo Slider).
   -------------------------------------------------------------------------- */
.hero { background: var(--leaf-2); }
.hero__inner { max-width: 1400px; margin: 0 auto; position: relative; }
.hero__media {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #e6ecdb 0 14px, var(--leaf-2) 14px 28px);
}
.hero__content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px clamp(24px, 6vw, 90px) 56px;
}
.hero__text { max-width: 560px; }
.badge {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 13px;
  color: var(--green);
  background: #fff;
  padding: 6px 12px;
  border-radius: 100px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.02; margin: 16px 0 10px; }
.hero__lead { font-size: 16px; line-height: 1.5; color: #4d5545; margin: 0 0 22px; max-width: 460px; }
.hero .btn { font-size: 16px; padding: 12px 24px; }
.hero__note {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #9aa88c;
  background: rgba(255,255,255,.5);
  border: 1px dashed #b7c4a3;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
}
.hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}
.hero__dots span { width: 9px; height: 5px; border-radius: 100px; background: rgba(47,82,32,.28); }
.hero__dots span.is-active { width: 26px; background: var(--green); }

/* --------------------------------------------------------------------------
   7. Barra de busca + Facebook
   -------------------------------------------------------------------------- */
.subbar { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.subbar .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 260px; }
.search__label {
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.search__field {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 420px;
  border: 1px solid #d7dccd;
  border-radius: 100px;
  background: #f7f9f2;
  padding: 2px 4px 2px 16px;
}
.search__field input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
}
.search__btn {
  border: 0;
  background: var(--green);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.search__btn svg { width: 17px; height: 17px; }
.social { display: flex; align-items: center; gap: 12px; }
.social__label {
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 14px;
  color: var(--muted);
}
.social img { height: 30px; width: auto; }

/* --------------------------------------------------------------------------
   8. Destaques (home)
   -------------------------------------------------------------------------- */
.destaques { background: var(--panel); padding: 56px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 30px; }
.section-head .rule { height: 1px; background: #dde2d3; flex: 1; min-width: 40px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.card__head img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.card__tag {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .09em;
  font-size: 12px;
  color: #8a9280;
}
.card h3 { font-size: 20px; line-height: 1.15; margin-top: 2px; }
.card__rule { height: 1px; background: var(--line-soft); margin-bottom: 16px; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); margin: 0 0 22px; flex: 1; }
.card .readmore { align-self: flex-start; }

/* --------------------------------------------------------------------------
   9. Newsletter
   -------------------------------------------------------------------------- */
.newsletter { background: var(--forest); }
.newsletter .container {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.newsletter__text { max-width: 520px; }
.newsletter h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.newsletter p { font-size: 15px; line-height: 1.5; color: #b9c6ab; margin: 0; }
.newsletter form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 460px; }
.newsletter input {
  flex: 1;
  border: 1px solid #4c5f42;
  background: #26361f;
  color: #eef2e6;
  border-radius: 6px;
  padding: 13px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  outline: none;
}
.newsletter button {
  border: 0;
  background: var(--green-soft);
  color: #183010;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 15px;
  padding: 0 24px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. Faixa de título das páginas internas + breadcrumb
   -------------------------------------------------------------------------- */
.pagehead { background: var(--leaf-1); border-bottom: 1px solid #dde4d0; }
.pagehead .container { padding-top: 34px; padding-bottom: 30px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--muted-3);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.pagehead h1 { font-size: 38px; line-height: 1.05; }
.pagehead__sub { font-family: var(--ff-head); font-size: 22px; color: #5f6b53; margin: 10px 0 0; }

/* --------------------------------------------------------------------------
   11. Conteúdo interno (Quem Somos / Detalhe ? 2 colunas)
   -------------------------------------------------------------------------- */
.content { background: #fff; padding: 48px 0; }
.layout-2col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}
.layout-2col.wide { grid-template-columns: 360px 1fr; }
/* Conteúdo de largura total (sem coluna de mídia) */
.layout-1col { max-width: 820px; }

.media-col { display: flex; flex-direction: column; gap: 20px; }
.media-col .ph.photo { aspect-ratio: 4/3; }
.media-col .logos-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.media-col .logos-strip img { height: 40px; width: auto; opacity: .9; }
.media-col .logos-strip span { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #aab29c; }

.prose h2 { font-size: 26px; margin: 0 0 14px; }
.prose h3 { font-size: 22px; margin: 28px 0 12px; }
.prose p { font-size: 15.5px; line-height: 1.7; color: var(--muted-2); margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted-2); font-size: 15.5px; line-height: 1.7; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--forest); }

/* Vídeo (placeholder). Substitua por <iframe> do YouTube. */
.video-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e6ebdd;
  background: repeating-linear-gradient(135deg, #e6ecdb 0 12px, var(--leaf-2) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-ph__tag { position: absolute; top: 10px; left: 12px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #9aa88c; }
.video-ph__play {
  width: 56px; height: 56px; border-radius: 50%;
  background: #e53935;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.video-ph__play svg { width: 22px; height: 22px; fill: #fff; }

/* --------------------------------------------------------------------------
   12. Notícias (lista)
   -------------------------------------------------------------------------- */
.newslist { background: #fff; padding: 44px 0; }
.newsitem {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.newsitem:first-child { border-top: 0; }
.newsitem .ph,
.newsitem__img { aspect-ratio: 16/10; }
.newsitem__img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
/* Item sem imagem: ocupa a linha inteira (uma coluna só) */
.newsitem--noimg { grid-template-columns: 1fr; }
.newsitem__date {
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 12px;
  color: #8a9280;
}
.newsitem h2 { font-size: 23px; line-height: 1.15; margin: 5px 0 4px; }
.newsitem__sub {
  font-family: var(--ff-head);
  font-size: 17px;
  line-height: 1.25;
  color: var(--muted);
  margin: 0 0 10px;
}
.newsitem p { font-size: 15px; line-height: 1.65; color: var(--muted-2); margin: 0 0 14px; }

/* --------------------------------------------------------------------------
   13. Formulário de contato
   -------------------------------------------------------------------------- */
.formwrap { background: #fff; padding: 44px 0 56px; }
.formwrap .container { max-width: 720px; }
.form-intro { font-size: 15.5px; line-height: 1.7; color: var(--muted-2); margin: 0 0 28px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 14px;
  color: var(--green);
}
.form input, .form textarea {
  border: 1px solid #d7dccd;
  background: #f7f9f2;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--green); background: #fff; }
.form .btn { align-self: flex-start; padding: 13px 40px; }

/* --------------------------------------------------------------------------
   13c. Aparência dos formulários (específico do site)
   A ESTRUTURA/responsividade vem de forms.css (.form-grid, .field,
   .field-group, .form-section, .form-actions). Aqui só cores, bordas,
   tipografia e o botão.
   -------------------------------------------------------------------------- */
.formbox { max-width: 720px; }
.formbox h2 { font-family: var(--ff-head); font-weight: 700; font-size: 24px; color: var(--forest); margin: 0 0 20px; }

/* Título / separador de seção */
.form-section {
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--leaf-1);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 11px 14px;
  margin-top: 14px;
}
.form-grid > .form-section:first-child { margin-top: 0; }

/* Rótulos */
.field > label {
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 14px;
  color: var(--green);
}
.req { color: #c0392b; margin-right: 3px; }

/* Controles */
.field input,
.field select,
.field textarea,
.field-group input,
.field-group select {
  border: 1px solid #d7dccd;
  background: #f7f9f2;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.field-group input:focus,
.field-group select:focus { border-color: var(--green); background: #fff; }

/* Valor apenas leitura (ex.: CPF exibido como texto) */
.field .field-static { margin: 0; padding: 12px 0; font-size: 15px; font-weight: 700; color: var(--muted-2); }

/* Botão (usado em .form-actions e no legado .botao) */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 15px;
  padding: 13px 40px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  line-height: 1;
}
.botao:hover { background: var(--green-dark); color: #fff; }
.botao--ghost { background: #fff; color: var(--muted); border: 1px solid #d7dccd; }
.botao--ghost:hover { background: var(--leaf-1); color: var(--forest); border-color: #c2cdb1; }

/* --------------------------------------------------------------------------
   13b. Área do associado (logado)
   -------------------------------------------------------------------------- */
.account { background: #fff; padding: 36px 0 56px; }

/* Barra de status do usuário logado */
.account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--leaf-1);
  border: 1px solid #dde4d0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.account-user { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.account-user__name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--forest);
  line-height: 1.1;
}
.account-user__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 9px;
  border-radius: 100px;
}
.badge-status.nopag{
  color: var(--warning);
  background: var(--warning-bg);
}

.badge-status.inadim{
  color: var(--danger);
  background: var(--danger-bg);
}
.badge-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.badge-status.nopag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warning); }
.badge-status.inadim::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }


.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid #d7dccd;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
}
.btn-logout:hover { color: #b0331f; border-color: #e3b7ae; background: #fdf5f3; }
.btn-logout svg { width: 17px; height: 17px; }

/* Grade de ações */
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.action-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.action-card:hover {
  border-color: #bcd0a6;
  box-shadow: 0 6px 20px rgba(46,65,39,.08);
  transform: translateY(-2px);
  color: inherit;
}
.action-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--leaf-1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.action-card__icon svg { width: 23px; height: 23px; }
.action-card__title {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--forest);
  line-height: 1.1;
  margin: 2px 0 5px;
}
.action-card__desc { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.action-card__arrow { margin-left: auto; color: #b6c1a8; align-self: center; flex: none; }
.action-card__arrow svg { width: 18px; height: 18px; }
.action-card:hover .action-card__arrow { color: var(--green); }
.action-card.is-danger .action-card__icon { background: #fdf0ed; color: #b0331f; }

/* --------------------------------------------------------------------------
   14. Rodapé
   -------------------------------------------------------------------------- */
.footer { background: var(--forest); color: #adb8a1; }
.footer__top {
  padding: 48px 24px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  color: #e3ead9;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #445639;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { color: #adb8a1; font-family: var(--ff-head); font-size: 15px; }
.footer ul a:hover { color: #e3ead9; }
.footer__logo img { height: 96px; width: auto; opacity: .85; }
.footer__bottom { border-top: 1px solid #3a4a30; }
.footer__bottom .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: .03em;
  color: #7f8c72;
}

/* --------------------------------------------------------------------------
   15. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .layout-2col, .layout-2col.wide { grid-template-columns: 1fr; gap: 28px; }
  .newsitem { grid-template-columns: 160px 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .header .container { justify-content: center; }
  .iconnav a { padding: 6px 9px; font-size: 12px; }
  .iconnav svg { width: 19px; height: 19px; }

  /* Menu principal vira sanfona */
  .nav-toggle { display: flex; }
  .mainnav .container { flex-direction: column; }
  .mainnav__list {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .mainnav__list.is-open { display: flex; }
  .mainnav a { width: 100%; border-bottom: 1px solid #dde4d0; padding: 13px 4px; }
  .mainnav a.is-active { border-bottom-color: #dde4d0; }

  .hero__content { flex-direction: column; align-items: flex-start; }
  .hero__note { display: none; }

  .subbar .container { flex-direction: column; align-items: stretch; }
  .search__field { max-width: none; }

  .newsletter .container { flex-direction: column; align-items: stretch; }
  .form__row { grid-template-columns: 1fr; }

  .account-bar { flex-direction: column; align-items: stretch; }
  .account-bar .btn-logout { justify-content: center; }

  .footer__top { flex-direction: column; }
  .footer__cols { gap: 32px; }
  .footer__logo { align-self: center; }
}

@media (max-width: 460px) {
  .newsitem { grid-template-columns: 1fr; }
  .newsitem .ph { max-width: 240px; }
  .pagehead h1 { font-size: 30px; }
  .footer__cols { flex-direction: column; gap: 24px; }
}
