/* ===========================
   RESET E CONFIGURAÇÕES GERAIS
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #00303A;
  --secondary-color: #0077B6;
  --accent-color: #48CAE4;
  --success-color: #2A9D8F;
  --danger-color: #E76F51;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  padding-top: 70px;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===========================
   HEADER
   =========================== */
.header-fixed {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: auto;
  min-height: 70px;
  overflow: visible;
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.header-limiter {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-logo img {
  height: 45px;
}

.header-logo span {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.lang-flags {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flags .flag-icon {
  cursor: pointer;
  transition: transform 0.2s ease;
  font-size: 20px;
}

.lang-flags .flag-icon:hover {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .header-limiter {
    flex-wrap: wrap;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
    margin-top: 10px;
    gap: 15px;
  }

  .lang-flags {
    margin-top: 10px;
    align-self: flex-end;
  }
}

/* ===========================
   HERO SECTION
   =========================== */
/* Tamanho da hero */
.hero {
  position: relative;   /* isto é obrigatório */
  height: 50vh;
  width: 100%;
  background-image: url("../img/diversos/fundo.jpg"); 
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Camada para organizar o conteúdo */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 3rem);
}

/* Texto da direita */
.hero-right {
  align-self: flex-end;
  text-align: right;
  margin-top: clamp(1rem, 5vh, 3rem);
}

.hero-small {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-subsmall {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  margin-top: 0.3rem;
}

/* Tarja azul translúcida embaixo */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  background: rgba(0, 76, 153, 0.50);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
}

.hero-bottom-bar h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.hero-bottom-bar p {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  margin: 0;
}

/* Responsivo para telas bem pequenas */
@media (max-width: 600px) {
  .hero-right {
    align-self: flex-start;
    text-align: left;
  }

  .hero-bottom-bar {
    margin: 0 -1.5rem;
  }
}
/* ===========================
   BOOKS SECTION
   =========================== */
.books-section {
  padding: 60px 20px;
  background-color: var(--bg-light);
}

.book-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.book-card-closed {
  opacity: 0.75;
}

.book-card-closed:hover {
  transform: translateY(-4px);
  opacity: 0.85;
}

.book-cover {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.book-card-active .book-cover img:hover {
  transform: scale(1.05);
}

.book-cover img.grayscale {
  filter: grayscale(100%);
}

.book-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.status-open {
  background-color: rgba(42, 157, 143, 0.95);
  color: white;
}

.status-closed {
  background-color: rgba(119, 119, 119, 0.95);
  color: white;
}

.book-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.book-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-style: italic;
}

.book-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-book-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  margin-top: auto;
}

.btn-book-open:hover {
  background-color: var(--primary-color);
  transform: translateX(4px);
}

.btn-book-closed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #ccc;
  color: #666;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: not-allowed;
  margin-top: auto;
}

/* ===========================
   INFO SECTION
   =========================== */
.info-section {
  padding: 60px 20px;
  background-color: white;
}

.info-card {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 12px;
  height: 100%;
  transition: var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.info-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===========================
   CALL DETAIL PAGE
   =========================== */
.call-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 50px 20px 40px;
}

.call-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.call-lead {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 900px;
  margin: 0 auto;
}

.call-content {
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.call-section {
  margin-bottom: 50px;
}

.call-section h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
}

.call-section h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.call-section p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.call-section ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

.call-section ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.timeline-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 15px;
  padding: 10px 0;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  font-weight: 700;
  color: var(--primary-color);
  min-width: 180px;
  text-align: left;
}

.timeline-description {
  color: var(--text-dark);
  text-align: right;
  flex: 1;
}

.templates-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin: 40px 0;
}

.templates-box h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.templates-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-template {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background-color: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid var(--primary-color);
}

.btn-template:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.btn-template i {
  font-size: 1.3rem;
}

.highlight-box {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
}

.highlight-box strong {
  color: var(--primary-color);
}

.contact-box {
  background-color: var(--primary-color);
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin-top: 50px;
}

.contact-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.contact-box p {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.95);
}

.contact-box a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-box a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .call-title {
    font-size: 1.6rem;
  }

  .call-lead {
    font-size: 1rem;
  }

  .call-section h2 {
    font-size: 1.4rem;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-date {
    margin-bottom: 5px;
  }

  .templates-buttons {
    flex-direction: column;
  }

  .btn-template {
    width: 100%;
  }
}

/* ===========================
   FOOTER
   =========================== */
.footer-bottom {
  width: 100%;
  background-color: var(--primary-color);
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-copy {
  flex: 1;
  min-width: 300px;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-copy a {
  padding: 0 5px;
  color: var(--accent-color);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo img {
  max-height: 100px;
  width: auto;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    min-width: 100%;
  }
}

/* ===========================
   UTILITIES
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
}

/* ELEMENTOS DA PAGINA MCA */


/* FIM ELEMENTOS PAGINA MCA */