/* Estilos exclusivos para a página antonio-elias.html */
:root {
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo da Biografia */
.biografia {
    background: var(--color-white);
    font-family: var(--font-primary);
    color: var(--color-text);
    padding-top: var(--header-height);
    line-height: 1.6;
}

.biografia .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.biografia-conteudo {
    max-width: 1320px;
    margin: 0 auto;
    background: var(--color-white);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 4rem;
}

/* Cabeçalho da Biografia */
.biografia-cabecalho {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    position: relative;
}

.biografia-cabecalho::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: var(--color-primary);
}

.biografia-cabecalho h1 {
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.autor-data {
    color: var(--color-text-light);
    font-style: italic;
    font-size: 1.2rem;
    text-align: right;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* Removendo os pseudo-elementos que criavam as bolinhas */
.autor-data::before,
.autor-data::after {
    display: none;
}

/* Conteúdo da Biografia */
.biografia-texto {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.biografia-texto p {
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
    overflow: visible;
}

/* Citações */
blockquote {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--color-text);
    border-left: 3px solid var(--color-primary);
    padding: 2rem 2rem 2rem 2rem;
    margin: 3rem 0;
    text-align: justify;
    line-height: 1.6;
    background: var(--color-bg-light);
    clear: both;
}

blockquote p {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Imagens flutuantes */
.float-left {
    width: 300px;
    float: left;
    margin-right: 2rem;
    
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.float-left.terceira-foto {
    width: 450px;
    float: left;
    margin-right: 2rem;
    margin-top: 1.3rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.float-left.primeira-foto {
    width: 300px;
    float: left;
    margin-right: 2rem;
    margin-top: 1.3rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.float-right.segunda-foto {
    width: 350px;
    float: right;
    margin-left: 2rem;
    margin-top: 0;
    margin-bottom: 0.03rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    shape-outside: margin-box;
}

.foto-direita {
    float: right;
    width: 350px;
    margin-left: 2rem;
   
}

.foto-direita figcaption {
    text-align: right;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.float-right.quarta-foto {
    width: 400px;
    float: right;
    margin-left: 2rem;
    margin-top: 1.3rem;
    
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.float-left img,
.float-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.float-left:hover,
.float-right:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Media Queries */
@media (max-width: 1400px) {
    .biografia .container {
        padding: 2rem 1.5rem;
    }
    
    .biografia-conteudo {
        padding: 3rem;
    }
    
    .biografia-texto {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .biografia .container {
        padding: 1.5rem 1rem;
    }
    
    .biografia-conteudo {
        padding: 1rem;
    }
    
    .biografia-texto {
        max-width: 100%;
        padding: 0;
        font-size: 1.1rem;
    }

    .biografia-cabecalho h1 {
        font-size: 2.5rem;
    }

    blockquote {
        margin: 2rem 0;
        padding: 1.5rem;
    }

    blockquote p {
        font-size: 1.2rem;
    }

    .float-left,
    .float-right,
    .float-left.primeira-foto,
    .float-left.terceira-foto,
    .float-right.segunda-foto,
    .float-right.quarta-foto {
        width: 100%;
        margin: 0 0 2rem 0;
        float: none;
    }

    .foto-direita {
        width: 100%;
        float: none;
        margin: 1rem 0;
    }
    
    .float-right.segunda-foto {
        width: 100%;
        float: none;
        margin: 0;
        margin-bottom: 2rem;
    }
    
    .foto-direita figcaption {
        text-align: right;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .biografia-cabecalho h1 {
        font-size: 2rem;
    }

    .biografia-texto {
        font-size: 1rem;
    }

    blockquote {
        margin: 1.5rem 0;
        padding: 1.2rem;
    }

    blockquote p {
        font-size: 1.1rem;
    }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(147, 197, 114, 0.1), rgba(147, 197, 114, 0.2));
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 2.8rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* Seções Gerais */
.inicio-section,
.conversao-section,
.ministerio-section,
.evangelismo-section,
.legado-section {
  padding: 5rem 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.inicio-section,
.ministerio-section,
.legado-section {
  background: #fff;
}

.conversao-section,
.evangelismo-section {
  background: #f8f8f8;
}

/* Grid Sections */
.inicio-grid,
.conversao-grid,
.ministerio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Imagens */
.inicio-imagem {
  max-width: 300px;
  margin: 0 auto;
}

.inicio-imagem img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.inicio-imagem img:hover,
.conversao-imagem img:hover,
.ministerio-imagem img:hover {
  transform: translateY(-5px);
}

/* Textos */
.inicio-texto,
.conversao-texto,
.ministerio-texto {
  padding: 2rem;
}

.inicio-texto h2,
.conversao-texto h2,
.ministerio-texto h2,
.evangelismo-section h2,
.legado-section h2 {
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.inicio-texto h2::after,
.conversao-texto h2::after,
.ministerio-texto h2::after,
.evangelismo-section h2::after,
.legado-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: #93c572;
}

.inicio-texto p,
.conversao-texto p,
.ministerio-texto p,
.evangelismo-section p,
.legado-section p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
  hyphens: auto;
}

/* Evangelismo Section */
.evangelismo-section {
  text-align: center;
}

.evangelismo-section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.evangelismo-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Legado Section */
.legado-section {
  text-align: center;
}

.legado-section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.legado-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Animações */
[data-anime] {
  opacity: 0;
  transition: .8s;
}

[data-anime="fade-right"] {
  transform: translate3d(-50px, 0, 0);
}

[data-anime="fade-left"] {
  transform: translate3d(50px, 0, 0);
}

[data-anime].animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Media Queries */
@media (max-width: 992px) {
  .inicio-grid,
  .conversao-grid,
  .ministerio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .inicio-texto,
  .conversao-texto,
  .ministerio-texto {
    padding: 1rem 0;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .inicio-texto h2,
  .conversao-texto h2,
  .ministerio-texto h2,
  .evangelismo-section h2,
  .legado-section h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .inicio-texto h2::after,
  .conversao-texto h2::after,
  .ministerio-texto h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .inicio-texto p,
  .conversao-texto p,
  .ministerio-texto p {
    text-align: center;
  }

  .inicio-imagem {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }

  .inicio-section,
  .conversao-section,
  .ministerio-section,
  .evangelismo-section,
  .legado-section {
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .inicio-texto p,
  .conversao-texto p,
  .ministerio-texto p,
  .evangelismo-section p,
  .legado-section p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
  }
}

/* Previne rolagem horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Garante que as imagens não estourem */
img {
    max-width: 100%;
    height: auto;
}

/* Garante que as seções não estourem */
.hero-section,
.inicio-section,
.conversao-section,
.ministerio-section,
.evangelismo-section,
.legado-section {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Garante que os grids não estourem */
.inicio-grid,
.conversao-grid,
.ministerio-grid {
    width: 100%;
    box-sizing: border-box;
}

/* Poema */
.poema {
    margin: 4rem 0;
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 15px;
}

.poema h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
}

.poema h2 span {
    font-size: 1.2rem;
    font-weight: 400;
}

.poema p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-style: italic;
}

.poema .assinatura {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-top: 3rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .poema {
        padding: 1.5rem;
        margin: 3rem 0;
    }

    .poema h2 {
        font-size: 1.8rem;
    }

    .poema p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .poema .assinatura {
        font-size: 1rem;
        line-height: 1.3;
    }
}

/* Link da AESA */
.biografia-texto a {
    color: #498f1d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.biografia-texto a:hover {
    color: var(--color-primary-dark);
}

/* Estilos para o depoimento do Rev. Jeremias */
.depoimento-jeremias {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-bg-light);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.depoimento-jeremias h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.depoimento-jeremias .data {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.2rem;
   
    font-style: italic;
}

.depoimento-jeremias h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    margin: 2rem 0 1.5rem;
    text-align: center;
    font-weight: 400;
    position: relative;
}

.depoimento-jeremias h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--color-primary);
}

.depoimento-jeremias ol {
    list-style-position: inside;
    margin: 2rem 0;
    padding: 0 1rem;
}

.depoimento-jeremias li {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.6;
}

.depoimento-jeremias li strong {
    color: #498f1d;
    font-weight: 600;
}

.depoimento-jeremias p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.6;
}

.depoimento-jeremias .assinatura {
    text-align: right;
    font-style: italic;
    margin-top: 2rem;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.depoimento-jeremias .assinatura .data {
    font-size: 0.95rem;
}

.depoimento-jeremias .assinatura .nome {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .depoimento-jeremias {
        padding: 2rem;
        margin-top: 3rem;
    }

    .depoimento-jeremias h2 {
        font-size: 2rem;
    }

    .depoimento-jeremias h3 {
        font-size: 1.8rem;
    }

    .depoimento-jeremias ol {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .depoimento-jeremias {
        padding: 1.5rem;
    }

    .depoimento-jeremias h2 {
        font-size: 1.8rem;
    }

    .depoimento-jeremias h3 {
        font-size: 1.5rem;
    }
}

/* Estilos para o poema do Antoninho */
.poema-antoninho {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-bg-light);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.poema-antoninho h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: -0.5px;
    position: relative;
}

.poema-antoninho h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--color-primary);
}

.poema-antoninho .poema-conteudo {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.poema-antoninho p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.2rem;
}

.poema-antoninho .nota {
    font-style: italic;
    color: var(--color-text-light);
    margin-top: 2rem;
    text-align: justify;
}

.poema-antoninho .assinatura {
    text-align: right;
    font-style: italic;
    margin-top: 2rem;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.poema-antoninho .assinatura .data {
    font-size: 0.95rem;
}

.poema-antoninho .assinatura .nome {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .poema-antoninho {
        padding: 2rem;
        margin-top: 3rem;
    }

    .poema-antoninho h2 {
        font-size: 2rem;
    }

    .poema-antoninho p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .poema-antoninho {
        padding: 1.5rem;
    }

    .poema-antoninho h2 {
        font-size: 1.8rem;
    }

    .poema-antoninho p {
        font-size: 1rem;
    }
}

.foto-familia {
    margin: 0;
    text-align: center;
}

.foto-familia.float-right {
    float: right;
    width: 350px;
    margin-left: 2rem;
    margin-bottom: 1rem;
    shape-outside: margin-box;
}

.foto-familia.float-right .foto-familia-grande {
    width: 450px;
}

.foto-familia-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.foto-familia figcaption {
    margin-top: 1rem;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .foto-familia.float-right {
        width: 100%;
        float: none;
        margin: 1.5rem 0;
    }
    
    .foto-familia figcaption {
        font-size: 0.9rem;
    }
}

.legenda-foto {
    margin-top: 1rem;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .legenda-foto {
        font-size: 0.9rem;
    }
}

.legenda-foto-flutuante {
    text-align: right;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 1rem;
    float: right;
    width: 350px;
    clear: right;
}

.foto-familia-destaque {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.foto-familia-destaque img {
    width: 100%;
    height: auto;
 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.foto-familia-destaque img:hover {
    transform: scale(1.02);
}

.legenda-foto-destaque {
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.4;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .foto-familia-destaque {
        margin: 2rem auto;
    }
    
    .legenda-foto-destaque {
        font-size: 1rem;
        margin-top: 1rem;
    }
}