:root {
    --primary: #006670;
    --accent: #D4B0B3;
    --accent-hover: #c49ea1;
    --bg-light: #F7F4F4;
    --text-color: #7D7D7D;
    --white: #ffffff;
    --max-width: 1280px; /* Limite largo para telas gigantes */
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* Container Largo */
.container-fluid {
    width: 85%; 
    max-width: var(--max-width);
    margin: 0 auto;
}

/* --- HEADER --- */
#main-header {
    background-color: var(--primary);
    padding: 15px 0;
    position: fixed; /* Fixo no topo */
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px; /* Ajuste conforme seu logo */
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav ul li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--accent);
}

.btn-contact {
    background-color: var(--accent);
    color: #fff; /* Contraste melhor que preto no rosa */
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-contact:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.mobile-menu-icon {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none; /* Controlado via JS */
    background-color: var(--primary);
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh; /* Tela cheia */
    background: url('../img/bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0; /* Compensa o menu fixo se necessário, mas o header é overlay? Não, header tem bg sólido. */
    padding-top: 80px; /* Espaço para o menu fixo não cobrir o conteúdo */
}

/* Overlay sutil para garantir leitura */
#hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,102,112,0.85) 0%, rgba(0,102,112,0.4) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 35px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .desktop-nav, .btn-contact {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    #hero .overlay {
        background: rgba(0,102,112,0.7); /* Fundo mais uniforme no mobile */
    }
}


/* --- SERVIÇOS GRID 4 POR LINHA --- */
.services-grid {
    display: grid;
    /* Cria 4 colunas de tamanho igual */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

/* Card com Foto */
.service-card-photo {
    background: #fff;
    border-radius: 10px;
    overflow: hidden; /* Importante para o zoom não vazar */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%; /* Para ficarem todos da mesma altura */
}

.service-card-photo:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Wrapper da imagem para controlar o zoom */
.img-wrapper {
    width: 100%;
    height: 250px; /* Altura fixa para alinhar */
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha sem distorcer */
    transition: transform 0.5s ease; /* Animação suave */
}

/* O Efeito de Zoom */
.service-card-photo:hover .img-wrapper img {
    transform: scale(1.1); /* Aumenta 10% */
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.service-card-photo:hover .btn-text {
    border-bottom-color: var(--accent);
}

/* Responsividade */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha em tablets */
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 por linha no mobile */
    }
}




/* --- PÁGINA INTERNA DE SERVIÇO --- */

/* Cabeçalho cinza/verde curto */
.page-header {
    background-color: var(--primary);
    padding: 60px 0 40px 0;
    color: var(--white);
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Grid Principal (Texto + Sidebar) */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Texto ocupa 2/3, Sidebar 1/3 */
    gap: 50px;
    padding-bottom: 80px;
    align-items: start; /* Alinha o card no topo */
}

/* Imagem Principal do Serviço */
.main-service-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.detail-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.desc-full {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

/* Área de Portfólio (Placeholder) */
.portfolio-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

.p-item {
    background-color: #ddd;
    height: 150px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 2rem;
}

/* Sidebar (Card Flutuante) */
.cta-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid var(--accent);
    position: sticky; /* Faz o card acompanhar a rolagem */
    top: 100px; 
}

.cta-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.cta-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cta-card hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.check-list {
    margin-bottom: 25px;
}

.check-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--accent);
}

.full-width {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.btn-whatsapp {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    background-color: #25D366;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: white;
}

/* Responsividade Interna */
@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr; /* Vira uma coluna só no mobile */
    }
    
    .cta-card {
        position: static; /* Remove o sticky no mobile */
    }
}






/* --- RODAPÉ --- */
#main-footer {
    background-color: var(--primary); /* #006670 */
    color: var(--white);
    padding-top: 60px;
    margin-top: auto; /* Garante que fique no final se o conteudo for curto */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent); /* #D4B0B3 */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px; /* Efeitinho de deslizar */
}

.footer-col i {
    width: 20px;
    color: var(--accent);
    margin-right: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}


/* --- SEÇÃO DE SERVIÇOS (Novo Estilo) --- */

/* Espaçamento generoso e fundo branco */
#servicos {
    padding: 140px 0;
    background-color: #ffffff;
}

/* Cabeçalho centralizado e maior */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.25rem;
    color: #7D7D7D;
    font-weight: 400;
}

