/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4d7d8b;
    --secondary-color: #84d9ec;
    --accent-color: #2c5f6b;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* Navigation */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    height: 80px;
    gap: 2rem;
}

.nav-logo {
    justify-self: start;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu-center {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-cta {
    justify-self: end;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.btn-cotacao {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.btn-cotacao i {
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Logo grande no hero */
.hero-logo-large {
    margin-bottom: 2rem;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Formulário no Hero */
.hero-form-section {
    position: relative;
    z-index: 2;
}

.hero-form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-form .form-group {
    margin-bottom: 1rem;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(77, 125, 139, 0.1);
}

.hero-form textarea {
    resize: vertical;
    min-height: 80px;
}

.hero-btn {
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1.2rem;
    width: 100%;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Imagem da família */
.hero-image-family {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.3;
}

.family-image {
    max-width: 600px;
    height: auto;
    border-radius: 16px 16px 0 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

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

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Planos de Saúde */
.planos-saude {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.plano-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.plano-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.plano-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.plano-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plano-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

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

.plano-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.plano-features {
    list-style: none;
}

.plano-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.plano-features i {
    color: var(--primary-color);
}

/* Operadoras */
.operadoras {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.operadoras-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.operadoras-logos {
    display: flex;
    justify-content: center;
    align-items: center;
}

.operadoras-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.operadoras-image:hover {
    transform: scale(1.02);
}

/* Seguros */
.seguros {
    padding: 80px 0;
}

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

.seguro-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

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

.seguro-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.seguro-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.seguro-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.seguro-features {
    list-style: none;
}

.seguro-features li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.seguro-features li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Benefícios */
.beneficios {
    padding: 80px 0;
    background: var(--light-bg);
}

.beneficios-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.beneficio-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.beneficio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.beneficio-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.beneficio-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

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

.whatsapp-float i {
    font-size: 1.8rem;
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Botão de Cotação em Outros Seguros (Estilo igual ao Cotar Agora) */
.plano-cta-seguro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.5rem;
    margin-top: auto; /* Empurra o botão para o final do card */
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.plano-cta-seguro:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.plano-cta-seguro span {
    font-size: 1rem;
}

.plano-cta-seguro i {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cotacao-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .planos-grid {
        grid-template-columns: 1fr;
    }
    
    .seguros-grid {
        grid-template-columns: 1fr;
    }
    
    .operadoras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .operadoras-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Mensagens de Feedback */
.mensagem-sucesso,
.mensagem-erro {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

.mensagem-sucesso {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.mensagem-erro {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.mensagem-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mensagem-content i {
    font-size: 1.5rem;
}

.mensagem-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.mensagem-content p {
    margin: 0;
    font-size: 0.9rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Link ativo no menu */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Melhorias no menu mobile */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Botão de submit com loading */
.btn:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Melhorias na responsividade */
@media (max-width: 768px) {
    .mensagem-sucesso,
    .mensagem-erro {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .mensagem-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsividade para o novo layout */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-form-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-logo-img {
        height: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .family-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-logo-img {
        height: 80px;
    }
    
    .hero-form-container {
        padding: 1.5rem;
    }
    
    .hero-image-family {
        display: none;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .operadoras-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-form-container {
        padding: 1rem;
    }
    
    .operadoras {
        padding: 2rem 1rem;
    }
    
    .operadoras-title {
        font-size: 1.5rem;
    }
}

/* Responsividade para o novo menu */
@media (max-width: 1024px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
    
    .nav-menu-center {
        gap: 1.5rem;
    }
    
    .btn-cotacao {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
    }
    
    .nav-menu-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu-center.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .nav-toggle {
        display: flex;
        grid-column: 2;
        justify-self: center;
    }
    
    .nav-cta {
        grid-column: 3;
    }
    
    .btn-cotacao {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    .btn-cotacao span {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo .logo {
        height: 40px;
    }
    
    .btn-cotacao {
        padding: 0.4rem 0.8rem;
    }
    
    .btn-cotacao i {
        font-size: 0.8rem;
    }
}

/* Carrossel de Imagens no Hero */
.hero-carousel-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Carrossel de Operadoras */
.operadoras-carousel {
    margin-top: 3rem;
    text-align: center;
}

.operadoras-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.logos-carousel {
    overflow: hidden;
    padding: 1rem 0;
}

.logos-track {
    display: flex;
    animation: scroll-logos 20s linear infinite;
    gap: 2rem;
}

.logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.operadora-logo {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pausar animação no hover */
.logos-carousel:hover .logos-track {
    animation-play-state: paused;
}

/* Seção de Cotação */
.cotacao-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cotacao-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.cotacao-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(77, 125, 139, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* CTA nos cards de planos */
.plano-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(77, 125, 139, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.plano-card:hover .plano-cta {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.plano-card {
    cursor: pointer;
    transition: var(--transition);
}

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

/* Responsividade para carrosséis */
@media (max-width: 768px) {
    .hero-carousel-container {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .image-carousel {
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cotacao-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .logo-item {
        width: 120px;
        height: 60px;
    }
    
    .operadora-logo {
        max-width: 120px;
        max-height: 60px;
    }
}

/* Animações de entrada */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Mensagens de sucesso e erro */
.mensagem-sucesso,
.mensagem-erro {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

.mensagem-sucesso {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.mensagem-erro {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.mensagem-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Estilos para a seção de contato redesenhada */
.contato {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contato-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Grid de cards de contato */
.contato-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contato-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.contato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.contato-icon i {
    font-size: 1.5rem;
    color: white;
}

.contato-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contato-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.contato-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contato-link:hover {
    color: var(--secondary-color);
}

/* Seção do Instagram */
.contato-social-section {
    margin: 3rem 0;
}

.instagram-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instagram-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.instagram-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.instagram-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.instagram-stats span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.instagram-stats strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.3);
    color: white;
}

.instagram-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.instagram-preview {
    width: 100%;
    height: auto;
    display: block;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-image:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    font-size: 3rem;
    color: white;
}

/* CTA final */
.contato-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    border-radius: 20px;
    color: white;
}

.cta-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .instagram-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .instagram-stats {
        justify-content: center;
    }
    
    .contato-cta {
        padding: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
}contato-cta p {
    margin: 0 0 2rem 0;
    opacity: 0.9;
}

.contato-cta .btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.contato-cta .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsividade para contato */
@media (max-width: 768px) {
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contato-item {
        padding: 1rem;
    }
    
    .contato-cta {
        padding: 1.5rem;
    }
}


/* Estilos para os novos seguros - Padronização de ícones brancos */
.seguro-card .fa-mobile-alt,
.seguro-card .fa-paw {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Padronização de todos os ícones dos seguros para branco */
.seguro-card .seguro-icon i {
    color: #ffffff !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Melhor alinhamento dos cards de seguros */
.seguros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Garante que todos os cards tenham a mesma altura */
}

.seguro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%; /* Garante altura uniforme */
}

.seguro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.seguro-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-bottom: 1.5rem;
}

.seguro-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.seguro-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Permite que o texto ocupe o espaço disponível */
}

.seguro-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.seguro-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.seguro-features li i {
    color: var(--primary-color) !important;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}



/* Carrossel de Operadoras - Loop Infinito */
.logos-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.logos-track {
    display: flex;
    width: fit-content; /* Permite que o track cresça com os logos duplicados */
    animation: scroll-left 30s linear infinite;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 150px; /* Largura de cada logo */
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    filter: none; /* Removido filtro de escala de cinza */
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.05); /* Efeito de hover */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move metade do track (logos originais) */
    }
}

/* Responsividade para o carrossel de logos */
@media (max-width: 768px) {
    .logo-item {
        width: 120px;
        height: 60px;
    }
    .logos-carousel {
        padding: 1rem 0;
    }
}


/* ===== ESTILOS PARA AS NOVAS MODIFICAÇÕES ===== */

/* Estilos para nomes dos hospitais no carrossel */
.hospital-name {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(77, 125, 139, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Ajustes para o carrossel de hospitais */
.carousel-slide {
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Estilos para o logotipo do Instagram ajustado */
.instagram-preview-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.instagram-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Ajustes para alinhamento dos cards de seguros */
.seguros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.seguro-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.seguro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(77, 125, 139, 0.15);
}

.seguro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4d7d8b, #84d9ec);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.seguro-icon i {
    font-size: 32px;
    color: white !important;
}

/* Padronização dos ícones para branco */
.seguro-card .seguro-icon i {
    color: white !important;
}

/* Estilos para informações de contato no footer */
.footer-contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-info p {
    margin: 8px 0;
    color: #b0b0b0;
    font-size: 14px;
}

.footer-contact-info a {
    color: #84d9ec;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: white;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .hospital-name {
        font-size: 12px;
        padding: 6px 12px;
        bottom: 15px;
    }
    
    .instagram-preview-logo {
        width: 40px;
        height: 40px;
        top: 10px;
        left: 10px;
        padding: 5px;
    }
    
    .seguros-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seguro-card {
        padding: 20px;
    }
    
    .seguro-icon {
        width: 60px;
        height: 60px;
    }
    
    .seguro-icon i {
        font-size: 24px;
    }
}

/* ===== ESTILOS PARA AS ÚLTIMAS MODIFICAÇÕES ===== */

/* Chamada Consórcio */
.consorcio-chamada {
    background: linear-gradient(135deg, #4d7d8b 0%, #84d9ec 100%);
    padding: 40px 0;
    text-align: center;
    color: white;
}

.consorcio-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.consorcio-content h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.consorcio-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-consorcio {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-consorcio:hover {
    background: white;
    color: #4d7d8b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-consorcio i {
    font-size: 1.1rem;
}

/* Responsividade para a chamada de consórcio */
@media (max-width: 768px) {
    .consorcio-chamada {
        padding: 30px 0;
    }
    
    .consorcio-content h3 {
        font-size: 1.5rem;
    }
    
    .consorcio-content p {
        font-size: 1rem;
    }
    
    .btn-consorcio {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .consorcio-content h3 {
        font-size: 1.3rem;
    }
    
    .consorcio-content p {
        font-size: 0.9rem;
    }
}
