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

:root {
    --blue-dark: #164a7c;
    --blue-light: #2874b4;
    --orange: #eb5d2a;
    --red-alert: #e74c3c;
    --text-dark: #333;
    --text-gray: #666;
    --bg-light: #f9f9f9;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* ========================================= */
/* CABEÇALHO TOPO COM LOGO MAIOR             */
/* ========================================= */
.top-header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 20;
}

.header-logo img {
    height: 100px; 
}

.header-emergency {
    color: var(--red-alert);
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-emergency span {
    font-weight: normal;
    font-size: 1.5rem;
}

/* ========================================= */
/* NAVEGAÇÃO AJUSTADA COM HOVER VERMELHO     */
/* ========================================= */
.top-nav {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.15); 
    padding: 15px 50px;
    z-index: 10;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

/* TODOS os links da NavBar (incluindo o Contratar) */
.top-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
    opacity: 1; /* Garante que o botão nunca suma */
}

/* Hover vermelho para todos os links */
.top-nav a:hover,
.top-nav a.active {
    color: var(--red-alert);
}

/* Navegação com links escuros quando não tem vídeo de fundo escuro por trás */
.nav-dark a {
    color: var(--text-dark);
    text-shadow: none;
    font-weight: 600;
}
.nav-dark {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px 50px;
    position: relative; 
}

/* ========================================= */
/* HERO SECTION & VÍDEO                      */
/* ========================================= */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    background-color: #164a7c; 
    background-image: url('../img/image_d71c81.jpg'); 
    background-size: cover;
    background-position: center;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.hero-card {
    background: white;
    width: 90%;
    max-width: 1100px;
    margin-top: -80px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    z-index: 2;
    overflow: hidden;
}

.card-logo {
    padding: 30px;
    width: 30%;
    text-align: center;
}

.card-logo .logo-icon {
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.card-logo h2 {
    color: var(--blue-dark);
    font-size: 1.2rem;
}

.card-logo hr {
    border: 1px solid var(--orange);
    width: 60%;
    margin: 15px auto;
}

.card-features {
    background: var(--blue-light);
    color: white;
    padding: 30px;
    width: 40%;
    display: flex;
    align-items: center;
}

.card-features ul {
    list-style: none;
}

.card-features li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
    font-size: 0.9rem;
}

