/* Variáveis CSS */
:root {
    --primary-color: #238cbf;
    --secondary-color: #41494e;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --accent-color: #8eccea;
    --hover-color: #175e81;
    --greenColor: #76a04e;

    --primaryOrange: #d17547;
    --secundaryOrange: #e75a18;
    --font-main: "Poppins", serif;
    --font-heading: "Montserrat", serif;
    --font-Detals: "Sour Gummy", sans-serif;

    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /*#e75a18, #D17547,#76a04e,#b82454 */
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    width: 100%;
    color: var(--dark-color);
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    letter-spacing: 1px;
    cursor: default;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.highlight {
    color: var(--primaryOrange);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 20px;
    position: relative;
}

.btn i {
    margin-left: 10px;
}

.btn::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    border-radius: 50%;
    display: block;
    width: 0%;
    height: 100%;
    text-align: center;
    z-index: -1;
    background: linear-gradient(to left, var(--primaryOrange), var(--secundaryOrange));
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    transition:
        width 0.4s linear,
        height 0.4s linear;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

/* Header */
header {
    background-color: transparent;
    position: sticky;
    width: 100%;
    height: 90px;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.header-scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: var(--secundaryOrange);
}

.nav-links a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.menu-button {
    display: none;
    cursor: pointer;
}

.menu-button i {
    width: 25px;
    height: 3px;
    margin: 5px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.menu-button i:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5)), url('./assets/slider_2.jpg') top/cover no-repeat;*/
    background:
        linear-gradient(to bottom, transparent, var(--light-color)),
        top/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding: 120px 0;
    position: relative;
}

.hero-content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    position: relative;
    max-width: 100%;
    position: relative;

    /*margin: 0;*/
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 100;
    left: 0;
    width: 100%;
}

/*desativado*/
.hero-content .carousel {
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 100;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
    text-shadow: 0px 0px 50px #ffffff79;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    width: 100%;
}
.highlight {
    background: linear-gradient(to right, var(--primaryOrange), var(--secundaryOrange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-shadow: 0px 0px 50px #ffffff79;
    max-width: 90%;
}
.hero-text .highlight {
    margin: 0;
    padding: 0;
}

/*services-highlight*/
.services-highlight {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    padding: 20px;
}
.services-highlight .container {
    display: flex;
    width: 90%;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.services-highlight .container ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-self: center;
    text-align: center;
    gap: 40px;
}

.services-highlight .container ul li {
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: circle;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    position: relative;
}

.services-highlight .container ul li::before {
    content: "";
}
.services-highlight .container ul li img {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;

    position: absolute;
    left: -20px;
    top: 0;
}

/* Sobre Section */
.about {
    background: linear-gradient(to top, var(--hover-color), var(--primary-color));
}

.about-content {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 50px;
    width: 100%;
    height: 100%;
}
.about .section-title {
    color: var(--light-color);
}

.about-img {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 50%;
    height: 100%;
}

.about-text {
    display: flex;
    align-items: start;
    justify-content: center;
    width: 50%;
    flex-direction: column;
}

.about-text h3 {
    background-color: var(--light-color);
    padding: 10px 20px;
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    font-size: 20px;
}

.about-text .btn {
    margin-top: 20px;
}

.about-text div {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    color: var(--light-color);
}

.about-text h2 {
    margin-bottom: 0;
    padding: 0;
    color: var(--light-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-color);
}

/* Serviços Section 
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 30px #238bbf6b;
    background-color: var(--primary-color);
    color: #fff;

}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.service-card:hover .service-icon{
    background-color: var(--light-color);
    color: var(--primary-color);
} 

.service-card h3 {
    margin-bottom: 15px;
}

.service-card:hover h3{
    color: var(--light-color);
} 
*/

/*neuropsychological-assessment*/
.neuropsychological-assessment {
    background-color: var(--light-color);
    padding: 50px 0;
    margin: 0px auto;
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-items: center;
    border-radius: 10px;
}

.neuropsychological-texts {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    width: 100%;
    margin: 30px auto;
}

.neuropsychological-texts .left-texts {
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: left;
    gap: 20px;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.neuropsychological-texts .left-texts h2 {
    color: var(--secondary-color);
    text-align: left;
    margin: 0;
    max-width: 1200px;
}
.neuropsychological-texts .left-texts h2:after {
    margin-left: 0%;
}

.neuropsychological-texts .btn {
    margin-top: 20px;
    text-align: center;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuropsychological-texts .avaliation-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.neuropsychological-texts .card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.neuropsychological-texts .card:hover {
    transform: translateY(-10px);
    box-shadow: 1px 2px 30px #238bbf63;
}

.neuropsychological-texts .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--hover-color));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--light-color);
}

