@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap' );

/* Paleta de Cores - Tema Dark Moderno */
:root {
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --primary-text: #EAEAEA;
    --secondary-text: #A0A0A0;
    --accent-color: #00A3FF;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

.container-box {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

html {
    scroll-behavior: smooth;
}

.observation {
    font-size: 1rem;
    letter-spacing: 1.5px;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text);
    margin: 0;
    padding-top: 80px;
    transition: background-color 0.3s ease;
}

/* Header com Efeito de Vidro (Glassmorphism) */
.main-header {
    background-color: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(12px);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    right: 50%;
    transform: translateX(-50%);
    left: 50%;
    flex-direction: row;
    width: 90%;
    margin: 0 auto;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    transition: background-color 0.3s ease;
}
.main-header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}
.main-header .logo h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-text);
}
.zoom-message {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 700;
    text-align: center;
    margin-top: 2px;
}
nav {
    display: flex;
    gap: 25px;
}
nav a {
    text-decoration: none;
    color: var(--secondary-text);
    font-weight: 700;
    padding: 24px 0;
    position: relative;
    transition: color 0.3s ease;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
nav a:hover {
    color: var(--primary-text);
}
nav a:hover::after {
    transform: scaleX(1);
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Seção de Procedimento com Animação de Entrada */
.procedure-section {
    padding-top: 80px;
    margin-bottom: 80px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-indicator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.number {
    background: linear-gradient(45deg, var(--accent-color), #007BFF);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--accent-color);
}

h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0;
    color: var(--primary-text);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Carrossel Moderno */
.carousel-container {
    position: relative;
    background-color: var(--surface-color);
    border-radius: 16px;
    box-shadow: 0 15px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.carousel-slide-container {
    overflow: hidden;
    cursor: grab;
}
.carousel-slide-container:active {
    cursor: grabbing;
}

.carousel-slide {
    display: flex;
}

.slide-wrapper {
    width: 100%;
    flex-shrink: 0;
}

.slide-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.slide-wrapper p {
    padding: 25px;
    text-align: left;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-text);
    margin: 0;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}
.carousel-container:hover .carousel-button {
    opacity: 1;
}
.carousel-button:hover {
    background-color: var(--accent-color);
    color: white;
}
.carousel-button.prev { left: 15px; }
.carousel-button.next { right: 15px; }

/* Rodapé */
footer {
    padding: 4rem 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--secondary-text);
    font-weight: 500;
    border-top: 1px solid var(--border-color);
}

/* Responsividade para Mobile */
@media (max-width: 800px) {
    .container-box {
        width: 100dvw;
        overflow: hidden;
    }
    p {
        font-size: 1rem;
        width: 250px;
    }

    .carousel-button.next, .carousel-button.prev {
        display: none;
    }
    .observation {
        font-size: 1rem;
        width: 350px;
    }
    h1 { font-size: 1.2rem; max-width: 300px; }
    .number { width: 40px; height: 40px; font-size: 1.5rem; }
    .main-header { 
        height: auto;
        gap: 1rem;
        padding: 10px 20px;
        flex-direction: column;
    }

    .main-header nav {
        display: flex;
        flex-direction: column;
    }

    .main-header a {
        font-size: 1rem;
    }
    .main-header .logo { margin-bottom: 10px; }
    nav {
        width: 100%;
        justify-content: space-around;
        gap: 0;
    }
    nav a {
        margin: 0;
        padding: 10px 5px;
        flex-grow: 1;
        text-align: center;
    }
    .zoom-message { font-size: 0.65rem; }
    .carousel-button {
        opacity: 1;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .slide-wrapper img {
        height: 250px; /* Altura menor para imagens no mobile */
    }
    .slide-wrapper {
        width: 100%;
        overflow: hidden;
    }
}
