/* style.css — Ovision Blois */

/* ----------------------------------------------------------------
   Fonts locales — Inter
   ---------------------------------------------------------------- */
@font-face { font-family: 'Inter'; src: url('../font/Inter-Thin.ttf')      format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-Light.ttf')      format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-Regular.ttf')    format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-Medium.ttf')     format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-SemiBold.ttf')   format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-Bold.ttf')       format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-ExtraBold.ttf')  format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-Black.ttf')      format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ----------------------------------------------------------------
   Typographie globale — Inter
   ---------------------------------------------------------------- */
:root {
    --font-base:    'Inter', sans-serif;
    --font-size:    16px;
    --line-height:  1.6;
}

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

html {
    font-size: var(--font-size);
}

body {
    font-family: var(--font-base);
    font-size:   1rem;
    font-weight: 400;
    line-height: var(--line-height);
    color:       #2c2c3e;
    -webkit-font-smoothing:  antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-base);
    font-weight: 700;
    line-height: 1.25;
    margin-top:    0;
    margin-bottom: .5em;
}

p  { margin-top: 0; margin-bottom: 1em; }
a  { color: inherit; }
strong, b { font-weight: 700; }
small     { font-size: .875em; }

/* Styles hero → dist/css/hero.css */

/* ----------------------------------------------------------------
   Corps : texte gauche + photo droite
   ---------------------------------------------------------------- */
.hero-body {
    display: flex;
    align-items: stretch;
    min-height: 360px;
    background: #3b5268;    /* fond sombre texte, en attendant couleur API */
}

.hero-text {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 48px 48px 40px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-photo {
    flex: 0 0 45%;
    max-width: 45%;
    overflow: hidden;
    position: relative;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
/* Pas de photo : fond uni discret */
.hero-photo--empty {
    background: #4a6278;
}

/* ----------------------------------------------------------------
   Contenu texte
   ---------------------------------------------------------------- */
.hero-specialty {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin-bottom: 8px;
}

.hero-title-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-title {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .02em;
    margin: 0;
    text-transform: uppercase;
}
.hero-brand { display: block; }
.hero-city  { display: block; }

/* CTA rouge dans le hero */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 18px;
    background: #c42020;
    color: #fff;
    font-family: var(--font-base);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.35;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 6px;
    transition: background .2s, transform .2s;
}
.hero-cta:hover {
    background: #a81a1a;
    transform: translateY(-1px);
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-desc {
    font-size: .85rem;
    color: rgba(255,255,255,.80);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 480px;
}

/* ----------------------------------------------------------------
   Barre de stats
   ---------------------------------------------------------------- */
.hero-stats-bar {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
}

.hero-stats {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0;
}

.hero-stat {
    flex: 1;
    text-align: center;
    padding: 22px 16px;
    border-right: 1px solid #eef0f3;
}
.hero-stat:last-child { border-right: none; }

.hero-stat-value {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1a3963;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    display: flex;
    flex-direction: column;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}
.hero-stat-label span { display: block; }

/* ================================================================
   RESPONSIVE HERO
   ================================================================ */
@media (max-width: 767px) {
    .hero-body {
        flex-direction: column;
        min-height: auto;
    }
    .hero-text {
        flex: none;
        max-width: 100%;
        padding: 32px 20px 28px;
        order: 2;
    }
    .hero-photo {
        flex: none;
        max-width: 100%;
        height: 240px;
        order: 1;
    }
    .hero-title-row {
        flex-direction: column;
        gap: 12px;
    }
    .hero-cta { align-self: flex-start; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stat {
        flex: 0 0 33.333%;
        border-right: none;
        border-bottom: 1px solid #eef0f3;
        padding: 16px 8px;
    }
    .hero-stat:nth-child(-n+3) { border-bottom: none; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-text { padding: 36px 32px 32px 32px; }
    .hero-title { font-size: 2rem; }
}
