:root {
    --primary: #8a0f68;
    --primary-dark: #6c0c52;
    --secondary: #eef8f8;
    --accent: #7b63f1;
    --accent-dark: #6449dc;
    --teal: #03969d;
    --teal-dark: #027b81;
    --coral: #e65a47;
    --orange: #f29a57;
    --blue: #163f9f;
    --text: #5a4a4f;
    --muted: #666666;
    --bg: #fefefe;
    --bg-soft: #f9f6fb;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --max: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(92%, var(--max));
    margin: 0 auto;
}

/* ÂNCORAS */
#inicio,
#sobre,
#servicos,
#apoio,
#contacto,
#parceiros {
    scroll-margin-top: 120px;
}

/* HEADER */


/* HERO */
.hero {
    background:
        linear-gradient(rgba(3, 150, 157, 0.55), rgba(138, 15, 104, 0.70)),
        url('../asset/img/about/ambiente.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 110px 0 120px;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.08rem;
    max-width: 620px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.25s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral), var(--orange));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange), var(--coral));
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* SEÇÕES GERAIS */
.section {
    padding: 84px 0;
}

.section-light {
    background: var(--bg-soft);
}

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 46px;
}

.section-title h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 14px;
    font-weight: 600;
}

.section-title p {
    color: var(--muted);
    font-weight: 400;
}

/* ABOUT */
#sobre {
    padding-top: 40px;
    padding-bottom: 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-image {
    min-height: 380px;
    background: url('../asset/img/about/equipe.jpg') center center / cover no-repeat;
}

.about-text h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 14px;
}

.about-points {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.about-points div {
    background: var(--white);
    padding: 14px 16px;
    border-left: 4px solid var(--teal);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

/* SERVICES */
#servicos {
    padding-top: 40px;
    padding-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    border-top-color: var(--accent);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 150, 157, 0.10);
    color: var(--teal);
    font-size: 22px;
    margin-bottom: 18px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-card p {
    color: var(--muted);
    font-size: 0.96rem;
    margin-bottom: 18px;
}

.service-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coral), var(--orange));
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    transition: 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--orange), var(--coral));
}

/* SUPPORT */
#apoio {
    background: #ffffff;
    padding-top: 30px;
    padding-bottom: 40px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.support-item {
    background: var(--white);
    text-align: center;
    padding: 26px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-bottom: 3px solid rgba(123, 99, 241, 0.16);
    transition: 0.25s ease;
}

.support-item:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--accent);
}

.support-item h4 {
    color: var(--blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.support-item p {
    color: var(--muted);
    font-size: 0.93rem;
}

/* DIVIDER */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            rgba(138, 15, 104, 0.25),
            transparent);
    margin: 40px 0;
}

/* PARTNERS */
#parceiros {
    padding-top: 10px;
    padding-bottom: 50px;
}

.partners-section {
    background: var(--white);
    overflow: hidden;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: partnersScroll 28s linear infinite;
}

.partner-logo {
    flex: 0 0 auto;
    width: 190px;
    height: 95px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    padding: 18px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    opacity: 1;
    transition: 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.03);
}

@keyframes partnersScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* CONTACT */
.contact-section {
    padding: 50px 0 70px;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f6fb 14%, #f9f6fb 100%);
    border-top: 1px solid rgba(138, 15, 104, 0.08);
    overflow: hidden;
}

.contact-title {
    text-align: center;
    margin-bottom: 42px;
}

.contact-title h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-title p {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.08rem;
}

.contact-container,
.contact-info,
.contact-form {
    min-width: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.75;
    font-size: 1.08rem;
}

.contact-form {
    background: #f8eef7;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(138, 15, 104, 0.08);
    width: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.contact-form label {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #d8d8d8;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(123, 99, 241, 0.14);
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-btn {
    margin-top: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 15px 18px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--teal), var(--accent));
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, var(--primary), #6f2ae6);
    padding: 70px 0 25px;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 60px;
}

.footer-column h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 600;
}

.footer-column p,
.footer-links a {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.90);
    text-align: justify;
}

.footer-column p {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: 0.3s;
}

.footer-links a:hover {
    color: #9ff3f1;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: var(--coral);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* WHATSAPP */
.whatsapp-button {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: 0.25s ease;
}

.whatsapp-button:hover {
    transform: scale(1.08);
    background: #20ba5a;
}

.whatsapp-button i {
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
}

/* SCROLL TO TOP BUTTON */
#scrollToTopBtn {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 62px;
    height: 62px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 998;
    transition: 0.25s ease;
}

#scrollToTopBtn:hover {
    transform: scale(1.08);
    background: var(--primary-dark);
}

#scrollToTopBtn i {
    color: white;
    font-size: 24px;
    line-height: 1;
}

/* TABLET */
@media (max-width: 980px) {

    .about-grid,
    .services-grid,
    .support-grid,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        gap: 18px;
    }
}

