/* ==========================================
   PEREGRINOS DO AMOR
   STYLE.CSS PREMIUM V2
========================================== */

/* =========================
   GOOGLE FONTS
========================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================
   VARIÁVEIS
========================= */

:root{

    --azul-mariano:#7DB4E6;
    --azul-mariano-dark:#2E5C98;
    --azul-claro:#EDF7FF;

    --rosa:#B64A63;
    --rosa-claro:#D78597;

    --dourado:#D4AF37;
    --dourado-claro:#F0D97A;

    --branco:#FFFFFF;

    --texto:#374151;
    --texto-claro:#6B7280;

    --glass:
        rgba(255,255,255,.45);

    --shadow:
        0 20px 40px rgba(0,0,0,.08);

    --shadow-hover:
        0 25px 50px rgba(0,0,0,.15);

    --radius:24px;

}

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    color:var(--texto);

    background:
    linear-gradient(
        180deg,
        #f8fbff 0%,
        #ffffff 100%
    );

    overflow-x:hidden;

    position:relative;
}

/* =========================
   FUNDO DECORATIVO
========================= */

body::before{

    content:"";

    position:fixed;

    top:-250px;
    right:-250px;

    width:600px;
    height:600px;

    background:
    radial-gradient(
        rgba(125,180,230,.20),
        transparent 70%
    );

    z-index:-1;
}

body::after{

    content:"";

    position:fixed;

    bottom:-250px;
    left:-250px;

    width:600px;
    height:600px;

    background:
    radial-gradient(
        rgba(182,74,99,.10),
        transparent 70%
    );

    z-index:-1;
}

/* =========================
   CONTAINER
========================= */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;
}

/* =========================
   HEADER
========================= */

header{

    position:sticky;

    top:0;

    z-index:999;

    background:
    rgba(255,255,255,.85);

    backdrop-filter:blur(15px);

    border-bottom:
    1px solid rgba(255,255,255,.3);

    box-shadow:
    0 5px 25px rgba(0,0,0,.05);
}

.header-flex{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:90px;
}

/* =========================
   LOGO
========================= */

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:1.3rem;

    font-weight:700;

    color:var(--azul-mariano-dark);
}

.logo i{

    color:var(--dourado);

    font-size:1.6rem;
}

/* =========================
   MENU
========================= */

nav{

    display:flex;

    align-items:center;

    gap:25px;
}

nav a{

    text-decoration:none;

    color:var(--azul-mariano-dark);

    font-weight:500;

    transition:.3s;
}

nav a:hover{

    color:var(--rosa);
}

/* =========================
   HERO PREMIUM
========================= */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    position:relative;

    overflow:hidden;

    padding:100px 0;
}

.hero::before{

    content:"✦";

    position:absolute;

    top:15%;

    left:10%;

    font-size:5rem;

    color:rgba(212,175,55,.15);
}

.hero::after{

    content:"✦";

    position:absolute;

    right:10%;

    bottom:15%;

    font-size:5rem;

    color:rgba(212,175,55,.15);
}

/* =========================
   HERO CENTRAL
========================= */

.hero-central{

    max-width:900px;

    margin:auto;
}

.tag{

    display:inline-block;

    padding:10px 20px;

    border-radius:50px;

    background:
    rgba(212,175,55,.12);

    color:var(--dourado);

    font-weight:600;

    margin-bottom:25px;
}

.hero h1{

    font-family:
    'Playfair Display',
    serif;

    font-size:4.5rem;

    color:
    var(--azul-mariano-dark);

    line-height:1.1;

    margin-bottom:25px;
}

.hero p{

    max-width:750px;

    margin:auto;

    font-size:1.15rem;

    line-height:1.9;

    color:var(--texto-claro);

    margin-bottom:40px;
}

