/* ============================================================
   CEIMADB — styles.css
   ============================================================ */

:root {
  --green-dark:  #0a4d26;
  --green-mid:   #0d6e35;
  --green-light: #1a9048;
  --gold:        #c8960a;
  --gold-light:  #f0b429;
  --white:       #ffffff;
  --text:        #1a2810;
  --text-muted:  #5a6852;
  --gray-bg:     #f7f9f5;
  --shadow:      0 4px 24px rgba(10, 77, 38, 0.12);
  --shadow-lg:   0 12px 48px rgba(10, 77, 38, 0.2);
  --radius:      12px;
  --radius-lg:   20px;
  --header-h:    72px;
  --ease:        0.3s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #eef3eb; }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ─── Typography ─── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 em, h1 em {
  font-style: italic;
  color: var(--green-mid);
}

/* ─── Fade-in ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Section labels ─── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(13, 110, 53, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-label--light {
  color: var(--gold-light);
  background: rgba(240, 180, 41, 0.14);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), opacity var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg  { padding: 15px 36px; font-size: 16px; }
.btn-sm  { padding: 8px 20px;  font-size: 13px; }
.btn-full { width: 100%; justify-content: center; font-size: 16px; padding: 15px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--text);
  box-shadow: 0 4px 20px rgba(240, 180, 41, 0.4);
}
.btn-gold:hover { box-shadow: 0 8px 32px rgba(240, 180, 41, 0.55); filter: brightness(1.05); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

.btn-green {
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  color: white;
  box-shadow: 0 4px 20px rgba(13, 110, 53, 0.3);
}
.btn-green:hover { box-shadow: 0 8px 32px rgba(13, 110, 53, 0.45); }
.btn-green:disabled { opacity: 0.75; cursor: not-allowed; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: white;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-desktop a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--ease), background var(--ease);
}
.nav-desktop a:hover { color: var(--green-dark); background: rgba(13, 110, 53, 0.07); }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(10, 77, 38, 0.98);
  backdrop-filter: blur(8px);
  padding: 8px 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--ease);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 40%, #1a7a40 0%, #0d6e35 28%, #0a4d26 58%, #052918 100%);
  padding-top: var(--header-h);
}

/* decorative elements */
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ray {
  position: absolute;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0) 100%);
  transform-origin: top center;
  width: 3px;
}
.ray-1 { top: 0; left: 48%; height: 130%; transform: rotate(-18deg); width: 4px; }
.ray-2 { top: 0; left: 52%; height: 120%; transform: rotate(14deg); }
.ray-3 { top: 0; left: 38%; height: 110%; transform: rotate(-34deg); width: 2px; }
.ray-4 { top: 0; left: 62%; height: 100%; transform: rotate(28deg); width: 2px; }

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: circlePulse 8s ease-in-out infinite;
}
.c1 { width: 640px; height: 640px; top: -240px; right: -200px; animation-delay: 0s; }
.c2 { width: 420px; height: 420px; bottom: -120px; left: -120px; animation-delay: 4s; }

@keyframes circlePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}

.hero-cross {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
}
.hero-cross svg { width: 80px; height: 120px; }

/* content */
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 80px 80px;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(240, 180, 41, 0.38);
  background: rgba(240, 180, 41, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(46px, 8.5vw, 92px);
  font-weight: 900;
  color: white;
  line-height: 1.04;
  margin-bottom: 28px;
  max-width: 740px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 2px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.12); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding-block: 110px;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  color: var(--text);
  margin-bottom: 24px;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e5ece0;
}
.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 4px;
}
.stat span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.about-media { position: relative; }

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: #c8ddc2;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-badge-float {
  position: absolute;
  bottom: -22px;
  left: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  white-space: nowrap;
  z-index: 2;
}
.about-badge-float svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.about-deco-num {
  position: absolute;
  top: -20px;
  right: -16px;
  font-family: 'Playfair Display', serif;
  font-size: 96px;
  font-weight: 900;
  color: rgba(13, 110, 53, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -2px;
}

/* ============================================================
   VERSE BANNER
   ============================================================ */
.verse-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0d6e35 55%, #114a29 100%);
  padding-block: 88px;
  overflow: hidden;
  position: relative;
}
.verse-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255, 255, 255, 0.015) 60px,
    rgba(255, 255, 255, 0.015) 61px
  );
}

.verse-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.verse-icon { margin-bottom: 4px; }
.verse-icon svg { width: 28px; height: 42px; }

.verse-inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3.2vw, 34px);
  font-style: italic;
  color: white;
  line-height: 1.55;
  max-width: 660px;
}
.quote-mark {
  font-size: 1.4em;
  color: var(--gold-light);
  font-style: normal;
  vertical-align: -0.15em;
  line-height: 0;
}
.quote-mark.close { display: inline-block; }

.verse-inner cite {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ============================================================
   VALORES
   ============================================================ */
.valores {
  padding-block: 110px;
  background: var(--gray-bg);
}

.valores-header {
  text-align: center;
  margin-bottom: 64px;
}
.valores-header h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  color: var(--text);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.valor-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(13, 110, 53, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.valor-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.valor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.valor-card:hover::after { transform: scaleX(1); }

.valor-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(10, 77, 38, 0.28);
}
.valor-icon svg { width: 100%; height: 100%; }

.valor-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.valor-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato {
  padding-block: 110px;
  background: white;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
}

.contato-info h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  color: var(--text);
  margin-bottom: 20px;
}
.contato-info > p {
  color: var(--text-muted);
  margin-bottom: 44px;
  font-size: 16px;
}

.info-list { display: flex; flex-direction: column; gap: 24px; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
  color: var(--gold-light);
}
.info-icon svg { width: 20px; height: 20px; }
.info-item > div { display: flex; flex-direction: column; gap: 3px; }
.info-item strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.info-item span { font-size: 15px; color: var(--text-muted); }
.info-item a {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-mid);
  transition: color var(--ease);
}
.info-item a:hover { color: var(--green-dark); }

/* form */
.contato-form-wrap {
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.contato-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d6e4cf;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: white;
  outline: none;
  resize: vertical;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #aab8a5; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(13, 110, 53, 0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-dark);
  padding-top: 64px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-top: 4px;
}
.footer-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  padding-block: 20px;
  background: rgba(0, 0, 0, 0.22);
}
.footer-bottom p {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav-desktop, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-media { order: -1; }
  .about-img-wrap { aspect-ratio: 16 / 9; }
  .about-deco-num { font-size: 100px; top: -20px; right: -8px; }
  .about-badge-float { left: 12px; bottom: -14px; font-size: 12px; padding: 10px 16px; }

  .valores-grid { grid-template-columns: 1fr 1fr; }

  .contato-grid { grid-template-columns: 1fr; gap: 52px; }

  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-cta { align-items: flex-start; }
}

@media (max-width: 580px) {
  :root { --header-h: 60px; }

  .hero-title { font-size: clamp(38px, 11.5vw, 56px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .about { padding-block: 72px; }
  .about-stats { gap: 20px; flex-wrap: wrap; }
  .stat strong { font-size: 28px; }

  .verse-banner { padding-block: 60px; }

  .valores { padding-block: 72px; }
  .valores-grid { grid-template-columns: 1fr; }
  .valores-header { margin-bottom: 44px; }

  .contato { padding-block: 72px; }
  .contato-form-wrap { padding: 24px 20px; }
}
