@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #1D2846;
  --navy-light: #2a3a5c;
  --gold: #C8A96E;
  --gold-light: #d4ba85;
  --gold-dark: #b8964f;
  --white: #FFFFFF;
  --off-white: #F8F6F3;
  --gray-100: #f0ede8;
  --gray-200: #e0dbd3;
  --gray-300: #b0a899;
  --gray-600: #6b6459;
  --gray-800: #3a352d;
  --primary: var(--gold);
  --outline: #888;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(29, 40, 70, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  transition: all 0.3s;
}

.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto;
  position: relative;
  padding-left: 200px;
}

.navbar__logo {
  height: 180px;
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  z-index: 10;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.navbar__links { display: flex; gap: 32px; list-style: none; }

.navbar__links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  color: var(--gray-200); letter-spacing: 1.5px; text-transform: uppercase;
}

.navbar__links a:hover { color: var(--gold); }

.navbar__cta {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); padding: 8px 20px; border-radius: 4px;
  font-family: 'Raleway', sans-serif; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}

.navbar__cta:hover { background: var(--gold); color: var(--navy); }

.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.navbar__hamburger span {
  width: 24px; height: 2px; background: var(--gold); transition: all 0.3s;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--off-white); padding-top: 80px; overflow: hidden;
}

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

.hero__tag {
  font-family: 'Raleway', sans-serif; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--navy); margin-bottom: 20px;
}

.hero__desc {
  font-size: 1.05rem; color: var(--gray-600);
  max-width: 480px; margin-bottom: 32px; font-weight: 400;
}

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 4px;
  font-family: 'Raleway', sans-serif; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; border: none; transition: all 0.3s;
}

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-light); }

.btn--outline {
  background: transparent; border: 2px solid var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-dark); }

.hero__image-wrapper {
  position: relative; display: flex; justify-content: center;
}

.hero__image {
  width: 100%; max-width: 500px; height: auto;
  object-fit: cover; border-radius: 4px;
  filter: grayscale(30%);
}

.hero__image-accent {
  position: absolute; top: -20px; right: -20px;
  width: 100%; height: 100%; border: 2px solid var(--gold);
  border-radius: 4px; z-index: -1;
}

/* ═══════════════ SECTION COMMON ═══════════════ */
.section { padding: 100px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--offwhite { background: var(--off-white); }

.section__tag {
  font-family: 'Raleway', sans-serif; font-size: 0.7rem;
  font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: inline-block;
  border: 1px solid var(--gold); padding: 4px 14px; border-radius: 2px;
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1rem; color: var(--gray-600); max-width: 600px;
  font-weight: 400;
}

.section--navy .section__subtitle { color: var(--gray-300); }

/* ═══════════════ ABOUT (TRAJETORIA) ═══════════════ */
.about__grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: center; margin-top: 40px;
}

.about__image-wrapper {
  position: relative; background: var(--navy);
  border-radius: 8px; padding: 30px; display: flex;
  align-items: center; justify-content: center;
}

.about__image {
  width: 100%; max-width: 400px; border-radius: 4px;
  object-fit: cover;
}

.about__text p {
  margin-bottom: 16px; color: var(--gray-600); font-size: 0.95rem;
}

.about__badges {
  display: flex; gap: 20px; margin-top: 32px;
}

.about__badge {
  flex: 1; padding: 20px; border: 1px solid var(--gray-200);
  border-radius: 4px; text-align: center;
}

.about__badge-title {
  font-family: 'Cinzel', serif; font-size: 1rem;
  font-weight: 700; color: var(--navy); margin-bottom: 4px;
}

.about__badge-sub {
  font-size: 0.75rem; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: 1px;
}

/* ═══════════════ BOOK HIGHLIGHT ═══════════════ */
.book-highlight {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: center;
}

.book-highlight__cover-wrapper {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 8px; padding: 40px; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(29, 40, 70, 0.3);
}

.book-highlight__cover {
  width: 220px; height: 320px;
  background: linear-gradient(145deg, #2a3a5c 0%, #1D2846 50%, #C8A96E 100%);
  border-radius: 4px; display: flex; align-items: center;
  justify-content: center; flex-direction: column;
  padding: 24px; text-align: center; color: var(--white);
  box-shadow: 8px 8px 24px rgba(0,0,0,0.3);
  position: relative; overflow: hidden;
}

.book-highlight__cover::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 12px; height: 100%;
  background: linear-gradient(180deg, rgba(200,169,110,0.6), rgba(200,169,110,0.2));
}