.pagina-topo{
    background-image:
        linear-gradient(rgba(248,245,239,.75), rgba(248,245,239,.75)),
        url('../img/terco-azul-dourado-hero-02.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.pagina-topo-agendamento{
    background-image:
        linear-gradient(rgba(248,245,239,.75), rgba(248,245,239,.75)),
        url('../img/terco-azul-dourado-hero-01.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================
   IMAGEM NOSSA SENHORA
========================= */

.hero-imagem{

    margin-top:50px;
}

.hero-imagem img{

    width:100%;

    max-width:420px;

    filter:
    drop-shadow(
        0 20px 40px
        rgba(46,92,152,.25)
    );

    transition:.4s;
}

.hero-imagem img:hover{

    transform:
    translateY(-8px);
}

/* =========================
   BOTÕES
========================= */

.hero-botoes{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:20px;
}

.btn-principal{

    display:inline-block;

    padding:
    16px 34px;

    border-radius:50px;

    border:
    2px solid
    var(--azul-mariano-dark);

    text-decoration:none;

    color:
    var(--azul-mariano-dark);

    font-weight:600;

    transition:.3s;
}

.btn-principal:hover{

    background:
    var(--azul-mariano-dark);

    color:white;
}

.btn-secundario{

    display:inline-block;

    padding:
    16px 34px;

    border-radius:50px;

    border:
    2px solid
    var(--azul-mariano-dark);

    text-decoration:none;

    color:
    var(--azul-mariano-dark);

    font-weight:600;

    transition:.3s;
}

.btn-secundario:hover{

    background:
    var(--azul-mariano-dark);

    color:white;
}

/* =========================
   ESTATÍSTICAS
========================= */

.hero-estatisticas{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:70px;
}
/* ==========================================
   SEÇÕES GERAIS
========================================== */

section{

    padding:100px 0;
}

section h2{

    font-family:
    'Playfair Display',
    serif;

    font-size:3rem;

    text-align:center;

    color:
    var(--azul-mariano-dark);

    margin-bottom:20px;
}

.subtitulo{

    text-align:center;

    max-width:800px;

    margin:0 auto 50px;

    color:var(--texto-claro);

    line-height:1.8;

    font-size:1.05rem;
}

/* ==========================================
   CARDS PREMIUM
========================================== */

.cards{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:30px;
}

.card{

    background:
    rgba(255,255,255,.75);

    backdrop-filter:
    blur(15px);

    border:
    1px solid rgba(255,255,255,.5);

    border-radius:
    var(--radius);

    padding:35px;

    text-align:center;

    box-shadow:
    var(--shadow);

    transition:.4s;
}

.card:hover{

    transform:
    translateY(-10px);

    box-shadow:
    var(--shadow-hover);
}

.card i{

    font-size:2.5rem;

    color:var(--rosa);

    margin-bottom:20px;
}

.card h3{

    color:
    var(--azul-mariano-dark);

    margin-bottom:px;
}

.card p{

    color:
    var(--texto-claro);

    line-height:1.8;
}

/* ==========================================
   SOBRE HOME
========================================== */

.sobre-home{

    background:white;
}
.sobre-imagem{

    text-align:center;

    margin-bottom:30px;
}

.sobre-imagem img{

    max-width:100%;

    height:auto;
}

/* ==========================================
   SERVIÇOS
========================================== */

.servicos{

    background:

    linear-gradient(
        180deg,
        #ffffff,
        #f7fbff
    );
}

.servicos .card a{

    margin-top:20px;
}

/* ==========================================
   COMO FUNCIONA
========================================== */

.como-funciona{

    background:white;
}

.como-funciona .card h3{

    background-color: #2c4a6f; 
    
    /* Cor do texto */
    color: #ffffff; 
    
    /* Remove qualquer arredondamento para o botão ficar totalmente quadrado */
    border-radius: 0px; 
    
    /* Remove a borda padrão do navegador */
    border: none; 
    
    /* Espaçamento interno (deixa o botão robusto e elegante) */
    padding: 12px 24px; 
    
    /* Estilo e tamanho da fonte */
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase; /* Deixa o texto em maiúsculo (opcional) */
    
    /* Transição suave ao passar o mouse */
    transition: background-color 0.3s ease; 
    
    /* Transforma o cursor em mãozinha ao passar por cima */
    cursor: pointer; 
}

/* ==========================================
   CTA HOME
========================================== */

.cta-home{

    background:

    linear-gradient(
        135deg,
        rgba(125,180,230,.12),
        rgba(255,255,255,.9)
    );

    text-align:center;
}

.cta-home h2{

    margin-bottom:20px;
}

/* ==========================================
   MISTÉRIOS
========================================== */

.misterios-home{

    background:white;
}

.misterios-home .card{

    border-top:
    5px solid var(--dourado);
}

.misterios-home .card h3{

    color:
    var(--azul-mariano-dark);
}

/* ==========================================
   ANIMAÇÕES
========================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:
        translateY(30px);
    }

    to{

        opacity:1;

        transform:
        translateY(0);
    }
}

.hero,
.card,
section{

    animation:
    fadeUp .8s ease;
}

/* ==========================================
   TÍTULOS DECORADOS
========================================== */

section h2::after{

    content:"";

    display:block;

    width:90px;

    height:4px;

    background:
    linear-gradient(
        90deg,
        var(--dourado),
        var(--rosa)
    );

    margin:15px auto 0;

    border-radius:50px;
}
/* ==========================================
   GALERIA
========================================== */

.galeria{

    background:
    linear-gradient(
        180deg,
        #f7fbff,
        #ffffff
    );
}

.galeria-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.galeria-grid img{

    width:100%;

    height:280px;

    object-fit:cover;

    border-radius:25px;

    box-shadow:var(--shadow);

    transition:.4s;
}

.galeria-grid img:hover{

    transform:
    scale(1.05);

    box-shadow:
    var(--shadow-hover);
}

/* ==========================================
   FORMULÁRIOS
========================================== */

.form-container{

    max-width:900px;

    margin:auto;

    background:
    rgba(255,255,255,.85);

    backdrop-filter:
    blur(20px);

    padding:40px;

    border-radius:30px;

    box-shadow:
    var(--shadow);
}

.grupo-campo{

    margin-bottom:22px;
}

.grupo-campo label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:
    var(--azul-mariano-dark);
}

.grupo-duplo{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:20px;
}

input,
textarea,
select{

    width:100%;

    padding:16px;

    border:
    2px solid #E5EEF8;

    border-radius:18px;

    font-family:'Poppins';

    transition:.3s;
}

/* Radio buttons stay beside their legend instead of inheriting
   the full-width styling used by text fields. */
.grupo-campo input[type="radio"]{

    width:auto;

    padding:0;

    margin:0 8px 0 0;

    accent-color:var(--azul-mariano-dark);

    vertical-align:middle;
}

.grupo-campo label:has(input[type="radio"]),
.grupo-campo input[type="radio"] + label{

    display:inline-flex;

    align-items:center;

    width:auto;

    margin:0 18px 10px 0;

    font-weight:400;

    color:var(--texto);

    cursor:pointer;
}

.grupo-campo input[type="checkbox"]{

    width:auto;

    padding:0;

    margin:0 8px 0 0;

    accent-color:var(--azul-mariano-dark);

    vertical-align:middle;
}

.grupo-campo label:has(input[type="checkbox"]),
.grupo-campo input[type="checkbox"] + label{

    display:inline-flex;

    align-items:center;

    width:auto;

    margin:0 18px 10px 0;

    font-weight:400;

    color:var(--texto);

    cursor:pointer;
}

.grupo-campo label:has(input[type="checkbox"]){

    gap:8px;
}

.grupo-campo label:has(input[type="radio"]){

    gap:8px;
}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    border-color:
    var(--azul-mariano);

    box-shadow:
    0 0 0 4px rgba(125,180,230,.15);
}

textarea{

    resize:vertical;
}

.btn-enviar{

    width:100%;

    border:none;

    cursor:pointer;

    padding:18px;

    border-radius:20px;

    background:
    linear-gradient(
        135deg,
        var(--rosa),
        var(--rosa-claro)
    );

    color:white;

    font-size:1rem;

    font-weight:600;

    transition:.3s;
}

.btn-enviar:hover{

    transform:
    translateY(-3px);
}

/* ==========================================
   CONTATO
========================================== */

.contato-grid{

    display:grid;

    grid-template-columns:
    1fr 2fr;

    gap:40px;
}

.info-contato{

    display:flex;

    flex-direction:column;

    gap:25px;
}

.info-item{

    display:flex;

    align-items:flex-start;

    gap:15px;

    background:white;

    padding:20px;

    border-radius:20px;

    box-shadow:var(--shadow);
}

.info-item i{

    color:var(--rosa);

    font-size:1.8rem;
}

/* ==========================================
   FAQ
========================================== */

.faq{

    background:
    #f8fbff;
}

.faq-item{

    background:white;

    padding:25px;

    border-radius:20px;

    margin-bottom:20px;

    box-shadow:var(--shadow);
}

.faq-item h3{

    color:
    var(--azul-mariano-dark);

    margin-bottom:12px;
}

/* ==========================================
   PEDIDOS DE ORAÇÃO
========================================== */

.oracao-introducao{

    text-align:center;
}

.agradecimento{

    background:
    linear-gradient(
        180deg,
        #ffffff,
        #f8fbff
    );
}

/* ==========================================
   VERSÍCULO
========================================== */

.versiculo{

    text-align:center;

    background:
    linear-gradient(
        135deg,
        rgba(125,180,230,.10),
        rgba(255,255,255,.9)
    );
}

.versiculo blockquote{

    font-family:
    'Playfair Display',
    serif;

    font-size:2rem;

    color:
    var(--azul-mariano-dark);

    margin-bottom:15px;
}

.versiculo span{

    color:
    var(--dourado);

    font-weight:700;
}

/* ==========================================
   REDES SOCIAIS
========================================== */

.redes{

    text-align:center;
}

.social-links{

    display:flex;

    justify-content:center;

    gap:25px;

    margin-top:30px;
}

.social-links a{

    width:75px;
    height:75px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:white;

    border-radius:50%;

    box-shadow:var(--shadow);

    font-size:2rem;

    color:
    var(--azul-mariano-dark);

    transition:.3s;
}

.social-links a:hover{

    transform:
    translateY(-8px);

    color:
    var(--rosa);
}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:
    linear-gradient(
        135deg,
        var(--azul-mariano-dark),
        #1f4070
    );

    color:white;

    padding-top:70px;
}

