/* FOLHA DE ESTILOS DA METODOLOGIA */

:root{
    --accent-500: #0d9488;
    --accent-400: #14b8a6;
    --glass-bg: rgba(255,255,255,0.55);
    --glass-border: rgba(255,255,255,0.25);
    --muted: #64748b;
    --page-bg-day: linear-gradient(180deg, #f7fbfc 0%, #eef8fb 100%);
    --page-bg-night: linear-gradient(180deg, #061018 0%, #0b1220 100%);
    --text-day: #0b1720;
    --text-night: #e6f3f6;
    --card-radius: 16px;
    --shadow-1: 0 6px 18px rgba(13,148,136,0.08);
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    margin:0;
    color:var(--text-day);
    background:var(--page-bg-day);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.45;
    transition:background 400ms ease, color 300ms ease;
    font-family:inherit;
}

/* Scroll sem barra visível */
body::-webkit-scrollbar {
    display: none;
    overflow: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

@keyframes gradientShift { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%} 
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 35px 20px 105px;
    color: #fff;
    background: linear-gradient(-45deg, #0ea5e9, #14b8a6, #0369a1, #0d9488);
    background-size: 400% 400%;
    animation: gradientShift 14s ease infinite;
}

@keyframes gradientShift { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%} 
}

.hero h1{ 
    font-weight:700; 
    font-size:2.8rem; 
    margin-bottom:.6rem; 
    position:relative; 
    z-index:2; 
}

.hero p.lead{ 
    font-size:1.25rem; 
    font-weight:500; 
    color:#e0f2fe; 
    position:relative; 
    z-index:2; 
}

.network-bg{ 
    position:absolute; 
    inset:0; 
    width:100%; 
    height:100%; 
    opacity:.25; 
    z-index:1; 
    animation:networkFloat 12s ease-in-out infinite alternate;
    pointer-events:none 
    }

    @keyframes networkFloat{ 
    0%{transform:scale(1) translateY(0); opacity:.3}
    50%{transform:scale(1.05) translateY(-8px); opacity:.4}
    100%{transform:scale(1) translateY(0); opacity:.3} 
}

/* Responsive rules */
@media (max-width:991px){
    .glass-card{ grid-column: span 6; }
    .glass-card-lg{ grid-column: span 12; }
    .hero{ padding:4.5rem 0 2.5rem; }
    .network-bg{ display:none; }
}

@media (max-width:575px){
    .glass-card{ grid-column: span 12; }
    header.hero h1{ font-size:1.4rem; }
    .icon-title { gap:10px; }
    .icon-title i{ font-size:1.3rem }
}

/* Seção Metodologia */
.metodologia {
    max-width: 1400px;
    margin: auto;
    padding: 10px 20px;
    text-align: center;
}

/* Título */
.metodologia h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Separador */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.separator span {
    width: 60px;
    height: 2px;
    background: #ccc;
}

.separator i {
    color: #131313;
    font-size: 20px;
}

/* Texto introdutório */
.intro {
    max-width: 1400px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 1.6;
}

/* Grid de etapas */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap:40px;
    padding: 40px;
}


/* Envoltório do ícone */
.icon-wrapper {
    position: relative;
    margin-bottom: 15px;
}

/* Círculo principal */
.icon-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #333;
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;

    position: relative;
    z-index: 1;
}

/* Número sobreposto */
.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 2;
}

/* Título da etapa */
.step h3 {
    font-size: 16px;
    font-weight: 600;
}

/* Etapa individual */
/* Card base */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 1.0;
    transform: translateY(40px);
    transition: all 0.7s ease;
    transition: 
        transform 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}

/* Hover no card */
.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.55);
}

/* Ícone reage no hover */
.step:hover .icon-circle {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.08);
    color: #111;
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.04);
}

/* Classe ativada via JS */
.step.show {
    opacity: 1;
    transform: translateY(0);
}

/*Efeito para Frases Longas*/
.text-slider {
    position: relative;
    margin-top: 10px;
    font-size: 25px;
    min-height: 38px; /* evita salto de layout */
    line-height: 1.4;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Estado visível */
.text-slider.show {
    opacity: 1;
    transform: translateY(0);
}
