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

/* VARIÁVEIS DE CORES */
:root {
    --verde-escuro: #0A3D3A;
    --verde-medio: #0F5B52;
    --verde-claro: #E8F3F1;
    --dourado: #D4AF37;
    --dourado-claro: #F4E4B3;
    --branco: #FFFFFF;
    --cinza-claro: #F8F9FA;
    --cinza-medio: #666666;
    --cinza-escuro: #333333;
}

/* ESTILOS GLOBAIS */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--cinza-escuro);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--verde-escuro);
    margin-bottom: 3rem;
    font-weight: 700;
}

/* HEADER */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 61, 58, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    width: 100px;
    max-width: 100%;
}

.logo-container a {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--branco);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--dourado);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dourado);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--branco);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* RESPONSIVE NAV-LINKS */
.nav-links.active {
    display: flex !important;
}

/* HERO SECTION */
.hero {
    margin-top: 80px;
    height: 90vh;
    background: url('imagens/background-hero-dra-cristiane-carvalho-oftalmologista-sao-luis.webp') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--branco);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 58, 0.5), rgba(15, 91, 82, 0.35));
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--dourado);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* BOTÕES */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--dourado);
    color: var(--verde-escuro);
}

.btn-primary:hover {
    background: var(--dourado-claro);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--branco);
    border: 2px solid var(--branco);
}

.btn-secondary:hover {
    background: var(--branco);
    color: var(--verde-escuro);
}

/* ESPECIALIDADES */
.especialidades {
    padding: 5rem 2rem;
    background: var(--cinza-claro);
}

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

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(10, 61, 58, 0.15);
    border-color: var(--dourado);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    overflow: hidden;
}

.card-icon-gradient {
    background: linear-gradient(135deg, var(--verde-claro) 0%, var(--dourado-claro) 100%);
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.card h3 {
    color: var(--verde-escuro);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--cinza-medio);
    line-height: 1.7;
}

/* SOBRE */
.sobre {
    padding: 5rem 2rem;
    background: var(--branco);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-texto h2 {
    color: var(--verde-escuro);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.sobre-texto p {
    color: var(--cinza-medio);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sobre-lista {
    list-style: none;
    margin: 2rem 0;
}

.sobre-lista li {
    padding: 0.7rem 0;
    color: var(--verde-escuro);
    font-weight: 500;
}

.sobre-lista li:before {
    content: "✓ ";
    color: var(--dourado);
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.sobre-imagem {
    position: relative;
}

.imagem-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(10, 61, 58, 0.1), rgba(212, 175, 55, 0.1));
    backdrop-filter: blur(5px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(212, 175, 55, 0.3);
}

.imagem-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* NÚMEROS */
.numeros {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--verde-claro) 0%, var(--dourado-claro) 100%);
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.numero-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: transform 0.3s;
}

.numero-item:hover {
    transform: scale(1.05);
}

.numero-valor {
    font-size: 3rem;
    color: var(--verde-escuro);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.numero-label {
    color: var(--cinza-medio);
    font-size: 1.1rem;
}

/* TRATAMENTOS */
.tratamentos {
    padding: 5rem 2rem;
    background: var(--branco);
}

.tratamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tratamento-card {
    background: rgba(232, 243, 241, 0.5);
    backdrop-filter: blur(5px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
    border-left: 4px solid var(--dourado);
}

.tratamento-card:hover {
    background: var(--verde-claro);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(10, 61, 58, 0.1);
}

.tratamento-card h4 {
    color: var(--verde-escuro);
    font-size: 1.2rem;
}

.tratamentos-cta {
    text-align: center;
}

/* DIFERENCIAIS */
.diferenciais {
    padding: 5rem 2rem;
    background-image: url('imagens/diferenciais-background-dra-cristiane-carvalho-oftalmologista.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: var(--branco);
}

.diferenciais-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 58, 0.4), rgba(15, 91, 82, 0.25));
    backdrop-filter: blur(3px);
}

.diferenciais .section-title {
    color: var(--branco);
    position: relative;
    z-index: 1;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.diferencial-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    color: var(--cinza-escuro);
    transition: all 0.3s;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.diferencial-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--dourado);
}

.diferencial-box h3 {
    color: var(--verde-escuro);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* DEPOIMENTOS */
.depoimentos {
    padding: 5rem 2rem;
    background: var(--cinza-claro);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.depoimentos-cta {
    text-align: center;
}

.depoimento {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s;
}

.depoimento:hover {
    transform: translateY(-5px);
}

.depoimento:before {
    content: '"';
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: Georgia, serif;
}

.depoimento-texto {
    color: var(--cinza-medio);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.depoimento-autor {
    color: var(--verde-escuro);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.depoimento-estrelas {
    color: var(--dourado);
    font-size: 1.2rem;
}

/* LOCALIZAÇÃO */
.localizacao {
    padding: 5rem 2rem;
    background: var(--branco);
}

.localizacao-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.enderecos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.endereco-item {
    padding: 1.5rem;
    background: rgba(232, 243, 241, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border-left: 4px solid var(--dourado);
    transition: all 0.3s;
}

.endereco-item:hover {
    background: var(--verde-claro);
    transform: translateX(5px);
}

.endereco-item h4 {
    color: var(--verde-escuro);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.endereco-item p {
    color: var(--cinza-medio);
    line-height: 1.6;
}

.mapa-placeholder {
    background: linear-gradient(135deg, rgba(232, 243, 241, 0.8), rgba(212, 175, 55, 0.3));
    backdrop-filter: blur(5px);
    border-radius: 20px;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-escuro);
    font-size: 1.2rem;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

/* CTA FINAL */
.cta-final {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--verde-medio) 100%);
    color: var(--branco);
    text-align: center;
}

.cta-final h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.convenios {
    margin-top: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* FOOTER */
.footer {
    background: var(--verde-escuro);
    color: var(--branco);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dourado);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.5rem 0;
}

.footer-section a {
    color: var(--branco);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--dourado);
}

.footer-crm {
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .logo-container {
        width: 100px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(10, 61, 58, 0.98);
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
    }

    .localizacao-grid {
        grid-template-columns: 1fr;
    }

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

    .cards-grid,
    .tratamentos-grid {
        grid-template-columns: 1fr;
    }
}