/* Estilos para o site da Clínica Mental Health */

:root {
    --primary-color: #2d5d63; /* Azul petróleo */
    --secondary-color: #a8d5c0; /* Verde água */
    --accent-color: #e27d60; /* Coral */
    --light-color: #f0f7f4;
    --dark-color: #1d3e40;
    --text-color: #333;
    --light-text: #f9f9f9;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.primary-btn:hover {
    background-color: #d06a50;
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    color: var(--light-text);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

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

/* Sobre Section */
.sobre {
    padding: 100px 0;
    background-color: var(--light-color);
}

.sobre .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sobre-content {
    flex: 1;
}

.sobre-content h2 {
    text-align: left;
}

.sobre-content h2::after {
    margin-left: 0;
}

/* Timeline Section */
.timeline {
    padding: 100px 0;
    background-color: #fff;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    top: 15px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

/* Serviços Section */
.servicos {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.servico-img {
    height: 200px;
    overflow: hidden;
}

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

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

.servico-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.servico-card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
}

/* Equipe Section */
.equipe {
    padding: 100px 0;
    background-color: #fff;
}

.equipe-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.equipe-slider::-webkit-scrollbar {
    display: none;
}

.equipe-card {
    flex: 0 0 300px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

.equipe-img {
    height: 250px;
    overflow: hidden;
}

.equipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipe-card h3 {
    padding: 20px 20px 5px;
    color: var(--primary-color);
}

.equipe-especialidade {
    padding: 0 20px;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.equipe-card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
}

.equipe-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--accent-color);
}

/* Depoimentos Section */
.depoimentos {
    padding: 100px 0;
    background-color: var(--light-color);
}

.depoimentos-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.depoimentos-slider::-webkit-scrollbar {
    display: none;
}

.depoimento-card {
    flex: 0 0 350px;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    scroll-snap-align: start;
}

.depoimento-quote {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.depoimento-texto {
    font-style: italic;
    margin-bottom: 20px;
}

.depoimento-autor {
    text-align: right;
}

.depoimentos-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: var(--light-color);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-answer {
    background-color: #fff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 20px;
}

.blog-date {
    color: #888;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

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

.blog-content p {
    margin-bottom: 15px;
}

.blog-link {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.blog-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.blog-link:hover i {
    transform: translateX(5px);
}

.blog-more {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.cta-content h2 {
    color: var(--light-text);
}

.cta-content h2::after {
    background-color: var(--secondary-color);
}

/* Typeform Style */
.typeform-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.typeform-step {
    padding: 40px;
    display: none;
}

.typeform-step.active {
    display: block;
}

.typeform-step h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.typeform-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.typeform-option {
    padding: 15px 20px;
    background-color: var(--light-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    text-align: left;
}

.typeform-option:hover {
    border-color: var(--primary-color);
    background-color: #e8f4f0;
}

.typeform-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 93, 99, 0.2);
}

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

.typeform-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.typeform-prev,
.typeform-next {
    padding: 10px 20px;
    background-color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.typeform-next {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.typeform-prev:hover {
    background-color: #e0e0e0;
}

.typeform-next:hover {
    background-color: #234a4f;
}

.typeform-progress {
    margin-top: 30px;
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.typeform-success {
    text-align: center;
}

.typeform-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.schedule-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.schedule-option input {
    width: 20px;
    height: 20px;
}

.schedule-option label {
    font-size: 1rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 80px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    color: var(--light-text);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--light-text);
    padding-left: 5px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .sobre .container {
        flex-direction: column;
    }
    
    .hero-content,
    .sobre-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .sobre-content h2,
    .sobre-content h2::after {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-icon {
        left: 6px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        transition: var(--transition);
        z-index: 1000;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .typeform-step {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.4em;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .sobre,
    .servicos,
    .timeline,
    .equipe,
    .depoimentos,
    .faq,
    .blog,
    .cta {
        padding: 60px 0;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}