.book-highlight__cover h4 {
  font-size: 0.9rem; line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.book-highlight__cover span {
  font-family: 'Raleway', sans-serif; font-size: 0.65rem;
  margin-top: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-light);
}

.book-highlight__info h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--navy); margin-bottom: 20px;
}

.book-highlight__info p {
  color: var(--gray-600); margin-bottom: 16px; font-size: 0.95rem;
}

.book-highlight__bullets {
  list-style: none; margin: 24px 0;
}

.book-highlight__bullets li {
  padding: 6px 0; font-size: 0.9rem; color: var(--gray-600);
  display: flex; align-items: center; gap: 10px;
}

.book-highlight__bullets li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ═══════════════ STORE ═══════════════ */
.store__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px; margin-top: 48px;
}

.store-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 8px; overflow: hidden; transition: all 0.3s;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29, 40, 70, 0.12);
}

.store-card__image {
  height: 300px; background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.store-card__book-mock {
  width: 140px; height: 200px;
  background: linear-gradient(145deg, #2a3a5c, #1D2846 50%, #C8A96E);
  border-radius: 3px; display: flex; align-items: center;
  justify-content: center; flex-direction: column;
  padding: 16px; text-align: center; color: var(--white);
  box-shadow: 6px 6px 20px rgba(0,0,0,0.4);
  position: relative;
}

.store-card__book-mock::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 8px; height: 100%;
  background: linear-gradient(180deg, rgba(200,169,110,0.6), rgba(200,169,110,0.2));
}

.store-card__book-mock h5 {
  font-size: 0.7rem; line-height: 1.4;
}

.store-card__book-mock span {
  font-family: 'Raleway', sans-serif; font-size: 0.55rem;
  margin-top: 8px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-light);
}

.store-card__badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: var(--navy);
  font-family: 'Raleway', sans-serif; font-size: 0.65rem;
  font-weight: 700; padding: 4px 10px; border-radius: 2px;
  text-transform: uppercase; letter-spacing: 1px;
}

.store-card__body { padding: 24px; }

.store-card__body-inner {
  display: flex; gap: 16px; align-items: flex-start;
}

.store-card__thumb {
  width: 80px; height: auto; border-radius: 3px; flex-shrink: 0;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.25);
}

.store-card__body-text { flex: 1; }

.store-card__title {
  font-size: 1.05rem; color: var(--navy); margin-bottom: 8px;
}

.store-card__desc {
  font-size: 0.85rem; color: var(--gray-600); margin-bottom: 16px;
}

.store-card__footer {
  display: flex; align-items: center; justify-content: space-between;
}

.store-card__price {
  font-family: 'Cinzel', serif; font-size: 1.3rem;
  font-weight: 700; color: var(--navy);
}

.store-card__btn {
  background: var(--gold); color: var(--navy);
  padding: 10px 20px; border-radius: 4px; border: none;
  font-family: 'Raleway', sans-serif; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}

.store-card__btn:hover { background: var(--gold-dark); }

/* ═══════════════ ARTICLES ═══════════════ */
.articles__grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 30px; margin-top: 48px;
}

.article-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 8px; overflow: hidden; transition: all 0.3s;
}

.article-card:hover {
  box-shadow: 0 8px 30px rgba(29, 40, 70, 0.1);
}

.article-card--featured .article-card__image {
  height: 280px;
}

.article-card__image {
  height: 180px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.article-card__image-icon {
  font-size: 3rem; opacity: 0.3;
}

.article-card__category {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--navy);
  font-size: 0.6rem; font-weight: 700; padding: 4px 10px;
  border-radius: 2px; text-transform: uppercase; letter-spacing: 1.5px;
}

.article-card__body { padding: 24px; }

.article-card__date {
  font-size: 0.75rem; color: var(--gray-300);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}

.article-card__title {
  font-size: 1.1rem; color: var(--navy); margin-bottom: 12px;
}

