/* public/css/style.css */

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

:root {
  --navy:       #0B1730;
  --navy-mid:   #142448;
  --navy-light: #1E3366;
  --gold:       #C9A227;
  --gold-light: #E8C05A;
  --gold-pale:  #F5E4A8;
  --cream:      #FAF8F2;
  --parchment:  #F2EDD9;
  --text-dark:  #12192E;
  --text-mid:   #3D4A6A;
  --text-light: #7A88AA;
  --white:      #FFFFFF;
  --success:    #1B7A45;
  --error:      #B03030;
  --border:     rgba(201,162,39,0.22);
  --shadow-lg:  0 16px 60px rgba(11,23,48,0.22);
  --shadow-md:  0 6px 24px rgba(11,23,48,0.14);
  --shadow-sm:  0 2px 10px rgba(11,23,48,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========== LOGO TOP BAR ========== */
.logo-bar {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-bottom: 2px solid #CC0000;
  gap: 18px;
  overflow: hidden;
}
.logo-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(180,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.logo-img-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(220,0,0,0.6));
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(220,0,0,0.6), 0 2px 8px rgba(0,0,0,0.8);
  line-height: 1;
}
.logo-name span {
  color: #CC0000;
}
.logo-tagline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 500px) {
  .logo-name { font-size: 1.5rem; letter-spacing: 2px; }
  .logo-img-wrap { width: 50px; height: 50px; }
}


/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(155deg, #0B1730 0%, #142448 45%, #091020 100%);
  overflow: hidden;
}

/* Decorative background elements */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.1);
}
.hero-bg-circle:nth-child(1) { width: 700px; height: 700px; top: -250px; right: -180px; }
.hero-bg-circle:nth-child(2) { width: 500px; height: 500px; top: -150px; right: -80px; border-color: rgba(201,162,39,0.06); }
.hero-bg-circle:nth-child(3) { width: 350px; height: 350px; bottom: -150px; left: -120px; border-color: rgba(201,162,39,0.08); }

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(201,162,39,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 15% 60%, rgba(30,51,102,0.5) 0%, transparent 70%);
}

/* Cross / Religious symbol top-right */
.hero-cross {
  position: absolute;
  top: 30px;
  right: 40px;
  opacity: 0.06;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}

/* Top badge */
.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 100px;
  padding: 7px 20px 7px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.7s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(201,162,39,0.4); }
  50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 4px rgba(201,162,39,0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeSlideDown 0.7s 0.1s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1rem;
  animation: fadeSlideDown 0.7s 0.15s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  animation: fadeSlideDown 0.7s 0.2s ease both;
}

/* Gold ornament divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.8s 0.3s ease both;
}
.ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament-line.r {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.ornament-dot {
  width: 4px; height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
}

/* Event info cards */
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  animation: fadeSlideUp 0.7s 0.35s ease both;
}

.event-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-align: left;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}
.event-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,162,39,0.35);
}
.event-card .ec-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.event-card .ec-val {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  line-height: 1.45;
}

/* Gold bar separator */
.gold-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, var(--navy));
}

/* ========== CAFÉ DA MANHÃ SECTION ========== */
.cafe-section {
  background: linear-gradient(180deg, #0B1730 0%, #0f1e3a 100%);
  padding: 3.5rem 1.5rem 2.5rem;
}

.cafe-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cafe-badge {
  display: inline-block;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

.cafe-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cafe-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

.cafe-svg-wrap {
  max-width: 740px;
  margin: 0 auto;
  background: #FDF6E3;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(201,162,39,0.28);
  box-shadow: 0 20px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,162,39,0.1);
}

/* ========== MAIN / CREAM SECTION ========== */
.main {
  background: var(--cream);
  min-height: 60vh;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Section heading */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.8rem;
}
.section-label h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.section-label .s-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.5;
}

/* Host badge */
.host-badge {
  background: linear-gradient(130deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 16px;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(201,162,39,0.25);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.host-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}
.host-avatar {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--gold) 0%, #A8841A 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}
.host-info .host-title {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 3px;
}
.host-info .host-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.host-info .host-addr {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  background: rgba(11,23,48,0.07);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 2rem;
  border: 1px solid rgba(11,23,48,0.08);
}
.tab-btn {
  flex: 1;
  padding: 11px 16px;
  background: none;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.tab-btn.active {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover:not(.active) {
  background: rgba(255,255,255,0.6);
  color: var(--navy);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeSlideUp 0.35s ease both; }

/* Demo banner */
.demo-banner {
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  display: none;
}
.demo-banner strong { color: #7A5E00; }
.demo-banner code {
  background: rgba(201,162,39,0.15);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.8em;
}

/* Form card */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,162,39,0.12);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--gold-light), var(--gold), var(--navy));
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; }

label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-mid);
}
label .req { color: var(--gold); margin-left: 2px; }

input, select, textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: 10px;
  padding: 11px 15px;
  transition: all 0.2s;
  outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
input::placeholder { color: var(--text-light); opacity: 0.7; }
textarea { resize: vertical; min-height: 80px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23C9A227' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  padding-right: 38px;
}

.form-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin: 1.8rem 0;
}

.sub-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.sub-section-label h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.sub-section-label .s-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(201,162,39,0.4), transparent);
}

/* Submit button */
.btn-register {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold) 0%, #B08A18 100%);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(201,162,39,0.35);
}
.btn-register::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,39,0.45); }
.btn-register:hover::after { opacity: 1; }
.btn-register:active { transform: translateY(0); }
.btn-register:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ========== LISTA ========== */
.presencas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.count-badge {
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-pdf:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-pdf svg { width: 14px; height: 14px; }

.lista-container { display: grid; gap: 10px; }

.presenca-item {
  background: var(--white);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,162,39,0.1);
  animation: fadeSlideUp 0.35s ease both;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.presenca-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201,162,39,0.25);
}