/* MOBILE */
@media (max-width: 760px) {
    .container {
        width: calc(100% - 24px);
    }

    .strategic-partners-card {
        border-radius: 16px;
    }

    .navbar {
        min-height: 82px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo img,
    .logo-sapicolegio,
    .logo-psicosapi {
        height: 48px;
        width: auto;
    }

    .logo-separator {
        font-size: 1.5rem;
        margin: 0 6px;
    }

    nav {
        margin-left: 0;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1101;
        font-size: 2rem;
        color: var(--primary);
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        display: none;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(138, 15, 104, 0.08);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        display: block;
    }

    .nav-cta {
        display: inline-flex;
        width: auto;
        font-size: 1rem;
        padding: 12px 20px;
    }

    .nav-cta:hover {
        transform: none;
    }

    .nav-links a.nav-cta {
        white-space: nowrap;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 8px 0 0 14px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 0;
        white-space: normal;
    }

    .hero {
        padding: 48px 0 56px;
        min-height: auto;
    }

    .section,
    .contact-section {
        padding: 66px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .eyebrow {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .hero p {
        font-size: 0.98rem;
        line-height: 1.55;
        margin: 0 auto 18px;
        max-width: 100%;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .about-grid,
    .services-grid,
    .support-grid,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 300px;
    }

    .contact-container {
        gap: 24px;
    }

    .contact-form {
        padding: 22px;
        border-radius: 14px;
    }

    .contact-form textarea {
        min-height: 140px;
    }

    .contact-title h2 {
        font-size: 2.1rem;
    }

    .contact-title p,
    .contact-info p,
    .contact-form label,
    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .contact-btn {
        font-size: 1rem;
    }

    .contact-info,
    .contact-form {
        overflow-wrap: break-word;
    }

    .footer-column h3 {
        font-size: 1.6rem;
    }

    .partners-section {
        padding: 40px 0 60px;
    }

    .partner-logo {
        width: 150px;
        height: 80px;
        padding: 14px;
    }

    .partner-logo img {
        max-height: 42px;
    }

    .partners-track {
        gap: 18px;
        animation: partnersScroll 20s linear infinite;
    }

    #servicos {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid .service-card:last-child {
        grid-column: auto;
    }

    .hero-title {
        white-space: normal;
        font-size: 2rem;
        line-height: 1.15;
        word-break: keep-all;
    }

    .hero-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 1.9rem;
        line-height: 1.1;
        text-align: center;
    }

    .hero-green,
    .hero-blue {
        display: block;
    }

    .testimonial-card-clean {
        flex: 0 0 260px;
    }

    .testimonials-track-clean {
        animation: scrollTestimonials 28s linear infinite;
    }
}

.about-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding-bottom: 20px;
}

.about-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.25s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

/* ABOUT PAGE */
.about-page-hero {
    padding: 90px 0 70px;
    background: linear-gradient(135deg, rgba(3, 150, 157, 0.08), rgba(138, 15, 104, 0.08));
}

.about-page-hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-page-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    color: var(--primary);
    margin-bottom: 16px;
}

.about-page-hero-content p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
}

.about-page-text h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 18px;
}

.about-page-text p {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-page-image-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-page-image-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mvv-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mvv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(3, 150, 157, 0.10);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.mvv-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.mvv-card p {
    color: var(--muted);
}

.spaces-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.space-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.space-card:hover {
    transform: translateY(-5px);
}

.space-card img,
.video-section-card video {
    width: 100%;
    display: block;
    object-fit: cover;
}

.space-card img {
    height: 320px;
}

.space-content {
    padding: 22px;
}

.space-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.space-content p {
    color: var(--muted);
    line-height: 1.7;
}

.video-section-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-section-card video {
    max-height: 520px;
    background: #000;
}

.about-page-cta {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.about-page-cta h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.about-page-cta p {
    color: var(--muted);
    margin-bottom: 22px;
    line-height: 1.7;
}

@media (max-width: 980px) {

    .about-page-grid,
    .mvv-grid,
    .spaces-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .about-page-hero {
        padding: 70px 0 50px;
    }

    .about-page-text h2,
    .about-page-cta h2 {
        font-size: 1.8rem;
    }

    .about-page-image-card img {
        min-height: 300px;
    }

    .space-card img {
        height: 240px;
    }
}

/* DROPDOWN NAV */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.8rem;
    line-height: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.25s ease;
    z-index: 1001;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 11px 18px;
    font-size: 0.94rem;
    color: var(--text);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(123, 99, 241, 0.08);
    color: var(--primary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-green {
    color: #03969d;
    /* verde da logo */
}

.hero-blue {
    color: #163f9f;
    /* azul da logo */
}

/* PARCEIROS ESTRATÉGICOS */
.partners-strategic-section {
    background: var(--white);
}

.strategic-partners-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(138, 15, 104, 0.06);

    max-width: 700px;
    /* controla o tamanho da imagem */
    margin: 0 auto;
    /* centraliza o card */
}

.strategic-partners-card img {
    width: 100%;
    height: auto;
    display: block;
}

.testimonial-card {
    transition: 0.4s ease;
    opacity: 0;
    transform: translateY(10px);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* TESTEMUNHOS CLEAN */
.testimonials-slider-clean {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

.testimonials-track-clean {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollTestimonials 40s linear infinite;
}

/* CARD */
.testimonial-card-clean {
    flex: 0 0 320px;
    background: var(--white);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.testimonial-card-clean:hover {
    transform: translateY(-5px);
}

/* TEXTO */
.testimonial-card-clean p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* NOME */
.testimonial-card-clean h4 {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ANIMAÇÃO */
@keyframes scrollTestimonials {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.testimonial-card-clean::before {
    content: "“";
    font-size: 2rem;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.testimonials-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
}

.gallery-card-body {
    padding: 16px 18px;
}

.gallery-card-body p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 760px) {
    .testimonials-gallery {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-card {
        width: 100%;
    }

    .gallery-card img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}

.video-card video {
    width: 100%;
    height: auto;
    max-height: 260px;
    border-radius: 0;
    object-fit: cover;
    display: block;
}
/* POPUP CUSTOMIZADO */
.custom-popup {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 24, 0.45);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 20px 20px;
    z-index: 3000;
}

.custom-popup.active {
    display: flex;
}

