/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f8f6;
    color: #1c1c1c;
    line-height: 1.6;
}

/* Header */
header {
    background-color: white;
    padding: 5px 0;
    border-bottom: 2px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    width: 200px;
    height: auto;
}

.btn-fale-conosco {
    background: #1c2c3a;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

/* Hero Section */
.hero-img-wrapper {
    margin-top: 80px; /* Espaço para o header fixo */
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    margin: 0 auto;
}

.hero-texto {
    flex: 1;
    color: white;
}

.hero-texto h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero-texto p {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero {
        background-size: contain;
        background-position: center top;
        min-height: 0vh;
        width: 68%;
    }
}

/* Carrossel de Tratamentos */
.tratamentos-carrossel {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.tratamentos-carrossel h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.carrossel-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.carrossel-tratamentos {
    display: flex;
    gap: 100px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.card {
    flex: 0 0 300px;
    border-radius: 15px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    scroll-snap-align: start;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.card-info {
    padding: 15px;
    text-align: left;
}

.card-info h3 {
    font-size: 1.1rem;
    color: #1c2c3a;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.card-info p {
    font-size: 0.9rem;
    color: #555;
}

/* Setas do Carrossel */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 0;
}

.arrow.right {
    right: 0;
}

/* Seção de Profissionais (Novo CSS) */
.profissionais-container {
    padding: 60px 20px;
    background-color: white;
}

.profissionais-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.card-profissional {
    background-color: black;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
}

.img-profissional {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    display: block;
}

.titulo-profissional {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fefeff;
}

.desc-profissional {
    font-size: 0.875rem;
    color: #f8f9fa;
    margin-top: 0.25rem;
}

/* Localização */
.localizacao {
    background: #f9f8f6;
    padding: 60px 20px;
}

.localizacao-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.local-texto {
    flex: 1;
}

.local-texto h2 {
    font-size: 1.8rem;
    color: #1c2c3a;
    margin-bottom: 20px;
}

.local-texto p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn {
    background-color: #7ed957;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.local-imagem {
    flex: 1.2;
    text-align: center;
}

.local-imagem img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

/* Instagram */
.instagram-destaques-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 20px;
    background-color: #f9f8f6;
}

.instagram-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 350px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}
.instagram-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.instagram-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 3.8em;
}

.instagram-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-insta-grande {
    background-color: #7DDE5C;
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.btn-insta-grande:hover {
    background-color: #68c149;
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background-color: #1c2c3a;
    color: #faf7f7;
    text-align: center;
}

.footer-bottom {
    padding: 20px;
}

/* Media Queries (Melhorias) */
@media (min-width: 768px) {
    .profissionais-lista {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .carrossel-tratamentos {
        gap: 20px;
    }

    .img-profissional {
        height: auto;
        max-height: 250px;
    }
    
    .localizacao-content {
        flex-direction: column;
        text-align: center;
    }
    
    .local-texto {
        order: 2; /* Move o texto para baixo em mobile */
    }
    
    .local-imagem {
        order: 1; /* Move a imagem para cima em mobile */
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 0 10px;
    }

    .logo {
        width: 150px;
    }

    .btn-fale-conosco {
        padding: 8px 16px;
        font-size: 12px;
    }

    .localizacao-content .local-texto .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
        white-space: normal;
    }
    
    .local-imagem img {
        max-width: 80%;
        margin-top: 20px;
    }
}