/* =============================================
   PAGE: DIREITO DOS PACIENTES
   ============================================= */

/* Globals */
.dir-section {
    padding: 64px 0;
}

.dir-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.dir-section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 16px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--color-green);
    margin: 0 auto;
    border-radius: 3px;
}

/* =============================================
   HERO
   ============================================= */
.dir-hero {
    position: relative;
    padding: 100px 64px;
    color: #fff;
    overflow: hidden;
    border-radius: 24px;
    margin-top: 24px;
}

.dir-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.dir-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 34, 61, 0.95) 0%, rgba(6, 34, 61, 0.6) 50%, rgba(6, 34, 61, 0.1) 100%);
    z-index: 2;
}

.dir-hero-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
}

.dir-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.1;
}

.dir-hero-content h1 span {
    color: var(--color-teal);
}

.dir-hero-content strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-teal);
    margin-bottom: 16px;
}

.dir-hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   NOSSO COMPROMISSO
   ============================================= */
.dir-comp-grid {
    display: flex;
    gap: 48px;
    align-items: center;
}

.dir-comp-text {
    flex: 1;
}

.dir-comp-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 24px;
    line-height: 1.2;
}

.dir-comp-text p {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 0 16px;
}

.dir-comp-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.dir-comp-feature .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 181, 134, 0.1);
    color: var(--color-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dir-comp-feature .feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.dir-comp-feature strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-teal);
}

.dir-comp-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.dir-comp-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   DIREITOS GARANTIDOS
   ============================================= */
.dir-direitos {
    padding-top: 0;
}

.dir-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dir-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.dir-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border-color: rgba(0, 181, 134, 0.3);
    transform: translateY(-4px);
}

.dir-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    border: 1px solid rgba(0, 181, 134, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dir-card:hover .dir-icon {
    background: var(--color-teal);
    color: #fff;
}

.dir-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1 !important; /* Premium thin line */
}

.dir-card strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.dir-card p {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
}

/* =============================================
   POLÍTICA DE RESPEITO
   ============================================= */
.dir-politica {
    padding-top: 0;
}

.politica-box {
    background: #f0f7f4; /* Soft green */
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.politica-box::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2300b586" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M12 22s-8-4.5-8-11.8A6 6 0 0 1 12 2a6 6 0 0 1 8 8.2c0 7.3-8 11.8-8 11.8z"/></svg>') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    z-index: 1;
}

.politica-icon {
    width: 80px;
    height: 80px;
    background: var(--color-navy);
    color: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.politica-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.politica-content {
    flex: 1;
    z-index: 2;
}

.politica-content h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 12px;
}

.politica-content p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   O QUE ESPERAR
   ============================================= */
.dir-expectativas {
    padding-top: 0;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.exp-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.exp-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 181, 134, 0.08);
    color: var(--color-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.exp-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.exp-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.exp-text p {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
}

/* =============================================
   FOOTER CTA
   ============================================= */
.dir-cta {
    position: relative;
    padding: 48px 64px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 34, 61, 0.98) 0%, rgba(6, 34, 61, 0.8) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cta-icon {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.cta-text h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}

.cta-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .dir-grid { grid-template-columns: repeat(3, 1fr); }
    .exp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .dir-hero { text-align: center; }
    .dir-hero-content { margin: 0 auto; }
    .dir-comp-grid { flex-direction: column; }
    .politica-box { flex-direction: column; text-align: center; }
    .cta-content { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
    .dir-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-grid { grid-template-columns: 1fr; }
    .dir-hero { padding: 60px 24px; }
    .dir-hero-content h1 { font-size: 36px; }
    .politica-box { padding: 32px 24px; }
    .dir-cta { padding: 40px 24px; }
}