/* Grid (caso não tenha definido antes) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Card cinza clarinho (#f9f9f9) */
.service-card-photo {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Efeito Hover */
.service-card-photo:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Responsividade do Grid */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    #servicos { padding: 80px 0; } /* Menor no mobile */
    .section-header h2 { font-size: 2.2rem; }
}






/* --- SEÇÃO SOBRE (MOSAICO AJUSTADO) --- */
#sobre {
    padding: 100px 0;
    background-color: var(--primary);
}

.mosaic-grid {
    display: grid;
    /* 4 Colunas iguais */
    grid-template-columns: repeat(4, 1fr); 
    /* Altura maior para caber o texto (antes era 280px) */
    grid-auto-rows: 320px; 
    gap: 20px;
}

/* Base do Item */
.mosaic-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.mosaic-item:hover img {
    transform: scale(1.1);
}

/* --- POSICIONAMENTO (TETRIS) --- */

/* 1. Texto (Ocupa metade esquerda inteira) */
.text-box {
    grid-column: span 2; /* 2 colunas de largura */
    grid-row: span 2;    /* 2 linhas de altura */
    background-color: var(--accent); /* #D4B0B3 */
    color: var(--primary); /* #006670 */
    padding: 40px 50px; /* Padding interno generoso */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza verticalmente */
}

/* 2. Imagem Alta (Coluna 3) */
.img-tall {
    grid-column: span 1;
    grid-row: span 2; /* Altura total acompanhando o texto */
}

/* 3. Imagens Quadradas (Coluna 4) */
.img-square {
    grid-column: span 1;
    grid-row: span 1;
}

/* --- ESTILO DO TEXTO --- */
.mosaic-content h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 10px;
    color: #444444; /* Um tom mais escuro para leitura */
    
}

.mosaic-content h2 {
    font-size: 2.2rem; /* Levemente menor para não estourar */
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--primary);
}

.mosaic-content p {
    font-size: 0.95rem; /* Tamanho ideal para leitura densa */
    line-height: 1.6;
    margin-bottom: 15px; /* Espaço entre parágrafos */
    font-weight: 600;
    text-align: justify; /* Alinha as laterais para ficar bloco perfeito */
    color: #444444;
}

.btn-mosaic {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    width: fit-content;
}

.btn-mosaic:hover {
    gap: 15px;
    opacity: 0.8;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no tablet */
        grid-auto-rows: 300px;
    }
    
    /* Tablet: Texto em cima full width, imagens embaixo */
    .text-box { grid-column: span 2; grid-row: auto; height: auto; padding: 40px; }
    .img-tall { grid-column: span 1; grid-row: span 2; }
    .img-square { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 600px) {
    .mosaic-grid { display: flex; flex-direction: column; }
    .mosaic-item { height: 250px; }
    .text-box { height: auto; }
}




/* --- SEÇÃO DOUTORA BRUNA --- */
#doutora {
    background-color: #ffffff; /* Fundo branco conforme pedido */
    padding: 100px 0;
    overflow: hidden;
}

.doctor-container {
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    gap: 80px; /* Espaço entre texto e foto */
}

/* Coluna de Texto */
.doctor-text {
    flex: 1;
}

.doctor-text .subtitle {
    color: var(--accent); /* Rosa/Bege */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    font-size: 0.9rem;
}

.doctor-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    line-height: 1.2;
}

.doctor-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify; /* Texto justificado fica elegante em bios */
}

