/* --- Variáveis de Cores (Baseadas na Logo Ortoimplantare) --- */
:root {
    --primary-color: #4B3621; /* Marrom Café (Texto Logo) */
    --accent-color: #BFA078;  /* Dourado/Areia (Flor Logo) */
    --accent-light: #F4EFE6;  /* Fundo suave baseado no dourado */
    --white: #ffffff;
    --text-color: #333333;
    --whatsapp-green: #25D366; /* Verde Padrão WhatsApp */
    --whatsapp-dark: #128C7E;
}

/* --- Reset Básico e Evitar Barras de Rolagem --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Garante que nada passe da largura da tela */
}

/* Regra geral para evitar distorção em qualquer imagem do site */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Botões --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Header --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    nav { display: none; } /* Esconde menu no mobile para focar no botão */
    .header-content .btn {
        padding: 8px 16px; /* Botão ligeiramente menor no mobile */
        font-size: 0.9rem;
    }
}

/* --- Hero Section --- */
.hero {
    padding: 60px 0;
    background: linear-gradient(to right, #fff 50%, var(--accent-light) 50%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-image {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.image-placeholder img {
    width: 100%;
    max-width: 500px;
    height: auto; 
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero { background: var(--white); padding: 40px 0; }
    .hero-content { flex-direction: column-reverse; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text { text-align: center; }
    .image-placeholder img { max-width: 350px; } 
}

/* --- Tech Section (Scanner) --- */
.tech-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.tech-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tech-info { flex: 1; }
.tech-visual { flex: 1; }

.tech-info h2 { color: var(--accent-color); margin-bottom: 20px; }
.tech-info p { margin-bottom: 20px; color: #e0e0e0; }

.tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.benefit-list { list-style: none; }
.benefit-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.benefit-list i { color: var(--accent-color); }

@media (max-width: 768px) {
    .tech-content { flex-direction: column; text-align: center; }
    .benefit-list li { justify-content: center; text-align: left; }
}

/* --- Services --- */
.services { padding: 80px 0; text-align: center; }
.section-header { margin-bottom: 50px; }
.section-header p { color: #666; max-width: 600px; margin: 10px auto 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; 
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); }

.icon-card {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.card p { font-size: 0.9rem; color: #666; }

.other-services { margin-top: 40px; color: #777; font-size: 0.9rem; }

/* --- About --- */
.about { padding: 80px 0; background-color: var(--accent-light); }
.about-content { display: flex; align-items: center; gap: 50px; }
.about-image { flex: 1; }
.about-text { flex: 1; }
.about-text p { margin-bottom: 20px; color: #555; }

@media (max-width: 768px) {
    .about-content { flex-direction: column; text-align: center; }
}

/* --- Footer --- */
footer {
    background: #2a1e1a; 
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
}

.footer-info h3 { color: var(--accent-color); margin-bottom: 10px; }

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.copyright { text-align: center; font-size: 0.8rem; }

@media (max-width: 768px) {
    .footer-content { flex-direction: column; text-align: center; gap: 30px; }
}

/* --- WhatsApp Flutuante --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Ajuste do botão do WhatsApp para telas menores (Mobile) */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}