/*!
 * Theme Name:   Hello Elementor Child
 * Theme URI:    https://tribox.com.br
 * Description:  Child theme para Hello Elementor – Criado para colocar as ferramentas de Calculo de Rotas e DUF
 * Author:       João Paulo Tribox
 * Author URI:   https://tribox.com.br
 * Template:     hello-elementor
 * Version:      1.0.0
 * Text Domain:  hello-elementor-child
 */

/* ============================================
   Página de Protocolos - CECIP
   ============================================ */

.protocolos-page {
    min-height: 100vh;
}

/* Animações de Scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes para animação no scroll */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-on-scroll.animated-fade {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-on-scroll.animated-scale {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-on-scroll.animated-delay-1 {
    animation-delay: 0.1s;
}

.animate-on-scroll.animated-delay-2 {
    animation-delay: 0.2s;
}

.animate-on-scroll.animated-delay-3 {
    animation-delay: 0.3s;
}

.animate-on-scroll.animated-delay-4 {
    animation-delay: 0.4s;
}

/* Banner Section */
.protocolos-banner {
    background: #D1E6D5;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.banner-left {
    flex: 0 0 50%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo-section {
    margin-bottom: 80px;
}

.logo-pattern {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #60a5fa 2.5px, transparent 2.5px);
    background-size: 10px 10px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.logo-text {
    font-size: 56px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: -1px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 15px;
    color: #3b82f6;
    margin: 0;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
}

.banner-title {
    font-size: 52px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: -0.5px;
}

.banner-right {
    flex: 0 0 50%;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Sobre a CECIP Section */
.sobre-cecip {
    padding: 100px 0;
    background: #648FAA;
    position: relative;
}

.sobre-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.sobre-content {
    max-width: 1400px;
    margin: 0 auto;
}

.sobre-header-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.sobre-header {
    flex: 1;
    max-width: 600px;
}

.sobre-image {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.sobre-title {
    font-size: 42px;
    font-weight: 700;
    color: #d4d7de;
    margin: 0 0 25px 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.sobre-description {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin: 0;
    font-weight: 400;
}

.sobre-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sobre-card {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.sobre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.sobre-card-icon {
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

.sobre-card-icon i {
    font-size: 40px;
    color: #3b82f6;
}

.sobre-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.sobre-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Protocolos Section */
.protocolos-lista {
    padding: 80px 0;
    background: #f9fafb;
}

.protocolos-lista .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.protocolos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.protocolo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.protocolo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.protocolo-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.protocolo-icon i {
    font-size: 56px;
    color: #1e40af;
}

.protocolo-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 15px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.protocolo-description {
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 25px 0;
}

.protocolo-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    background: transparent;
}

.protocolo-link:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .banner-wrapper {
        flex-direction: column;
    }

    .banner-left {
        flex: 1;
        padding: 60px 40px;
        text-align: center;
        min-height: auto;
    }

    .banner-right {
        flex: 1;
        height: 50vh;
        min-height: 400px;
    }

    .logo-section {
        margin-bottom: 40px;
    }

    .sobre-header-wrapper {
        gap: 40px;
    }

    .sobre-image {
        flex: 0 0 350px;
    }

    .protocolos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .protocolos-banner {
        min-height: auto;
    }

    .banner-wrapper {
        flex-direction: column;
    }

    .banner-left {
        padding: 50px 30px;
        text-align: left;
    }

    .banner-right {
        height: 400px;
    }

    .logo-text {
        font-size: 42px;
    }

    .banner-title {
        font-size: 36px;
    }

    .logo-section {
        margin-bottom: 30px;
    }

    .sobre-cecip {
        padding: 60px 0;
    }

    .sobre-container {
        padding: 0 30px;
    }

    .sobre-header-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .sobre-header {
        max-width: 100%;
    }

    .sobre-image {
        flex: 1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .sobre-title {
        font-size: 32px;
    }

    .sobre-description {
        font-size: 16px;
    }

    .sobre-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .sobre-card {
        padding: 24px 20px;
    }

    .sobre-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .sobre-card-icon i {
        font-size: 36px;
    }

    .sobre-card-title {
        font-size: 18px;
    }

    .sobre-card-text {
        font-size: 14px;
    }

    .protocolos-lista {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .protocolos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .protocolo-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .banner-left {
        padding: 40px 20px;
    }

    .banner-right {
        height: 300px;
    }

    .logo-text {
        font-size: 32px;
    }

    .banner-title {
        font-size: 28px;
    }

    .logo-subtitle {
        font-size: 14px;
    }

    .sobre-container {
        padding: 0 20px;
    }

    .sobre-header-wrapper {
        gap: 30px;
    }

    .sobre-image {
        max-width: 300px;
    }

    .sobre-title {
        font-size: 28px;
    }

    .sobre-description {
        font-size: 15px;
    }

    .sobre-cards {
        max-width: 100%;
    }

    .sobre-card {
        padding: 20px 18px;
    }

    .sobre-card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .sobre-card-icon i {
        font-size: 32px;
    }

    .sobre-card-title {
        font-size: 18px;
    }

    .sobre-card-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }
}