.footer-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:40px;
}

footer h3{

    margin-bottom:15px;
}

footer ul{

    list-style:none;
}

footer li{

    margin-bottom:10px;
}

footer a{

    color:white;
}

footer a:hover{

    color:
    var(--dourado-claro);
}

.copyright{

    text-align:center;

    margin-top:50px;

    padding:20px;

    border-top:
    1px solid rgba(255,255,255,.15);
}

/* ==========================================
   BOTÃO WHATSAPP
========================================== */

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    display:flex;

    align-items:center;

    justify-content:center;

    color:white;

    font-size:2rem;

    text-decoration:none;

    box-shadow:
    0 10px 25px rgba(0,0,0,.2);

    z-index:999;

    transition:.3s;
}

.whatsapp-float:hover{

    transform:
    scale(1.1);
}

/* ==========================================
   RESPONSIVO
========================================== */

@media(max-width:992px){

    .contato-grid{

        grid-template-columns:1fr;
    }

    .hero h1{

        font-size:3.2rem;
    }
}

@media(max-width:768px){

    nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;
    }

    .hero{

        min-height:auto;

        padding:80px 0;
    }

    .hero h1{

        font-size:2.6rem;
    }

    .hero p{

        font-size:1rem;
    }

    .grupo-duplo{

        grid-template-columns:1fr;
    }

    section{

        padding:70px 0;
    }

    section h2{

        font-size:2.2rem;
    }

    .social-links{

        flex-wrap:wrap;
    }
}

