/* ======================================================
   CONFIGURAÇÕES GLOBAIS
====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #d6336c;
    --primary-dark: #b12b5a;
    --light: #f4f5f7;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-400: #999;
    --text-dark: #333;
    --text-light: #666;
    --success: #d4edda;
    --success-text: #155724;
    --danger: #e74c3c;
    --danger-dark: #c0392b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ======================================================
   MENU / TOPO
====================================================== */
.topo {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 10px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 300;
}

/* ======================================================
   BANNER HERO
====================================================== */
.banner {
    position: relative;
    height: 90vh;
    overflow: hidden;
    margin: 0;       /* garante que não haja margem externa */
    padding: 0;      /* garante que não haja padding interno */
}


.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.banner-texto {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.banner-texto h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-texto p {
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 40px;
    background: var(--primary);
    color: var(--white);
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* ======================================================
   SEÇÕES E CARDS
====================================================== */
section {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.cards {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,.12);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.card p {
    color: var(--text-dark);
    font-size: 1rem;
}

/* PERFIL DO PROFISSIONAL */
.perfil-profissional {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.perfil-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 300px;
}

.perfil-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.perfil-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.perfil-card p {
    color: var(--text-dark);
    font-size: 1rem;
}

/* ======================================================
   FORMULÁRIO MARCAÇÃO
====================================================== */
.form-marcacao .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-marcacao input,
.form-marcacao textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.form-marcacao button {
    width: 100%;
}

/* ======================================================
   RODAPÉ
====================================================== */
.rodape {
    padding: 20px;
    background: var(--gray-100);
    text-align: center;
    margin-top: 40px;
}

/* ======================================================
   RESPONSIVO
====================================================== */
@media(max-width:768px){
    .banner-texto h1 { font-size: 2.2rem; }
    .banner-texto p { font-size: 1rem; }
    section h2 { font-size: 2rem; }

    .logo-img { width: 40px; height: 40px; }
    .menu-toggle { display: block; z-index: 300; }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 70px; /* altura aproximada do topo */
        right: 0;
        background: var(--white);
        width: 200px;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
        transition: all 0.3s ease;
        z-index: 200;
    }

    .nav-links.active { display: flex; }

    .perfil-profissional {
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================================
   SLIDER DE COMENTÁRIOS
====================================================== */
#comentarios-slider {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
}

#comentarios-slider .slider {
    position: relative;
    overflow: hidden;
    height: 180px;
}

#comentarios-slider .slide {
    display: none;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    text-align: left;
    transition: all 0.3s ease;
}

#comentarios-slider .slide h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

#comentarios-slider .slide .estrelas {
    color: #f5b301;
    font-weight: bold;
}

#comentarios-slider .slide p {
    font-size: 1rem;
    color: var(--text-dark);
}

#comentarios-slider .slide small {
    color: #555;
}

#comentarios-slider .slider-controls {
    margin-top: 15px;
}

#comentarios-slider .slider-controls button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    margin: 0 5px;
    transition: background 0.3s;
}

#comentarios-slider .slider-controls button:hover {
    background: var(--primary-dark);
}

/* RESPONSIVO DO SLIDER */
@media (max-width: 768px) {
    #comentarios-slider .slider {
        height: auto;
    }
}