/* Destaque para o parágrafo final */
.doctor-signature {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 1.1rem !important;
    margin-top: 10px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

/* Coluna da Imagem */
.doctor-img {
    flex: 0 0 450px; /* Largura fixa para a coluna da foto */
    position: relative;
}

.img-frame {
    position: relative;
    border-radius: 200px 200px 20px 20px; /* Borda arredondada em cima (Arco) */
    overflow: hidden;
    height: 600px; /* Foto bem vertical */
    box-shadow: 20px 20px 0px var(--bg-light); /* Sombra sólida decorativa */
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-frame:hover img {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 991px) {
    .doctor-container {
        flex-direction: column; /* Texto em cima, foto embaixo */
        gap: 50px;
    }
    
    .doctor-img {
        flex: none;
        width: 100%;
        max-width: 400px; /* Limita largura no mobile */
    }
    
    .img-frame {
        height: 500px;
    }
}



/* --- SEÇÃO DE FEEDBACK --- */
#feedback {
    padding: 100px 0;
    background-color: var(--bg-light); /* Fundo #F7F4F4 */
}

.feedback-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* CARD DO GOOGLE (Esquerda) */
.google-review-card {
    flex: 0 0 300px; /* Largura fixa */
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px; /* Fica fixo se tiver muitos comentários */
}

.g-logo img {
    width: 40px;
    margin-bottom: 15px;
}

.g-score .score {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

.g-score .stars {
    color: #FFB400; /* Amarelo Google */
    font-size: 1.2rem;
    margin: 10px 0 20px 0;
}

.google-review-card p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 25px;
}

.btn-google {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #555;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-google:hover {
    border-color: #4285F4; /* Azul Google */
    color: #4285F4;
    background: #fff;
}

/* GRID DE DEPOIMENTOS (Direita) */
.site-reviews-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 por linha */
    gap: 25px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary); /* Detalhe Verde no topo */
    transition: 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.review-stars {
    color: var(--accent); /* Rosa/Bege da marca para diferenciar do Google */
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.quote-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(0, 102, 112, 0.05); /* Verde bem clarinho */
}

/* Responsividade */
@media (max-width: 900px) {
    .feedback-layout {
        flex-direction: column;
    }
    
    .google-review-card {
        width: 100%;
        margin-bottom: 20px;
        position: static;
        flex: none;
    }

    .site-reviews-grid {
        grid-template-columns: 1fr; /* 1 por linha no mobile */
        width: 100%;
    }
}



/* --- SEÇÃO TECNOLOGIA (OVERLAP ELEGANCE) --- */
#tecnologia {
    background-color: var(--primary); /* Fundo Verde (#006670) */
    padding: 120px 0;
    color: var(--white);
    position: relative;
    overflow: hidden; /* Evita que decorações vazem a tela */
}

.tech-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* --- Lado da Imagem (Com efeito de profundidade) --- */
.tech-img-wrapper {
    flex: 1;
    position: relative;
    padding: 20px; /* Espaço para o elemento decorativo não cortar */
}

.tech-image-frame {
    position: relative;
    z-index: 2; /* Fica na frente da decoração */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4); /* Sombra forte para destacar do fundo escuro */
    border: 1px solid rgba(255,255,255,0.1); /* Borda sutil de vidro */
}

.tech-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.tech-img-wrapper:hover .tech-image-frame img {
    transform: scale(1.05);
}

/* Elemento Decorativo (Quadrado Rosa Vazado atrás) */
.tech-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60%;
    height: 60%;
    border: 4px solid var(--accent); /* #D4B0B3 */
    border-radius: 20px;
    z-index: 1; /* Fica atrás da foto */
    opacity: 0.6;
    transition: 0.4s;
}

/* Animaçãozinha na decoração quando passa o mouse na foto */
.tech-img-wrapper:hover .tech-decoration {
    top: -20px;
    left: -20px;
    opacity: 1;
}

/* --- Lado do Texto --- */
.tech-content {
    flex: 1;
}

.tech-tag {
    display: inline-block;
    background-color: rgba(212, 176, 179, 0.15); /* Rosa bem transparente */
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 176, 179, 0.3);
}

.tech-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--white);
}

.highlight-text {
    font-size: 1.2rem; /* Texto de destaque um pouco maior */
    color: var(--accent); /* Rosa/Bege */
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.tech-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #e0e0e0; /* Branco gelo para não cansar a vista */
}

.final-text {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin-top: 30px;
    font-style: italic;
    opacity: 0.9;
}