.neuropsychological-texts.card h3 {
    font-size: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}
.neuropsychological-assessment ul {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    margin: 0 auto;
    padding: 20px 015px;
}
.neuropsychological-assessment ul li {
    list-style: url("../assets/icone-front.svg");
    font-weight: 500;
    color: var(--secondary-color);
}

/*neuro-assessment*/

.neuro-assessment {
    background: linear-gradient(135deg, #fff, var(--light-color));
    padding: 80px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.neuro-assessment .section-title {
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.neuro-assessment .container {
    height: 100%;
}

.neuro-assessment .neuro-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
}

.neuro-assessment .image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 15px;
    width: 50%;
    height: 100%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.11);
}
.neuro-assessment .highlight-image {
    width: 100%;
    height: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
}
.neuro-assessment .highlight-image:hover {
    transform: scale(1.05);
}

.neuro-assessment ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    width: 50%;
    margin: 0 auto;
    padding: 20px 015px;
}
.neuro-assessment ul li {
    list-style: url("../assets/icone-front.svg");
    list-style: none;
}

.neuro-assessment .paragraph {
    font-size: 20px;
    margin-bottom: 20px;
    max-width: 700px;
    line-height: 1.6;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 400;
    background: transparent;
    padding: 10px 25px;
    box-shadow: 0 0 10px #238bbf49;
    border-radius: 20px;
    transition: all 0.4s linear;
}

.neuro-assessment .paragraph:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.neuro-assessment .btn {
    max-width: 90%;
}

/*avliation section*/
.section-avaliantion {
    padding: 80px 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 100%;
}

.section-avaliantion .container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section-avaliantion p {
    color: var(--secondary-color);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0;
}

.avaliantion-list{
    background-color: var(--light-color);
    border-radius: 5px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.avaliantion-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.avaliantion-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.avaliantion-list li:last-child {
    border-bottom: none;
}

.avaliantion-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
    mask-size: cover;
    -webkit-mask-size: cover;
}

.motivos-list li.secondary {
    padding-left: 60px;
    color: var(--light-color);
}

.motivos-list li.secondary:before {
    left: 35px;
    background-color: var(--accent-color);
    width: 14px;
    height: 14px;
    top: 17px;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z'/%3E%3C/svg%3E");
}

/* Processo Section */
.process {
    background-color: #fff;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}
.timeline h3 span {
    color: var(--primary-color);
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--hover-color));
    top: 0px;
    bottom: 0;
    left: 50%;
    margin-left: 0px;
    margin-right: 0px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--light-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

/* differences container */

.differences {
    display: flex;
    width: 100%;
    height: 80vh;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--hover-color), var(--primary-color));
}

.differences-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: row;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.differences-texts {
    display: flex;
    align-items: right;
    justify-content: right;
    text-align: right;
    gap: 10px;
    flex-direction: column;
    width: 60%;
}

.differences-texts h2 {
    color: var(--light-color);
    text-align: right;
    margin: 0;
}
.differences-texts p {
    color: var(--light-color);

    margin: 0;
}
.differences-texts .section-title:after {
    text-align: right;
    margin-right: 0%;
}

