@charset "utf-8";
/* ==========================================================================
   Equipes de Nossa Senhora — subsite Venerável Pe. Henri Caffarel
   Folha de estilo única. Baseada no Manual de Identidade Visual (MIV 2025).
   ========================================================================== */

/* --- Fonte oficial ------------------------------------------------------- */
@font-face {
  font-family: "Frutiger LT Std";
  src: url("../fonts/Frutiger-LT-Std-55-Roman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --ens-azul: #095AA6;
  --ens-azul-escuro: #0E2742;
  --ens-azul-rodape: #0a1f36;
  --ens-azul-claro: #C7E1F1;
  --ens-salmao: #FB6C53;
  --ens-ink: #2E2E2E;
  --ens-fg-2: #5A6472;
  --ens-fg-3: #8A95A3;
  --ens-line: #E2E5E9;
  --ens-line-2: #C7D3DF;
  --ens-bg-1: #FFFFFF;
  --ens-bg-2: #F5F7FA;
  --ens-bg-3: #ECF1F6;

  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-md: 0 10px 24px rgba(14, 39, 66, .10);

  --wrap: 1120px;
  --pad-x: clamp(20px, 4vw, 32px);
  --pad-y: clamp(40px, 6vw, 72px);

  --fs-hero: clamp(34px, 5vw, 56px);
  --fs-h1: clamp(32px, 4.4vw, 48px);
  --fs-h2: clamp(26px, 3.4vw, 38px);
  --fs-h3: clamp(24px, 2.9vw, 32px);
  --fs-lead: clamp(17px, 1.8vw, 19px);
}

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

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

body {
  margin: 0;
  background: var(--ens-bg-1);
  color: var(--ens-ink);
  font-family: "Frutiger LT Std", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
blockquote, figure, figcaption { margin: 0; }
img { display: block; max-width: 100%; }

a { color: var(--ens-azul); text-decoration: none; transition: color .2s ease-out; }
a:hover { color: #074a8a; text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ens-azul);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ens-azul);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- Utilitários --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-y); }
.section--alt { background: var(--ens-bg-2); border-block: 1px solid var(--ens-line); }
.section--tint { background: var(--ens-azul-claro); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ens-azul); }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--ens-fg-2); max-width: 44em; }
.note { font-size: 13.5px; line-height: 1.6; color: var(--ens-fg-3); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.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;
}

