/* ======= GLOBAL STYLES ======= */
:root {
    --primary-color: #3358ad;
    --secondary-color: #8ed7f1;
    --dark-color: #1e293b;
    --light-color: #fafcfc;
    --gray-color: #64748b;
    --gray-light-color: #e2e8f0;
    --gray-dark-color: #475569;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--gray-dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #284792;
    border-color: #284792;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--gray-light-color);
}

/* ======= HEADER ======= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    box-shadow: none;
    transition: all 0.4s ease;
}

#header.scrolled {
    background-color: #ffffff;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 80px;
    width: auto;
}

#header.scrolled .logo img {
    max-height: 80px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 500;
    color: #ffffff;
    position: relative;
}

#header.scrolled .nav-links a {
    color: var(--dark-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffffff;
    transition: var(--transition);
}

#header.scrolled .nav-links a::after {
    background-color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: #ffffff;
}

#header.scrolled .bar {
    background-color: var(--dark-color);
}

/* ======= HERO SECTION ======= */
.hero {
    background: linear-gradient(rgba(51, 88, 173, 0.9), rgba(142, 215, 241, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    animation: fadeInDown 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f1f1f1;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero .cta-buttons {
    margin-top: 40px;
}

.hero .btn {
    min-width: 220px;
}

/* ======= SERVICES SECTION ======= */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(51, 88, 173, 0.1);
    border-radius: 50%;
}

.service-card .icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
}

/* ======= ABOUT SECTION ======= */
.about {
    padding: 100px 0;
    background-color: #f8fafc;
}

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

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.credentials {
    margin: 25px 0;
    padding: 15px;
    background-color: rgba(74, 111, 220, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

/* ======= METHODOLOGY SECTION ======= */
.methodology {
    padding: 100px 0;
    background-color: #fff;
}

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

.methodology-card {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.methodology-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.methodology-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(142, 215, 241, 0.1);
    border-radius: 50%;
}

.methodology-card .icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* ======= COURSES SECTION ======= */
.courses {
    padding: 100px 0;
    background-color: #f8fafc;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.course-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.course-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--gray-dark-color);
    font-size: 0.9rem;
}

.course-details span i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
    padding: 100px 0;
    background-color: #fff;
}

.testimonials-slider {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    min-width: 100%;
    scroll-snap-align: start;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-right: 20px;
    transition: var(--transition);
}

.quote {
    margin-bottom: 20px;
}

.quote i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.quote p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.client {
    display: flex;
    align-items: center;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.client-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-light-color);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--primary-color);
}

/* ======= CTA SECTION ======= */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(51, 88, 173, 0.9), rgba(142, 215, 241, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ======= CONTACT SECTION ======= */
.contact {
    padding: 100px 0;
    background-color: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-info {
    background-color: rgba(51, 88, 173, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-info i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #25D366;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 220, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* ======= FOOTER ======= */
#footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.footer-links h4,
.footer-courses h4,
.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-courses h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li,
.footer-courses ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-courses ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-courses ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.footer-newsletter button {
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ======= ANIMATIONS ======= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= RESPONSIVE DESIGN ======= */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li a {
        color: var(--dark-color);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .courses-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Garantindo que o texto SVG seja renderizado corretamente */
.logo-text, .footer-logo-text {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
}

/* Ajuste específico para o footer */
.footer-logo svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Estilos para a logo em texto */
.logo-text-wrapper {
    display: inline-block;
    font-weight: 700;
    line-height: 1;
}

.logo-soma {
    color: #3358ad;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.logo-vitalis {
    color: #3358ad;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Aumentar o espaçamento da logo para melhor visibilidade */
.logo {
    margin-right: 20px;
}

/* Estilo da logo no footer */
#footer .logo-text-wrapper {
    margin-bottom: 15px;
}

#footer .logo-soma {
    color: #ffffff;
}

#footer .logo-vitalis {
    color: #8ed7f1;
}

/* Estilos para a seção de propósito e valores */
.purpose-values {
    margin-top: 60px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.purpose, .values {
    margin-bottom: 40px;
}

.purpose h3, .values h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.purpose h3::after, .values h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.values-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.values-list li {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.values-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.values-list p {
    margin: 0;
    flex: 1;
}

@media screen and (min-width: 992px) {
    .purpose-values {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .purpose, .values {
        margin-bottom: 0;
    }
} 