/* =============================================
   PAGE: ESPECIFICAÇÕES
   ============================================= */

/* Globals */
.esp-section {
    padding: 40px 0;
}

.esp-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.esp-section-header h2 {
    font-size: 32px;
    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
   ============================================= */
.esp-hero {
    position: relative;
    padding: 120px 80px 100px;
    color: #fff;
    overflow: hidden;
    border-radius: 24px;
    margin-top: 24px;
}

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

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

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

.hero-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-teal);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

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

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

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

/* =============================================
   ESTRUTURA TÉCNICA
   ============================================= */
.esp-struct-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.esp-struct-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.esp-struct-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: rgba(0, 181, 134, 0.3);
}

.struct-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 181, 134, 0.08);
    color: var(--color-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

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

.esp-struct-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 16px;
}

.esp-struct-card p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   ÁREAS DE ATUAÇÃO
   ============================================= */
.esp-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.esp-area-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid var(--color-line);
}

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

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

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

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

.esp-areas-link {
    text-align: center;
}

.esp-areas-link a {
    color: var(--color-green);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.esp-areas-link a:hover {
    color: var(--color-teal);
    text-decoration: underline;
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
.esp-diff-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.esp-diff-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diff-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 2px solid rgba(0, 181, 134, 0.2);
    color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.esp-diff-item:hover .diff-icon {
    background: var(--color-green);
    color: #fff;
    border-color: var(--color-green);
    transform: scale(1.05);
}

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

.esp-diff-item p {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
    margin: 0;
}

/* =============================================
   TIMELINE (DA COLETA AO RESULTADO)
   ============================================= */
.esp-timeline-sec {
    overflow: hidden;
}

.esp-timeline-box {
    background: #f8fbfd;
    border-radius: 16px;
    padding: 40px;
    margin: 0 auto;
}

.esp-timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.esp-timeline-wrapper .timeline-line {
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #e1e8ed;
    z-index: 1;
}

.esp-step {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: var(--color-navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 6px solid #f8fbfd;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

.step-circle svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.esp-step strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 8px;
    display: block;
}

.esp-step p {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.4;
    margin: 0;
}

/* =============================================
   COMPROMISSO
   ============================================= */
.esp-compromisso {
    padding-bottom: 0;
}

.comp-layout {
    display: flex;
    background: #fff;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.comp-image {
    flex: 1;
    background: #ccc;
    position: relative;
}

.comp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.comp-content {
    flex: 1;
    padding: 64px;
    background: #fff;
    position: relative;
}

.comp-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 24px;
}

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

.comp-highlight {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-green);
    display: block;
}

/* =============================================
   FOOTER BANNER
   ============================================= */
.esp-footer-banner {
    background: var(--color-navy);
    color: #fff;
    padding: 56px 40px;
    position: relative;
    z-index: 1;
    border-radius: 0 0 24px 24px;
    margin-bottom: 40px;
}

.banner-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-item svg {
    width: 32px;
    height: 32px;
    color: var(--color-teal);
    stroke-width: 1.5;
}

.banner-text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.banner-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 991px) {
    .esp-struct-grid { grid-template-columns: repeat(2, 1fr); }
    .esp-areas-grid { grid-template-columns: repeat(2, 1fr); }
    
    .comp-layout { flex-direction: column; }
    .comp-image { height: 300px; }
    .comp-content { padding: 40px; }
    
    .banner-grid { flex-direction: column; gap: 32px; align-items: flex-start; }
}

@media (max-width: 767px) {
    .esp-hero { padding: 100px 0 80px; }
    .esp-hero-content h1 { font-size: 36px; }
    .esp-hero-content p { font-size: 16px; }
    
    .esp-struct-grid { grid-template-columns: 1fr; }
    .esp-areas-grid { grid-template-columns: 1fr; }
    
    .esp-diff-grid { gap: 32px; }
    .esp-diff-item { min-width: 100%; }
    
    .esp-timeline-wrapper { flex-direction: column; align-items: flex-start; padding-left: 40px; }
    .esp-timeline-wrapper .timeline-line {
        top: 0;
        bottom: 0;
        left: 80px;
        width: 2px;
        height: auto;
    }
    .esp-step { flex-direction: row; text-align: left; gap: 24px; margin-bottom: 32px; padding: 0; }
    .step-circle { margin-bottom: 0; border-width: 4px; }
}
