:root {

    --primary-color: #41ACA9; 
    --primary-hover: #2e8b88; 
    
   
    --bg-calm: #DFE1E1;
    --bg-light: #f4f6f6; 


    --text-gray: #908F8F;
    

    --white: #FFFFFF;


    --text-dark: #333333; 
    --whatsapp-green: #25D366;
    --whatsapp-dark: #1da851;
    --spacing-section: 80px;
    --radius-md: 12px;
    --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 14px 30px rgba(0,0,0,0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 999px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-placeholder {
    height: 60px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
}

.logo-placeholder img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.hero {
    background: linear-gradient(rgba(65, 172, 169, 0.9), rgba(46, 139, 136, 0.9));
    color: var(--white);
    padding: 80px 0;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 0 30px 0;
    opacity: 0.95;
    font-weight: 600;
}

.hero-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1 1 50%;
    text-align: left;
}

.hero-image {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    .hero-row {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-image img {
        max-width: 90%;
    }
}

.why-us {
    padding: var(--spacing-section) 0;
    background-color: var(--white);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-light);
    border: 1px solid var(--bg-calm);
    border-radius: var(--radius-md);
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.before-after {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-calm);
    text-align: center;
}

.ba-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: start;
}

.ba-placeholder {
    width: 100%;
    background-color: #eee;
    border: 3px dashed var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    padding: 0;
}

.ba-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.ba-placeholder img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.ba-card {
    background: transparent;
    padding: 8px;
    border-radius: 6px;
    display: block;
    width: 100%;
    align-self: stretch;
}

.ba-pair {
    display: flex;
    gap: 10px;
    width: 100%;
}

.ba-img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #eee;
    background: #fafafa;
    min-height: 120px;
    overflow: hidden; 
    display: block;
}

.ba-img img {
    width: 100% !important; 
    height: auto !important; 
    max-height: none;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 600px) {
    .ba-container {
        grid-template-columns: 1fr;
    }
    .ba-pair {
        flex-direction: column;
    }
    .ba-img img {
        height: auto;
    }
}

.ba-image-real {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: none; 
}

.treatments {
    padding: var(--spacing-section) 0;
    background-color: var(--white);
}

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

.treatment-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--bg-calm);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.treatment-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.treatment-card h3 {
    margin-bottom: 15px;
    color: #2c3e50; 
}

.treatment-card ul {
    list-style: none;
    margin-top: 15px;
}

.treatment-card ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.treatment-card ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.team {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-calm);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.doctor-img-placeholder {
    width: 100%;
    height: 280px;
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    position: relative;
}

.doctor-img-placeholder i {
    font-size: 4rem;
    opacity: 0.6;
}

.doctor-info {
    padding: 20px;
}

.doctor-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.doctor-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonials {
    padding: var(--spacing-section) 0;
    background-color: var(--white);
    text-align: center;
}

.testimonial-box {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--bg-calm);
    box-shadow: var(--shadow-soft);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: var(--text-gray);
}

.faq {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-calm);
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-gray);
}

.contact-alt {
    padding: var(--spacing-section) 0 18px;
    background-color: var(--white);
}

.contact-alt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}

.contact-alt-card {
    background-color: var(--bg-light);
    border: 1px solid var(--bg-calm);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-alt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.contact-alt-card i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-alt-card h3 {
    margin-bottom: 6px;
    color: var(--primary-color);
}

.contact-alt-card p {
    color: var(--text-gray);
    font-weight: 700;
}

.location-short {
    padding: 0 0 10px;
    margin-bottom: 8rem;
    background-color: var(--white);
}

.location-short-card {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-light);
    border: 1px solid var(--bg-calm);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.location-short-card i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 3px;
}

.location-short-card h3 {
    color: var(--primary-color);
    margin-bottom: 2px;
}

.location-short-card p {
    color: var(--text-gray);
    margin-bottom: 6px;
}

.location-short-card a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.location-short-card a:hover {
    text-decoration: underline;
}

.final-cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.final-cta h2 {
    margin-bottom: 20px;
}

.final-cta p {
        color: var(--white);
        opacity: 0.9;
}

footer {
    background-color: #2c3e50; 
    color: #ccc;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }

    .btn-cta {
        width: 100%;
        max-width: 100%;
        padding: 12px 18px;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .logo-placeholder {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-row {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    .hero-content {
        width: 100%;
    }
    .hero-image {
        width: 100%;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    .contact-alt-grid {
        grid-template-columns: 1fr;
    }
    .location-short-card {
        flex-direction: column;
        gap: 8px;
    }
    .ba-container {
        grid-template-columns: 1fr;
    }

    .team-grid {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .doctor-card {
        width: 100%;
        max-width: 360px;
    }

    .testimonial-box {
        padding: 24px;
    }

    .final-cta {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-section: 40px;
    }
    body {
        font-size: 15px;
    }
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .section-title h2 {
        font-size: 1.4rem;
    }

    .btn-cta {
        font-size: 0.95rem;
        padding: 10px 14px;
    }

    .logo-placeholder img {
        max-height: 40px;
    }

    .doctor-img-placeholder {
        height: 220px;
    }

    .features-list .feature-item,
    .treatment-card,
    .faq-item {
        padding: 12px;
    }
}

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

/* Pequenas melhorias táteis */
.btn-cta { touch-action: manipulation; }