*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.serpa-safe-page {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f8f9fa;
    color: #1e2a3a;
    line-height: 1.6;
}

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

.serpa-header {
    background: #0b2b3d;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.serpa-header .serpa-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.serpa-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.serpa-logo span {
    font-weight: 300;
    font-size: 0.9rem;
    display: block;
    color: #9fc8e0;
}

.serpa-header-contato {
    text-align: right;
    font-size: 0.95rem;
}

.serpa-header-contato a {
    color: #ffd966;
    text-decoration: none;
    font-weight: 600;
}

.serpa-header-contato a:hover {
    text-decoration: underline;
}

.serpa-hero {
    background: linear-gradient(135deg, #1a4b5e 0%, #0b2b3d 100%);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
}

.serpa-hero h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.serpa-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.serpa-btn-cta {
    display: inline-block;
    background: #ffb347;
    color: #1a2a3a;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.4);
}

.serpa-btn-cta:hover {
    background: #ffa01c;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 179, 71, 0.5);
}

.serpa-section {
    padding: 60px 0;
}

.serpa-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #0b2b3d;
}

.serpa-section-sub {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #4a5a6a;
    font-size: 1.1rem;
}

.serpa-sobre {
    background: #fff;
}

.serpa-sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.serpa-sobre-dados p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.serpa-sobre-dados strong {
    color: #0b2b3d;
}

.serpa-status-ativa {
    color: #1a8a3f;
    font-weight: 700;
}

.serpa-destaque {
    background: #eef5f9;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 6px solid #ffb347;
}

.serpa-sobre-imagem {
    background: #d4e3ed;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #1a4b5e;
    font-weight: 600;
}

.serpa-sobre-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    line-height: 1;
}

.serpa-produtos {
    background: #f1f5f8;
}

.serpa-produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.serpa-produto-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: 0.2s;
    border: 1px solid #e2ecf3;
}

.serpa-produto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.serpa-produto-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #0b2b3d;
}

.serpa-produto-item p {
    color: #4a5a6a;
    font-size: 0.95rem;
}

.serpa-diferenciais {
    background: #fff;
}

.serpa-diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.serpa-diferenciais-grid .serpa-item {
    padding: 20px;
}

.serpa-diferenciais-grid .serpa-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
    line-height: 1;
}

.serpa-diferenciais-grid .serpa-item h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #0b2b3d;
}

.serpa-contato {
    background: #0b2b3d;
    color: #fff;
}

.serpa-contato .serpa-section-title {
    color: #fff;
}

.serpa-contato .serpa-section-sub {
    color: #bcd8e8;
}

.serpa-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.serpa-form-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.serpa-form-info a {
    color: #ffd966;
    text-decoration: none;
}

.serpa-form-info a:hover {
    text-decoration: underline;
}

.serpa-formulario input,
.serpa-formulario textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #1f4a5e;
    color: #fff;
    transition: 0.2s;
}

.serpa-formulario input::placeholder,
.serpa-formulario textarea::placeholder {
    color: #b0ccdd;
}

.serpa-formulario input:focus,
.serpa-formulario textarea:focus {
    outline: 2px solid #ffb347;
    background: #1f4a5e;
}

.serpa-formulario textarea {
    min-height: 120px;
    resize: vertical;
}

.serpa-formulario .serpa-btn-enviar {
    background: #ffb347;
    color: #1a2a3a;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    font-family: inherit;
}

.serpa-formulario .serpa-btn-enviar:hover {
    background: #ffa01c;
}

.serpa-form-success {
    display: none;
    background: #1a8a3f;
    color: #fff;
    padding: 16px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.serpa-form-success.is-visible {
    display: block;
}

.serpa-footer {
    background: #061a24;
    color: #b0ccdd;
    padding: 40px 0 20px;
    font-size: 0.95rem;
}

.serpa-footer .serpa-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.serpa-footer-col {
    flex: 1 1 200px;
}

.serpa-footer-col h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.serpa-footer-col p {
    margin-bottom: 6px;
}

.serpa-footer-col a {
    color: #b0ccdd;
    text-decoration: none;
}

.serpa-footer-col a:hover {
    color: #ffd966;
    text-decoration: underline;
}

.serpa-copy {
    width: 100%;
    text-align: center;
    padding-top: 25px;
    margin-top: 25px;
    border-top: 1px solid #1f3f4e;
    font-size: 0.85rem;
    color: #7f9eb0;
}

.serpa-404-main {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.serpa-404-card {
    text-align: center;
    background: #fff;
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 480px;
}

.serpa-404-card h1 {
    margin: 12px 0;
    color: #0b2b3d;
}

@media (max-width: 768px) {
    .serpa-sobre-grid,
    .serpa-form-grid {
        grid-template-columns: 1fr;
    }

    .serpa-header-contato {
        text-align: left;
        width: 100%;
    }

    .serpa-btn-cta {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .serpa-logo h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .serpa-hero {
        padding: 40px 0;
    }
}
