/* Fonte DIN */
@import url('https://fonts.cdnfonts.com/css/din-2014');

* {
  font-family: 'DIN 2014', 'DIN', 'Helvetica Neue', Arial, sans-serif;
}

/**
 * ESTILO MON — Formulário de Agendamento
 * Baseado na identidade visual do Museu Oscar Niemeyer
 * @version 2.0 — Header branco + fonte do site
 */

/* ── Google Fonts (opcional) ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* ── Reset & Base ──────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Header MON (BRANCO como no site) ─────────────────────────────────── */
.mon-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 18px 0;
}

.mon-header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.mon-logo {
    height: 48px;
    width: auto;
}

.mon-header h1 {
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin: 0;
}

/* ── Hero Section (BRANCO como no site) ───────────────────────────────── */
.mon-hero {
    background: #fff;
    padding: 50px 30px 45px;
    text-align: center;
    border-bottom: 3px solid #f5c400;
}

.mon-hero h2 {
    color: #1a1a1a;
    font-size: 34px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.mon-hero p {
    color: #666;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* ── Container ──────────────────────────────────────────────────────────── */
.mon-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 30px 85px;
}

/* ── Form Section ──────────────────────────────────────────────────────── */
.form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 38px 42px;
    margin-bottom: 26px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.form-section h3 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 13px;
    border-bottom: 2px solid #f5c400;
}

/* ── Form Elements ──────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 23px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #444;
    margin-bottom: 7px;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #f5c400;
    box-shadow: 0 0 0 2px rgba(245,196,0,0.15);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23444' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

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

.form-text {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 5px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

/* ── Grid Layout ──────────────────────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    margin-bottom: 23px;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ── Buttons MON (Amarelo como no site) ───────────────────────────────── */
.btn {
    display: inline-block;
    padding: 15px 38px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-primary {
    background: #f5c400;
    color: #1a1a1a;
}

.btn-primary:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245,196,0,0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Alerts MON ──────────────────────────────────────────────────────────── */
.alert {
    padding: 19px 23px;
    margin-bottom: 29px;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.55;
    border-left: 4px solid;
}

.alert-success {
    background: #f1f8f4;
    border-color: #4caf50;
    color: #1b5e20;
}

.alert-error {
    background: #fef5f5;
    border-color: #e53935;
    color: #c62828;
}


/* ── Responsivo ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .mon-hero { padding: 38px 20px 33px; }
    .mon-hero h2 { font-size: 28px; }
    .mon-container { padding: 38px 20px 65px; }
    .form-section { padding: 28px 22px; }
}

/* ── Loading State ──────────────────────────────────────────────────────── */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    top: 50%;
    left: 50%;
    margin: -7px 0 0 -7px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.55s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Checkbox & Radio ──────────────────────────────────────────────────── */
input[type="checkbox"],
input[type="radio"] {
    width: 17px;
    height: 17px;
    margin-right: 7px;
    cursor: pointer;
    accent-color: #f5c400;
}

/* ── Asterisco obrigatório ──────────────────────────────────────────────── */
label.required::after {
    content: " *";
    color: #e53935;
    font-weight: bold;
}
