/* ========================================
   RESET E CONFIGURAÇÕES GLOBAIS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   }

:root {
    --green-primary: #0b4e23;
    --green-dark: #0e6e31;
    --green-light: #dcfce7;
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-800: #0c5e29;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   HEADER E NAVEGAÇÃO
======================================== */
.header {
    background-color: var(--green-primary);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo-img {

    height: 120px;
    width: 170;

    
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: auto;
    margin-left: -40px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--green-dark);
}

.btn-login {
    background-color: white;
    color: var(--green-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-login:hover {
    background-color: var(--green-light);
}

.btn-signup {
    background-color: #16a34a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-right: 0.5rem;
}

.btn-signup:hover {
    background-color: #15803d;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--green-dark);
}

/* ========================================
   CONTEÚDO PRINCIPAL
======================================== */
.page-container {
    min-height: calc(100vh - 64px);
    padding: 3rem 1rem;
    flex: 1;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.25rem;
    /* make subtitle text green as requested */
    color: var(--green-primary);
    max-width: 700px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* ========================================
   FORMULÁRIO
======================================== */
.form-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    color: var(--green-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

select.form-input {
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.btn-submit {
    width: 100%;
    background-color: var(--green-primary);
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--green-dark);
}

/* ========================================
   SIDEBAR
======================================== */
.sidebar-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .sidebar-card {
        position: sticky;
        top: 5rem;
    }
}

.sidebar-title {
    font-size: 1.25rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-boxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-box {
    background-color: var(--green-50);
    padding: 1rem;
    border-radius: 0.5rem;
}

.info-title {
    color: var(--green-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-text {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.help-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.help-title {
    color: var(--green-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.help-text {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-icon {
    width: 1rem;
    height: 1rem;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2;
}

/* ========================================
   MODAL
======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal-icon {
    background-color: var(--green-light);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.check-icon {
    width: 3rem;
    height: 3rem;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 3;
}

.modal-title {
    font-size: 1.875rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-text {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.confirmation-details {
    background-color: var(--green-50);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item span {
    font-weight: 600;
    color: var(--gray-700);
}

.modal-btn {
    background-color: var(--green-primary);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-btn:hover {
    background-color: var(--green-dark);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: var(--green-800);
    color: white;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: #d1fae5;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1fae5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1fae5;
    margin-bottom: 0.75rem;
}

.footer-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: #d1fae5;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .form-card {
        padding: 1.5rem;
    }
}
      @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* MOBILE HOME BUTTON (aparece somente em tela pequena) */
        .mobile-home-btn {
            display: none;
        }

        @media (max-width: 768px) {
            .form-card {
                position: relative;
            }

            .mobile-home-btn {
                display: flex;
                position: absolute;
                top: 16px;
                right: 16px;
                width: 70px;
                height: 42px;
                border-radius: 12px;
                border: none;
                background: rgba(11, 78, 35, 0.9);
                color: white;
                font-size: 1.25rem;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
                z-index: 10;
            }

            .mobile-home-btn:hover {
                background: rgba(11, 78, 35, 1);
            }
        }
