/* ============================================================
   RCC Retiro 2026 - main.css
   Mobile-first · Cormorant Garamond + Inter
============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:       #1A2B5E;
  --navy-deep:  #0F1A3B;
  --navy-mid:   #243470;
  --gold:       #B8892A;
  --gold-light: #D4A84B;
  --gold-pale:  #F5EDD6;
  --cream:      #FAF8F3;
  --white:      #FFFFFF;
  --text:       #1C1C2E;
  --text-muted: #6B6B80;
  --line:       #E4DFD4;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 0 24px;
}
.section     { padding: 60px 0; }
.section-alt { background: var(--white); }
.section-dark{ background: var(--navy-deep); }

/* ── TIPOGRAFIA ──────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(26px, 5.5vw, 38px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
}
.rule {
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px 0 22px;
}
.body-text { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.body-text + .body-text { margin-top: 14px; }
.body-text strong { color: var(--text); font-weight: 600; }

/* ── BOTÃO ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  transition: background .2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-light); }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
/* logo personalizado do WP */
.header-logo a,
.header-logo img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--gold) !important;
  display: block;
}
.header-logo-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.header-brand-text {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.header-brand-text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  opacity: .55;
}

/* ── HERO / BANNER ───────────────────────────────────────── */
.hero { background: var(--navy-deep); }

/* picture ocupa a largura total */
.hero picture { display: block; width: 100%; }

/* Mobile: banner retrato - altura livre */
.hero-banner {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Desktop: banner paisagem - altura proporcional */
@media (min-width: 641px) {
  .hero-banner {
    max-height: none;
    height: clamp(280px, 38vw, 480px);
    object-position: center center;
  }
}

.hero-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(184,137,42,.6);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.hero-lead {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  transition: background .2s;
  width: 100%;
  justify-content: center;
}
.hero-cta:hover { background: var(--gold-light); }
.hero-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

@media (min-width: 641px) {
  .hero-cta { width: auto; }
}

/* ── DATE BAR ────────────────────────────────────────────── */
.datebar { background: var(--navy); padding: 18px 24px; }
.datebar-inner {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.datebar-item {
  flex: 1;
  min-width: 120px;
  padding: 6px 16px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.datebar-item:first-child { padding-left: 0; }
.datebar-item:last-child  { border-right: none; }
.datebar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.datebar-value { font-size: 14px; font-weight: 600; color: var(--white); }

/* ── SOBRE ───────────────────────────────────────────────── */
.quote-block {
  margin-top: 28px;
  border-left: 2px solid var(--gold);
  padding: 20px 20px 20px 24px;
  background: var(--white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}
.ministry-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}
.ministry-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ministry-icon-wrap svg { width: 20px; height: 20px; color: var(--gold); }
.ministry-label { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.ministry-desc  { font-size: 13px; color: var(--text-muted); }

/* ── PROGRAMAÇÃO ─────────────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 400px) {
  .schedule-grid { grid-template-columns: 1fr; }
}
.day-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}
.day-card-head {
  background: var(--navy);
  color: var(--white);
  padding: 16px 18px;
}
.day-card-head.gold { background: var(--gold); }
.day-card-head .day-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 2px;
}
.day-card-head .day-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.day-card-head .day-month { font-size: 11px; opacity: .65; margin-top: 2px; }
.day-card-body { padding: 4px 0; }
.time-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.time-row:last-child { border-bottom: none; }
.time-val  { font-size: 11px; font-weight: 700; color: var(--gold); min-width: 38px; padding-top: 1px; }
.time-desc { font-size: 13px; color: var(--text); line-height: 1.4; }
.time-sub  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── PREGADORES ──────────────────────────────────────────── */
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark .heading { color: var(--white); }
.section-dark .rule    { background: var(--gold-light); }

.speaker-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.speaker-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.speaker-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.speaker-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.speaker-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(184,137,42,.15);
  border: 1px solid rgba(184,137,42,.3);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 2px;
}
.speaker-name { font-size: 13px; font-weight: 700; color: var(--white); line-height: 1.3; }
.speaker-role { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }

/* ── FORMULÁRIO ──────────────────────────────────────────── */
.form-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.form-card-head {
  background: var(--navy);
  padding: 22px 24px;
}
.form-card-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.form-card-head p { font-size: 12px; color: rgba(255,255,255,.55); }
.form-card-body { padding: 24px; }

.form-card-body input[type="checkbox"],
.form-card-body input[type="radio"] { accent-color: var(--navy); }

/* ── APOIO ────────────────────────────────────────────────── */
.apoio-img {
  margin-top: 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ── CONTATO ─────────────────────────────────────────────── */
.contact-block {
  margin-top: 28px;
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
}
.contact-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-block p { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.phone-list { display: flex; flex-direction: column; gap: 10px; }
.phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  transition: background .2s;
}
.phone-item:hover { background: rgba(255,255,255,.12); }
.phone-item svg { color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 36px 24px;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  line-height: 1.8;
}
.footer-logo a,
.footer-logo img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--gold) !important;
  margin: 0 auto 14px !important;
  opacity: .85;
}
.site-footer strong { color: rgba(255,255,255,.8); }
.footer-copy { font-size: 10px; margin-top: 8px; display: block; opacity: .5; }

/* ── FLOATING CTA ────────────────────────────────────────── */
.fab {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 48px);
  max-width: 380px;
  transition: opacity .3s;
}
.fab a {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--r-sm);
  box-shadow: 0 8px 28px rgba(184,137,42,.40);
  letter-spacing: .03em;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .fab { display: block; }
  body { padding-bottom: 76px; }
  .datebar-item { min-width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 8px 0; }
  .datebar-item:last-child { border-bottom: none; }
}

/* -----------------------------------------------
   FORMULARIO CUSTOMIZADO
----------------------------------------------- */
.rcc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.req { color: var(--gold); margin-left: 2px; }

.form-input {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: #b0adb8; }

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,137,42,0.15);
}

.form-input-sm { max-width: 120px; }

.form-radios {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  cursor: pointer;
}

.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form-msg {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-msg-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }
.form-msg-success { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }

.btn-inscricao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 28px;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
  letter-spacing: 0.01em;
}

.btn-inscricao:hover   { background: var(--gold-light); }
.btn-inscricao:active  { transform: scale(0.98); }
.btn-inscricao:disabled { opacity: 0.6; cursor: not-allowed; }

@media (min-width: 480px) {
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
