/* ==========================================================================
   RESET ET BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-texte);
    background-color: var(--color-noir);
    color: var(--color-creme);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titres);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-blanc);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.eyebrow {
    font-family: var(--font-texte);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    color: var(--color-dore);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 24px;
}

.section-subtitle {
    color: var(--color-gris);
    max-width: 620px;
    margin: 0 auto 60px;
    font-size: 17px;
}

.btn {
    display: inline-block;
    padding: 16px 38px;
    font-family: var(--font-texte);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--color-dore);
    transition: var(--transition);
    cursor: pointer;
    background: none;
}

.btn-primary {
    background-color: var(--color-dore);
    color: var(--color-noir);
}

.btn-primary:hover {
    background-color: var(--color-dore-clair);
    border-color: var(--color-dore-clair);
}

.btn-outline {
    color: var(--color-dore);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--color-dore);
    color: var(--color-noir);
}

/* ==========================================================================
   BANDEAU SITE FICTIF
   ========================================================================== */
.bandeau-fictif {
    background-color: var(--color-dore);
    color: var(--color-noir);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    letter-spacing: 0.5px;
    font-family: var(--font-texte);
    font-weight: 500;
}

/* ==========================================================================
   PLACEHOLDER IMAGES
   ========================================================================== */
.salon-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color-gris-fonce);
    border: 2px dashed var(--color-dore-fonce);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    min-height: 220px;
    overflow: hidden;
}

.salon-placeholder .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: var(--color-dore);
    margin-bottom: 12px;
}

.salon-placeholder-theme {
    font-family: var(--font-texte);
    color: var(--color-creme);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    max-width: 260px;
}

.salon-placeholder-dims {
    font-family: var(--font-texte);
    color: var(--color-gris);
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Conteneur image reel ou placeholder : ratio fige */
.salon-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--color-gris-fonce);
}

/* Quand le parent direct impose une hauteur fixe (ex: .intro-image), le wrap doit
   remplir cette hauteur plutot que de se fier a aspect-ratio (qui peut entrer en
   conflit avec une hauteur de parent deja contrainte) */
.intro-image > .salon-image-wrap {
    height: 100%;
    aspect-ratio: unset;
}

/* Securite : tout conteneur direct d'une image/placeholder doit etre en position
   relative et masquer le depassement, pour que l'image (en absolute) ne deborde
   jamais, quelle que soit la structure de page autour */
.intro-image,
.about-intro > div:first-child,
.team-card,
.single-realisation-header > div:first-child {
    position: relative;
    overflow: hidden;
}

.salon-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.salon-image-wrap .salon-placeholder {
    position: absolute;
    top: 0;
    left: 0;
}

/* Ratios courants */
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-21-9 { aspect-ratio: 21 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }