/* ===================================
   Reset & Base Styles
   =================================== */

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

:root {
    --primary-color: #00bcd4;
    --secondary-color: #0097a7;
    --accent-color: #ff9800;
    --dark-blue: #1e3a5f;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --success: #4caf50;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.highlight-text {
    color: var(--gray-light);
}

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

.mt-4 {
    margin-top: 2rem;
}

/* ===================================
   Header
   =================================== */

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-consultorio:hover {
    background: var(--gray-light);
}

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

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

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    line-height: 1.2;
}

.logo-miury {
    font-size: 1.8rem;
    color: var(--dark-blue);
}

.logo-saude {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-light);
}

.logo-subtitle .highlight {
    color: var(--accent-color);
    font-weight: 800;
}

/* Search Bar */
.search-bar {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--gray-medium);
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center; /* centraliza os itens horizontalmente */
    flex-wrap: wrap; /* permite quebra em telas pequenas */
}

/* Ajuste o espaçamento dos links para melhor toque em mobile */
.nav-menu a {
    padding: 8px 12px;
    white-space: nowrap; /* evita quebra do texto */
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu a {
    border: none;
    display: block;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M25 75L50 25L75 75" stroke="white" stroke-width="2" fill="none" opacity="0.05"/></svg>');
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 30px;
}

.hero-services {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.hero-services h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.hero-services ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-services li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.hero-services i {
    color: var(--success);
    font-size: 1.2rem;
}

.hero-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.icon-item {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* ===================================
   Why Choose Section
   =================================== */

.why-choose {
    padding: 80px 0;
    background: var(--gray-light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Plans Section
   =================================== */

.plans {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.plan-name {
    color: var(--primary-color);
    font-size: 2.2rem;
    display: block;
}

.plan-features {
    margin: 30px 0;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 2px;
}

.plan-price {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 2px solid var(--gray-medium);
    border-bottom: 2px solid var(--gray-medium);
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    vertical-align: top;
}

.plan-price .value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.plan-price .period {
    font-size: 1.2rem;
    color: var(--text-light);
}

.plan-price .consultation {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-plan {
    display: block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* ===================================
   Specialties Section
   =================================== */

.specialties {
    padding: 80px 0;
    background: var(--white);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.specialty-card {
    background: var(--gray-light);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.specialty-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.specialty-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.specialty-card:hover i {
    color: var(--white);
}

.specialty-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===================================
   Benefits Section
   =================================== */

.benefits {
    padding: 80px 0;
    background: var(--gray-light);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.benefit-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

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

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

.benefits-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   WhatsApp Float Button
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
}

/* ===================================
   Buttons
   =================================== */

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {

    .nav-menu {
        gap: 15px;
    }
    .nav-menu a {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
    .navbar-content {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }
    
    /* .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    } */
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .specialties-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .logo-miury,
    .logo-saude {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .btn-plan,
    .btn-cta {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}
