:root {
    --primary-color: #c8a279;    /* Tom dourado elegante */
    --secondary-color: #d4b08c;  /* Tom dourado mais claro */
    --text-color: #333333;
    --white: #ffffff;
    --black: #000000;
    --bege-amendoado: #FCE6C6; /* Amendoado */
    --bege-claro: #FAF3E0;    /* Caramelo */
    --beige-light: #f5f0eb;     /* Bege claro */
    --beige-medium: #e8dfd5;    /* Bege médio */
    --beige-dark: #d9cdc1;      /* Bege escuro */
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --gradient-overlay: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

/* Reset e Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu a.active {
    color: var(--primary-color);
}

/* Seções */
section {
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.hero-text-container {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-crp {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.hero-description {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Media queries para diferentes tamanhos de tela */
@media (max-width: 768px) {
    .hero {
        background-image: url('../images/hero-bg-mobile.jpg');
        background-attachment: scroll;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url('../images/hero-bg-mobile-small.jpg');
    }
}

/* Fix para iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Card com efeito de salto atualizado */
.card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
    transform-origin: center bottom;
}

.card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.card:active {
    transform: translateY(-5px) scale(0.98);
    transition: all 0.1s;
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.2) translateY(-5px);
}

.card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.card p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Botões */
.btn-primary, 
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Seção Sobre */
.sobre {
    background-color: var(--beige-light);
    position: relative;
    overflow: hidden;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-imagem {
    position: relative;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sobre-imagem:hover img {
    transform: scale(1.02);
}

.sobre-texto {
    padding: 2rem 0;
}

.sobre-subtitulo {
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.sobre-texto h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
}

.sobre-texto h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.sobre-descricao {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.destaque {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 500;
}

.formacao-info {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.formacao-lista {
    list-style: none;
    padding-left: 1.5rem;
}

.formacao-lista li {
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 1.05rem;
}

.formacao-lista li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2rem;
}

.historia-pessoal {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-top: 1rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sobre-texto {
        text-align: center;
    }

    .sobre-texto h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .historia-pessoal {
        text-align: left;
    }

    .formacao-lista {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .sobre-texto h2 {
        font-size: 2rem;
    }

    .destaque {
        font-size: 1.1rem;
    }

    .sobre-subtitulo {
        font-size: 1rem;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    margin: 20px 0;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.whatsapp-button i {
    font-size: 1.4rem;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background-color: #22c35e;
}

/* Seção Contato Atualizada */
.contato {
    background-color: var(--beige-light);
    padding: 80px 0;
}

.contato-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contato-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contato-card {
    text-align: center;
    padding: 2rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--beige-medium);
}

.contato-header {
    margin-bottom: 1.5rem;
}

.contato-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contato-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contato-card p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
}

.contato-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--beige-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contato-item:hover {
    transform: translateY(-5px);
}

.contato-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contato-texto h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contato-texto p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.contato-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--beige-medium);
}

.cta-texto {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-info-grid {
        grid-template-columns: 1fr;
    }

    .contato-container {
        padding: 1.5rem;
    }

    .contato-item {
        padding: 1rem;
    }

    .contato-header h3 {
        font-size: 1.5rem;
    }

    .cta-texto {
        font-size: 1.1rem;
    }
}

/* Cores das seções */
.especialidades {
    background-color: var(--bege-amendoado);
}

/* Também adicione um estilo para o título da seção */
.especialidades h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.5rem;
}

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* Animações */
@keyframes cardBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px) scale(1.03);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-text-container {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
    }

    .menu {
        display: none;
    }

    .menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
    }

    .whatsapp-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
}

/* Animações dos elementos hero */
.hero-subtitle { animation: fadeInUp 0.8s ease-out forwards 0.2s; }
.hero-title { animation: fadeInUp 0.8s ease-out forwards 0.4s; }
.hero-crp { animation: fadeInUp 0.8s ease-out forwards 0.6s; }
.hero-description { animation: fadeInUp 0.8s ease-out forwards 0.8s; }
.hero-buttons { animation: fadeInUp 0.8s ease-out forwards 1s; }

/* Animação inicial dos cards */
.card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Delay para cada card */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }

/* Estilo para o botão de agendamento que será usado em todas as seções */
.agendar-consulta-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 162, 121, 0.3);
    position: relative;
    overflow: hidden;
}

.agendar-consulta-btn i {
    font-size: 1.2rem;
}

.agendar-consulta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 162, 121, 0.4);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

/* Efeito de brilho */
.agendar-consulta-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.agendar-consulta-btn:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(0, 0);
}

/* Animação de pulso */
@keyframes btnPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.agendar-consulta-btn {
    animation: btnPulse 2s infinite;
}

.agendar-consulta-btn:hover {
    animation: none;
}

/* Container para centralizar o botão */
.btn-container {
    text-align: center;
    margin-top: 2rem;
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .agendar-consulta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-container {
        margin-top: 1.5rem;
    }
}

/* Botão flutuante do Instagram */
.instagram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.instagram-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Remova os estilos antigos das redes sociais */
.social-media {
    display: none;
}

/* Responsividade para o botão do Instagram */
@media (max-width: 768px) {
    .instagram-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Animação suave de pulso para o botão */
@keyframes instaPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.instagram-float {
    animation: instaPulse 2s infinite;
}

.instagram-float:hover {
    animation: none;
}

/* Adicionar foco visível para navegação por teclado */
.menu a:focus,
.btn-primary:focus,
.btn-secondary:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Melhorar contraste de texto */
:root {
    --text-color: #222222; /* Cor mais escura para melhor contraste */
}

/* Adicionar feedback visual para interações */
.card, .contato-item {
    transition: all 0.3s ease;
    position: relative;
}

.card::before,
.contato-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.card:hover::before,
.contato-item:hover::before {
    border-color: var(--primary-color);
}

/* Adicionar indicador de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Adicionar scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 1001;
}

/* Adicionar microinterações nos botões */
.btn-primary, 
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after,
.btn-secondary:active::after {
    width: 300px;
    height: 300px;
}

/* Adicionar mais breakpoints para melhor responsividade */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .card {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Menu Mobile Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
    z-index: 1000;
}

@media (max-width: 768px) {
    /* Menu Toggle */
    .menu-toggle {
        display: block;
    }

    /* Menu */
    .menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .menu a {
        display: block;
        padding: 10px;
    }

    /* Header Adjustments */
    header {
        height: 70px;
    }

    nav {
        padding: 0 20px;
        height: 70px;
    }

    .logo img {
        height: 40px;
    }

    /* General Adjustments */
    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    /* Hero Adjustments */
    .hero {
        padding-top: 70px;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Cards Adjustments */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .card {
        padding: 20px;
    }

    /* About Section Adjustments */
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    /* Contact Section Adjustments */
    .contato-container {
        padding: 20px;
        margin: 0 20px;
    }

    .contato-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Floating Buttons Adjustments */
    .whatsapp-float,
    .instagram-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 75px;
    }

    .instagram-float {
        bottom: 20px;
        right: 20px;
    }
}

/* Very Small Screens */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}