:root {
    --primary-color: #E25822;
    --secondary-color: #F4A228;
    --dark-color: #2C2C2C;
    --light-bg: #FAF8F5;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

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

/* Header */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}











.logo-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    flex-shrink: 0;
}







nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(226, 88, 34, 0.88), rgba(244, 162, 40, 0.85)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1350&q=80') center/cover;
    color: var(--white);
    text-align: center;
    padding: 110px 20px;
}

.hero h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

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

/* Seções Gerais */
section {
    padding: 60px 0;
    text-align: center;
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--secondary-color);
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

.servicos .cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary-color);
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    transition: transform 0.3s;
}

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

.card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.btn-instagram {
    display: inline-block;
    margin-top: 15px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
}

footer p {
    margin-bottom: 5px;
    opacity: 0.9;
}
/* Logo usando imagem direta */



/* Logo usando imagem direta */





.logo-icon-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img-exact {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-title {
    color: #E25822;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    color: #E25822;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.2;
    letter-spacing: 3.5px;
    margin-top: 3px;
    text-transform: uppercase;
}
/* Hero com texto de alto contraste e legibilidade */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), linear-gradient(135deg, rgba(226, 88, 34, 0.9), rgba(244, 162, 40, 0.85)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1350&q=80') center/cover;
    color: #FFFFFF;
    text-align: center;
    padding: 110px 20px;
}

.hero h2 {
    color: #FFFFFF !important;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero h2 strong {
    color: #FFE600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero p {
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 28px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
/* ==========================================
   SEÇÃO CONHEÇA A CLÍNICA (SLIDER / CARROSSEL)
   ========================================== */
.estrutura {
    background-color: var(--white);
    padding: 70px 0;
}

.section-desc {
    max-width: 720px;
    margin: 10px auto 35px auto;
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.slider-wrapper {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 10px;
}

.slider-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background: #000;
}

.slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 10;
    max-height: 520px;
    background: #111;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
    color: #FFFFFF;
    padding: 28px 20px 14px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: all 0.25s ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #DDD;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: #BBB;
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .slide {
        aspect-ratio: 4 / 3;
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }

    .slide-caption {
        font-size: 14px;
        padding: 20px 12px 10px;
    }
}

/* ==========================================
   AJUSTES DE RESPONSIVIDADE (MOBILE / TABLET)
   ========================================== */

@media (max-width: 768px) {
    /* Cabeçalho e Logo */
    header {
        padding: 10px 15px !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .logo-container {
        gap: 8px !important;
    }

    .logo-img-exact {
        height: 40px !important;
    }

    .brand-title {
        font-size: 18px !important;
    }

    .brand-subtitle {
        font-size: 8px !important;
        letter-spacing: 2px !important;
    }

    /* Menu de Navegação */
    nav ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 0 !important;
    }

    nav ul li a {
        font-size: 14px !important;
    }

    /* Banner Principal (Hero) */
    .hero {
        padding: 60px 15px !important;
    }

    .hero h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .hero p {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .hero .btn, .btn-whatsapp {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
    }

    /* Seções e Grids */
    section {
        padding: 40px 15px !important;
    }

    .services-grid, .features-grid, .grid-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Prevenção de rolagem horizontal */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }
}
/* ==========================================
   CORREÇÃO DO CABEÇALHO MOBILE (HEADER CLEAN)
   ========================================== */

@media (max-width: 768px) {
    header {
        padding: 12px 10px !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .logo-container {
        justify-content: center !important;
        width: 100% !important;
    }

    .logo-img-exact {
        height: 38px !important;
    }

    .brand-title {
        font-size: 17px !important;
    }

    .brand-subtitle {
        font-size: 8px !important;
        letter-spacing: 2px !important;
    }

    /* Ajuste do Menu para não quebrar linhas desordenadas */
    nav {
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    nav ul {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        list-style: none !important;
    }

    nav ul li a {
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 4px 6px !important;
        display: inline-block !important;
    }

    /* Botão de Agendar no topo */
    header .btn-whatsapp, header .btn {
        width: 90% !important;
        max-width: 280px !important;
        font-size: 14px !important;
        padding: 10px 16px !important;
        text-align: center !important;
    }
}