/* ============================================================
   SEMIDE — Serviço Missionário Ide
   Stylesheet principal
   ============================================================ */

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

:root {
  --bg: #FAF7F2;
  --text: #16202B;
  --text-secondary: #3A4652;
  --text-muted: #6B7683;
  --text-muted-2: #7A6A50;
  --link: #0B6BB3;
  --link-hover: #10375C;

  --navy: #10375C;
  --navy-dark: #0E2E4B;
  --navy-darker: #0A1D2E;
  --gold: #E0A426;
  --green: #1D6B45;
  --blue: #0B6BB3;
  --purple: #5B4B9B;
  --orange: #B8651A;
  --teal: #0E7A7A;

  --border: #E6DFD4;
  --border-light: #F0EADF;
  --cream: #F5F1E9;
  --white: #FFFFFF;

  --footer-text: #C8C2B7;
  --footer-muted: #8A939E;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Archivo', Helvetica, Arial, sans-serif;

  --max-width: 1200px;
  --radius: 4px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

p { text-wrap: pretty; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* Eyebrow / labels */
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--muted { color: var(--text-muted-2); }

/* Section shell */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section--bordered {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--navy {
  background: var(--navy);
  color: #F1EDE6;
}
.section--navy-dark {
  background: var(--navy-dark);
  color: #F1EDE6;
}
.section-lead {
  max-width: 70ch;
}
.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.section--navy .section-title,
.section--navy-dark .section-title { color: var(--white); }
.section-text {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.section-text--tight { margin-top: 18px; }
.section--navy .section-text,
.section--navy-dark .section-text { color: #D6D0C6; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn--gold { background: var(--gold); color: var(--text); }
.btn--gold:hover { background: var(--white); color: var(--text); }
.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--link); color: var(--white); }
.btn--small { padding: 13px 22px; font-size: 15px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  padding-block: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand img {
  height: 42px;
  width: auto;
  mix-blend-mode: multiply;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.nav a:not(.btn) { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 26, 44, 0.95) 8%, rgba(8, 26, 44, 0.6) 55%, rgba(8, 26, 44, 0.35) 100%);
}
.hero-content {
  position: relative;
  width: 100%;
  padding: 120px 24px 64px;
}
.hero-eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hero-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero-lead {
  margin: 26px 0 0;
  max-width: 56ch;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: #F1EDE6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ── Verse bar ── */
.verse-bar {
  background: var(--navy);
  color: #EAE4D9;
}
.verse-bar .container {
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.verse-bar p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 24px);
  font-style: italic;
  line-height: 1.4;
}
.verse-ref {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ── Quem somos ── */
.identity-photo {
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  object-fit: cover;
  border-radius: var(--radius);
}
.identity-card {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.identity-list {
  margin: 0;
  display: grid;
  gap: 16px;
}
.identity-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}
.identity-row:last-child { border-bottom: none; padding-bottom: 0; }
.identity-row dt { color: var(--text-muted); font-size: 14px; }
.identity-row dd {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  text-align: right;
  color: var(--text);
}

.pull-quote {
  margin: 32px 0 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--gold);
}
.pull-quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--navy);
}
.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-2);
  font-weight: 600;
}
.pull-quote--on-dark { border-left-color: var(--gold); }
.pull-quote--on-dark p { color: var(--white); }
.pull-quote--on-dark cite { color: var(--gold); }

