/* ================================================
   CONHE-SER PSICOPEDAGOGIA - Landing Page
   Styles v1.0
   ================================================ */

/* VARIABLES */
:root {
    --primary: #1a3a6b;
    --primary-light: #2a5298;
    --accent: #e8945a;
    --accent-light: #f0b088;
    --cream: #fdf8f3;
    --cream-dark: #f5ede3;
    --text-dark: #2c3e50;
    --text-muted: #6c7a89;
    --white: #ffffff;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    background: var(--white);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}
.navbar-brand img {
    height: 80px;
    transition: height 0.3s ease;
}
.navbar.scrolled .navbar-brand img {
    height: 62px;
}
.nav-link {
    font-weight: 500;
    color: var(--primary) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 60%;
}
.nav-link:hover {
    color: var(--accent) !important;
}
.btn-whatsapp-nav {
    background: #25D366;
    color: var(--white) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}
.btn-whatsapp-nav::after {
    display: none;
}
.btn-whatsapp-nav:hover {
    background: #1fb855;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

/* ================================================
   HERO
   ================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(232,148,90,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--cream), transparent);
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--accent-light);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-title span {
    color: var(--accent-light);
}
.hero-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}
.btn-hero {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-hero:hover {
    background: var(--accent-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232,148,90,0.35);
}
.hero-image-wrapper {
    position: relative;
}
.hero-image-wrapper img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    object-fit: cover;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 1rem 1.3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    animation: float 3s ease-in-out infinite;
}
.floating-card.card-1 {
    bottom: 10%;
    left: -30px;
    animation-delay: 0s;
}
.floating-card.card-2 {
    top: 10%;
    right: -20px;
    animation-delay: 1.5s;
}
.floating-card .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.floating-card .icon-circle.blue {
    background: rgba(26,58,107,0.1);
    color: var(--primary);
}
.floating-card .icon-circle.orange {
    background: rgba(232,148,90,0.15);
    color: var(--accent);
}
.floating-card .fc-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}
.floating-card .fc-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ================================================
   SOBRE / ABOUT
   ================================================ */
.about-section {
    background: var(--cream);
    padding: 6rem 0;
}
.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}
.about-image {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(26,58,107,0.12);
    width: 100%;
    max-width: 400px;
    object-fit: cover;
}
.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}
.stat-item .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ================================================
   SERVIÇOS
   ================================================ */
.services-section {
    padding: 6rem 0;
    background: var(--white);
}
.service-card {
    background: var(--white);
    border: 1px solid rgba(26,58,107,0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26,58,107,0.1);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}
.service-icon.icon-1 { background: rgba(26,58,107,0.1); color: var(--primary); }
.service-icon.icon-2 { background: rgba(232,148,90,0.12); color: var(--accent); }
.service-icon.icon-3 { background: rgba(46,204,113,0.1); color: #2ecc71; }
.service-icon.icon-4 { background: rgba(155,89,182,0.1); color: #9b59b6; }
.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ================================================
   DIFERENCIAIS
   ================================================ */
.benefits-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 6rem 0;
    position: relative;
}
.benefits-section .section-label { color: var(--accent-light); }
.benefits-section .section-title { color: var(--white); }
.benefit-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-light);
}
.benefit-text h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.benefit-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   DEPOIMENTOS
   ================================================ */