/* Ícones de Benefícios (Extra para quebrar o texto corrido) */
.tech-benefits {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.benefit-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

/* Responsividade */
@media (max-width: 991px) {
    .tech-container {
        flex-direction: column;
    }
    
    .tech-img-wrapper {
        width: 100%;
        order: 2; /* Joga a imagem para baixo no mobile se preferir, ou tire essa linha para manter em cima */
    }
    
    .tech-decoration {
        width: 90%; /* Ajuste decorativo mobile */
    }
}





/* --- CTA FINAL (MINIMALISMO DE IMPACTO) --- */
#cta-final {
    background: var(--accent); /* A cor base Rosa #D4B0B3 */
    /* Gradiente sutil para dar vida */
    background: linear-gradient(135deg, #d4b0b3 0%, #eacdc9 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Círculo decorativo no fundo para dar movimento */
.circle-bg {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2; /* Fica acima do círculo */
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h4 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary); /* Verde Escuro */
    margin-bottom: 20px;
    opacity: 0.8;
}

.cta-content h2 {
    font-size: 3.5rem; /* Título gigante */
    color: var(--primary);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 1.2rem;
    color: #4a4a4a; /* Cinza escuro para leitura suave no rosa */
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grupo de Botões */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botão Principal (Sólido Verde) */
.btn-leende-main {
    background-color: var(--primary);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 102, 112, 0.2); /* Sombra verde */
    transition: 0.3s;
    border: 2px solid var(--primary);
}

.btn-leende-main:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 112, 0.3);
}

/* Botão Secundário (Outline / Transparente) */
.btn-leende-outline {
    background-color: transparent;
    color: var(--primary);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary); /* Borda verde */
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-leende-outline:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-leende-main, .btn-leende-outline {
        width: 100%; /* Botões ocupam a largura toda no celular */
        justify-content: center;
    }
}


/* --- TELA DE LOGIN E CADASTRO (Split Screen) --- */
.auth-body {
    background: #fdfdfd;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.auth-left {
    flex: 1;
    background: var(--primary); /* Verde */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 40px;
    position: relative;
}

/* Efeito de sobreposição na imagem de fundo do login */
.auth-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../img/bg.png') center/cover; /* Certifique-se que bg.png existe */
    opacity: 0.2;
}

.auth-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
}

.auth-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.auth-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow-y: auto;
    background-color: var(--white);
}

.auth-box {
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Animação de troca entre Login/Cadastro */
.form-section {
    display: none;
    animation: fadeIn 0.5s;
}

.form-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--accent); /* Rosa/Bege */
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0;
}

.auth-box input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-family: 'Open Sans', sans-serif;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-auth:hover {
    background: #004d55;
    transform: translateY(-2px);
}

/* Responsividade do Login */
@media (max-width: 900px) {
    .auth-left { display: none; } /* Esconde o lado verde no mobile */
}


/* --- WIZARD DE AGENDAMENTO (Passo a Passo) --- */

.booking-container {
    max-width: 1000px;
    margin: 140px auto 80px; /* Margem topo compensando header fixo */
    display: grid;
    grid-template-columns: 350px 1fr; /* Coluna lateral fixa e conteudo fluido */
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 550px;
}

/* Lateral Esquerda (Info) */
.booking-info {
    background: var(--primary);
    color: white;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.booking-info h4 {
    opacity: 0.7;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.booking-info h2 {
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

/* Indicadores de Etapa (1, 2, 3) */
.steps {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    opacity: 0.5;
    transition: 0.3s;
    font-weight: 600;
}

.step-item.active {
    opacity: 1;
}

.step-num {
    width: 35px;
    height: 35px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
}

.step-item.active .step-num {
    background: var(--accent);
    color: var(--primary);
}

/* Lateral Direita (Formulário) */
.booking-form {
    padding: 50px;
    position: relative;
}

.booking-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Inputs do Agendamento */
.booking-form select, 
.booking-form input[type="date"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: 0.3s;
    background: #fff;
    margin-top: 5px;
    cursor: pointer;
}

.booking-form select:focus, 
.booking-form input:focus {
    border-color: var(--primary);
}

/* Grid de Horários */
.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto; /* Scroll se tiver muitos horários */
}

.time-slot {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.95rem;
    background: #fff;
}

.time-slot:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0fdfd;
}

.time-slot.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 102, 112, 0.3);
}

.time-slot.disabled {
    background: #eee;
    color: #bbb;
    cursor: not-allowed;
    border-color: #eee;
    text-decoration: line-through;
}

/* Botão Confirmar */
.btn-confirm {
    background: var(--accent);
    color: var(--primary);
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    margin-top: 40px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #c49ea1;
}

/* Responsividade do Agendamento */
@media (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr; /* Vira coluna única */
        margin-top: 100px;
    } 
    
    .booking-info {
        padding: 30px;
        flex-direction: row; /* Passos ficam horizontais ou ocultos se preferir */
        align-items: center;
        flex-wrap: wrap;
    }
    
    .steps {
        display: none; /* Esconde os passos numéricos no mobile para economizar espaço */
    }
    
    .time-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}




