/* Estilos Gerais */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F9F0F0;
    color: #4C3C3B;
}

h1, h2, h3, h4 {
    margin: 0;
    color: #4C3C3B;
}

a {
    text-decoration: none;
    color: #4C3C3B;
}

ul {
    list-style: none;
    padding: 0;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F9F0F0;
    padding: 20px 15%;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo img {
    height: 90px;
    margin-bottom: 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: normal;
    color: #4C3C3B;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-weight: bold;
    color: #4C3C3B;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #e39499;
    text-decoration: underline;
}

.social-header {
    margin-left: 20px;
}

.instagram-icon img {
    height: 65px;
    border: 2px solid #de9395;
    border-radius: 50%;
    padding: 5px;
}

/* Seção de Destaque (Hero) */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F9F0F0;
    padding: 40px 10%;
    gap: 20px;
}

.hero-content {
    max-width: 500px;
    text-align: left;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 600;
    color: #4C3C3B;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #4C3C3B;
}

.hero-image {
    text-align: right;
}

.hero-image img {
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #F0B3B3;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #CD8586;
}

/* Seção de Serviços */
.services-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #F9F0F0;
}

.services-section h3 {
    font-size: 36px;
    color: #4C3C3B;
    margin-bottom: 10px;
}

.services-section > p {
    max-width: 850px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #4C3C3B;
}

.services-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #FFFFFF;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 350px;
}

.service-card h4 {
    color: #4C3C3B;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: disc;
    margin-left: 20px;
}

.service-card ul li {
    margin-bottom: 8px;
    color: #4C3C3B;
}

/* Seção Sobre Mim */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 15%; 
    padding-bottom: 100px;
    gap: 50px;
    background-color: #F4E8E5;
    border-bottom: 2px solid #4C3C3B;
}

.about-image {
    text-align: left;
}

.about-image img {
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}

.about-content {
    flex: 1;
    max-width: 600px;
}

.about-content h3 {
    font-size: 36px;
    color: #4C3C3B;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4C3C3B;
}

/* Footer */
.footer {
    background-color: #FFFFFF;
    padding: 60px 15% 40px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 80px; 
    margin-bottom: 20px;
}

.footer-column {
    display: flex; 
    flex-direction: column;
    min-width: 180px; 
}

.footer-column h4 {
    font-size: 20px; 
    color: #4C3C3B;
    margin-bottom: 10px;
}

/* Estilo específico para a primeira coluna do footer (Dra. Rani Aniceto) */
.footer-column:first-child h4 {
    margin-bottom: 5px; 
}

/* Container para o texto e ícone do Instagram */
.instagram-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.instagram-text {
    font-size: 16px;
    color: #4C3C3B;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-text:hover {
    color: #e39499;
}

/* Ícone do Instagram no footer */
.instagram-footer-icon img {
    height: 50px;
    width: 50px;
    display: block;
    margin-top: 0;
    border-radius: 50%;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

/* Estilo para os links de serviço */
.footer-column ul li a {
    margin-bottom: 8px;
    color: #4C3C3B;
    font-size: 15px; 
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #e39499;
    text-decoration: underline;
}

/* Estilos para parágrafos dentro das colunas (Email, Direção, Horário) */
.footer-column p {
    font-size: 15px;
    color: #4C3C3B;
    margin-bottom: 8px;
    line-height: 1.4;
}

.copyright {
    text-align: center;
    border-top: 1px solid #E0D7D5;
    padding-top: 20px;
    font-size: 14px;
    color: #4C3C3B;
}

/* Responsividade */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .nav ul {
        flex-direction: column;
        margin-top: 10px;
    }
    .hero-section, .about-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-image, .about-image {
        text-align: center;
        margin-top: 30px;
    }
    .hero-image img {
        max-width: 80%;
    }
    .services-cards {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 100%;
    }
    .footer-columns {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Botão do WhatsApp flutuante */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animação de 'sopro' */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Estilos para a Seção de Contato */
.contact-section {
    padding: 60px 15%;
    text-align: center;
    background-color: #F9F0F0;
}

.contact-section h3 {
    font-size: 42px;
    margin-bottom: 75px;
    color: #4C3C3B;
}

.contact-subtitle {
    font-size: 32px;
    font-weight: bold;
    color: #4C3C3B;
    margin-bottom: 20px;
}

/* Alterações para o alinhamento */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 80px;
    border-radius: 80px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    line-height: 1.6;
    color: #4C3C3B;
    padding-top: 0;
}

/* Estilo para os ícones de contato */
.contact-info p i {
    color: #F0B3B3;
    margin-right: 10px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

/* Estilos para os ícones no formulário */
.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    padding-right: 40px;
}

.input-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #F0B3B3;
    pointer-events: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: calc(50% - 10px);
}

.form-group.full-width {
    flex: 1 1 100%;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #4C3C3B;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #ffffff;
    font-family: inherit;
    color: #4C3C3B;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 200px;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
    background-color: #F0B3B3;
    color: #fff;
    border-radius: 5px;
    text-transform: none;
    font-weight: normal;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: #CD8586;
}

.map-container {
    margin-top: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Responsividade para a seção de contato */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 10%;
    }
    .contact-grid {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 20px;
    }
    .contact-info,
    .contact-form {
        max-width: 100%;
    }
    .form-group {
        min-width: 100%;
    }
    .submit-button {
        width: 100%;
    }
    .map-container {
        margin-top: 40px;
    }
}