/* --- Botões -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 13px 26px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font: inherit; font-size: 15px; text-align: center; cursor: pointer;
  transition: background-color .2s ease-out, color .2s ease-out, box-shadow .2s ease-out, transform .12s ease-out;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ens-azul); color: #fff; }
.btn--primary:hover { background: #074a8a; color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--ens-line-2); color: var(--ens-azul); background: transparent; }
.btn--ghost:hover { background: var(--ens-bg-3); color: var(--ens-azul); }
.btn--accent { background: var(--ens-salmao); color: var(--ens-azul-escuro); }
.btn--accent:hover { background: #e85d45; color: var(--ens-azul-escuro); }
.btn--block { width: 100%; min-height: 52px; font-size: 16px; }

/* --- Cabeçalho ----------------------------------------------------------- */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  min-height: 74px; padding: 14px var(--pad-x);
  background: #fff; border-bottom: 1px solid var(--ens-line);
}
.site-header__logo { height: 46px; width: auto; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  background: #fff; border: 1px solid var(--ens-line);
  border-radius: var(--radius-pill); font: inherit; font-size: 14.5px;
  color: var(--ens-fg-2); cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars span { display: block; width: 16px; height: 2px; background: currentColor; }

.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { font-size: 15px; color: var(--ens-fg-2); white-space: nowrap; }
.site-nav a:hover { color: var(--ens-azul); }
.site-nav a[aria-current="page"] {
  color: var(--ens-azul);
  border-bottom: 2px solid var(--ens-azul);
  padding-bottom: 3px;
}

.lang {
  display: flex; align-items: center; gap: 4px;
  padding: 4px; border: 1px solid var(--ens-line); border-radius: var(--radius-pill);
}
.lang a {
  min-width: 44px; min-height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 13.5px; color: var(--ens-fg-2);
}
.lang a:hover { background: var(--ens-bg-3); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ens-azul); color: #fff; }

.breadcrumb {
  padding: 12px var(--pad-x);
  background: var(--ens-bg-2); border-bottom: 1px solid var(--ens-line);
  font-size: 13.5px; color: var(--ens-fg-2);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb a { color: var(--ens-fg-2); }
.breadcrumb li + li::before { content: "/"; padding-right: 8px; color: var(--ens-line-2); }
.breadcrumb [aria-current="page"] { color: var(--ens-ink); }

/* --- Capa ---------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: center;
  padding-block: clamp(40px, 5.4vw, 68px);
}
.hero__badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: var(--radius-pill);
  background: var(--ens-bg-3);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ens-azul);
}
.hero h1 { font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -.01em; }
.hero__text { font-size: var(--fs-lead); line-height: 1.65; color: var(--ens-fg-2); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

/* --- Espaços de imagem --------------------------------------------------- */
.media {
  position: relative; overflow: hidden;
  background: var(--ens-bg-3); border-radius: var(--radius-md);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 16px;
  font-size: 14px; color: var(--ens-fg-3); text-align: center;
}
.media:has(img)::after { content: none; }
.media--hero { height: clamp(300px, 36vw, 420px); }
.media--4x3 { aspect-ratio: 4 / 3; }

/* --- Submenu fixo -------------------------------------------------------- */
.subnav {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 14px var(--pad-x);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-block: 1px solid var(--ens-line);
  justify-content: center;
}
.subnav a {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 10px 18px; border: 1px solid var(--ens-line); border-radius: var(--radius-pill);
  font-size: 14.5px; color: var(--ens-fg-2); white-space: nowrap;
}
.subnav a:hover { background: var(--ens-bg-2); color: var(--ens-azul); text-decoration: none; }
.subnav a.is-active { background: var(--ens-bg-3); border-color: var(--ens-azul); color: var(--ens-azul); }
.subnav a.subnav__cta { background: var(--ens-azul); border-color: var(--ens-azul); color: #fff; }
.subnav a.subnav__cta:hover { background: #074a8a; color: #fff; }
.subnav a.subnav__ext { border-color: var(--ens-azul); color: var(--ens-azul); }

/* --- Vida + cronologia --------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.prose p + p { margin-top: 16px; }
.prose p { font-size: 16.5px; line-height: 1.75; color: var(--ens-fg-2); }
.prose p:first-of-type { font-size: 18px; color: var(--ens-ink); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: flex; gap: 18px; align-items: baseline;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--ens-line);
}
.timeline li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.timeline time { flex: none; min-width: 74px; font-size: 22px; color: var(--ens-azul); }
.timeline p { font-size: 16px; line-height: 1.6; color: var(--ens-fg-2); }
.timeline li.is-key p { color: var(--ens-ink); }
.timeline strong { font-weight: 400; color: var(--ens-azul); }

/* --- Citações ------------------------------------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.quote {
  display: flex; flex-direction: column; gap: 14px; margin: 0;
  padding: clamp(22px, 2.8vw, 30px);
  background: #fff; border-radius: var(--radius-md);
}
.quote p { font-size: 19px; line-height: 1.55; }
.quote cite { font-size: 13px; font-style: normal; line-height: 1.5; letter-spacing: .04em; color: var(--ens-fg-2); }

/* --- Cards --------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ens-line); border-radius: var(--radius-md);
  overflow: hidden; color: inherit;
  transition: box-shadow .2s ease-out, transform .2s ease-out;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.card__title { font-size: 21px; color: var(--ens-ink); }
.card__text { font-size: 15px; line-height: 1.6; color: var(--ens-fg-2); }
.card__link { font-size: 15px; color: var(--ens-azul); }

.panel {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--ens-bg-2); border: 1px solid var(--ens-line); border-radius: var(--radius-md);
}
.panel h3 { font-size: 22px; line-height: 1.3; }
.panel p { font-size: 16px; line-height: 1.7; color: var(--ens-fg-2); }
.panel--dark {
  background: var(--ens-azul-escuro); border-color: var(--ens-azul-escuro); color: #fff;
}
.panel--dark p { color: rgba(255, 255, 255, .78); }
.panel--dark a { color: #fff; }
.panel--tint { background: var(--ens-azul-claro); border-color: var(--ens-azul-claro); }

.field-label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ens-fg-2); }
.panel--dark .field-label { color: var(--ens-salmao); }
.field-value { font-size: 17px; }
.rule { height: 1px; background: var(--ens-line); border: 0; margin: 4px 0; }
.panel--dark .rule { background: rgba(255, 255, 255, .15); }

/* --- Lista de documentos ------------------------------------------------- */
.doclist { display: flex; flex-direction: column; }
.doclist a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 44px; padding: 16px 0;
  border-bottom: 1px solid var(--ens-line); color: var(--ens-ink);
}
.doclist a:hover { color: var(--ens-azul); text-decoration: none; }
.doclist span:first-child { font-size: 16.5px; }
.doclist span:last-child { flex: none; font-size: 13px; color: var(--ens-fg-2); }

/* --- Modalidades de associação ------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.plan {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 30px);
  background: #fff; border: 1px solid var(--ens-line); border-radius: var(--radius-md);
}
.plan--featured { border: 2px solid var(--ens-azul); }
.plan__kind { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ens-fg-2); }
.plan--featured .plan__kind { color: var(--ens-azul); }
.plan__price { font-size: clamp(32px, 3.6vw, 40px); line-height: 1; color: var(--ens-azul); }
.plan__period { font-size: 15px; color: var(--ens-fg-2); }
.plan__desc { font-size: 15px; line-height: 1.6; color: var(--ens-fg-2); }
.plan .btn { margin-top: auto; }

/* --- Formulário ---------------------------------------------------------- */
.form {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  background: #fff; border: 1px solid var(--ens-line); border-radius: var(--radius-md);
}
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-size: 13.5px; color: var(--ens-fg-2); }
.form input, .form select {
  min-height: 48px; padding: 13px 16px;
  background: #fff; border: 1px solid var(--ens-line-2); border-radius: var(--radius-sm);
  font: inherit; font-size: 15px; color: var(--ens-ink);
}
.form input::placeholder { color: var(--ens-fg-3); }
.form input:focus, .form select:focus { border-color: var(--ens-azul); outline: none; box-shadow: 0 0 0 3px rgba(9, 90, 166, .15); }
.form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--ens-fg-2); }
.form__consent input { min-height: 0; width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ens-azul); }
.form__status { font-size: 15px; line-height: 1.6; color: var(--ens-azul); }
.form__status:empty { display: none; }

