/* === CONFIGURAÇÃO GERAL PREMIUM === */
:root {
    --amarelo: #b7d83d;
    --amarelo-escuro: #718f1d;
    --verde: #22c55e;
    --fundo-escuro: #07110f;
    --fundo-card: #10211c;
    --texto-claro: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    background: linear-gradient(180deg, #07110f 0%, #030807 100%);
    color: var(--texto-claro);
    line-height: 1.7;
    min-height: 100vh;
}

a:focus-visible,
button:focus-visible,
img:focus-visible {
    outline: 3px solid var(--amarelo);
    outline-offset: 4px;
}

/* === CABEÇALHO — FUNDO 3D INDUSTRIAL === */
header {
    background: linear-gradient(135deg, #07110f 0%, #17352a 50%, #07110f 100%);
    position: relative;
    min-height: 430px;
    padding: 40px 20px 50px 36%;
    text-align: center;
    overflow: hidden;
    border-bottom: 4px solid var(--amarelo);
}

/* Malha 3D perspectiva */
header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(183, 216, 61, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(183, 216, 61, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(800px) rotateX(65deg);
    transform-origin: center top;
    opacity: 0.35;
    animation: malhaMovimento 20s linear infinite;
}

@keyframes malhaMovimento {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 15% 40%, rgba(250, 204, 21, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(34, 197, 94, 0.08) 0%, transparent 40%);
}

.credenciais {
    max-width: 1100px;
    margin: -1px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #0c1b17;
    border-bottom: 1px solid rgba(183, 216, 61, 0.18);
}

.credencial {
    min-height: 86px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    border-right: 1px solid rgba(183, 216, 61, 0.14);
}

.credencial:last-child {
    border-right: 0;
}

.credencial strong {
    color: var(--amarelo);
    font-size: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.credencial span {
    color: #b8c7bf;
    font-size: 13px;
}

.processo {
    max-width: 1100px;
    margin: 0 auto;
    padding: 44px 20px 28px;
}

.processo-cabecalho {
    max-width: 620px;
    margin-bottom: 28px;
}

.processo-selo {
    color: var(--amarelo);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.processo h2 {
    margin-top: 8px;
    color: var(--texto-claro);
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.2;
}

.processo-cabecalho > p {
    margin-top: 10px;
    color: #a9bab1;
    font-size: 15px;
}

.etapas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(183, 216, 61, 0.2);
    border-bottom: 1px solid rgba(183, 216, 61, 0.2);
}

.etapa {
    min-height: 170px;
    padding: 24px 28px 24px 0;
}

.etapa + .etapa {
    padding-left: 28px;
    border-left: 1px solid rgba(183, 216, 61, 0.18);
}

.numero-etapa {
    color: var(--amarelo);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.etapa h3 {
    margin: 10px 0 7px;
    color: #edf5ef;
    font-size: 17px;
}

.etapa p {
    color: #a9bab1;
    font-size: 14px;
    line-height: 1.6;
}

/* LOGO */
.logo-container {
    position: absolute;
    inset: 0 auto 0 0;
    width: 34%;
    z-index: 2;
    margin: 0;
}

.logo-principal {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-right: 3px solid var(--amarelo);
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.25);
}

/* === NOME T.RAMOS EM AMARELO 3D === */
.nome-3d {
    position: relative;
    z-index: 2;
    font-size: clamp(42px, 12vw, 72px);
    font-weight: 900;
    color: var(--amarelo);
    text-shadow:
        0 1px 0 #d2ef62,
        0 2px 0 var(--amarelo-escuro),
        0 4px 0 #4e6814,
        0 6px 12px rgba(0,0,0,0.6),
        0 12px 30px rgba(250, 204, 21, 0.35);
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.nome-3d:hover {
    transform: translateY(-3px) scale(1.03);
}

.subtitulo {
    position: relative;
    z-index: 2;
    color: #fef08a;
    font-size: 19px;
    margin-top: 12px;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.local {
    position: relative;
    z-index: 2;
    color: #fde047;
    margin-top: 10px;
    font-size: 16px;
}

/* === BOTÃO WHATSAPP CABEÇALHO === */
.btn-whatsapp-header {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-weight: bold;
    font-size: 17px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.btn-whatsapp-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* === CONTAINER E GALERIA === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.galeria {
    background: linear-gradient(145deg, var(--fundo-card), var(--fundo-escuro));
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--amarelo);
    margin-bottom: 0;
    grid-column: 1 / -1;
}

.galeria h2 {
    color: var(--amarelo);
    margin-bottom: 20px;
    font-size: 22px;
}

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

.grid-fotos img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(250, 204, 21, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-fotos img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(250, 204, 21, 0.2);
    border-color: var(--amarelo);
}

/* === SEÇÕES === */
.secao {
    background: linear-gradient(145deg, var(--fundo-card), var(--fundo-escuro));
    margin: 0;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--amarelo);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secao:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.15);
}

.secao h2 {
    color: var(--amarelo);
    margin-bottom: 22px;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.secao ul {
    list-style: none;
}

.secao li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(250, 204, 21, 0.15);
    font-size: 16px;
    color: #e2e8f0;
    transition: padding-left 0.2s ease;
}

.secao li:hover {
    padding-left: 8px;
    color: #fef9c3;
}

.secao li:last-child {
    border-bottom: none;
}

.secao li::before {
    content: "▸ ";
    color: var(--amarelo);
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

/* === CONTATO === */
.contato {
    background: linear-gradient(145deg, #17352a, #07110f);
    border: 2px solid var(--amarelo);
    text-align: center;
    grid-column: 1 / -1;
}

.foto-contato {
    width: 100%;
    max-width: 100%;
    height: 280px;
    object-fit: contain;
    background: #07110f;
    border-radius: 10px;
    border: 0;
    margin: 15px auto;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(250, 204, 21, 0.18);
}

.contato p {
    margin: 12px 0;
    color: #fef9c3;
    font-size: 16px;
}

/* === BOTÃO WHATSAPP PRINCIPAL === */
.btn-whatsapp {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #25d366, #075e54);
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 16px;
    text-decoration: none;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.zap-icon {
    font-size: 28px;
}

.zap-sub {
    font-size: 13px;
    opacity: 0.9;
    font-weight: normal;
}

.destaque {
    color: var(--amarelo);
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
    display: block;
}

/* === BOTÃO WHATSAPP FLUTUANTE === */
.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366, #075e54);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulsar 2s infinite;
}

@keyframes pulsar {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-whatsapp-flutuante:hover {
    transform: scale(1.15);
}

/* === RODAPÉ === */
footer {
    text-align: center;
    padding: 34px 20px;
    color: #94a3b8;
    font-size: 14px;
    border-top: 1px solid rgba(183, 216, 61, 0.18);
    margin-top: 25px;
    background: #050b09;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
    header {
        min-height: 0;
        padding: 0 20px 40px;
    }
    .logo-container {
        position: relative;
        inset: auto;
        width: calc(100% + 40px);
        height: 240px;
        margin: 0 -20px 30px;
    }
    .logo-principal {
        border-right: 0;
        border-bottom: 3px solid var(--amarelo);
    }
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .processo { padding-top: 34px; }
    .etapas { grid-template-columns: 1fr; }
    .etapa { min-height: 0; padding: 20px 0; }
    .etapa + .etapa {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(183, 216, 61, 0.18);
    }
    .credenciais {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .credencial {
        min-height: 0;
        padding: 14px 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(183, 216, 61, 0.14);
    }
    .credencial:last-child { border-bottom: 0; }
    .secao { padding: 22px; }
    .nome-3d { font-size: 36px; }
    .foto-contato { height: 220px; }
    .btn-whatsapp-flutuante { width: 55px; height: 55px; font-size: 26px; bottom: 20px; right: 20px; }
    .grid-fotos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .grid-fotos { grid-template-columns: 1fr; }
    .btn-whatsapp { padding: 15px 25px; font-size: 18px; }
}
/*============================
 GALERIA-IMAGEM EM TELA CHEIA
 =============================*/
 .grid-fotos img{
    cursor: pointer;
 }
 
.modal-imagem {
display: none;
position: fixed;
z-index: 9999;
inset: 0;

width: 100%;
height: 100%;

background: rgba(0, 0,0, 0.95);

align-items: center;
justify-content: center;

padding: 20px;
box-sizing: border-box;



}

.modal-imagem img {
max-width: 95%;
max-height: 90vh;

object-fit: contain;
border-radius:10px;


}

#fecharImagem {
position: absolute;
top: 18px;
right: 28px;
padding: 0;
border: 0;
background: transparent;
color: white;
font-size: 42px;
line-height: 1;
cursor: pointer;
z-index: 1;
}

#fecharImagem:hover {
color: #32cd32;

}

/* CELULAR*/

@media(max-width:600px){

    .modal-imagem{
        padding: 10px;
    }

    .modal-imagem img {
        max-width: 100%;
        max-height: 85vh;

    }
    #fecharImagem {
        top: 10px;
        right: 18px;
        font-size:40px ;


    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}