.item-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.item-info .name {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-dark);
  line-height: 1.3;
}
.item-info .cargo-tag {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.78em;
  margin-left: 4px;
}
.item-info .church { font-size: 0.78rem; color: var(--text-mid); margin-top: 2px; }
.item-info .contact { font-size: 0.72rem; color: var(--text-light); margin-top: 2px; }

.item-hora {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: right;
  white-space: nowrap;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}
.empty-state .icon { font-size: 2.8rem; margin-bottom: 1rem; opacity: 0.35; }
.empty-state p { font-size: 0.9rem; line-height: 1.7; }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--white);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 1000;
  transform: translateY(120px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 340px;
  border-left: 4px solid;
  color: var(--text-dark);
}
.toast.show { transform: translateY(0) scale(1); opacity: 1; }
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--error); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ========== FOOTER ========== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,162,39,0.15);
  padding: 2rem 1.5rem;
  text-align: center;
}
.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-line { width: 50px; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,39,0.4)); }
.footer-line.r { background: linear-gradient(90deg, rgba(201,162,39,0.4), transparent); }
.footer-diamond { width: 6px; height: 6px; background: rgba(201,162,39,0.5); transform: rotate(45deg); }
.footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
}
.footer span { color: rgba(201,162,39,0.6); }

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
  .form-grid, .form-row-3 { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .hero-inner { padding: 2.5rem 1.2rem 2rem; }
  .container { padding: 2rem 1rem 3rem; }
  .presencas-header { flex-direction: column; align-items: flex-start; }
}

/* === LOGO TOP BAR === */
.logo-bar {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-bottom: 2px solid #CC0000;
  gap: 18px;
  overflow: hidden;
}
.logo-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(180,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.logo-img-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(220,0,0,0.6));
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(220,0,0,0.6), 0 2px 8px rgba(0,0,0,0.8);
  line-height: 1;
}
.logo-name span {
  color: #CC0000;
}
.logo-tagline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 500px) {
  .logo-name { font-size: 1.5rem; letter-spacing: 2px; }
  .logo-img-wrap { width: 50px; height: 50px; }
}

/* Estilos para a seção de Homenagem */
.certificate-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0; /* Adiciona um pouco de padding vertical */
}

.certificate {
    background-color: var(--cream); /* Usando a variável do projeto */
    width: 100%;
    max-width: 800px;
    padding: 60px;
    border: 15px solid var(--navy); /* Usando a variável do projeto */
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background-image: url("https://www.transparenttextures.com/patterns/paper.png");
    color: var(--text-dark); /* Cor do texto padrão do certificado */
}

.inner-border {
    border: 2px solid var(--gold); /* Usando a variável do projeto */
    padding: 40px;
    height: 100%;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.ormiban-logo {
    font-weight: bold;
    color: var(--navy); /* Usando a variável do projeto */
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
    font-family: 'Playfair Display', serif; /* Usando a fonte do projeto */
}

.certificate h1 { /* Específico para o h1 do certificado */
    color: var(--navy); /* Usando a variável do projeto */
    font-family: 'Playfair Display', serif; /* Usando a fonte do projeto */
    font-size: 2.5rem;
    margin: 10px 0;
    text-transform: uppercase;
}

.divider {
    width: 100px;
    height: 3px;
    background-color: var(--gold); /* Usando a variável do projeto */
    margin: 20px auto;
}

.content {
    color: var(--text-dark); /* Usando a variável do projeto */
    line-height: 1.8;
    text-align: justify;
    font-size: 1.1rem;
}

.section-title {
    color: var(--navy); /* Usando a variável do projeto */
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 25px;
    display: block;
}

.highlight-quote {
    font-style: italic;
    text-align: center;
    margin: 40px 0;
    font-size: 1.4rem;
    color: var(--navy); /* Usando a variável do projeto */
    position: relative;
    font-family: 'Playfair Display', serif; /* Usando a fonte do projeto */
}

.highlight-quote::before, .highlight-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--gold); /* Usando a variável do projeto */
    opacity: 0.5;
    position: absolute;
}
.highlight-quote::before { left: 0; top: -10px; }
.highlight-quote::after { right: 0; bottom: -10px; }


.footer {
    margin-top: 50px;
    text-align: center;
}

.date {
    color: var(--gold); /* Usando a variável do projeto */
    font-weight: bold;
    margin-bottom: 30px;
}

.signature-area {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    flex-wrap: wrap; /* Para melhor responsividade */
    gap: 20px; /* Espaçamento entre as assinaturas */
}

.signature-line {
    border-top: 1px solid var(--text-dark); /* Usando a variável do projeto */
    width: 200px;
    font-size: 0.9rem;
    padding-top: 10px;
    color: var(--navy); /* Usando a variável do projeto */
    text-align: center;
}

@media print {
    body { background: none; padding: 0; }
    .certificate { box-shadow: none; border-width: 10px; }
}

@media (max-width: 768px) {
    .certificate { padding: 30px; }
    .inner-border { padding: 20px; }
    .certificate h1 { font-size: 2rem; } /* Específico para o h1 do certificado */
    .highlight-quote { font-size: 1.2rem; }
    .signature-area { flex-direction: column; align-items: center; }
    .signature-line { width: 80%; max-width: 250px; }
}