/* Estilos Gerais */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho */
header {
    text-align: center;
    padding: 40px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 40px;
}

header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 18px;
    margin: 0;
}

/* Seção de Instruções */
.instructions-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instructions-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #007bff;
    text-align: center;
}

.instruction-item {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.instruction-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.instruction-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #007bff;
}

.instruction-item p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Estilos para a página Como Usar */

/* Hero específico da página */
.page-hero-section {
    background: var(--gradient);
    color: white;
    padding: 110px 0 80px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.1" d="M0,224L48,208C96,192,192,160,288,154.7C384,149,480,171,576,176C672,181,768,171,864,144C960,117,1056,75,1152,80C1248,85,1344,139,1392,165.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.page-hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-hero-section p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Layout da página */
.main-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

/* Estilos da seção principal */
.content-main {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content-main section {
    margin-bottom: 50px;
    padding: 0;
}

.content-main section:last-child {
    margin-bottom: 0;
}

.content-main h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #222;
    position: relative;
    padding-bottom: 15px;
}

.content-main h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient);
}

/* Estilos para a seção de passo a passo */
.tutorial-step {
    position: relative;
    margin-bottom: 50px;
    padding-left: 50px;
}

.tutorial-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.step-image {
    margin: 25px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tutorial-img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: #f5f5f5;
    padding: 10px 15px;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.tip-box, .info-box {
    display: flex;
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.tip-box {
    border-left: 4px solid #ffc107;
}

.info-box {
    border-left: 4px solid #17a2b8;
}

.tip-icon, .info-icon {
    margin-right: 15px;
    font-size: 1.25rem;
}

.tip-icon i {
    color: #ffc107;
}

.info-icon i {
    color: #17a2b8;
}

.tip-content, .info-content {
    flex: 1;
}

.tip-content p, .info-content p {
    margin-bottom: 0;
}

.example-box {
    background: #f1f1f1;
    border-radius: var(--border-radius);
    padding: 15px;
    margin: 20px 0;
}

.example-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
}

.example-content {
    font-family: monospace;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    word-break: break-all;
}

/* Recursos adicionais */
.feature-item {
    display: flex;
    margin-bottom: 30px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
    padding: 25px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}

.feature-icon i {
    color: white;
    font-size: 1.4rem;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-content p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.feature-content p:last-child {
    margin-bottom: 0;
}

/* Casos de uso */
.use-case {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.use-case:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.use-case h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.use-case h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.use-case p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

.tips-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.format-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.format-item:last-child {
    margin-bottom: 0;
}

.format-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.format-icon i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.format-details h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.format-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.devices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.device-item {
    background: #f5f5f5;
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    transition: var(--transition);
}

.device-item:hover {
    background: #efefef;
}

.device-item i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.device-item span {
    font-size: 0.9rem;
    color: #555;
}

/* Responsividade */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero-section h1 {
        font-size: 2rem;
    }
    
    .content-main {
        padding: 30px 20px;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-icon {
        margin: 0 auto 20px;
    }
    
    .content-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tutorial-step {
        padding-left: 0;
    }
    
    .step-number {
        position: static;
        margin-bottom: 15px;
    }
}