/* ===================================================== */
/* HERO LÓGOS MED */
/* ===================================================== */

.med-hero {
    position: relative;
    padding: 320px 8% 240px 8%;
    background: #031b26;
    color: white;
    overflow: hidden;
}

.med-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 30% 40%,
        rgba(25, 194, 209, 0.35),
        transparent 60%
    ),
    radial-gradient(
        circle at 70% 60%,
        rgba(14, 165, 183, 0.25),
        transparent 60%
    );
    animation: medPulse 20s ease-in-out infinite alternate;
}

@keyframes medPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.med-hero-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

.med-hero-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #19c2d1;
    margin-bottom: 30px;
    display: inline-block;
}

.med-hero-title {
    font-size: 3.4rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.med-hero-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #c8f7fb;
    max-width: 800px;
    margin-bottom: 60px;
}

.med-hero-actions {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.med-hero-primary {
    background: #19c2d1;
    color: #031b26;
    padding: 20px 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.med-hero-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.med-hero-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 20px 50px;
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

.med-hero-secondary:hover {
    border-color: #19c2d1;
    transform: translateY(-6px);
}

/* ===================================================== */
/* IA CLÍNICA - LÓGOS MED */
/* ===================================================== */

.med-ai {
    padding: 300px 8%;
    background: #041f2b;
    color: white;
}

.med-ai-container {
    max-width: 1300px;
    margin: 0 auto;
}

.med-section-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #19c2d1;
    display: inline-block;
    margin-bottom: 25px;
}

.med-ai-header {
    max-width: 850px;
    margin-bottom: 140px;
}

.med-ai-header h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.med-ai-header p {
    font-size: 1.15rem;
    color: #c8f7fb;
    line-height: 1.9;
}

.med-ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
}

.med-ai-card {
    padding: 70px;
    background: linear-gradient(180deg, #052634, #031b26);
    border: 1px solid rgba(25, 194, 209, 0.15);
    transition: 0.4s ease;
}

.med-ai-card:hover {
    transform: translateY(-12px);
    border-color: #19c2d1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.med-ai-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.med-ai-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #b8f0f5;
}

/* ===================================================== */
/* AUTOMAÇÃO MÉDICA */
/* ===================================================== */

.med-automation {
    position: relative;
    padding: 320px 8%;
    background: #031b26;
    color: white;
    overflow: hidden;
}

.med-automation-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 60% 40%,
        rgba(25,194,209,0.25),
        transparent 60%
    );
}

.med-automation-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.med-automation-header {
    max-width: 850px;
    margin-bottom: 140px;
}

.med-automation-header h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.med-automation-header p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #c8f7fb;
}

.med-automation-flow {
    display: flex;
    flex-direction: column;
    gap: 100px;
    border-left: 2px solid rgba(25,194,209,0.3);
    padding-left: 60px;
}

.med-flow-item {
    display: flex;
    gap: 40px;
}

.med-flow-index {
    font-size: 2rem;
    font-weight: 600;
    color: #19c2d1;
    min-width: 60px;
}

.med-flow-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.med-flow-item p {
    font-size: 1rem;
    color: #b8f0f5;
    line-height: 1.8;
}

/* ===================================================== */
/* PRONTUÁRIO LÓGOS MED */
/* ===================================================== */

.med-records {
    padding: 320px 8%;
    background: #041f2b;
    color: white;
}

.med-records-container {
    max-width: 1300px;
    margin: 0 auto;
}

.med-records-header {
    max-width: 850px;
    margin-bottom: 140px;
}

.med-records-header h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.med-records-header p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #c8f7fb;
}

.med-records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
}

.med-record-card {
    padding: 70px;
    background: linear-gradient(180deg, #052634, #031b26);
    border: 1px solid rgba(25,194,209,0.15);
    transition: 0.4s ease;
}

.med-record-card:hover {
    transform: translateY(-12px);
    border-color: #19c2d1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.med-record-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.med-record-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #b8f0f5;
}

/* ===================================================== */
/* ESCALA INSTITUCIONAL - FUNDO CLARO */
/* ===================================================== */

.med-scale {
    padding: 320px 8%;
    background: #f4f9fb;
    color: #0e1a24;
}

.med-scale-container {
    max-width: 1300px;
    margin: 0 auto;
}

.med-dark-label {
    color: #0ea5b7;
}

.med-scale-header {
    max-width: 850px;
    margin-bottom: 140px;
}

.med-scale-header h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.med-scale-header p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a5a67;
}

.med-scale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
}

.med-scale-card {
    padding: 70px;
    background: white;
    border: 1px solid #e2eef2;
    transition: 0.4s ease;
}

.med-scale-card:hover {
    transform: translateY(-12px);
    border-color: #19c2d1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.med-scale-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.med-scale-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5a67;
}

/* ===================================================== */
/* SEGURANÇA MÉDICA */
/* ===================================================== */

.med-security {
    padding: 320px 8%;
    background: #021923;
    color: white;
}

.med-security-container {
    max-width: 1300px;
    margin: 0 auto;
}

.med-security-header {
    max-width: 850px;
    margin-bottom: 140px;
}

.med-security-header h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.med-security-header p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #c8f7fb;
}

.med-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
}

.med-security-card {
    padding: 70px;
    background: linear-gradient(180deg, #052634, #031b26);
    border: 1px solid rgba(25,194,209,0.15);
    transition: 0.4s ease;
}

.med-security-card:hover {
    transform: translateY(-12px);
    border-color: #19c2d1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.med-security-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.med-security-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #b8f0f5;
}

/* ===================================================== */
/* CTA FINAL LÓGOS MED */
/* ===================================================== */

.med-final {
    position: relative;
    padding: 360px 8%;
    background: #031b26;
    color: white;
    text-align: center;
    overflow: hidden;
}

.med-final-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(25,194,209,0.35), transparent 65%),
        linear-gradient(135deg, #031b26, #052634);
    animation: medFinalPulse 20s ease-in-out infinite alternate;
}

@keyframes medFinalPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.med-final-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.med-final-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #19c2d1;
    margin-bottom: 30px;
    display: inline-block;
}

.med-final h2 {
    font-size: 3.2rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.med-final p {
    font-size: 1.2rem;
    color: #c8f7fb;
    line-height: 1.9;
    margin-bottom: 80px;
}

.med-final-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.med-final-primary {
    background: #19c2d1;
    color: #031b26;
    padding: 22px 60px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.med-final-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.med-final-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 22px 60px;
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

.med-final-secondary:hover {
    border-color: #19c2d1;
    transform: translateY(-6px);
}

@media (max-width: 992px) {
    .med-final h2 {
        font-size: 2.2rem;
    }
}