/* 
==========================================================================
    STYLING PREMIUM - JOÃO CONSULTOR PEDAGÓGICO
    PALETA: Azul da Logo CCPI
========================================================================== 
*/

:root {
    /* Paleta Azul */
    --blue-light: #E0EBF2;
    --blue-primary: #1C7293;
    /* Azul da logo */
    --blue-dark: #0F4C64;
    --blue-accent: #116281;

    /* Cores Neutras */
    --bg-offwhite: #FDFBF7;
    --text-dark: #1A1A1A;
    --text-gray: #555555;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-offwhite);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 🌟 HEADER GLASSMORPHISM */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(28, 114, 147, 0.2);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo img {
    max-height: 55px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.btn-header {
    padding: 12px 32px;
    background: transparent;
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid var(--blue-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-header:hover {
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(28, 114, 147, 0.2);
    transform: translateY(-2px);
}

/* 🌟 HERO SECTION (Dark Blue Background) */
.hero {
    position: relative;
    margin-top: 85px;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    color: var(--white);
    padding: 120px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    overflow: hidden;
}

/* Efeito de luz (Glow Blobs) */
.hero::before {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(28, 114, 147, 0.15) 0%, rgba(28, 114, 147, 0) 70%);
    top: -20%;
    left: -10%;
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(17, 98, 129, 0.4) 0%, rgba(17, 98, 129, 0) 70%);
    bottom: -10%;
    right: -5%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
    animation: fadeUp 1s ease forwards;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(28, 114, 147, 0.1);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(224, 235, 242, 0.3);
    backdrop-filter: blur(4px);
}

.tag::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--blue-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--blue-light);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--blue-light);
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 90%;
    font-weight: 300;
}

/* Botão Principal Dourado */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--blue-dark);
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover::after {
    left: 150%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: fadeInRight 1.2s ease forwards;
}

.hero-image img {
    max-width: 480px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(28, 114, 147, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

/* 🌟 SOLUTIONS AREA */
.solutions-wrapper {
    background-color: var(--bg-offwhite);
    padding: 120px 5%;
    text-align: center;
    position: relative;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    color: var(--blue-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 400;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-light), var(--blue-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(15, 76, 100, 0.08);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(28, 114, 147, 0.1), rgba(28, 114, 147, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--blue-primary);
    transition: all 0.3s ease;
}

.solution-card:hover .icon-wrapper {
    background: var(--blue-primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.solution-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--blue-dark);
}

.solution-card p {
    color: var(--text-gray);
    font-size: 1.05rem;
    font-weight: 400;
}

/* 🌟 CAPTURE SECTION */
.capture-section {
    background: var(--white);
    padding: 120px 5%;
    position: relative;
}

.capture-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(15, 76, 100, 0.08);
    border: 1px solid rgba(28, 114, 147, 0.15);
}

.capture-info {
    flex: 1.2;
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    color: var(--white);
    position: relative;
}

.capture-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5" fill="rgba(255, 255, 255, 0.1)"/></svg>') repeat;
    opacity: 0.5;
    pointer-events: none;
}

.capture-info h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.capture-info h2 span {
    color: var(--white);
    text-decoration: underline;
}

.capture-info p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.contact-details {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details strong {
    color: var(--white);
}

.capture-form-area {
    flex: 1;
    padding: 80px 60px;
    background: var(--bg-offwhite);
}

.capture-form-area h3 {
    font-size: 1.8rem;
    color: var(--blue-dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) inset;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(28, 114, 147, 0.15);
}

.btn-submit {
    width: 100%;
    background: var(--blue-primary);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(28, 114, 147, 0.2);
}

.btn-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(28, 114, 147, 0.3);
}

/* 🌟 ABOUT JOÃO SECTION */
.about-section {
    padding: 120px 5%;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 76, 100, 0.15);
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 2.6rem;
    color: var(--blue-dark);
    margin-bottom: 30px;
    font-weight: 800;
}

.about-content h2 span {
    color: var(--blue-primary);
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 🌟 HOW IT WORKS / TIMELINE */
.steps-section {
    background: var(--bg-offwhite);
    padding: 120px 5%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    counter-reset: step-counter;
}

.step-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(28, 114, 147, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue-primary);
}

.step-card::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(28, 114, 147, 0.05);
    line-height: 1;
}

.step-card h3 {
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin: 20px 0 15px;
}

/* 🌟 METRICS / NUMBERS */
.metrics-section {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: var(--white);
    padding: 80px 5%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.metric-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--blue-light);
}

.metric-item p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* 🌟 FAQ ACCORDION */
.faq-section {
    padding: 120px 5%;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--blue-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--blue-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-gray);
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

/* 🌟 ABOUT JOÃO SECTION */
.about-section {
    padding: 120px 5%;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 76, 100, 0.15);
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 2.6rem;
    color: var(--blue-dark);
    margin-bottom: 30px;
    font-weight: 800;
}

.about-content h2 span {
    color: var(--blue-primary);
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 🌟 HOW IT WORKS / TIMELINE */
.steps-section {
    background: var(--bg-offwhite);
    padding: 120px 5%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    counter-reset: step-counter;
}

.step-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(28, 114, 147, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue-primary);
}

.step-card::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(28, 114, 147, 0.05);
    line-height: 1;
}

.step-card h3 {
    font-size: 1.4rem;
    color: var(--blue-dark);
    margin: 20px 0 15px;
}

/* 🌟 METRICS / NUMBERS */
.metrics-section {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: var(--white);
    padding: 80px 5%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.metric-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--blue-light);
}

.metric-item p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* 🌟 FAQ ACCORDION */
.faq-section {
    padding: 120px 5%;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--blue-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--blue-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-gray);
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

/* 🌟 FOOTER */
footer {
    background-color: var(--blue-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 5% 30px;
    border-top: 4px solid var(--blue-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-brand img {
    max-width: 180px;
    margin-bottom: 25px;
    background-color: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: var(--blue-light);
    border-radius: 2px;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* 🌟 WHATSAPP FLOATING */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* 🌟 ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 🌟 RESPONSIVE */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        min-height: auto;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .tag {
        margin: 0 auto 30px;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .capture-wrapper {
        flex-direction: column;
    }

    .capture-info,
    .capture-form-area {
        padding: 50px 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .btn-primary {
        padding: 15px 30px;
        width: 100%;
    }

    .btn-header {
        display: none;
    }

    .solutions-wrapper,
    .capture-section,
    .about-section,
    .steps-section,
    .faq-section {
        padding: 80px 5%;
    }
}