.differences-img {
    width: 40%;
    margin-left: 10px;
}
.differences-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Depoimentos Section */
.testimonials {
    background-color: var(--light-color);
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonials .container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.testimonials p {
    color: var(--secondary-color);
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.testimonials .section-title {
    margin: 20px 0;
}

.testimonials-texts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    max-width: 100%;
}

.testimonials p:nth-child(1) {
    font-size: 17px;
    font-weight: 600;
    max-width: 80%;
}
.testimonials .link-avaliation:hover {
    text-decoration: underline;
}

.testimonials-slider {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.testimonial-slide {
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: none;
    background-color: #f3efef;
}

.testimonial-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 70%;
    height: 70%;
    border-radius: 10px;
    padding: 10px 30px;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    color: var(--secondary-color);
    font-weight: 300;
    letter-spacing: 0.4px;
    padding: 10px;
    font-weight: 300;
}

/*.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}*/

.testimonial-author {
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(to left, var(--primary-color), var(--hover-color));
    color: var(--light-color);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 5px 20px;
    border-radius: 10px;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(142, 68, 173, 0.3);
    margin: 0 5px;
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/*history
.history{
    background-color:var(--light-color);
    padding: 20px 0;
    margin: 50px auto;
    width: 90%;
    height: 60%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.history h2{
    color:var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.history .container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    max-width: 100%;
}
.history-content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    max-width: 100%;
}

.history-content p{
    text-align: center;
    margin-bottom: 20px;
    max-width: 80%;
    color:var(--secondary-color);
    font-size: 15px;
}

.history a{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    background-color:var(--secondary-color);
    color: var(--light-color)
}
*/

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    background-color: var(--light-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--light-color);
    line-height: 1.7;
    font-size: 16px;
    color: var(--secondary-color);
}

.faq-answer.active {
    padding: 10px 20px;
    max-height: 500px;
}

.faq-icon {
    transition: var(--transition);
}

.faq-icon.rotate {
    transform: rotate(180deg);
}

/*instagram-section*/

.instagram-section {
    width: 100%;
    height: 100%;
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--accent-color), var(--light-color));
}
/*.instagram-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(193, 53, 132, 0.1) 0%, rgba(193, 53, 132, 0) 70%);
    z-index: 0;
}*/

.instagram-section .section-title {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
}
.instagram-section .section-title::after {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.instagram-section .container {
    height: 100%;
}

.instagram-section .instagram-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.instagram-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: 100%;
    max-width: 800px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.instagram-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.instagram-profile .profile-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}

.profile-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #c13584;
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #222;
}

.profile-info .username {
    font-size: 18px;
    color: #c13584;
    font-weight: 500;
    margin: 0 0 15px;
}

.profile-info .bio {
    font-size: 15px;
    line-height: 1.6;
    color: var(--secondary-color);
    margin: 0;
}

.instagram-section .btn::after {
    width: 100%;
    height: 0%;
    transition: box-shadow linear 2s;
}

.instagram-section .btn::after {
    background: linear-gradient(to right, #580ece, #b80ece, #e78f2b);
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.356);
}
.instagram-section .btn:hover::after {
    width: 100%;
    height: 100%;
    transition:
        width 0.4s linear,
        height 0.4s linear;
}

/* Contato Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.contact-info .social-links a:hover {
    background-color: var(--primaryOrange);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.location-map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Footer */

footer {
    padding: 10px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--secondary-color);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primaryOrange);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
}
.social-icon:hover i {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-whatsapp {
    position: fixed;
    z-index: 999;
    right: 24px;
    bottom: 14px;
}
.btn-whatsapp img {
    max-width: 50px;
    transition: transform 0.4s;
}
.btn-whatsapp img:hover {
    transform: scale(1.1);
}

.btn-whatsapp .tooltip-text {
    visibility: hidden;
    position: absolute;
    width: 130px;
    top: 0px;
    left: -144px;
    padding: 6px;
    border-radius: 8px;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--light-color);
    opacity: 0;
    transition: opacity 0.4s;
    font-size: 13px;
}

.btn-whatsapp:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/*navbar mobile*/
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.527);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.background.active {
    opacity: 1;
    visibility: visible;
}