/* --- PÁGINA DE PERFIL DO CLIENTE --- */

.profile-container {
    max-width: 1100px;
    margin: 140px auto 60px; /* Margem topo ajustada para o header fixo */
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    padding: 0 20px;
}

/* Card Lateral (Dados Pessoais) */
.profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 120px; /* Fica fixo ao rolar */
}

.profile-avatar {
    width: 110px;
    height: 110px;
    background: var(--accent); /* Rosa */
    color: var(--primary); /* Verde */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(212, 176, 179, 0.4);
}

.profile-name { 
    font-size: 1.4rem; 
    color: var(--primary); 
    margin-bottom: 5px; 
    font-weight: 800;
}

.profile-email { 
    font-size: 0.9rem; 
    color: #888; 
    margin-bottom: 30px; 
}

.info-list { 
    text-align: left; 
    margin-top: 25px; 
    border-top: 1px solid #eee; 
    padding-top: 25px; 
}

.info-item { 
    margin-bottom: 18px; 
    font-size: 0.95rem; 
    display: flex;
    align-items: flex-start;
}

.info-item i { 
    color: var(--primary); 
    width: 25px; 
    margin-top: 3px;
}

.info-item span { 
    display: block; 
    font-weight: 700; 
    color: #555; 
    word-break: break-word;
}

.btn-logout {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    border-radius: 50px;
    margin-top: 30px;
    transition: 0.3s;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-logout:hover { 
    background: #ff6b6b; 
    color: white; 
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Área Principal (Listas de Agendamento) */
.appointments-section {
    margin-bottom: 50px;
}

.appointments-section h2 { 
    font-size: 1.6rem; 
    color: var(--primary); 
    margin-bottom: 25px; 
    border-left: 5px solid var(--accent); 
    padding-left: 20px; 
    font-weight: 800;
}

/* Card de Agendamento */
.appointment-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-left: 6px solid #ccc; /* Cor padrão */
    transition: 0.3s;
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Cores da borda lateral baseadas no status */
.status-Pendente { border-left-color: #f1c40f; } 
.status-Confirmado { border-left-color: #2ecc71; } 
.status-Concluído { border-left-color: var(--primary); } 
.status-Cancelado { border-left-color: #e74c3c; opacity: 0.7; } 

.app-date { 
    text-align: center; 
    margin-right: 30px; 
    min-width: 70px; 
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
}

.app-day { 
    display: block; 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: var(--primary); 
    line-height: 1; 
}

.app-month { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    color: #888; 
    font-weight: 700;
    margin-top: 5px;
    display: block;
}

.app-details { flex: 1; }

.app-service { 
    font-size: 1.2rem; 
    font-weight: 800; 
    color: #333; 
    margin-bottom: 8px; 
}

.app-time { 
    font-size: 0.95rem; 
    color: #666; 
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Badges de Status */
.app-status {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-Pendente { background: #fef9e7; color: #f1c40f; }
.badge-Confirmado { background: #eafaf1; color: #2ecc71; }
.badge-Cancelado { background: #fdedec; color: #e74c3c; }
.badge-Concluído { background: #e8f6f3; color: var(--primary); }

/* Estado Vazio */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    color: #999;
    background: #fff;
    border-radius: 16px;
    border: 2px dashed #eee;
}

/* Responsividade */
@media (max-width: 900px) {
    .profile-container { grid-template-columns: 1fr; margin-top: 120px; }
    .profile-card { position: static; margin-bottom: 30px; }
    
    .appointment-card { 
        flex-direction: column; 
        text-align: center; 
        gap: 20px; 
        border-left: none; /* Remove borda lateral no mobile */
        border-top: 6px solid #ccc; /* Passa pra cima */
    }
    
    .status-Pendente { border-top-color: #f1c40f; } 
    .status-Confirmado { border-top-color: #2ecc71; } 
    .status-Concluído { border-top-color: var(--primary); } 
    .status-Cancelado { border-top-color: #e74c3c; }
    
    .app-date { margin: 0; width: 100%; display: flex; justify-content: center; gap: 10px; align-items: center; }
    .app-day { font-size: 1.5rem; }
    .app-month { margin-top: 0; }
    
    .app-time { justify-content: center; flex-direction: column; gap: 5px; }
}