/* ============================================
   Colégio Eleve — Agenda de atendimento
   ============================================ */

:root {
    --text: #1A1A2E;
    --text-light: #6B7280;
    --border: #D1D5DB;
    --whatsapp: #25D366;
    --bg: #EAECEF;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
    height: 100%;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Calendário header — logo + título juntos */
.calendar-header {
    text-align: center;
    margin-bottom: 20px;
}

.calendar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.calendar-brand img {
    height: 36px;
    width: auto;
}

.calendar-brand h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

/* Calendário — largura fixa igual ao conteúdo do Cal.com */
.calendar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 32px 32px;
}

.calendar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    text-align: center;
}

.calendar-wrap iframe {
    width: 1100px;
    max-width: 100%;
    min-height: 720px;
    height: 720px;
    border: none;
    border-radius: 12px;
    display: block;
    animation: card-in 0.4s ease both;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Footer */
.page-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    padding: 16px 32px;
    margin-top: auto;
}

.footer-inner {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
}

.footer-left strong {
    font-weight: 700;
    color: var(--text);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

.footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--whatsapp);
    text-decoration: none;
}

.footer-wa:hover {
    opacity: 0.8;
}

.footer-phone {
    font-weight: 600;
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 20px 20px 8px;
    }

    .brand img {
        height: 32px;
    }

    .calendar-brand img {
        height: 32px;
    }

    .calendar-brand h1 {
        font-size: 18px;
    }

    .calendar-wrap {
        padding: 8px 16px 24px;
    }

    .calendar-wrap iframe {
        width: 100%;
        min-height: 640px;
        height: 640px;
        border-radius: 10px;
    }

    .page-footer {
        padding: 14px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}
