/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a68b7c;
    --bg-color: #fdf5e6;
    --text-color: #4a4a4a;
    --white: #ffffff;
    --accent-color: #8c7365;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

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

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

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-color);
    letter-spacing: 4px;
    text-align: center;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: url('https://static.wixstatic.com/media/c946d6_b1acb751cf3c4894be38d793dff72789~mv2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    font-style: italic;
}

/* Quote Section */
#quote {
    padding: 80px 0;
    background-color: #fff9f0;
    text-align: center;
}

#quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
}

#quote cite {
    display: block;
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-color);
    font-style: normal;
}

/* Sobre Section */
#sobre {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.crp {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #888;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 15px 15px 0 var(--primary-color);
}

/* Áreas de Atuação */
#atuacao {
    padding: 100px 0;
    background-color: #f7efe4;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.atuacao-item {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    transition: 0.3s;
    border-bottom: 5px solid transparent;
}

.atuacao-item:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.atuacao-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Clínica */
#clinica {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contato */
#contato {
    padding: 100px 0;
    background-color: #f0e6d6;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contato-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.btn-whatsapp {
    display: inline-block;
    padding: 15px 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
}

.map-placeholder {
    height: 100%;
    background-color: #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Footer */
footer {
    padding: 60px 0;
    background-color: var(--bg-color);
    border-top: 1px solid #e0d0c0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left p, .footer-right p {
    font-size: 0.9rem;
}

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    margin-right: 20px;
    font-size: 0.8rem;
    text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.whatsapp-float img {
    width: 35px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .about-grid, .contato-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.2rem;
    }
}

/* Mobile: menos espaço entre seções */
@media (max-width: 768px) {
    #sobre, #atuacao, #clinica, #contato {
        padding: 50px 0;
    }

    .about-grid {
        gap: 30px;
    }

    .about-image {
        margin-right: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        margin-bottom: 30px;
    }
}

/* Instagram */
.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-weight: bold;
}

.ig-link:hover {
    color: var(--primary-color);
}

.ig-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}