.navbar-mobile {
    position: fixed;
    right: -300px;
    top: 0px;
    width: 300px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--hover-color));
    opacity: 1;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.123);
    transition: all 0.5s cubic-bezier(0, -0.55, 0.27, 0);
    z-index: 100;
}

.navbar-mobile div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
}
.navbar-mobile.active {
    right: 0;
}

.navbar-mobile .nav-links-mobile {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    margin: 70px 0;
    padding: 20px 0;
    gap: 20px;
    text-align: center;
}

.navbar-mobile div .social-links {
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-mobile .nav-links-mobile li a {
    color: #fff;
    font-size: 17px;
}

.navbar-mobile .nav-links-mobile li a:hover {
    color: var(--secondary-color);
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary-color);
}
.navbar-mobile .social-links a {
    color: #fff;
    font-size: 30px;
    transition: all 0.3s;
    padding: 30px;
}

/* Responsividade */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-img,
    .about-text {
        flex: none;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .services-highlight .container ul {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
    }

    .hero-text {
        max-width: 100%;
        text-align: left;
        align-items: start;
        justify-content: center;
    }
    .hero-text h1 {
        text-align: left;
    }

    .hero-content .carousel {
        width: 100%;
        height: 100%;
    }

    .testimonials {
        height: 100%;
    }

    .testimonial-slide.active {
        width: 90%;
        height: 70%;
    }

    .neuropsychological-texts {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .neuropsychological-texts .avaliation-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    .instagram-profile {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .instagram-profile .profile-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        margin: 0 auto;
        overflow-x: hidden;
    }

    .nav-links {
        display: none;
    }

    .menu-button {
        display: block;
        cursor: pointer;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 90px;
        height: auto;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
    }

    /*.hero-text{
        top: 50%;
        left: 20%;
        margin: 0 auto;
        width: 40%;
    }*/

    .location-map {
        width: 100%;
        height: 400px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .services-highlight {
        height: 100%;
        padding: 30px 0;
    }
    .services-highlight ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .history {
        width: 100%;
        height: 100%;
        margin: auto;
    }

    .history p {
        max-width: 100%;
        font-size: 13px;
    }
    .history h2 {
        margin: 0px;
    }

    .differences {
        height: 100%;
    }

    .differences-container {
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 0;
    }
    .differences-texts {
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    .differences-texts h2 {
        text-align: center;
    }

    .differences-img {
        width: 100%;
        margin-left: 0px;
        margin-top: 10px;
    }

    .differences-texts .section-title:after {
        text-align: right;
        margin: 15px auto;
    }

    .neuropsychological-texts {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .neuropsychological-texts .left-texts {
        width: 100%;
    }

    .testimonial-slide.active {
        width: 90%;
        height: 70%;
    }

    .testimonial-text {
        font-size: 15px;
    }
    .testimonial-author {
        font-size: 14px;
    }

    .testimonials p {
        font-size: 13px;
    }

    .neuro-assessment .neuro-content {
        flex-direction: column;
        gap: 20px;
    }
    .neuro-assessment .image-wrapper {
        width: 70%;
    }
    .neuro-assessment ul {
        width: 100%;
    }
    .neuro-assessment .paragraph {
        font-size: 17px;
        max-width: 100%;
        height: 200%;
        padding: 25px 25px;
    }

    .process {
        padding: 0;
        padding-top: 80px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 15px;
    }
    .instagram-section {
        padding: 60px 0;
    }

    .profile-image img {
        width: 100px;
        height: 100px;
    }

    .profile-info h3 {
        font-size: 1.5rem;
    }

    .profile-info .username {
        font-size: 1rem;
    }

    .instagram-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }


    .section-avaliantion{
        padding: 50px 0;
    }
    .avaliantion-list {
        padding: 25px;
    }
    


@media (max-width: 576px) {
    .section-title {
        font-size: 1.2rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo img {
        height: 40px;
    }

    .testimonials {
        height: 100%;
    }

    .testimonial-slide.active {
        width: 90%;
        height: 100%;
    }
}

}