:root {
    --epf-blue: #2825e6;   /* mais fiel ao logo */
    --epf-blue-soft: #1796db;
    --bg: #eef2f5;
    --card: #ffffff;
    --text: #5d6772;
    --border: #d8e0e7;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    --container: 1280px;
    --radius: 6px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

body {
    line-height: 1.45;
}

/* HEADER */
.site-header {
    background: #f4f6f8;
    padding: 30px 0 22px;
    border-bottom: 1px solid #e3e8ee;
}

.site-header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LOGO À ESQUERDA */
.site-logo {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
}

.site-logo img {
    display: block;
    width: 190px;
    height: auto;
}

/* TEXTO */
.site-branding {
    text-align: center;
}

.site-school {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #66727d;
    letter-spacing: 0.2px;
}

.site-title {
    margin: 0;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--epf-blue-soft);
    letter-spacing: 0.3px;
}

/* LINHA DECORATIVA TIPO EPFAFE */
.site-branding::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    margin: 14px auto 0;
    background: var(--epf-blue);
    border-radius: 2px;
}

/* CONTENTOR GERAL */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 18px 40px;
}

/* CARTÕES DO FORMULÁRIO */
.card {
    background: var(--card);
    border: 1px solid #e5eaef;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 28px 22px;
    margin-bottom: 18px;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--epf-blue-soft);
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

.card h2 {
    margin: 0 0 22px 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--epf-blue-soft);
}

/* GRELHA */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: 1 / -1;
}

/* LABELS */
label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #657586;
}

/* CAMPOS */
input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #cfd8e0;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    color: #44525f;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--epf-blue-soft);
    box-shadow: 0 0 0 3px rgba(23, 150, 219, 0.12);
}

/* AÇÕES */
.actions {
    margin-top: 8px;
}

button[type="submit"] {
    border: none;
    background: #7b8895;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.18s ease;
}

button[type="submit"]:hover {
    background: #687582;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .site-header-inner {
        min-height: auto;
        padding-top: 120px;
    }

    .site-logo {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .site-logo img {
        width: 170px;
    }

    .site-title {
        font-size: 30px;
    }

    .site-school {
        font-size: 16px;
    }
}