/* --- VARIABLES DE COULEURS ET THÈMES LOCAUX --- */
:root {
    --background-muted: #f1f5f9;
    --shadow: rgba(0, 0, 0, 0.05);
}

.dark {
    --background-muted: rgba(38, 28, 28, 0.5);
    --shadow: rgba(0, 0, 0, 0.2);
}

/* --- BANNIÈRE HERO --- */
.hero-section {
    padding: 4rem 0;
    background-color: var(--background-muted);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.hero-subtitle {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-title { font-size: 3rem; }
}

.hero-description {
    max-width: 42rem;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75;
}

/* --- MAIN LAYOUT GRILLE --- */
.main-content {
    padding: 4rem 0;
    flex-grow: 1;
}

.content-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* --- FORMULAIRE --- */
.form-column {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .form-column { grid-column: span 3 / span 3; }
}

.card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px var(--shadow);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    border-radius: 0.5rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 0.875rem;
    padding: 0.75rem;
    font-weight: 500;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(194, 30, 30, 0.2);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #9ca3af;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.875rem;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

/* --- SIDERBAR / INFOS --- */
.info-column {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .info-column { grid-column: span 2 / span 2; }
}

.info-block {
    display: flex;
    gap: 1rem;
}

.info-icon-box {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: rgba(194, 30, 30, 0.1);
    color: var(--primary);
}

.info-block-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 500;
}

.info-text strong {
    color: var(--text-main);
}

.info-text a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
}

.info-text a:hover {
    color: var(--primary);
}

.link-map {
    color: var(--primary) !important;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.link-map:hover {
    text-decoration: underline;
}

/* --- TABLEAU HORAIRES --- */
.schedule-table {
    width: 100%;
    font-size: 0.75rem;
    border-collapse: collapse;
    color: var(--text-muted);
    font-weight: 500;
}

.schedule-table tr {
    border-bottom: 1px solid rgba(229, 225, 225, 0.4);
}

.dark .schedule-table tr {
    border-bottom: 1px solid rgba(56, 41, 41, 0.4);
}

.schedule-table tr:last-child {
    border-bottom: none;
}

.schedule-table td {
    padding: 0.375rem 0;
}

.schedule-table td:first-child {
    font-weight: 700;
    padding-right: 1rem;
}

.schedule-table .weekend td:first-child {
    color: var(--primary);
}

.schedule-table .weekend td:last-child {
    font-style: italic;
    color: #6b7280;
}

/* --- ALERT BOX --- */
.alert-box {
    padding: 1.5rem;
    background-color: var(--background-muted);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert-title {
    font-weight: 900;
    color: var(--text-main);
}