.article-card--featured .article-card__title { font-size: 1.3rem; }

.article-card__excerpt {
  font-size: 0.88rem; color: var(--gray-600); margin-bottom: 20px;
}

.article-card__link {
  font-size: 0.8rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 6px;
}

.article-card__link:hover { color: var(--gold-dark); }

.articles__sidebar { display: flex; flex-direction: column; gap: 30px; }

/* ═══════════════ MINISTRY ═══════════════ */
.ministry__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}

.ministry-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 8px; padding: 32px; text-align: center;
  transition: all 0.3s;
}

.ministry-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(29, 40, 70, 0.08);
}

.ministry-card__icon {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: var(--off-white); border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}

.ministry-card__icon svg {
  width: 36px; height: 36px; stroke: var(--navy);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.ministry-card__title {
  font-size: 0.95rem; color: var(--navy); margin-bottom: 8px;
}

.ministry-card__desc {
  font-size: 0.82rem; color: var(--gray-600);
}

/* ═══════════════ AELB ═══════════════ */
.aelb__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; margin-top: 48px;
}

.aelb__card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(200,169,110,0.2);
  border-radius: 8px; padding: 40px; text-align: center;
}

.aelb__card-icon {
  width: 100px; height: 100px; margin: 0 auto 20px;
  background: rgba(200,169,110,0.1); border: 2px solid var(--gold);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 2rem;
}

.aelb__card h4 {
  font-size: 1.1rem; margin-bottom: 4px;
}

.aelb__card p {
  font-size: 0.85rem; color: var(--gray-300);
  font-style: italic;
}

.aelb__text h3 { font-size: 1.6rem; margin-bottom: 20px; }

.aelb__text p {
  color: var(--gray-300); margin-bottom: 16px; font-size: 0.95rem;
}

.aelb__list {
  list-style: none; margin-top: 24px;
}

.aelb__list li {
  padding: 8px 0; font-size: 0.9rem; color: var(--gold-light);
  display: flex; align-items: center; gap: 10px;
}

.aelb__list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--navy); color: var(--white);
  padding: 60px 0 24px; border-top: 2px solid var(--gold);
}

.footer__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__heading {
  font-family: 'Cinzel', serif; font-size: 1.2rem;
  margin-bottom: 20px; color: var(--gold);
}

.footer__col p, .footer__col a {
  font-size: 0.85rem; color: var(--gray-300);
  display: block; margin-bottom: 8px;
}

.footer__col a:hover { color: var(--gold); }

.footer__socials { display: flex; gap: 12px; margin-top: 16px; }

.footer__social {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--gold); transition: all 0.3s;
}

.footer__social:hover {
  background: var(--gold); color: var(--navy);
}

.footer__bottom {
  padding-top: 24px; text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem; color: var(--gray-300); margin-bottom: 4px;
}

.footer__bottom-links {
  display: flex; gap: 24px; justify-content: center; margin-top: 12px;
}

.footer__bottom-links a {
  font-size: 0.75rem; color: var(--gray-300);
}

.footer__bottom-links a:hover { color: var(--gold); }

.footer__dev { font-size: 0.75rem; color: var(--outline, #888); margin-top: 0.25rem; }
.footer__dev a { color: var(--primary, #c8a96e); text-decoration: none; transition: opacity 0.2s; }
.footer__dev a:hover { opacity: 0.8; text-decoration: underline; }

/* ═══════════════ ANIMATIONS ═══════════════ */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 968px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin: 0 auto 32px; }
  .hero__buttons { justify-content: center; }
  .hero__image-wrapper { order: -1; }
  .hero__image-accent { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .book-highlight { grid-template-columns: 1fr; text-align: center; }
  .book-highlight__cover-wrapper { max-width: 350px; margin: 0 auto; }

  .articles__grid { grid-template-columns: 1fr; }
  .ministry__grid { grid-template-columns: 1fr 1fr; }
  .aelb__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__socials { justify-content: center; }

  .store__grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 640px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 20px; gap: 16px;
    border-bottom: 1px solid rgba(200,169,110,0.2);
  }

  .ministry__grid { grid-template-columns: 1fr; }
  .about__badges { flex-direction: column; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .footer__bottom-links { flex-wrap: wrap; }
}