.testimonials-section {
    background: var(--cream);
    padding: 6rem 0;
    overflow: hidden;
}
.testimonials-slider-wrapper {
    position: relative;
    margin-top: 3rem;
}
.testimonials-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollTestimonials 35s linear infinite;
    width: max-content;
}
.testimonials-track:hover {
    animation-play-state: paused;
}
@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.2rem;
    min-width: 380px;
    max-width: 380px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(26,58,107,0.06);
    transition: all 0.4s ease;
    flex-shrink: 0;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26,58,107,0.1);
    border-color: rgba(232,148,90,0.2);
}
.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
}
.testimonial-card .testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 100px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-top: 1px solid rgba(26,58,107,0.06);
    padding-top: 1.2rem;
}
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.92rem;
}
.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.stars {
    color: #f4c542;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 2px;
}
.testimonials-fade-left,
.testimonials-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.testimonials-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--cream), transparent);
}
.testimonials-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--cream), transparent);
}
.testimonials-counter {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.testimonials-counter .counter-badge {
    background: var(--white);
    border: 1px solid rgba(26,58,107,0.08);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.testimonials-counter .counter-badge i {
    color: #f4c542;
}
.testimonials-counter .counter-badge strong {
    color: var(--primary);
}

/* ================================================
   CTA
   ================================================ */
.cta-section {
    padding: 6rem 0;
    background: var(--white);
}
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(232,148,90,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta-box h2 {
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.btn-cta {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.btn-cta:hover {
    background: var(--accent-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232,148,90,0.4);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--cream);
    padding: 0;
    color: var(--text-muted);
}
.footer-top {
    padding: 5rem 0 3.5rem;
}
.footer-brand {
    margin-bottom: 1.5rem;
}
.footer-brand img {
    height: 70px;
}
.footer-text {
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 300px;
    color: var(--text-muted);
}
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(26,58,107,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,58,107,0.2);
}
.footer h6 {
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-contact-item i {
    color: var(--accent);
    font-size: 1.05rem;
    margin-top: 2px;
    min-width: 18px;
}
.footer-contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-item a:hover {
    color: var(--accent);
}
.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(26,58,107,0.1), transparent);
    margin: 0;
    border: none;
}
.footer-bottom {
    padding: 1.5rem 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom span {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 5px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 5px 30px rgba(37,211,102,0.6); }
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */
@media (max-width: 991px) {
    .hero-title { font-size: 2.4rem; }
    .section-title { font-size: 2rem; }
    .hero-image-wrapper { margin-top: 3rem; text-align: center; }
    .floating-card.card-1 { left: 10px; }
    .floating-card.card-2 { right: 10px; }
    .about-stats { gap: 1.5rem; }
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */
@media (max-width: 767px) {
    /* Hero mobile */
    .hero-section { 
        min-height: auto; 
        padding: 7rem 0 3rem; 
    }
    .hero-title { font-size: 1.75rem; line-height: 1.3; }
    .hero-text { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-badge { font-size: 0.78rem; padding: 0.35rem 1rem; margin-bottom: 1rem; }
    .btn-hero { padding: 0.85rem 2rem; font-size: 0.95rem; }
    .hero-image-wrapper { margin-top: 2.5rem; }
    .hero-image-wrapper img {
        border-radius: 20px;
        max-width: 85%;
    }
    .floating-card { display: none; }

    /* Navbar mobile */
    .navbar-brand img { height: 55px; }
    .navbar.scrolled .navbar-brand img { height: 48px; }
    .navbar-collapse {
        background: var(--white);
        border-radius: 16px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-link { padding: 0.6rem 0.8rem !important; }

    /* Section titles mobile */
    .section-title { font-size: 1.6rem; }
    .section-label { font-size: 0.78rem; }

    /* About mobile */
    .about-section { padding: 4rem 0; }
    .about-image { 
        max-width: 250px; 
        margin: 0 auto 2rem; 
        display: block;
        border-radius: 20px;
    }
    .about-text { font-size: 0.95rem; line-height: 1.7; }
    .about-stats { 
        flex-direction: row; 
        gap: 0;
        justify-content: space-between;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(26,58,107,0.08);
    }
    .stat-item {
        text-align: center;
        flex: 1;
    }
    .stat-item .stat-number { font-size: 1.6rem; }
    .stat-item .stat-label { font-size: 0.75rem; }

    /* Services mobile */
    .services-section { padding: 4rem 0; }
    .service-card { padding: 2rem 1.5rem; }
    .service-card h4 { font-size: 1.15rem; }
    .service-card p { font-size: 0.9rem; }

    /* Benefits mobile */
    .benefits-section { padding: 4rem 0; }
    .benefit-item { margin-bottom: 1.5rem; }
    .benefit-icon { 
        width: 44px; 
        height: 44px; 
        min-width: 44px; 
        border-radius: 12px; 
        font-size: 1.1rem; 
    }
    .benefit-text h5 { font-size: 1rem; }
    .benefit-text p { font-size: 0.85rem; }

    /* Testimonials mobile */
    .testimonials-section { padding: 4rem 0; }
    .testimonial-card {
        min-width: 290px;
        max-width: 290px;
        padding: 1.6rem;
    }
    .testimonial-card .testimonial-text {
        font-size: 0.88rem;
        min-height: 80px;
        line-height: 1.7;
    }
    .testimonials-fade-left,
    .testimonials-fade-right {
        width: 30px;
    }
    .testimonials-counter .counter-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }

    /* CTA mobile */
    .cta-section { padding: 3rem 0; }
    .cta-box { 
        padding: 2.5rem 1.5rem; 
        border-radius: 20px; 
    }
    .cta-box h2 { font-size: 1.5rem; }
    .cta-box p { font-size: 0.95rem; }
    .btn-cta { padding: 0.85rem 2rem; font-size: 0.95rem; }

    /* Footer mobile */
    .footer-top { padding: 3rem 0 2rem; }
    .footer-brand img { height: 55px; }
    .footer h6 { margin-bottom: 1rem; margin-top: 0.5rem; }
    .footer-bottom .container { 
        flex-direction: column; 
        text-align: center;
        gap: 0.3rem;
    }
    .footer-social { margin-top: 1rem; margin-bottom: 0.5rem; }
    .footer-text { max-width: 100%; }

    /* WhatsApp float mobile */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 18px;
        right: 18px;
    }
}

/* ================================================
   RESPONSIVE - EXTRA SMALL
   ================================================ */
@media (max-width: 400px) {
    .hero-title { font-size: 1.5rem; }
    .hero-section { padding: 6.5rem 0 2.5rem; }
    .stat-item .stat-number { font-size: 1.4rem; }
    .stat-item .stat-label { font-size: 0.7rem; }
    .testimonial-card {
        min-width: 270px;
        max-width: 270px;
    }
}