@media(max-width:480px){

    .hero h1{

        font-size:2.1rem;
    }

    .form-container{

        padding:25px;
    }

    .card{

        padding:25px;
    }
}

/* ==========================================
   CUSTOM TERÇO FLOW (PRODUÇÃO)
========================================== */

.terco-fluxo-grid {
    display: grid;
    /* Força exatamente 3 colunas idênticas no desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    padding-top: 20px;
}

.card-passo {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.card-passo:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(125, 180, 230, 0.4); /* Brilho sutil ao passar o mouse */
}

/* Número elegante flutuando no canto superior esquerdo */
.passo-numero {
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dourado);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

/* Ícone centralizado e estilizado */
.passo-icone {
    width: 60px;
    height: 60px;
    background: var(--azul-claro);
    color: var(--azul-mariano-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: 0.3s;
}

.card-passo:hover .passo-icone {
    background: var(--azul-mariano-dark);
    color: var(--branco);
}

.card-passo h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--azul-mariano-dark);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-passo p {
    color: var(--texto-claro);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVIDADE DA GRADE
========================================== */

/* Telas médias (Tablets): Transforma em 2 colunas equilibradas (3 linhas de 2) */
@media(max-width: 992px) {
    .terco-fluxo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Telas pequenas (Celulares): Transforma em lista única (Estilo Linha do Tempo) */
@media(max-width: 600px) {
    .terco-fluxo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-passo {
        padding: 30px 20px;
    }
}

/* Ajuste na Grid para acomodar os 11 cards elegantemente */
.terco-fluxo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Estilo Diferenciado para as etapas do Ciclo Repetitivo (6º ao 9º) */
.card-ciclo-repeticao {
    border: 1px dashed var(--azul-mariano-dark) !important;
    background: linear-gradient(180deg, var(--branco) 0%, var(--azul-claro) 100%) !important;
}

/* Pequena etiqueta indicativa de repetição */
.badge-ciclo {
    display: inline-block;
    margin-top: 15px;
    padding: 4px 12px;
    background-color: rgba(46, 92, 152, 0.1);
    color: var(--azul-mariano-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-ciclo-repeticao:hover {
    border-style: solid !important;
    border-color: var(--rosa) !important;
}

.card-ciclo-repeticao:hover .badge-ciclo {
    background-color: var(--rosa);
    color: var(--branco);
}

/* Responsividade Adaptada para mais itens */
@media(max-width: 1100px) {
    .terco-fluxo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 650px) {
    .terco-fluxo-grid {
        grid-template-columns: 1fr;
    }
}
/* Logo do menu */
.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

/* ==========================================
   SOBRE: NOSSA LIGAÇÃO COM O EJC
========================================== */

.ejc {
    background: linear-gradient(180deg, var(--branco) 0%, var(--azul-claro) 100%);
}

.ejc .container {
    max-width: 900px;
}

.ejc h2 {
    margin-bottom: 50px;
}

.ejc p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--texto);
    text-align: center;
    margin-bottom: 24px;
}

/* Logo + Instagram */
.ejc-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    padding: 36px 24px;
    background: var(--branco);
    border-radius: 24px;
    box-shadow: var(--shadow);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ejc-logo:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.ejc-logo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}

.ejc-insta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 22px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--dourado), var(--rosa));
    color: var(--branco);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .3s ease, opacity .3s ease;
}

.ejc-insta:hover {
    transform: scale(1.05);
    opacity: .92;
}

.ejc-insta i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .ejc p {
        font-size: 1rem;
        text-align: left;
    }

    .ejc-logo {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .logo-img {
        height: 48px;
    }
}
/* Foto do grupo na seção Quem Somos */
.foto-grupo {
    text-align: center;
    margin: 40px 0;
}

.foto-grupo img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 20px;
}