/* ── Missão / Visão ── */
.tag-list {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.vision-flow {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.vision-step {
  padding: 12px 18px;
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.vision-step--1 { background: var(--navy); }
.vision-step--2 { background: var(--green); }
.vision-step--3 { background: var(--blue); }
.vision-step--4 { background: var(--teal); }
.vision-step--5 { background: var(--gold); color: var(--text); }
.vision-arrow { color: var(--gold); font-weight: 700; }

/* ── Estrutura ── */
.org-root {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-node {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.org-connector {
  width: 1px;
  height: 36px;
  background: #CFC5B4;
}
.org-connector-row {
  display: flex;
  justify-content: center;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 20px;
  margin-top: 20px;
}
.dept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.dept-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--green);
  font-weight: 700;
}
.dept-card--green { border-top-color: var(--green); }
.dept-card--green h3 { color: var(--green); }
.dept-card--blue { border-top-color: var(--blue); }
.dept-card--blue h3 { color: var(--blue); }
.dept-card--purple { border-top-color: var(--purple); }
.dept-card--purple h3 { color: var(--purple); }
.dept-card--orange { border-top-color: var(--orange); }
.dept-card--orange h3 { color: var(--orange); }
.dept-card--teal { border-top-color: var(--teal); }
.dept-card--teal h3 { color: var(--teal); }
.dept-card p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.dept-card ul {
  display: grid;
  gap: 9px;
  font-size: 15px;
  color: var(--text-secondary);
}

.base-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-top: 20px;
}
.base-card {
  border: 1px solid var(--base-border, var(--border));
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--base-bg, var(--white));
}
.base-card--intercessao { --base-bg: #F1F5F1; --base-border: #D8E2D8; }
.base-card--teologico { --base-bg: #EFF3F8; --base-border: #D7E0EB; }
.base-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.base-card--intercessao h3 { color: var(--green); }
.base-card--teologico h3 { color: var(--navy); }
.base-card > p {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.base-card ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.section-motto {
  margin: 34px 0 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  color: var(--navy);
}

/* ── Projetos ── */
.projetos-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 20px;
}
.projeto-card {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.projeto-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold);
}
.projeto-card h3 {
  margin: 10px 0 12px;
  font-size: 20px;
  color: var(--white);
  font-weight: 600;
}
.projeto-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #C8C2B7;
}
.projeto-card ul {
  margin-top: 14px;
  display: grid;
  gap: 7px;
  font-size: 14px;
  color: #A9B3BF;
}
.projeto-quote {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
}
.projeto-label {
  margin: 14px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
}

/* ── Onde atuamos ── */
.atuacao-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.atuacao-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.atuacao-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
}
.atuacao-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.atuacao-card ul {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}
.atuacao-card--highlight {
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.atuacao-card--highlight .eyebrow { color: #CFE6D8; margin-bottom: 12px; }
.atuacao-card--highlight .headline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 500;
}
.atuacao-card--highlight p:last-child {
  font-size: 15px;
  line-height: 1.7;
  color: #DDEBE2;
}

/* ── Campo ── */
.campo-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.campo-grid img {
  width: 100%;
  height: clamp(200px, 24vw, 280px);
  object-fit: cover;
  border-radius: var(--radius);
}
.videos-block { margin-top: 40px; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.videos-grid video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
}
.video-figure { margin: 0; }
.video-figure figcaption {
  margin-top: 10px;
  display: grid;
  gap: 4px;
}
.video-figure figcaption strong {
  font-size: 14px;
  color: var(--navy);
}
.video-figure figcaption span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ── Participar ── */
.participar-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.participar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.participar-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}
.participar-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Apoie ── */
.apoie-list {
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #C8C2B7;
}
.apoie-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pix-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.pix-card .eyebrow {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
}
.pix-card .pix-hint {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
}
.pix-card .pix-value {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.2vw, 30px);
  letter-spacing: 0.01em;
  color: var(--navy);
  word-break: break-word;
}
.bank-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.bank-card .eyebrow { color: var(--gold); font-weight: 700; margin-bottom: 22px; }
.bank-list { margin: 0; display: grid; gap: 14px; }
.bank-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}
.bank-row:last-child { border-bottom: none; padding-bottom: 0; }
.bank-row dt { color: #A9B3BF; font-size: 14px; }
.bank-row dd { margin: 0; font-weight: 600; font-size: 15px; color: var(--white); text-align: right; }

.partnership-card {
  padding: 26px 30px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
}
.partnership-card p:first-child {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}
.partnership-card p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #C8C2B7;
}

/* ── Fundamento ── */
.fundamento-list {
  display: grid;
  gap: 26px;
}
.fundamento-list blockquote { margin: 0; }
.fundamento-list p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--navy);
}
.fundamento-list cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-2);
  font-weight: 600;
}
.declaracao-card {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 48px);
}
.declaracao-card .eyebrow { color: #CFE6D8; margin-bottom: 20px; }
.declaracao-card .headline {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  font-weight: 500;
}
.declaracao-list {
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  font-size: 17px;
  color: #E4F0E9;
}
.declaracao-card > p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #DDEBE2;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-darker);
  color: var(--footer-text);
}
.site-footer .container {
  padding: clamp(56px, 7vw, 88px) 24px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px;
  align-items: start;
}
.footer-logo {
  height: 48px;
  width: auto;
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius);
}
.footer-motto {
  margin: 20px 0 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--white);
}
.footer-cadence {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
}
.footer-heading {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.footer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}
.footer-nav {
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.footer-nav a { color: var(--footer-text); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--footer-muted);
}

/* ── PIX copy button ── */
.copy-feedback {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-darker);
  color: #F1EDE6;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(232, 217, 184, 0.2);
  white-space: nowrap;
  z-index: 1000;
  transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.copy-feedback.is-visible { bottom: 20px; }