.card-contacts {
    padding: 30px;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.contact-btn.phone i {
    color: #25D366;
    font-size: 1.5rem;
}

.contact-btn.email i {
    color: var(--blue-light);
    font-size: 1.5rem;
}

/* Intro Section */
.intro {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.intro-image img {
    width: 300px;
    border-radius: 5px;
}

.intro-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Services Grid */
.bg-light {
    background-color: var(--bg-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 15px;
}

.service-item h4 {
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Pricing Card */
.pricing-card {
    background: var(--blue-dark);
    color: white;
    border-radius: 10px;
    display: flex;
    padding: 40px;
    align-items: center;
}

.price-left {
    width: 40%;
    border-right: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.price-left h3 {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price-left span {
    font-size: 3rem;
    font-weight: bold;
}

.price-right {
    width: 60%;
    padding-left: 40px;
}

.price-right ul {
    list-style: none;
    margin-bottom: 20px;
}

.price-right li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
    font-size: 0.85rem;
}

.more-info {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
}

.pricing-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

/* ========================================= */
/* BOTÕES GLOBAIS UCM                        */
/* ========================================= */

/* Botão Azul Escuro do Pricing (Contratar Plan) */
.btn-contratar-plan {
    background-color: var(--orange);
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-contratar-plan:hover {
    background-color: var(--red-alert);
    color: white;
}

/* Botões da Página Contratar */
.btn-red-action {
    display: inline-block;
    background-color: var(--red-alert);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}
.btn-red-action:hover { background-color: #c0392b; color: white;}

.btn-blue-action {
    display: inline-block;
    background-color: #0088cc; 
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-blue-action:hover { background-color: #006699; color:white; }

.btn-white-action {
    display: inline-block;
    background-color: white;
    color: #0088cc;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}
.btn-white-action:hover { background-color: #f1f1f1; }

/* About Section */
.about {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
}

/* Coverage */
.coverage {
    text-align: center;
}

.coverage h3 {
    margin-bottom: 20px;
}

.coverage p {
    margin-bottom: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ========================================= */
/* CONTACT SECTION                           */
/* ========================================= */
.contact-section {
    background-image: url('../img/team.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0; 
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 1;
}

.contact-overlay {
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2; 
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95); 
    padding: 30px;
    border-radius: 5px;
    width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
}

.form-header h2 {
    color: var(--blue-dark);
    font-size: 1.8rem;
}

.form-header p {
    color: var(--blue-light);
    font-weight: bold;
}

.form-header hr {
    border: 1px solid var(--blue-light);
    margin: 10px 0 20px 0;
}

form label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff; 
}

form button {
    width: 100%;
    padding: 12px;
    background: var(--blue-dark);
    color: white;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
}

.contact-text {
    color: white;
    max-width: 500px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6); 
}

.contact-text h2 {
    font-size: 3rem; 
    margin-bottom: 10px;
    line-height: 1.1;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-top: 2px solid rgba(255,255,255,0.5); 
    padding-top: 15px;
}

.contact-text p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* ========================================= */
/* FOOTER & EXTRAS                           */
/* ========================================= */
footer {
    text-align: center;
    padding: 20px;
    background: white;
    color: #999;
    font-size: 0.8rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 100;
}

.whatsapp-float i {
    background: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    margin-bottom: 5px;
}

.whatsapp-float span {
    font-size: 0.7rem;
    color: #333;
    text-align: center;
}

/* ========================================================================= */
/* ========================================================================= */
/* ESTILOS EXCLUSIVOS DA PÁGINA "CONTRATAR.HTML"                             */
/* ========================================================================= */
/* ========================================================================= */

/* ========================================= */
/* HERO - PARAMÉDICOS                        */
/* ========================================= */
.contratar-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.bg-contratar-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.contratar-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 2;
}
.contratar-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}
.contratar-hero-content .subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.contratar-hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.contratar-hero-content .description {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.light-text { color: var(--text-gray); font-size: 0.9rem; }
.text-blue { color: #0088cc; font-weight: bold; }
.w-100 { width: 100%; }

/* Grids Genéricos */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* ========================================= */
/* CÓMO FUNCIONA & BENEFICIOS                */
/* ========================================= */
.como-funciona, .beneficios-plan {
    padding: 60px 20px;
}
.como-funciona-text h2, .beneficios-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.como-funciona-text ol {
    margin: 20px 0 30px 20px;
    color: var(--text-gray);
}
.como-funciona-text ol li { margin-bottom: 15px; }

/* AQUI ESTAVA O ERRO: Agora ele pinta de azul os links, MAS NÃO afeta o botão azul! */
.como-funciona-text a:not(.btn-blue-action) { 
    color: #0088cc; 
    text-decoration: none; 
}

.como-funciona-img img, .beneficios-img img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.beneficios-text ul {
    list-style: none;
    margin: 20px 0;
}
.beneficios-text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}
.beneficios-text ul li::before {
    content: "•";
    color: #0088cc;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.alianzas-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.icon-blue { font-size: 2.5rem; color: #0088cc; }
.alianzas-box h4 { margin-bottom: 5px; }
.alianzas-box p { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 10px;}
.alianzas-box a { font-size: 0.85rem; color: var(--text-gray); text-decoration: none; }

/* ========================================= */
/* COBERTURA                                 */
/* ========================================= */
.cobertura-mapa { padding: 40px 20px; }
.cobertura-text h2 { font-size: 2rem; margin-bottom: 30px; }
.cobertura-text h4 { font-size: 1rem; margin-bottom: 10px; margin-top: 20px; }
.cobertura-text ul { margin-left: 20px; color: var(--text-gray); font-size: 0.9rem;}
.cobertura-img img { width: 100%; max-width: 500px; display: block; margin: 0 auto;}

.planes-rescate-info { padding: 40px 20px 10px 20px; }
.planes-rescate-info h2 { font-size: 2rem; margin-bottom: 20px; }

/* ========================================= */
/* CARTÃO AZUL - FULL RESCUE (FOTO 5)        */
/* ========================================= */
.pricing-selector { padding-bottom: 60px; }
.age-selector { margin-bottom: 30px; }
.age-selector label { font-size: 0.9rem; margin-right: 10px; }
.age-selector select { padding: 8px; border-radius: 5px; border: 1px solid #ccc; }

.blue-pricing-card {
    background-color: #0088cc;
    color: white;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    border-radius: 5px;
}
.blue-pricing-card h3 { font-size: 1.5rem; font-weight: normal; margin-bottom: 10px; }
.price-display { margin-bottom: 20px; }
.price-display .currency { font-size: 1.2rem; vertical-align: top; margin-top: 10px; display: inline-block;}
.price-display .amount { font-size: 4rem; font-weight: bold; line-height: 1; margin: 0 5px;}
.price-display .period { font-size: 1rem; }
.plan-desc { font-size: 0.9rem; margin-bottom: 30px; }

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.plan-features li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}
.pricing-links {
    display: flex;
    justify-content: space-around;
    max-width: 700px;
    margin: 20px auto 0 auto;
}
.pricing-links a { color: var(--text-gray); text-decoration: none; font-size: 0.9rem; }

/* ========================================= */
/* CONTACTO E FORMULÁRIO (FOTO 6)            */
/* ========================================= */
.contratar-contacto { padding: 60px 0; }
.contratar-contacto h2 { font-size: 2rem; margin-bottom: 10px; }
.contact-methods { margin: 40px 0; }

.method-card {
    background: white;
    padding: 30px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.method-card i { font-size: 2.5rem; color: #0088cc; margin-bottom: 15px; }
.method-card h4 { margin-bottom: 10px; }
.method-card p { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 15px; }
.method-card a { font-size: 0.85rem; color: #0088cc; text-decoration: none; font-weight: bold;}
.horario { margin-top: 15px; font-size: 0.75rem !important;}

.form-area {
    background: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.form-text h2 { font-size: 1.8rem; margin-bottom: 15px; text-align: left; }
.form-text p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 15px; }
.form-inputs form { display: flex; flex-direction: column; gap: 15px; }
.input-group-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-inputs input, .form-inputs textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 3px; font-size: 0.9rem;
}

/* ========================================= */
/* FAQ                                       */
/* ========================================= */
.faq-section { padding: 40px 20px 80px 20px; }
.faq-section h2 { font-size: 2rem; margin-bottom: 30px; }
.faq-item {
    background: var(--bg-light);
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 3px;
    cursor: pointer;
}
.faq-question {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-gray);
}
.faq-number { font-weight: bold; margin-right: 15px; }
.faq-question i { margin-left: auto; color: #ccc; }

/* ========================================= */
/* MEGA FOOTER ESCURO                        */
/* ========================================= */
.dark-footer {
    background-color: #111;
    color: white;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.emergency-number { color: var(--red-alert); font-size: 1.5rem; margin-bottom: 15px; }
.brand-col p { font-size: 0.8rem; color: #999; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #999; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul a:hover { color: white; }
.footer-col ul a i { font-size: 0.6rem; margin-right: 5px; color: var(--red-alert); }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
    width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; transition: transform 0.3s;
}
.social-icon:hover { transform: scale(1.1); }
.social-icon.instagram { background: #e1306c; }
.social-icon.facebook { background: #3b5998; }
.social-icon.linkedin { background: #0077b5; }

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* Responsividade Extra */
@media (max-width: 900px) {
    .top-header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    .hero-card {
        flex-direction: column;
    }
    .card-logo, .card-features, .card-contacts {
        width: 100%;
    }
    .intro, .about, .contact-overlay, .pricing-card {
        flex-direction: column;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .price-left, .price-right {
        width: 100%;
        border-right: none;
        padding: 0;
    }
    .grid-2, .input-group-2, .footer-grid { grid-template-columns: 1fr; }
    .contratar-hero-content h1 { font-size: 2rem; }
    .pricing-links { flex-direction: column; gap: 15px; text-align: center; }
}