/* --- Rodapé ------------------------------------------------------------- */
.site-footer { background: var(--ens-azul-rodape); color: rgba(255, 255, 255, .8); }
.site-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px;
  padding-block: clamp(40px, 5vw, 60px) 36px;
}
.site-footer__logo { height: 54px; width: auto; object-fit: contain; object-position: left; }
.site-footer p { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .62); }
.site-footer h4 {
  margin: 4px 0 6px; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ens-salmao);
}
.site-footer ul { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.site-footer a { font-size: 14px; color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px; color: rgba(255, 255, 255, .5);
}

/* --- Adaptação a telas pequenas ----------------------------------------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; gap: 0; margin-left: 0;
    border-top: 1px solid var(--ens-line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    display: block; min-height: 44px; padding: 14px 0;
    border-bottom: 1px solid var(--ens-line); font-size: 16px;
  }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--ens-line); padding-bottom: 14px; }
  .lang { order: 4; }
  .site-header > .btn { order: 5; }
  .subnav { overflow-x: auto; flex-wrap: nowrap; }
  .subnav a.subnav__ext { margin-left: 0; }
}

@media (max-width: 520px) {
  .hero__actions .btn, .plan .btn { width: 100%; }
  .site-header > .btn { width: 100%; }
}

/* --- Impressão ---------------------------------------------------------- */
@media print {
  .subnav, .nav-toggle, .lang, .site-header > .btn { display: none; }
  body { font-size: 11pt; }
  .card, .plan, .form, .panel { break-inside: avoid; }
}
