/* ===== Fonts locales ===== */

@font-face {
    font-family: 'TT Neoris Medium';
    src: url('../fonts/TT Neoris Trial Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Neoris DemiBold';
    src: url('../fonts/TT Neoris Trial DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ===== Reset minimal ===== */

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'TT Neoris Medium', system-ui, -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #007BFF; /* bleu principal, ajustable */
    color: #ffffff;
}

/* ===== Layout héro ===== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    background-color: #007BFF;
}

/* Colonne texte */
.hero-panel {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.hero-content {
    max-width: 540px;
}

/* Colonne image */
.hero-image {
    flex: 1 1 320px;
    min-height: 320px;
    max-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Typo & titres ===== */

.site-title {
    margin: 0 0 16px;
    font-family: 'TT Neoris DemiBold', 'TT Neoris Medium', system-ui, sans-serif;
    font-weight: 600;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
    text-transform: lowercase;
}

.site-title span {
    display: block;
}

.site-subtitle {
    margin: 0 0 32px;
    font-size: clamp(16px, 2vw, 20px);
}

/* ===== Horaires ===== */

.hours {
    padding: 18px 0;
    margin-bottom: 32px;
    font-size: 14px;
}

.hours-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 8px;
    padding: 4px 0;
}

.hours-header {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.hours-row + .hours-row {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hours-row div:first-child {
    text-align: left;
}

.hours-row div:nth-child(2),
.hours-row div:nth-child(3) {
    text-align: left;
}

/* ===== Footer texte ===== */

.hero-footer {
    font-size: 14px;
    line-height: 1.5;
}

.hero-footer p {
    margin: 0;
}

.hero-footer p + p {
    margin-top: 8px;
}

.hero-phone {
    font-family: 'TT Neoris DemiBold', 'TT Neoris Medium', system-ui, sans-serif;
    font-size: 18px;
}

/* ===== Responsive ===== */

/* Mobile : empilé, on voit toute la section, l'image est juste limitée en hauteur */
@media (max-width: 767px) {

    .hero {
        flex-direction: column;
        min-height: auto;      /* on laisse la section prendre sa hauteur naturelle */
    }

    .hero-panel {
        order: 1;
        padding: 32px 20px;
        flex: 0 0 auto;        /* plus de 40vh, la hauteur suit le contenu */
    }

    .hero-image {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        max-height: 60vh;      /* l’image ne dépasse pas ~60% de la hauteur écran */
        overflow: hidden;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center; /* ajuste si besoin : top / bottom */
    }

    .hours {
        font-size: 13px;
    }
}

/* Grand écran : on garde un ratio 50/50 propre */
@media (min-width: 1200px) {
    .hero-panel,
    .hero-image {
        flex: 0 0 50%;
    }
}
