/* Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f9f5;
    color: #333;
    line-height: 1.6;
}

:root {
    --verde-primario: #0f4f33;  /* verde mais escuro, próximo ao do logo */
    --verde-botao: #1b7b4b;
    --verde-claro: #e8f5e9;
    --verde-escuro: #0b3322;
    --branco: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* TOPBAR / MENU */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 51, 34, 0.98);
    color: var(--branco);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-logo-img {
    height: 36px;
    width: auto;
    border-radius: 4px;
}

.topbar-logo-text {
    font-weight: bold;
    font-size: 1rem;
}

.topbar-logo-text span {
    color: #f7d27a; /* dourado do logo */
}

.topbar-nav {
    display: flex;
    gap: 18px;
}

.topbar-nav a {
    font-size: 0.9rem;
    color: var(--branco);
    transition: color 0.3s;
}

.topbar-nav a:hover {
    color: #f7d27a;
}

.topbar-cta {
    background-color: #f7d27a;
    color: #0b3322;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
}

.topbar-cta:hover {
    filter: brightness(0.9);
}

/* HERO (Capa) */
header {
    margin-top: 50px; /* espaço por causa do menu fixo */
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), 
                url('../img/hero-fisio.jpg');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px 40px 20px;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero-title span {
    color: #4de19b;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.05rem;
    max-width: 650px;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--verde-botao);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    background-color: #155b38;
    transform: scale(1.03);
}

.cta-button-outline {
    background-color: transparent;
    border: 2px solid #f7d27a;
    color: #f7d27a;
}

.cta-button-outline:hover {
    background-color: rgba(247,210,122,0.1);
}

/* SEÇÕES GERAIS */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--verde-escuro);
    font-size: 2.1rem;
}

/* SOBRE A CLÍNICA */
.about {
    background-color: var(--branco);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text p {
    margin-bottom: 10px;
}

.about-highlight {
    font-weight: bold;
    color: var(--verde-escuro);
    margin-top: 10px;
}

.about-image {
    flex: 1;
    min-width: 280px;
    height: 360px;
    background: url('../img/sobre-fisio.jpg') center/cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ESPECIALIDADES */
.specialties {
    background-color: var(--verde-claro);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--branco);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.3rem;
    color: var(--verde-botao);
    margin-bottom: 12px;
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--verde-escuro);
}

/* ARTIGOS */
.articles {
    background-color: #ffffff;
}

.articles-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.article-card {
    background-color: #f7fbf8;
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.article-tag {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--verde-escuro);
}

.article-text {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.article-link {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--verde-botao);
}

/* Artigos página cheia */
.articles-page {
    max-width: 900px;
}

.article-full {
    background-color: #f7fbf8;
    padding: 24px 26px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.article-full h2 {
    color: var(--verde-escuro);
    margin-bottom: 10px;
}

.article-full p + p {
    margin-top: 8px;
}

/* DEPOIMENTOS */
.testimonials {
    background-color: var(--verde-claro);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--branco);
    padding: 22px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card::before {
    content: '"';
    font-size: 4.5rem;
    color: var(--verde-botao);
    opacity: 0.12;
    position: absolute;
    top: -18px;
    left: 18px;
}

.testimonial-text {
    margin-bottom: 15px;
    font-style: italic;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--verde-escuro);
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #f7c948;
    font-size: 0.9rem;
    margin-right: 6px;
}

/* CONTATO */
.contact {
    background-color: var(--verde-claro);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form {
    flex: 1;
    min-width: 280px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--verde-botao);
    margin-right: 15px;
    width: 30px;
    text-align: center;
    margin-top: 2px;
}

.info-item h4 {
    margin-bottom: 3px;
    color: var(--verde-escuro);
}

form {
    display: grid;
    gap: 12px;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--verde-botao);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #155b38;
}

/* FOOTER */
footer {
    background-color: var(--verde-escuro);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.social-links {
    margin: 18px 0;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #f7d27a;
}

.footer-small {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .topbar-nav {
        display: none; /* menu simplificado no celular */
    }

    header {
        min-height: 80vh;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-text {
        font-size: 0.98rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}
